
/* About Section Layout */
.about {
  display: flex;
  align-items: stretch;
  background: #fff;
  color: #111;
  overflow: hidden;
}

.about-content {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.green-line {
  width: 40px;
  height: 3px;
  background-color: var(--color-green);
  margin-right: 10px;
  border-radius: 3px;
}

.welcome {
  color: var(--color-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  max-width: 500px;
}

.signature {
  margin-top: 2rem;
}

.signature .sign {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: #000;
  margin: 0;
}

.signature .founder {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.3rem;
}

/* Desktop Image */
.about-image {
  flex: 1;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile Image (hidden by default) */
.mobile-image {
  display: none;
  margin: 1.5rem 0;
}
/* Transform Your Business Section */
.transform-section {
    background-color: #ffffff;
    padding: 6rem 8%; /* Adjusting desktop padding slightly for better edge control */
    position: relative;
    overflow: hidden;
}

.transform-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1200px; /* Optional: Constrain desktop width */
    margin: 0 auto;
}

/* Image Styling */
.transform-image {
    flex: 1 1 45%;
}

.transform-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Content Styling */
.transform-content {
    flex: 1 1 50%;
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Tag Line */
.tag-line {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.tag-line .line {
    width: 50px;
    height: 3px;
    background-color: var(--color-green);
    margin-right: 0.6rem;
    border-radius: 2px;
}

.tag-line .text {
    color: var(--color-green);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Heading & Paragraph */
.transform-content h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--color-slate);
    margin-bottom: 1rem;
}

.transform-content p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Bullet Points */
.who-we-work-with {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.who-we-work-with li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.who-we-work-with i {
    color: var(--color-green);
    font-size: 1rem;
}

/* Learn More Button */
.learn-more-btn {
    display: inline-block;
    background-color: var(--color-green);
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #1e7a45;
    transform: translateY(-3px);
}

/* ========================================================= */
/* RESPONSIVE LAYOUT - Mobile Focus */
/* ========================================================= */
@media (max-width: 992px) {
    /* 1. Section Padding (Reduces space from left/right edge and tightens vertical space) */
    .transform-section {
        padding: 2.5rem 1rem; /* Adjusted vertical padding (3rem -> 2.5rem) and horizontal padding (1.5rem -> 1rem) */
    }
    
    /* 2. Container Stacking and Gap (Reduces vertical space between image and content) */
    .transform-container {
        flex-direction: column;
        gap: 2rem; /* Reduced gap from 2.5rem to 2rem */
    }

    /* 3. Content Order & Card Removal */
    .transform-content {
        order: 2; 
        flex: 1 1 100%; 
        
        /* REMOVE CARD STYLING FOR MOBILE */
        background: none; 
        padding: 0; 
        box-shadow: none;
        
        /* Ensure all text aligns left */
        text-align: left;
    }

    /* 4. Image Order & Full Width */
    .transform-image {
        order: 1; 
        flex: 1 1 100%; 
        margin-bottom: 0;
    }
    
    .transform-image img {
        border-radius: 12px;
    }

    /* 5. Text and List Adjustments (Tight, Premium Look) */
    .transform-content h2 {
        font-size: 1.5rem; 
        margin-bottom: 0.8rem; 
    }

    .transform-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem; /* Tighter vertical spacing (1.5rem -> 1.25rem) */
    }

    .who-we-work-with {
        margin-bottom: 1.25rem; /* Tighter vertical spacing (1.5rem -> 1.25rem) */
    }

    .who-we-work-with li {
        font-size: 0.95rem; 
        margin-bottom: 0.5rem; /* Tighter list item spacing (0.6rem -> 0.5rem) */
    }
    
    /* 6. CTA Button (Resets to inline-block, removing full width) */
    .learn-more-btn {
        width: auto; /* Reset width so it's not 100% */
        text-align: center;
        font-size: small;
    }
}
/* --- Base Styles for Image Visibility (Desktop) --- */
/* By default, hide the mobile image version */
.about-image.mobile-image {
    display: none;
}

/* ========================================================= */
/* RESPONSIVE STYLES (For screens 768px and smaller) */
/* ========================================================= */

@media (max-width: 768px) {
    /* 1. General Section Spacing and Layout */
    .about {
        /* Apply tight, balanced padding for mobile (1.5rem on sides) */
        padding: 3rem 1.5rem; 
    }

    .about-content {
        /* Stack the text and desktop image vertically */
        flex-direction: column; 
        gap: 2rem; /* Balanced space between sections */
        width: 100%; 
    }

    /* 2. Content Alignment (Left Alignment) */
    .about-text {
        /* Ensure the main text container takes full width */
        width: 100%;
        /* Align all text content to the left */
        text-align: left; 
        padding: 0;
    }

    /* 3. Image Visibility Switching */
    .about-image.desktop-image {
        display: none !important; /* Hide the large desktop image */
    }

    .about-image.mobile-image {
        display: block; /* Show the mobile image version */
        margin-bottom: 1.5rem; /* Space below the image */
    }
    
    .about-image.mobile-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* Soft premium shadow */
    }

    /* 4. Text Readability Adjustments */
    .about-text h2 {
        font-size: 1.75rem; /* Reduced heading size */
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 0.95rem; /* Optimized paragraph size for mobile reading */
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    /* Ensure the signature block aligns with the rest of the text */
    .signature {
        text-align: left;
    }
}