@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-navy: #002D62;
    --primary-blue: #00A3E0;
    --accent-gold: #B9975B;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Custom Navigation */
.top-bar {
    background: var(--primary-navy);
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1031;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.top-bar-link i {
    color: var(--primary-blue);
}

.top-bar-link:hover {
    color: #fff !important;
}

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 15px;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.top-bar-socials a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
    display: inline-block;
}

.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    transition: var(--transition-smooth);
    padding: 1rem 0;
    top: 41px; /* Height of top bar */
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.brand-logo {
    height: 62px;
    width: auto;
    max-width: 100%;
    image-rendering: -webkit-optimize-contrast;
    transition: var(--transition-smooth);
}

.footer-logo {
    height: 80px;
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 50px;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        height: 42px;
    }

    .footer-logo {
        height: 58px;
    }
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin-left: 1.5rem;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-blue));
    color: #fff !important;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 45, 98, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 45, 98, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 100px; /* Increased top padding for topbar offset */
    background: radial-gradient(circle at top right, rgba(0, 163, 224, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(0, 45, 98, 0.05), transparent);
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Glassmorphism Cards */
.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition-smooth);
    height: 100%;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    background: #fff;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Animations */
.service-card,
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card.visible,
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-top {
    transition: var(--transition-smooth);
}

.hover-top:hover {
    transform: translateY(-5px);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-section img {
    animation: float 6s ease-in-out infinite;
}

/* Pricing & Packages */
.scale-up {
    transform: scale(1.05);
}

.table thead th {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bg-primary {
    background-color: var(--primary-navy) !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

.btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}

/* Terms & Conditions */
#terms-nav .nav-link {
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

#terms-nav .nav-link:hover,
#terms-nav .nav-link.active {
    color: var(--primary-blue) !important;
    border-left-color: var(--primary-blue);
    padding-left: 1rem !important;
    background: rgba(0, 163, 224, 0.05);
}

.terms-detail h3 {
    scroll-margin-top: 100px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 62px;
    height: 62px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    z-index: 9999;
    animation: slideInLeft 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #25D366;
    z-index: -1;
    animation: pulse-ring 2.2s cubic-bezier(0.216, 0.61, 0.355, 1) infinite;
}

.whatsapp-float i {
    font-size: 30px;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    color: #fff;
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float i {
        font-size: 26px;
    }
}