@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #3ABEF9;
    --secondary-color: #161D6F;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
    text-align: center;
    width: 250px;
}

.preloader-logo {
    height: 60px;
    margin-bottom: 30px;
}

.loading-bar-container {
    width: 100%;
    height: 3px;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    animation: loadingBarMove 1.5s infinite ease-in-out;
    border-radius: 10px;
}

@keyframes loadingBarMove {
    0% {
        left: -40%;
    }

    100% {
        left: 100%;
    }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--secondary-color);
}

.section-padding {
    padding: 80px 0;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.v-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary-custom {
    background: var(--secondary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(22, 29, 111, 0.2);
}

.btn-primary-custom:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

.btn-outline-custom {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Top Bar */
.top-bar {
    background: var(--secondary-color);
    padding: 6px 0;
    color: #fff;
    font-size: 12px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary-color);
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    font-size: 11px;
}

.trust-badge i {
    color: #FFD700;
    margin-right: 5px;
}

/* Main Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.navbar {
    background: #fff;
    padding: 10px 0;
    transition: var(--transition);
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--secondary-color);
    padding: 8px 18px !important;
    margin: 0 3px;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 14px;
}

.navbar-nav .nav-link.active {
    background: var(--secondary-color) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(22, 29, 111, 0.2);
}

.nav-link:hover:not(.active) {
    color: var(--primary-color) !important;
}

/* Hero Section Adjustments */
.hero-section {
    padding: 150px 0 120px;
}

.hero-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(58, 190, 249, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: blobFloat 20s infinite alternate;
}

.blob-1 {
    top: -200px;
    right: -100px;
}

.blob-2 {
    bottom: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(22, 29, 111, 0.1) 0%, transparent 70%);
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 50px) scale(1.1);
    }

    100% {
        transform: translate(-20px, 20px) scale(1);
    }
}

/* Services */
.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(58, 190, 249, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* WhatsApp Button Style */
.whatsapp-btn {
    background: #25D366;
    color: #fff;
    padding: 7px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    font-size: 13px;
}

.whatsapp-btn i {
    font-size: 14px;
    background: #fff;
    color: #25d366;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #fff !important;
}

/* Floating version */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

/* Footer */
.main-footer {
    background: #111111;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.main-footer h5 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.main-footer a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.main-footer a:hover {
    color: var(--primary-color);
}

/* Fix for blockquote footers inside cards */
.blockquote-footer {
    background: transparent !important;
    color: #6c757d !important;
    padding: 0 !important;
    border: none !important;
}

.social-icons a {
    font-size: 1.2rem;
    margin-right: 15px;
}

/* Contact Form */
.form-control {
    background: #ffffff;
    border: 1.5px solid #d1d8e0;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.form-control::placeholder {
    color: #a0a8b0;
    opacity: 1;
}

.form-control:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(58, 190, 249, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .main-header {
        position: relative;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 12px 20px !important;
        margin: 5px 0;
        text-align: center;
    }

    .navbar-nav .nav-link.active {
        box-shadow: none;
    }

    .whatsapp-btn {
        justify-content: center;
        margin-top: 10px;
    }

    .hero-section {
        padding: 80px 0 60px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .whatsapp-btn span {
        display: none;
    }

    .whatsapp-btn {
        padding: 8px;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1050;
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-btn i {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* Page Headers */
.page-header {
    position: relative;
    background: linear-gradient(135deg, rgba(22, 29, 111, 0.95), rgba(58, 190, 249, 0.95)), url('../img/pattern.png');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 40px;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.page-header h1 {
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    font-size: 3.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
    pointer-events: none;
}