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

:root {
    --navy-blue: #001f54;
    --navy-light: #003a8c;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-lighter: #f3f4f6;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 55px;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--navy-blue);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--navy-blue);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(0, 31, 84, 0.6), rgba(0, 31, 84, 0.75)), url('attached_assets/17_1763138867601.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 8rem 2rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 31, 84, 0.75) 0%, rgba(0, 58, 140, 0.65) 100%);
    backdrop-filter: blur(2px);
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 200;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-line:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
}

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

.stats-section {
    background: var(--navy-blue);
    padding: 6rem 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 200;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: -2px;
    transition: transform 0.3s ease;
}

.stat-number::after {
    content: '+';
    font-size: 0.6em;
    vertical-align: super;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.section {
    padding: 10rem 0;
    position: relative;
}

.section-number {
    position: absolute;
    top: 8rem;
    left: 2rem;
    font-size: 14rem;
    font-weight: 100;
    color: rgba(0, 31, 84, 0.025);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.section-content {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 200;
    color: var(--navy-blue);
    margin-bottom: 5rem;
    letter-spacing: -2px;
}

.about-section {
    background: var(--gray-lighter);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.content-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--gray);
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.5rem !important;
    line-height: 1.7 !important;
    color: var(--black) !important;
    font-weight: 300;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
}

.services-section {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    cursor: pointer;
    border-radius: 20px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.service-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 31, 84, 0.7), rgba(0, 58, 140, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    color: var(--white);
}

.service-content {
    padding: 3rem 2rem;
}

.service-content h3 {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--navy-blue);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.service-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray);
}

.portfolio-section {
    background: var(--gray-lighter);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 16px;
}

.portfolio-image {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 16px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 31, 84, 0.95), rgba(0, 31, 84, 0.4));
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: var(--transition);
    border-radius: 16px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    color: var(--white);
}

.portfolio-info h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.portfolio-info p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
}

.approach-section {
    background: var(--white);
}

.approach-grid {
    max-width: 900px;
}

.highlight-text {
    font-size: 1.4rem !important;
    color: var(--navy-blue) !important;
    font-style: italic;
    margin-top: 3rem;
    padding-left: 2.5rem;
    border-left: 4px solid var(--navy-blue);
    font-weight: 300;
}

.contact-section {
    background: var(--gray-lighter);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
    align-items: center;
}

.contact-image-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contact-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.contact-image:hover {
    transform: scale(1.05);
}

.contact-info {
    padding: 2rem 0;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin: 2rem 0 3rem;
}

.email-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--navy-blue);
    color: var(--white);
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(0, 31, 84, 0.2);
}

.email-button:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 31, 84, 0.3);
}

.email-button svg {
    flex-shrink: 0;
}

.footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.footer-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
    
    .section-number {
        left: 3rem;
        font-size: 10rem;
    }
    
    .about-grid,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image img {
        height: 500px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .section-number {
        font-size: 6rem;
        left: 1rem;
        top: 5rem;
        opacity: 0.5;
    }
    
    .hero {
        padding: 6rem 2rem;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-image,
    .service-image {
        height: 300px;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .contact-image {
        height: 400px;
    }
    
    .email-button {
        padding: 1.2rem 2.5rem;
        font-size: 1rem;
    }
}
