:root {
    --primary-blue: #004876;
    --accent-cyan: #01aeef;
    --accent-gold: #f4b942;
    --light-gray: #d0d2d4;
    --white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-lighter: rgba(255, 255, 255, 0.7);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background: var(--primary-blue);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 72, 118, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    background: rgba(0, 72, 118, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-section:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: filter 0.3s ease;
    background: white;
    border-radius: 8px;
    padding: 5px;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-lighter);
    margin: 0;
    letter-spacing: 0.5px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    position: static;
}

.nav-item-dropdown {
    position: relative;
}

/* OVERRIDE BOOTSTRAP DROPDOWN */
.dropdown-menu {
    display: block !important;
}

/* Desktop-only hover dropdown */
@media (min-width: 993px) {
    .nav-item-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile active state */
.nav-item-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.nav-link.active {
    background: var(--accent-gold);
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active::after {
    width: 0;
}

.dropdown-toggle i {
    font-size: 9px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-toggle {
    cursor: pointer;
}

.nav-item-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-item-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(0, 72, 118, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.dropdown-item {
    display: block;
    padding: 10px 14px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent-gold);
    transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateX(3px);
    padding-left: 18px;
}

.dropdown-item:hover::before {
    height: 70%;
}

.dropdown-item.active {
    background: rgba(244, 185, 66, 0.15);
    color: var(--accent-gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

/* Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 72, 118, 0.95) 0%,
            rgba(0, 72, 118, 0.85) 40%,
            rgba(1, 174, 239, 0.3) 100%);
    z-index: 1;
    opacity:0.4;
}

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.45), transparent);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-certified {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-title .highlight {
    color: var(--accent-gold);
    display: inline-block;
    position: relative;
}

.hero-description {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 900px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
    justify-content: center;
}

.btn-primary-custom {
    padding: 16px 36px;
    background: var(--accent-gold);
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 20px rgba(244, 185, 66, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 185, 66, 0.4);
    background: #ffca5d;
}

.btn-secondary-custom {
    padding: 16px 36px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-link-custom {
    padding: 16px 24px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-link-custom:hover {
    gap: 16px;
    color: var(--accent-gold);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 52px;
    }

    .header-container {
        padding: 0 30px;
    }

    .hero-content {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 72, 118, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        justify-content: center;
    }

    .dropdown-menu {
        position: relative;
        transform: none;
        margin-top: 10px;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 0;
    }

    .nav-item-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 8px;
    }

    .dropdown-item {
        text-align: center;
    }

    .dropdown-item:hover {
        transform: translateX(0);
        padding-left: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        height: 70px;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary-custom,
    .btn-secondary-custom,
    .btn-link-custom {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .badge-certified {
        font-size: 12px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }
}

/* Footer */

/* Footer Styles */
.main-footer {
    background: linear-gradient(135deg, #003b5c 0%, #004876 50%, #005a94 100%);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(1, 174, 239, 0.3) 50%,
            transparent 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.footer-column:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.4s;
}

/* Footer Brand */
.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 5px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo:hover {
    transform: scale(1.05) rotate(5deg);
}

.footer-logo-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}

.footer-logo-text p {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-lighter);
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-lighter);
    margin: 0;
}

/* Footer Headings */
.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 15px;
    transform: translateX(3px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Contact Info */
.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-info i {
    color: var(--accent-gold);
    font-size: 14px;
    margin-top: 3px;
    min-width: 16px;
}

.footer-contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-info a:hover {
    color: var(--accent-gold);
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(244, 185, 66, 0.3);
    border-color: var(--accent-gold);
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-lighter);
    margin: 0;
}

.powered-by {
    font-size: 13px;
    color: var(--text-lighter);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 5px;
}

.powered-by span {
    color: var(--accent-gold);
    font-weight: 600;
    position: relative;
}

.powered-by span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.powered-by:hover {
    color: var(--white);
}

.powered-by:hover span::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0 40px;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-copyright,
    .powered-by {
        font-size: 12px;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-heading {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .footer-links a,
    .footer-contact-info li {
        font-size: 13px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}