/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    /* Colors */
    --c-primary: #1C689E;
    --c-primary-light: #2A82C2;
    --c-primary-dark: #124C75;
    
    --c-white: #ffffff;
    --c-white-off: #f8fafc;
    
    --c-text: #334155;
    --c-text-light: #64748b;
    --c-heading: #0f172a;
    
    --c-glass: rgba(255, 255, 255, 0.7);
    --c-glass-border: rgba(255, 255, 255, 0.3);
    
    /* Typography */
    --f-main: 'Outfit', sans-serif;
    
    /* Spacing & Sizes */
    --s-header-height: 80px;
    --s-max-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --t-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--f-main);
    color: var(--c-text);
    background-color: var(--c-white-off);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--s-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--c-heading);
    line-height: 1.2;
    font-weight: 700;
}

.highlight {
    color: var(--c-primary);
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--t-base);
    border: 2px solid transparent;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--c-primary);
    color: var(--c-white);
    box-shadow: 0 4px 14px rgba(28, 104, 158, 0.3);
}

.btn-primary:hover {
    background-color: var(--c-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 104, 158, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.btn-outline:hover {
    background-color: var(--c-primary);
    color: var(--c-white);
}

.btn-white {
    background-color: var(--c-white);
    color: var(--c-primary);
}

.btn-white:hover {
    background-color: var(--c-white-off);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background-color: rgba(28, 104, 158, 0.1);
    color: var(--c-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Layout Sections
   ========================================================================== */
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--s-header-height);
    z-index: 1000;
    transition: all var(--t-base);
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    height: 70px;
}

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

.logo img {
    height: 40px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--c-text);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color var(--t-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--c-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--c-primary);
    transition: width var(--t-base);
}

.nav-link.active::after, .nav-link:hover::after {
    width: 100%;
}

.mobile-toggle, .mobile-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--c-heading);
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--s-header-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at top right, #e0f2fe 0%, #ffffff 50%, #f0f9ff 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(28,104,158,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -200px;
    right: -200px;
    animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, 50px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--c-text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Decorative Hero Image/Card */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../assets/img1.png') center/cover;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    opacity: 0.9;
}

.glass-card {
    position: relative;
    z-index: 2;
    background: var(--c-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--c-glass-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transform: translate(-40px, 40px);
    animation: float-small 6s ease-in-out infinite alternate;
}

@keyframes float-small {
    0% { transform: translate(-40px, 40px); }
    100% { transform: translate(-40px, 20px); }
}

.decor-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--c-primary);
    color: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.decor-text strong {
    display: block;
    color: var(--c-heading);
    font-size: 1.125rem;
}

.decor-text span {
    color: var(--c-primary);
    font-weight: 600;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--c-primary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -7px); }
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: var(--c-white-off);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 1.125rem;
    color: var(--c-text-light);
    margin-bottom: 40px;
}

.mvv {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mvv-item h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--c-primary);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.mvv-item p {
    color: var(--c-text);
}

/* Services */
.services {
    padding: 120px 0;
    background-color: var(--c-white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--c-text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--c-white-off);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all var(--t-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background-color: var(--c-white);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(28, 104, 158, 0.1);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: all var(--t-base);
}

.service-card:hover .icon-wrapper {
    background-color: var(--c-primary);
    color: var(--c-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--c-text-light);
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: var(--c-white);
    text-align: center;
}

.cta-container {
    max-width: 800px;
}

.cta h2 {
    color: var(--c-white);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background-color: var(--c-heading);
    color: var(--c-white);
    padding: 80px 0 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 64px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--c-text-light);
    max-width: 300px;
    margin-bottom: 24px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--c-white);
    font-size: 1.25rem;
    transition: all var(--t-base);
}

.social-links a:hover {
    background-color: var(--c-primary);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--c-white);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links ul, .footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a, .footer-contact li {
    color: var(--c-text-light);
    transition: color var(--t-base);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--c-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--c-text-light);
    font-size: 0.875rem;
}

/* ==========================================================================
   Animations (Reveal)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 64px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-image {
        min-height: 400px;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mvv-item h4 {
        justify-content: center;
    }
    
    .glass-card {
        transform: translate(0, 40px);
    }
    
    @keyframes float-small {
        0% { transform: translate(0, 40px); }
        100% { transform: translate(0, 20px); }
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --s-header-height: 70px;
    }

    .btn-nav {
        display: none;
    }

    .mobile-toggle, .mobile-close {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--c-white);
        box-shadow: var(--shadow-lg);
        padding: 80px 24px;
        transition: right var(--t-base);
        z-index: 1001;
    }
    
    .nav.active {
        right: 0;
    }
    
    .mobile-close {
        position: absolute;
        top: 24px;
        right: 24px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto 24px;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}
