/* About Page Specific Styles - Green Theme */
.about-page {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--font-default);
}

/* Color Variables - Green Theme */
:root {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --accent-color: #059669;
    --accent-light: #34d399;
    --heading-color: #1f2937;
    --text-light: #6b7280;
    --default-color: #374151;
    --background-color: #ffffff;
    --light-background: #f9fafb;
    --dark-background: #065f46;
    --border-color: #e5e7eb;
    --font-default: "Inter", sans-serif;
}

.dark-background {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
}

.light-background {
    background-color: var(--light-background);
}

/* Section Base Styles */
.section {
    padding: 60px 0;
}

/* Page Header */
.about-header {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    
}

.about-header .page-header-content {
    position: relative;
    z-index: 2;
}

.page-badge {
   display: inline-block;
    padding: 8px 20px;
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%);
}

.about-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    line-height: 1.2;
}

.about-header .lead {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    background: var(--accent-color);
  color: var(--contrast-color);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 60%);

}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
background: #169665;
  transform: translateY(-2px);
  box-shadow: 0 18px 205px color-mix(in srgb, white, transparent 5%);
  color: var(--contrast-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: color-mix(in srgb, var(--contrast-color), transparent 5%);
  box-shadow: 0 18px 205px color-mix(in srgb, white, transparent 5%);
  transform: translateX(5px);
  color: #065f46;
}

.header-visual {
    position: relative;
    text-align: center;
    margin-top: 50px;
}

