/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #f5f3ed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================= PAGE WRAPPER ================= */
.page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    background: #f5f3ed;
    /* same as body */
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* font-weight: bold; */

    padding: 20px 130px;
    background-color: #f5f3ed;


    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10; */
}



.logo img {
    height: 80px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #4a90e2;
    transform: translateY(-2px);
}

/* About Us Hero Section */
.about-hero {
    background-color: #f5f3ed;
    padding: 40px 40px;
}

.section-title {
    font-size: 72px;
    font-weight: 700;
    color: #b8b0e8;
    /* Closest approximation to the purple color in the image */
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.main-heading {
    font-size: 30px;
    font-weight: 400;
    color: #000;
    line-height: 1.3;
    margin-bottom: 60px;
    max-width: 900px;
}

.about-content {
    display: flex;
    gap: 90px;
    align-items: flex-start;
}

.illustration {
    flex: 0 0 280px;
}

.illustration img {
    width: 100%;
    height: 100%;
    display: block;
    margin-left: 155px;
    margin-top: 30px;
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 45px;
}

.text-content p {
    font-size: 20px;
    line-height: 1.65;
    color: #000;
    font-weight: 450;
}

.paragraph-1 {
    font-weight: 400;
    margin: 0 100px 0 200px;
    text-align: left;
}

.paragraph-2 {
    font-weight: 400;
    margin: 0 100px 0 200px;
    text-align: left;
}

/* What Do We Do Section */
.what-we-do {
    background-color: #f5f3ed;
    padding: 80px 0 100px 0;
}

body .page-wrapper footer,
footer {
    margin-top: 0 !important;
}

.section-heading {
    font-size: 36px;
    font-weight: 600;
    color: #000;
}

.content-wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
}

