:root {
    --primary: #0B2A4A;
    --secondary: #0E7490;
    --accent: #F4B400;
    --light: #F8FAFC;
    --dark: #1E293B;
    --gray: #64748B;
    --shadow: 0 14px 40px rgba(0,0,0,.12);
    --shadow-light: 0 8px 25px rgba(0,0,0,.08);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --logo-bg: rgba(255,255,255,0.95);
    
    /* Fonts */
    --logo-font: 'Inter', sans-serif;
    --logo-weight: 800;
    --logo-spacing: 1.5px;
    --tagline-font: 'Open Sans', sans-serif;
    --tagline-weight: 600;
    --tagline-spacing: 0.5px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 90px 0;
}

h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary);
}

h2::after {
    content: '';
    width: 70px;
    height: 4px;
    background: var(--accent);
    display: block;
    margin: 10px auto 0;
    border-radius: 3px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: .4s;
    background: rgba(11,42,74,.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    transition: .3s;
}

.logo-container {
    background: var(--logo-bg);
    padding: 8px 15px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s;
    border: 2px solid rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.logo-container:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(244,180,0,.3);
    border-color: var(--accent);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.3));
    transition: .3s;
}

.logo-container:hover .logo-img {
    filter: drop-shadow(0 6px 12px rgba(0,0,0,.4)) brightness(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span:nth-child(1) {
    font-family: var(--logo-font);
    font-weight: var(--logo-weight);
    letter-spacing: var(--logo-spacing);
    font-size: 22px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    line-height: 1;
    color: #fff;
}

.logo-text span:nth-child(2) {
    font-family: var(--tagline-font);
    font-weight: var(--tagline-weight);
    letter-spacing: var(--tagline-spacing);
    font-size: 12px;
    color: var(--accent);
    margin-top: 3px;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
    align-items: center;
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: .3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown > a .fas {
    font-size: 12px;
    transition: transform 0.3s;
}

.dropdown:hover > a .fas {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    min-width: 240px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    color: #fff;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transition: .3s;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.08);
    padding-left: 35px;
    color: var(--accent);
}

.dropdown-menu a:hover::before {
    left: 0;
}

.dropdown-menu i {
    color: var(--accent);
    font-size: 16px;
    width: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 650px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-slider, .slide {
    position: absolute;
    inset: 0;
}

.slide {
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: all;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11,42,74,.65), rgba(11,42,74,.35));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: #fff;
    max-width: 900px;
    padding: 30px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 0 6px 20px rgba(0,0,0,.5);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.slider-controls button {
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
    backdrop-filter: blur(5px);
}

.slider-controls button:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 30px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244,180,0,.4);
}

.btn-small {
    padding: 10px 24px;
    font-size: 14px;
    margin-top: 20px;
}

.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Services Grid */
#services {
    scroll-margin-top: 100px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: .4s;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    padding-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 30px auto;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 34px;
}

.service-content {
    padding: 0 30px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 24px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: var(--gray);
}

.service-features li::before {
    content: '✓';
    color: var(--accent);
    margin-right: 8px;
    font-weight: 700;
}

/* Why Choose Us */
#why {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.why-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: .4s;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
}

.why-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 20px;
}

.why-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Contact */
#contact {
    scroll-margin-top: 100px;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: .3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-item p, .contact-item a {
    color: var(--gray);
    text-decoration: none;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
}

.form-group {
    margin-bottom: 22px;
}

input, textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-size: 15px;
    transition: .3s;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(244,180,0,.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--primary);
    color: #fff;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-container {
    background: var(--logo-bg);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    max-width: 300px;
    position: relative;
    overflow: hidden;
}

.footer-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.3));
}

.footer-brand-name {
    font-family: var(--logo-font);
    font-weight: var(--logo-weight);
    letter-spacing: var(--logo-spacing);
    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.footer-tagline {
    font-family: var(--tagline-font);
    font-weight: var(--tagline-weight);
    letter-spacing: var(--tagline-spacing);
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 15px;
    font-style: normal;
}

.footer-desc {
    margin-bottom: 20px;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    color: #fff;
    transition: .3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--logo-font);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--accent);
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--accent);
    width: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-bottom p {
    color: rgba(255,255,255,.8);
}

.legal-links a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    margin: 0 10px;
    transition: .3s;
}

.legal-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: rgba(255,255,255,.6);
}

.footer-cert {
    font-size: 12px;
    opacity: 0.8;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: .8s;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* Divider */
section:not(.hero):not(.service-hero)::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #cbd5e1, transparent);
    margin-bottom: 70px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-brand-name {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,.3);
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,.2);
        margin-top: 10px;
        border-radius: 8px;
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
    }
    
    .hero-content h1 {
        font-size: 34px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .btn {
        padding: 12px 28px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .service-card, .why-card {
        padding: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo-container {
        padding: 6px 12px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-text span:nth-child(1) {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .slider-controls button {
        width: 40px;
        height: 40px;
    }
    
    .logo-container {
        padding: 5px 10px;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text span:nth-child(1) {
        font-size: 18px;
    }
    
    .logo-text span:nth-child(2) {
        font-size: 10px;
    }
    
    .footer-brand-name {
        font-size: 20px;
    }
    
    .footer-tagline {
        font-size: 12px;
    }
}

/* ===== HOME PAGE HEADER DISSOLVE EFFECT ===== */
body.home header {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body.home .hero {
    margin-top: 0;
}

body.home.scrolled header {
    background: rgba(11,42,74,0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
}
/* ===== PREMIUM HERO ANIMATION ===== */

.slide {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Slow cinematic zoom */
.slide-bg {
    transform: scale(1.15);
    transition: transform 10s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

/* Text reveal animation */
.hero-animate {
    animation: heroReveal 1.4s ease forwards;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button pulse for attention */
.hero-content .btn {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(244,180,0,0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(244,180,0,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244,180,0,0);
    }
}
