/* Color Variables - 3 Color Palette */
:root {
    --primary: #1a1a2e;      /* Dark Navy */
    --secondary: #2d4059;    /* Medium Blue-Gray */
    --accent: #eaeaea;       /* Light Gray */
    --text-dark: #1a1a2e;
    --text-light: #eaeaea;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    background: rgb(245, 242, 242);
    padding: 20px 0;
    color: black;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    opacity: 0.7;
}

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

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: black;
    transition: all 0.3s ease;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

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

/* About Section */
.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat-item {
    background: var(--accent);
    padding: 32px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--secondary);
}

/* Services Section */
.services {
    background: var(--accent);
}

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

.service-card {
    background: white;
    padding: 40px 32px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-icon {
    color: var(--secondary);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--secondary);
    line-height: 1.7;
}

/* Why Choose Us Section */
.why-us {
    background: white;
}

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

.why-card {
    padding: 40px 32px;
    background: var(--accent);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: var(--secondary);
    color: var(--text-light);
}

.why-number {
    font-size: 48px;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 16px;
}

.why-card:hover .why-number {
    opacity: 0.5;
}

.why-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.why-card p {
    line-height: 1.7;
    opacity: 0.9;
}

/* Clients Section */
.clients {
    background: var(--accent);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.client-card {
    background: white;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.client-card:hover {
    background: var(--secondary);
    color: var(--text-light);
}

.client-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.client-card p {
    font-size: 14px;
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 2px solid var(--accent);
    margin-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    padding-right: 20px;
}

.faq-toggle {
    font-size: 32px;
    font-weight: 300;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--secondary);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: var(--accent);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-form input,
.contact-form textarea {
    padding: 16px;
    border: 2px solid transparent;
    background: white;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.info-item p {
    color: var(--secondary);
    font-size: 16px;
    margin-bottom: 4px;
}

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

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

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

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

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

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .why-us-grid,
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links a {
        color: white;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links li {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .services-grid,
    .why-us-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

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

    .stat-number {
        font-size: 36px;
    }

    .why-number {
        font-size: 36px;
    }

    .faq-question h3 {
        font-size: 18px;
    }
}

/* HERO (final version kept) */
.hero {
    background: rgb(245, 242, 242);
    color: black;
    padding: 140px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;          /* vertical alignment */
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Hero image styling */
.hero-image {
    display: grid;
    place-items: center;          /* centers image in cell */
}

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

/* Mobile tweaks for hero */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .hero-image {
        order: -1;                /* optional: image first on mobile */
    }
}



.cta-button {
display: inline-block;
background: var(--secondary);
color: var(--text-light);
padding: 16px 40px;
text-decoration: none;
font-weight: 600;
font-size: 16px;
transition: transform 0.3s ease, background 0.3s ease;
border: none;
cursor: pointer;
}


.cta-button:hover {
transform: translateY(-2px);
background: #3d5a7a;
}