.text-block {
    flex: 1;
    max-width: 535px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.text-block .paragraph {
    font-size: 20px;
    line-height: 1.75;
    color: #000;
    font-weight: 450;
    margin-right: 0;
    text-align: left;
}

.image-block {
    flex: 0 0 380px;
}

.image-block img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Footer Section */

footer {
    background-color: #3C3C3C;
    color: #fff;
    padding: 60px 150px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
    display: inline-block;
    width: fit-content !important;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-section p {
    font-size: 16px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #666;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.footer-bottom-right {
    display: flex;
    gap: 20px;
}

.work-footer {
    margin-top: 115px;
}

.social-cont {
    margin-top: 15px;
    margin-left: -5px;
}


.social-icon {
    height: 50px;
    width: 50px;
}

.contact {
    display: flex;
}

.label {
    width: 60px;
    /* controls colon position */
}

.value {
    white-space: nowrap;
}

.footer-list {
    text-decoration: none;
    color: white;
}

.footer-list:hover {
    color: #4a90e2;
}

/* Footer bottom Privacy & Terms links */
.footer-bottom-right a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-bottom-right a:hover {
    color: #5c83e6;
}

/* TABLET VIEW (max-width: 1024px) */
@media (max-width: 1024px) {

    /* Header */
    header {
        padding: 18px 50px;
    }

    .logo img {
        height: 70px;
    }

    nav ul {
        gap: 22px;
    }

    nav ul li a {
        font-size: 16px;
    }

    /* Container */
    .container {
        padding: 0 30px;
    }

    /* About hero */
    .about-hero {
        padding: 30px 30px;
    }

    .section-title {
        font-size: 54px;
    }

    .main-heading {
        font-size: 24px;
        margin-bottom: 40px;
        max-width: 100%;
    }

    /* About content row */
    .about-content {
        gap: 80px;
    }

    .illustration {
        flex: 0 0 220px;
    }

    .illustration img {
        margin-left: 30px;
        margin-top: 15px;
    }

    .text-content {
        gap: 12px;
        max-width: 350px;
        padding-top: 25px;
    }

    .text-content p {
        font-size: 17px;
        margin: 0;
    }

    .paragraph-1,
    .paragraph-2 {
        margin: 0;
    }

    /* What we do section */
    .what-we-do {
        padding: 50px 30px 70px 30px;
    }

    .section-heading {
        font-size: 30px;
    }

    .content-wrapper {
        gap: 10px;
    }

    .text-block {
        max-width: 400px;
    }

    .text-block .paragraph {
        font-size: 17px;
        margin-right: 0;
    }

    .image-block {
        flex: 0 0 360px;
    }

    /* Footer */
    footer {
        padding: 50px 50px 30px;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-section h4 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .footer-section ul li,
    .footer-section p {
        font-size: 14px;
    }

    .work-footer {
        margin-top: 125px !important;
        padding-top: 0 !important;
    }

    .footer-logo img {
        height: 44px;
        margin-bottom: 30px;
    }

    .social-cont {
        margin-top: 12px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header */
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* About Hero */
    .section-title {
        font-size: 48px;
    }

    .main-heading {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .illustration {
        flex: 0 0 auto;
        max-width: 280px;
        margin: 0 auto;
    }

    .text-content {
        padding-top: 0;
    }

    .text-content p {
        font-size: 16px;
    }

    /* What We Do */
    .what-we-do {
        padding: 60px 0 80px 0;
    }

    .section-heading {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .image-block {
        flex: 0 0 auto;
        max-width: 100%;
        order: -1;
    }

    .text-block .paragraph {
        font-size: 15px;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    .section-title {
        font-size: 36px;
    }

    .main-heading {
        font-size: 26px;
    }

    .text-content p {
        font-size: 15px;
    }

    .section-heading {
        font-size: 24px;
    }

    .text-block .paragraph {
        font-size: 14px;
    }
}


/* MOBILE VIEW (max-width: 480px) */

@media (max-width: 480px) {

    /* Header - stack vertically */
    header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .logo img {
        height: 60px;
        /* Reduced from 80px */
    }

    /* Navigation - mobile friendly */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav ul li a {
        font-size: 16px;
        /* Reduced from 18px */
    }

    /* Container - reduce padding */
    .container {
        padding: 0px 0px;
    }

    /* About hero - mobile optimization */
    .about-hero {
        padding: 0px 20px;
    }

    .section-title {
        font-size: 40px;
        /* Reduced from 72px */
        margin-bottom: 0px;
    }

    .main-heading {
        font-size: 22px;
        /* Reduced from 30px */
        margin-bottom: 40px;
        max-width: 100%;
    }

    /* About content - stack vertically */
    .about-content {
        flex-direction: column;
        /* Stack illustration and text */
        gap: 30px;
        align-items: center;
    }

    /* Illustration - center on mobile */
    .illustration {
        flex: 1;
        width: 100%;
        max-width: 250px;
        order: 1;
        /* Image first */
    }

    .illustration img {
        margin-left: 0;
        /* Remove desktop margin */
        margin-top: 0;
    }

    /* Text content - full width */
    .text-content {
        flex: 1;
        width: 100%;
        gap: 15px;
        padding-top: 0;
        /* Remove top padding */
        order: 2;
        /* Text second */
    }

    .text-content p {
        font-size: 16px;
        /* Reduced from 20px */
        line-height: 1.6;
    }

    /* Remove custom margins - center align text */
    .paragraph-1,
    .paragraph-2 {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    /* What we do section - mobile */
    .what-we-do {
        padding: 25px 0 60px 0;
    }

    .section-heading {
        font-size: 26px;
        /* Reduced from 36px */
        margin-bottom: 0px;
    }

    /* Content wrapper - stack vertically */
    .content-wrapper {
        flex-direction: column;
        gap: 0;
        margin-left: 20px;
    }

    .text-block {
        display: contents;
    }

    /* Heading comes first */
    .text-block .section-heading {
        order: 1;
        width: 100%;
        font-size: 26px;
        margin-bottom: 10px;
        padding: 0 0 0 0;
    }

    /* Image block comes second — between heading and paragraphs */
    .image-block {
        order: 2;
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 15px auto;
    }

    /* Paragraphs come last */
    .text-body {
        order: 3;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .text-body .paragraph {
        font-size: 16px;
        line-height: 1.6;
        margin-right: 0;
    }

    /* Footer mobile styles → see footer-mobile.css */


    /* SMALL MOBILE (max-width: 380px) */

    @media (max-width: 380px) {

        /* Extra small screens - prevent text overflow */
        .section-title {
            font-size: 36px;
        }

        .main-heading {
            font-size: 20px;
        }

        .text-content p {
            font-size: 15px;
        }

        .section-heading {
            font-size: 24px;
        }

        .text-block .paragraph {
            font-size: 15px;
        }

        .illustration {
            max-width: 220px;
        }

        .image-block {
            max-width: 260px;
        }
    }
}