.header-visual img {
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
/* ------------------------------------- */
/* Page Header Mobile Optimization */
/* ------------------------------------- */
@media (max-width: 768px) {
  .about-header {
    padding: 60px 0 40px;
    overflow: visible;
  }
  
  /* Stack content vertically on mobile */
  .about-header .row.align-items-center {
    flex-direction: column;
    gap: 30px;
  }
  
  /* Make both columns full width */
  .about-header .col-lg-6 {
    width: 100%;
   
  }
  
  /* Center content on mobile */
  .about-header .page-header-content {
    text-align: center;
    padding: 0 15px;
  }
  
  /* Adjust badge size */
  .page-badge {
    padding: 6px 16px;
    font-size: 12px;
    margin-bottom: 15px;
    margin-top: 70px;
  }
  
  /* Adjust heading size */
  .about-header h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    line-height: 1.3;
  }
  
  /* Adjust lead text */
  .about-header .lead {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  /* Adjust button styling */
  .header-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  
  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
  
  /* Adjust header visual */
  .header-visual {
    margin-top: 20px;
    padding: 0 15px;
  }
  
  .header-visual img {
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
  }
}

/* For very small screens (phones) */
@media (max-width: 576px) {
  .about-header {
    padding: 50px 0 30px;
  }
  
  .about-header h1 {
    font-size: 1.5rem;
  }
  
  .page-badge {
    padding: 5px 14px;
    font-size: 11px;
  }
  
  .about-header .lead {
    font-size: 0.95rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .header-visual img {
    max-height: 200px;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .about-header {
    padding: 40px 0 25px;
  }
  
  .about-header h1 {
    font-size: 1.3rem;
  }
  
  .page-badge {
    padding: 4px 12px;
    font-size: 10px;
  }
  
  .about-header .lead {
    font-size: 0.9rem;
  }
  
  .header-visual img {
    max-height: 180px;
  }
}
/* Tablet-specific adjustments */
@media (min-width: 577px) and (max-width: 768px) {
  .about-header h1 {
    font-size: 2rem;
  }
  
  .about-header .lead {
    font-size: 1.1rem;
  }
  
  .header-visual img {
    max-height: 300px;
  }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .about-header .row.align-items-center {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  
  .about-header .col-lg-6 {
    width: 50%;
  }
  
  .header-visual img {
    max-height: 200px;
  }
}

/* ------------------------------------- */
/* About Stats */
/* ------------------------------------- */
.about-stats {
    padding: 40px 0;
}

.stat-item {
    padding: 20px 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}
/* Stats Section */
  .about-stats .row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-bottom: -50px;
  }
  
  .stat-item {
    padding: 1px 1px;
  }
  
  .stat-number {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.5rem;
  }
  /* Services Stats Mobile Optimization - SUPER COMPACT 4 IN ROW */
@media (max-width: 768px) {
  .services-stats {
    padding: 20px 0 10px;
  }
  
  /* Grid layout - 4 stats in one row */
  .services-stats .row.g-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
  }
  
  /* Make all columns equal width */
  .services-stats .row.g-4 > div[class*="col-"] {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  /* Ultra compact stat items */
  .stat-item {
    padding: 1px 1px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  /* Ultra small stat numbers */
  .stat-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 2px;
  }
  
  /* Ultra small stat labels */
  .stat-label {
    font-size: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
}

/* For very small screens */
@media (max-width: 576px) {
  .services-stats {
    padding: 15px 0 5px;
  }
  
  .stat-item {
    min-height: 55px;
  }
  
  .stat-number {
    font-size: 0.9rem;
  }
  
  .stat-label {
    font-size: 0.45rem;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .services-stats {
    padding: 10px 0;
  }
  
  .stat-item {
    min-height: 50px;
    padding: 1px;
  }
  
  .stat-number {
    font-size: 0.85rem;
  }
  
  .stat-label {
    font-size: 0.4rem;
  }
}

/* Tablet-specific adjustments */
@media (min-width: 577px) and (max-width: 768px) {
  .stat-item {
    min-height: 70px;
  }
  
  .stat-number {
    font-size: 1.1rem;
  }
  
  .stat-label {
    font-size: 0.55rem;
  }
}

/* Services List Mobile Optimization - HORIZONTAL ROW */
@media (max-width: 768px) {
  .services-list {
    padding: 40px 0;
    margin-top: 0;
  }
  
  /* Section title adjustments */
  .section-title {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  /* Horizontal row layout for services */
  .services-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    margin: 0 -15px;
    padding: 0 15px 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
  }
  
  /* Make service cards side by side */
  .service-detail-card {
    flex: 0 0 auto;
    width: 85vw;
    max-width: 350px;
    min-width: 300px;
    padding: 25px 20px;
    border-radius: 12px;
    height: auto;
    min-height: 420px;
    display: flex;
    flex-direction: column;
  }
  
  /* Remove hover effects on mobile */
  .service-detail-card:hover,
  .service-detail-card.featured {
    transform: none;
  }
  
  /* Compact service header */
  .service-header {
    margin-bottom: 15px;
  }
  
  /* Compact service icon */
  .service-icon {
    width: 50px;
    height: 50px;
  }
  
  .service-icon i {
    font-size: 1.25rem;
  }
  
  /* Compact service meta */
  .service-badge {
    font-size: 9px;
    padding: 2px 8px;
  }
  
  .service-number {
    font-size: 1.8rem;
  }
  
  /* Compact heading */
  .service-detail-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* Compact description */
  .service-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 0;
  }
  
  /* Compact features */
  .service-features {
    margin: 15px 0;
    flex-grow: 1;
  }
  
  .service-features h5 {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .service-features li {
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* Compact CTA buttons */
  .service-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
  }
  
  .btn-service, .btn-service-outline {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
    justify-content: center;
  }
  
  /* Add scroll indicator */
  .services-grid::-webkit-scrollbar {
    height: 4px;
  }
  
  .services-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
  }
  
  .services-grid::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
  }
}

/* For very small screens - services */
@media (max-width: 576px) {
  .services-list {
    padding: 35px 0;
  }
  
  .section-title h2 {
    font-size: 1.3rem;
  }
  
  .section-title p {
    font-size: 0.85rem;
  }
  
  .service-detail-card {
    width: 80vw;
    max-width: 300px;
    min-width: 280px;
    padding: 20px 18px;
    min-height: 400px;
  }
  
  .service-icon {
    width: 45px;
    height: 45px;
  }
  
  .service-icon i {
    font-size: 1.1rem;
  }
  
  .service-detail-card h3 {
    font-size: 1.1rem;
  }
  
  .service-description {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  
  .service-features li {
    font-size: 0.8rem;
  }
  
  .btn-service, .btn-service-outline {
    padding: 9px 12px;
    font-size: 13px;
    min-width: 110px;
  }
}

/* Extra small screens - services */
@media (max-width: 400px) {
  .services-list {
    padding: 30px 0;
  }
  
  .section-title h2 {
    font-size: 1.2rem;
  }
  
  .service-detail-card {
    width: 85vw;
    max-width: 280px;
    min-width: 260px;
    padding: 18px 15px;
    min-height: 380px;
  }
  
  .service-icon {
    width: 40px;
    height: 40px;
  }
  
  .service-icon i {
    font-size: 1rem;
  }
  
  .service-number {
    font-size: 1.5rem;
  }
  
  .service-detail-card h3 {
    font-size: 1rem;
  }
  
  .service-description {
    font-size: 0.8rem;
  }
  
  .service-features li {
    font-size: 0.75rem;
  }
  
  .service-cta {
    flex-direction: column;
  }
  
  .btn-service, .btn-service-outline {
    width: 100%;
    min-width: 0;
  }
}

/* ------------------------------------- */
/* Our Story */
/* ------------------------------------- */
.our-story {
    padding: 60px 0;
}

.story-content .subtitle {
   display: inline-block;
    background-color: 
    color-mix(in srgb, var(--accent-color), transparent 94%);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.story-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.story-content .lead {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.story-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.story-highlights {
    margin-top: 25px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.highlight-item span {
    color: var(--text-light);
    line-height: 1.5;
}

.story-visual {
    position: relative;
    text-align: center;
}

.story-visual .main-image {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.experience-card {
    top: 20px;
    left: -20px;
}

.clients-card {
    bottom: 30px;
    right: -15px;
}

.floating-card i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.floating-card .text h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--heading-color);
}

.floating-card .text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@media (max-width: 768px) {
  /* Floating cards - position at bottom without HTML changes */
  .story-visual {
    position: relative;
    padding-bottom: 60px; /* Space for floating cards */
  }
  
  .floating-card {
    position: absolute;
    width: 45%;
    padding: 10px 8px;
    animation: none;
    transform: none;
  }
  
  .experience-card {
    top: auto;
    left: 0;
    bottom: 10px;
    right: auto;
  }
  
  .clients-card {
    top: auto;
    right: 0;
    bottom: 10px;
    left: auto;
  }
}

/* ------------------------------------- */
/* Mission & Vision */
/* ------------------------------------- */
.mission-vision {
    padding: 60px 0;
    margin-top:-100px;
}

.mission-card, .vision-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.card-icon i {
    font-size: 1.75rem;
    color: white;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.mission-card p, .vision-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.mission-points, .vision-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-points li, .vision-points li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.mission-points li:before, .vision-points li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Mission & Vision - Horizontal Row Mobile Optimization */
@media (max-width: 768px) {
  .mission-vision {
    padding: 30px 0;
    
  }
  
  /* Horizontal row layout with scrolling */
  .mission-vision .row.g-5 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    margin: 0 -15px;
    padding: 0 15px 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
  }
  
  /* Make columns side by side */
  .mission-vision .row.g-5 > div[class*="col-"] {
    flex: 0 0 auto;
    width: 85vw;
    max-width: 350px;
    min-width: 300px;
    margin-bottom: 0;
    padding: 0;
  }
  
  /* Compact cards */
  .mission-card, .vision-card {
    padding: 25px 20px;
    border-radius: 12px;
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
  }
  
  /* Remove hover effects on mobile for better touch */
  .mission-card:hover, .vision-card:hover {
    transform: none;
  }
  
  /* Compact icon */
  .card-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 20px;
  }
  
  .card-icon i {
    font-size: 1.4rem;
  }
  
  /* Compact heading */
  .mission-card h3, .vision-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  
  /* Compact paragraph */
  .mission-card p, .vision-card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 0;
  }
  
  /* Compact points list */
  .mission-points, .vision-points {
    flex-grow: 1;
  }
  
  .mission-points li, .vision-points li {
    font-size: 0.85rem;
    padding-left: 16px;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .mission-points li:before, .vision-points li:before {
    top: 6px;
    width: 5px;
    height: 5px;
  }
  
  /* Add scroll indicator */
  .mission-vision .row.g-5::-webkit-scrollbar {
    height: 3px;
  }
  
  .mission-vision .row.g-5::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }
  
  .mission-vision .row.g-5::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 8px;
  }
}

/* For very small screens */
@media (max-width: 576px) {
  .mission-vision .row.g-5 > div[class*="col-"] {
    width: 80vw;
    max-width: 300px;
    min-width: 280px;
  }
  
  .mission-card, .vision-card {
    padding: 20px 18px;
    min-height: 350px;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }
  
  .card-icon i {
    font-size: 1.3rem;
  }
  
  .mission-card h3, .vision-card h3 {
    font-size: 1.1rem;
  }
  
  .mission-card p, .vision-card p {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  
  .mission-points li, .vision-points li {
    font-size: 0.8rem;
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .mission-vision .row.g-5 > div[class*="col-"] {
    width: 85vw;
    max-width: 280px;
    min-width: 260px;
  }
  
  .mission-card, .vision-card {
    padding: 18px 15px;
    min-height: 320px;
  }
  
  .card-icon {
    width: 45px;
    height: 45px;
  }
  
  .card-icon i {
    font-size: 1.2rem;
  }
  
  .mission-card h3, .vision-card h3 {
    font-size: 1rem;
  }
  
  .mission-card p, .vision-card p {
    font-size: 0.8rem;
  }
  
  .mission-points li, .vision-points li {
    font-size: 0.75rem;
  }
}

/* Tablet-specific adjustments */
@media (min-width: 577px) and (max-width: 768px) {
  .mission-vision .row.g-5 > div[class*="col-"] {
    max-width: 320px;
  }
  
  .mission-card, .vision-card {
    min-height: 360px;
  }
}

/* If you want them side by side without scrolling on tablets */
@media (min-width: 577px) and (max-width: 992px) {
  .mission-vision .row.g-5 {
    flex-wrap: wrap;
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }
  
  .mission-vision .row.g-5 > div[class*="col-"] {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  
  /* Stack vertically on medium tablets */
  .mission-vision .row.g-5 {
    flex-direction: column;
    gap: 20px;
  }
}

/* ------------------------------------- */
/* Why Choose Us */
/* ------------------------------------- */
.why-choose {
    padding: 60px 0;
    margin-top: -30px;
}

.section-title {
    margin-bottom: 40px;
}

.section-title .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--heading-color);
}

.section-title p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.feature-icon i {
    font-size: 1.75rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Services Page Header Mobile Optimization - VERTICAL STACK */
@media (max-width: 768px) {
  .services-header {
    padding: 80px 0 40px;
    overflow: visible;
  }
  
  /* Stack content vertically on mobile */
  .services-header .row.align-items-center {
    flex-direction: column;
    gap: 30px;
  }
  
  /* Make both columns full width */
  .services-header .col-lg-6 {
    width: 100%;
  }
  
  /* Center content on mobile */
  .services-header .page-header-content {
    text-align: center;
    padding: 0 15px;
  }
  
  /* Adjust badge size */
  .page-badge {
    padding: 6px 16px;
    font-size: 12px;
    margin-bottom: 15px;
  }
  
  /* Adjust heading size */
  .services-header h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    line-height: 1.3;
  }
  
  /* Adjust lead text */
  .services-header .lead {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  /* Adjust button styling */
  .header-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  
  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
  
  /* Adjust header visual */
  .header-visual {
    padding: 0 15px;
  }
  
  .header-visual img {
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
  }
}

/* For very small screens (phones) */
@media (max-width: 576px) {
  .services-header {
    padding: 70px 0 30px;
  }
  
  .services-header h1 {
    font-size: 1.5rem;
  }
  
  .page-badge {
    padding: 5px 14px;
    font-size: 11px;
  }
  
  .services-header .lead {
    font-size: 0.95rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .header-visual img {
    max-height: 200px;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .services-header {
    padding: 60px 0 25px;
  }
  
  .services-header h1 {
    font-size: 1.3rem;
  }
  
  .page-badge {
    padding: 4px 12px;
    font-size: 10px;
  }
  
  .services-header .lead {
    font-size: 0.9rem;
  }
  
  .header-visual img {
    max-height: 180px;
  }
}

/* Tablet-specific adjustments */
@media (min-width: 577px) and (max-width: 768px) {
  .services-header h1 {
    font-size: 2rem;
  }
  
  .services-header .lead {
    font-size: 1.1rem;
  }
  
  .header-visual img {
    max-height: 300px;
  }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .services-header .row.align-items-center {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  
  .services-header .col-lg-6 {
    width: 50%;
  }
  
  .services-header .page-header-content {
    text-align: left;
    padding: 0;
  }
  
  .header-visual img {
    max-height: 200px;
  }
  
  .header-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .btn-primary, .btn-secondary {
    width: auto;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
  }
}

/* ------------------------------------- */
/* Team Section */
/* .team-section {
    padding: 60px 0;
    margin-top: -50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.links {
    display: flex;
    gap: 15px;
}

.links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.links a:hover {
    background: var(--primary-dark);
    color: white;
    transform: scale(1.1);
}

.member-info {
    padding: 25px 20px;
    text-align: center;
}

.member-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.member-info span {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.member-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
} */

/* CTA Section */
.about-cta {
    padding: 60px 0;
}

.about-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.about-cta p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

