/* 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: #fcf9f4; /* 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-top: 40px; */
    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: 100px;
    margin-top: 25px;
}

.text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 45px;
}

.text-content p {
    font-size: 20px;
    line-height: 1.65;
    color: #000;
    font-weight:450;

}

.paragraph-1 {
    font-weight: 400;
    margin-left: 200px;
    margin-right: 100px;
    text-align: left;
}

.paragraph-2 {
    font-weight: 400;
    margin-left: 200px;
    margin-right: 100px;
    text-align: left;
}

/* What Do We Do Section */
.what-we-do {
    background-color: #f5f3ed;
    padding: 80px 0 100px 0;
}

.section-heading {
    font-size: 36px;
    font-weight: 600;
    color: #000;
    /* margin-bottom: 50px; */
}

.content-wrapper {
    display: flex;
    gap: 80px;
    align-items: center;
}

.text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.text-block .paragraph {
    font-size: 20px;
    line-height: 1.75;
    color: #000;
    font-weight: 450;
    margin-right: 110px;
    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;
}

.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;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .section-title {
        font-size: 60px;
    }
    
    .main-heading {
        font-size: 40px;
    }
    
    .about-content {
        gap: 50px;
    }
    
    .illustration {
        flex: 0 0 240px;
    }
    
    .content-wrapper {
        gap: 50px;
    }
    
    .image-block {
        flex: 0 0 320px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1.5fr 1fr 1.5fr;
        gap: 40px;
    }
}

/* 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;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 25px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 35px;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 50px;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding-top: 20px;
    }
}

/* 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;
    }
}

/* ============================================
   TABLET VIEW (481px - 1024px)
   ============================================ */

@media (max-width: 1024px) {
    /* Header - prevent overflow */
    header {
        padding: 20px 60px; /* Reduced from 130px */
    }

    /* About hero section - adjust spacing */
    .about-hero {
        padding: 40px 30px;
    }

    .section-title {
        font-size: 60px; /* Reduced from 72px */
    }

    .main-heading {
        font-size: 26px; /* Reduced from 30px */
        margin-bottom: 50px;
    }

    /* About content - reduce gaps */
    .about-content {
        gap: 50px; /* Reduced from 90px */
    }

    .illustration {
        flex: 0 0 250px; /* Reduced from 280px */
    }

    .illustration img {
        margin-left: 50px; /* Reduced from 100px */
    }

    /* Text content - adjust margins */
    .text-content {
        gap: 30px; /* Reduced from 40px */
        padding-top: 30px;
    }

    .text-content p {
        font-size: 18px; /* Reduced from 20px */
    }

    .paragraph-1,
    .paragraph-2 {
        margin-left: 100px; /* Reduced from 200px */
        margin-right: 50px; /* Reduced from 100px */
    }

    /* What we do section */
    .what-we-do {
        padding: 60px 0 80px 0;
    }

    .section-heading {
        font-size: 32px; /* Reduced from 36px */
    }

    .content-wrapper {
        gap: 60px; /* Reduced from 80px */
    }

    .text-block .paragraph {
        font-size: 18px; /* Reduced from 20px */
        margin-right: 50px; /* Reduced from 110px */
    }

    .image-block {
        flex: 0 0 320px; /* Reduced from 380px */
    }

    /* Footer - reduce padding */
    footer {
        padding: 60px 60px 30px; /* Reduced from 150px */
    }

    .work-footer {
        margin-top: 60px; /* Reduced from 115px */
    }
}

/* ============================================
   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 30px 0;
    }

    .section-heading {
        font-size: 26px; /* Reduced from 36px */
        margin-bottom: 0px;
    }

    /* Content wrapper - stack vertically */
    .content-wrapper {
        flex-direction: column; /* Stack text and image */
        gap: 30px;
        margin-left: 20px;
    }

    /* Text block - full width */
    .text-block {
        flex: 1;
        width: 100%;
        gap: 10px;
        order: 2; /* Text second */
    }

    .text-block .paragraph {
        font-size: 16px; /* Reduced from 20px */
        line-height: 1.6;
        margin-right: 0; /* Remove custom margin */
    }

    /* Image block - centered on mobile */
    .image-block {
        flex: 1;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        order: 1; /* Image first */
    }

    /* Footer - mobile optimization */
    footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        flex-direction: column; /* Stack footer sections */
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-section h4 {
        font-size: 24px; /* Reduced from 28px */
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 14px; /* Reduced from 16px */
    }

    /* Remove large top margin when stacked */
    .work-footer {
        margin-top: 30px;
    }

    /* Footer bottom - stack vertically */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
        font-size: 12px;
    }

    .footer-bottom-right {
        justify-content: center;
    }

    /* Social icons - proper spacing */
    .social-cont {
        display: flex;
        gap: 5px;
        /* justify-content: center; */
        margin-top: 15px;
        margin-left: -5px;
    }
}

/* ============================================
   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;
    }
}