/* Modern Corporate CSS Architecture - Premium Glassmorphic UI */

:root {
    /* Minimalist Corporate Color Palette */
    --primary-color: #2c358b;
    /* Rich dark grey/black */
    --primary-light: #3b47b5;
    --secondary-color: #3cae84;
    /* Muted corporate amber */
    --secondary-hover: #329470;

    /* Clean Backgrounds & Surfaces */
    --bg-main: #FFFFFF;
    /* Pure white background */
    --bg-surface: #F9FAFB;
    /* Very subtle off-white */
    --bg-dark: #111827;

    /* Crisp Typography Colors */
    --text-main: #1F2937;
    --text-muted: #4B5563;
    --text-light: #FFFFFF;

    /* Subtle Borders & Dividers */
    --border-light: #E5E7EB;
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Minimalist Design Tokens */
    --radius-sm: 4px;
    /* Sharper corners */
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 9999px;

    /* Subtle, elegant shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.02);
    --shadow-glow: none;
    /* Removed heavy glows */

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout & Containers */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: var(--radius-pill);
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(44, 53, 139, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 53, 139, 0.3);
    color: white;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(60, 174, 132, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(60, 174, 132, 0.4);
    color: white;
}

/* Premium Navbar (Glassmorphism) */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height var(--transition-normal);
}

.navbar.scrolled .navbar-container {
    height: 75px;
}

.navbar-brand img {
    height: 45px;
    transition: transform var(--transition-fast);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links>a,
.dropdown-toggle {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}

.nav-links>a::after,
.dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-links>a:hover::after,
.nav-links>a.active::after,
.dropdown-toggle:hover::after,
.dropdown-toggle.active::after {
    width: 100%;
}

/* Navigation Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(15px);
    background: var(--bg-surface);
    min-width: 260px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-light);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block !important;
}

/* Ensure the menu stays open when moving cursor from toggle to menu */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-main);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--bg-main);
    color: var(--primary-color);
    padding-left: 20px;
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: var(--shadow-md) !important;
}

.nav-cta:hover {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
}

/* Elevated Footer */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
    border-top: 4px solid var(--secondary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 55px;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: #94A3B8;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.footer-links a {
    display: block;
    color: #94A3B8;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 6px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    color: #94A3B8;
    font-size: 0.95rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: #94A3B8;
    display: block;
    margin-bottom: 4px;
}

.contact-item a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748B;
    font-size: 0.9rem;
}

/* Image Placeholders (Sophisticated Dummies) */
.image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    background-color: #E2E8F0;
    min-height: 300px;
}

/* FAQ Accordion Styling */
.faq-item .faq-header:hover {
    background-color: #F8FAFC;
}

.faq-item .faq-body {
    display: none;
}

.faq-item.active .faq-header span {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-item.active .faq-body {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utilities & Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.relative {
    position: relative;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 75px !important;
    }

    .nav-links {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: block;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0 0 0 20px;
        border: none;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }
}