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

:root {
    --primary: #08264A;
    --secondary: #6D6D6D;
    --light: #FFFFFF;
    --bg-dark: #0F3A5C;
    --bg-light: #F5F5F5;
    --text-primary: #08264A;
    --text-secondary: #6D6D6D;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Aptos Narrow', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    background: var(--light);
    box-shadow: 0 2px 10px rgba(8, 38, 74, 0.1);
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
}

.navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100%;
    width: auto;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn-nav {
    padding: 10px 24px;
    border: 2px solid var(--primary);
    background: var(--light);
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Aptos Narrow', sans-serif;
}

.btn-nav:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 38, 74, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F4F8 100%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--primary);
}

.hero-title .word {
    display: block;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title .word:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-title .word:nth-child(2) {
    animation-delay: 0.2s;
    color: var(--secondary);
}

.hero-title .word:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.btn-primary {
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--primary) 0%, #0D4F7A 100%);
    color: var(--light);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
    opacity: 0;
    font-family: 'Aptos Narrow', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(8, 38, 74, 0.3);
}

.btn-large {
    padding: 18px 60px;
    font-size: 18px;
}

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

.float-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    background: var(--primary);
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: -50px;
    background: var(--secondary);
}

.shape-3 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: 10%;
    background: var(--primary);
}

@keyframes fadeInUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding: 120px 0;
    position: relative;
    background: var(--light);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.about-content {
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary);
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.stat-card {
    padding: 40px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F8FC 100%);
    border: 2px solid var(--primary);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #F0F4F8 0%, #E8EFF8 100%);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(8, 38, 74, 0.15);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-secondary);
}

/* Services Section */
.services {
    padding: 120px 0;
    position: relative;
    background: #F5F8FC;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 80px;
}

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

.service-card {
    padding: 50px 30px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(8, 38, 74, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-20px);
    box-shadow: 0 30px 60px rgba(8, 38, 74, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 15px;
}

/* Why Us Section */
.why-us {
    padding: 120px 0;
    position: relative;
    background: var(--light);
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.feature {
    text-align: center;
    padding: 40px 20px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #0D4F7A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--light);
    margin: 0 auto 20px;
    font-weight: 700;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 700;
}

.feature p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0D4F7A 100%);
    text-align: center;
    position: relative;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light);
    font-weight: 700;
}

.cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 38, 74, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--light);
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 2px solid var(--primary);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.modal h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
}

.modal p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    background: #F5F8FC;
    border: 2px solid var(--primary);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Aptos Narrow', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 20px rgba(8, 38, 74, 0.2);
}

.contact-form button {
    margin-top: 10px;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: var(--light);
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .nav-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-nav {
        padding: 8px 16px;
        font-size: 12px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modal-content {
        padding: 30px;
    }

    .logo {
        height: 50px;
    }

    .cta h2 {
        font-size: 1.8rem;
    }
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}
