/* =====================================================
   Circular Momentum - Unified Website Styles
   Consistent styling across all pages
   ===================================================== */

/* CSS Variables - Brand Colors */
:root {
    --primary-green: #0D7C66;
    --secondary-green: #41B3A2;
    --accent-blue: #3B82F6;
    --light-green: #B8E5D6;
    --dark-green: #065A4B;
    --gradient-primary: linear-gradient(135deg, #0D7C66 0%, #41B3A2 50%, #3B82F6 100%);
    --gradient-secondary: linear-gradient(135deg, #41B3A2 0%, #B8E5D6 100%);
    --accent-yellow: #DDC771;
    --gradient-third: linear-gradient(135deg, #0D7C66 0%, #41B3A2 50%, #DDC771 100%);

    
}

body:not(.wp-admin) {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--dark-green);
    background-color: #ffffff;
    line-height: 1.6;
}
body {
    margin: 0;
    padding: 0;
    color: var(--dark-green);
    background-color: #ffffff;
    line-height: 1.6;
}

/* Typography */
.text-primary-custom {
    color: var(--primary-green)
}

.section-padding {
    padding: 100px 0;
}

.service-detail {
    padding: 80px 0;
}

/* Hero & Header Sections */

.page-header {
    background: var(--gradient-third);
    color: white;
    padding: 120px 0 100px;
}



/* Enhanced Hero Section */
.hero-section {
    background-image: url('https://circularmomentum.com/wp-content/uploads/2024/10/t7dftbt4m3u.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* Enhanced overlay with gradient */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(13, 124, 102, 0.7) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(13, 124, 102, 0.5) 100%
    );
    z-index: 1;
}

/* Content positioning */
.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}




/* Enhanced expertise badges */
.expertise-badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0.3rem;
}

.expertise-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Enhanced buttons */
.hero-section .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
}



.hero-section .btn-light:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hero-section .btn-outline-light {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

/* Responsive adjustments 
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        height: 100vh;
        padding: 2rem 0;
    }
    
    .floating-element {
        display: none;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}
*/

/* Navigation */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--primary-green) !important;
    font-weight: 700;
}

.nav-link {
    color: var(--dark-green) !important;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-yellow) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Buttons - Unified Styling */
.btn-primary,
.btn-primary-custom {
    background: var(--dark-green);
    color: white;
    border: none;
    padding: 12px 25px 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(65, 179, 162, 0.3);
}

.btn-primary:hover,
.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(65, 179, 162, 0.5), 0 8px 25px rgba(13, 124, 102, 0.3);
    background: var(--primary-green);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(13, 124, 102, 0.1);
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    border-color: var(--primary-green);
    box-shadow: 0 8px 25px rgba(13, 124, 102, 0.3);
}

.btn-outline-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s;
}

.btn-outline-enhanced:hover::before {
    left: 100%;
}



.btn-outline-primary {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-primary:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
    border-color: white;
}

/* Cards - Unified Styling */
.service-card,
.team-card,
.methodology-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(13, 124, 102, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.service-card:hover,
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 124, 102, 0.2);
}

.service-card .card-body,
.team-card .card-body {
    padding: 2.5rem;
}

.methodology-card {
    padding: 2rem;
    border-top: 4px solid var(--primary-green);
    height: 100%;
}

/* Icons */
.service-icon,
.feature-icon {
    background: var(--gradient-secondary);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--dark-green);
    font-size: 2rem;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-green);
    margin: 0 auto 1rem;
}

/* Approach Cards */
.approach-card,
.approach-highlight {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    /*border-left: 6px solid var(--accent-blue);*/
    border-left: 6px solid var(--accent-yellow);
}

.approach-highlight {
    background: linear-gradient(135deg, var(--light-green) 0%, rgba(184, 229, 214, 0.3) 100%);
}

/* Statistics */
.stats-counter,
.stat-number,
.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
}

.floating-element {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

/* Logo Carousel */
.logo-carousel-container {
    overflow: hidden;
    width: 100%;
    background: transparent;
    padding: 20px 0;
}

.logo-carousel-track {
    display: flex;
    animation: scroll-left 30s linear infinite;
    width: calc(200px * 16);
}

.logo-item {
    flex: 0 0 200px;
    padding: 0 15px;
}

.logo-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(13, 124, 102, 0.15);
}

.logo-img {
    max-height: 100px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.logo-card:hover .logo-img {
    filter: grayscale(0);
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8));
    }
}

.logo-carousel-container:hover .logo-carousel-track {
    animation-play-state: paused;
}

/* LinkedIn Profile Buttons */
.linkedin-profile-btn {
    background: #0077B5;
    color: white;
    border-radius: 50%;
    padding: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.linkedin-profile-btn:hover {
    background: #005885;
    color: white;
    transform: scale(1.1);
}

.reviewer-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Timeline Styles */
.timeline-section {
    background: white;
    padding: 80px 0;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--light-green);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-content {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid var(--light-green);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 15px 35px rgba(13, 124, 102, 0.15);
    border-color: var(--primary-green);
}

.timeline-date {
    background: var(--primary-green);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.timeline-title {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-dot {
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--accent-yellow);
    border: 4px solid var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

/* Footer */
footer {
    background-color: var(--dark-green) !important;
    color: white;
}

footer h5,
footer h6 {
    color: var(--secondary-green) !important;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-green) !important;
}

/* Utility Classes */
.fw-600 { font-weight: 600; }
.fw-500 { font-weight: 500; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive Design 
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .service-detail {
        padding: 60px 0;
    }

    .hero-section,
    .page-header {
        padding: 100px 0 80px;
    }

    .logo-item {
        flex: 0 0 150px;
    }
    
    .logo-carousel-track {
        width: calc(150px * 16);
        animation: scroll-left-mobile 25s linear infinite;
    }
    
    .logo-card {
        padding: 20px;
        height: 100px;
    }
    
    .logo-img {
        max-height: 60px;
        max-width: 100px;
    }
    
    @keyframes scroll-left-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 8));
        }
    }

    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        width: 100% !important;
        left: 0 !important;
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-dot {
        left: 20px !important;
        right: auto !important;
    }
}

*/

/* Clickable Cards */
.service-card {
    cursor: pointer;
}

/* Print Styles 
@media print {
    .navbar,
    footer,
    .floating-element {
        display: none;
    }
    
    .hero-section,
    .page-header {
        background: none !important;
        color: var(--dark-green) !important;
    }
}
*/

/* Custom Badges for Circular Momentum */
.expertise-badge {
    background: var(--primary-green);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin: 5px;
    transition: all 0.3s ease;
}

.validation-badge {
    background: var(--light-green);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.expertise-badge:hover,
.validation-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 124, 102, 0.3);
}

    .methodology-card-clean {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-green);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.method-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-study-section {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.result-summary {
    text-align: left;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.result-summary p {
    margin-bottom: 0.5rem !important;
}

.award-badge {
    margin-bottom: 1rem;
}

.method-image {
    overflow: hidden;
    border-radius: 12px;
}

.value-card {
    text-align:center;
}


/* OVERRIDE DECLARATION FOR ELIMINATING WORDPRESS AND BOOTSTRAP STYLES*/

h1, h2, h3, h4, h5, h6 { 
    font-family: 'Inter', sans-serif !important; 
    font-weight: 600 !important;
}


/* =====================================================
   COMPREHENSIVE RESPONSIVE MEDIA QUERIES
   FOR YOUR CIRCULAR MOMENTUM WEBSITE
===================================================== */

/* Large Tablets (992px to 1199px) */
@media (max-width: 1199px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .service-detail {
    padding: 70px 0;
  }
  
  .page-header {
    padding: 100px 0 80px;
  }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .service-detail {
    padding: 50px 0;
  }
  
  .page-header {
    padding: 80px 0 60px;
  }
  
  .hero-section {
    height: 90vh;
    padding: 2rem 0;
  }
  
  .approach-card,
  .approach-highlight {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .methodology-card,
  .methodology-card-clean {
    padding: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .service-card .card-body,
  .team-card .card-body {
    padding: 2rem;
  }
}

/* Small Tablets and Large Phones (576px to 767px) */
@media (max-width: 767px) {
  /* Container and Basic Layout */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .service-detail {
    padding: 40px 0;
  }
  
  .page-header {
    padding: 70px 0 50px;
    text-align: center;
  }
  
  /* Hero Section Enhanced */
  .hero-section {
    background-attachment: scroll;
    height: 85vh;
    padding: 1.5rem 0;
    text-align: center;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  /* Typography Scaling */
  h1 { font-size: 2.2rem !important; }
  h2 { font-size: 1.9rem !important; }
  h3 { font-size: 1.6rem !important; }
  h4 { font-size: 1.4rem !important; }
  h5 { font-size: 1.2rem !important; }
  h6 { font-size: 1.1rem !important; }
  
  .display-3 { font-size: 2.5rem !important; }
  .display-4 { font-size: 2.2rem !important; }
  .display-5 { font-size: 1.9rem !important; }
  
  .lead {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  
  /* Button Adjustments */
  .btn-primary,
  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%;
    margin-bottom: 1rem;
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .hero-section .btn {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Cards and Components */
  .service-card,
  .team-card {
    margin-bottom: 2rem;
    border-radius: 12px;
  }
  
  .service-card .card-body,
  .team-card .card-body {
    padding: 1.8rem;
    text-align: center;
  }
  
  .methodology-card,
  .methodology-card-clean {
    padding: 1.5rem;
    margin-bottom: 1.8rem;
  }
  
  .approach-card,
  .approach-highlight {
    padding: 2rem 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  /* Icons */
  .service-icon,
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  /* Badges */
  .expertise-badge {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    margin: 0.3rem;
    display: inline-block;
  }
  
  .validation-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  /* Statistics */
  .stats-counter,
  .stat-number,
  .impact-number {
    font-size: 2.5rem;
  }
  
  /* Result Summary */
  .result-summary {
    padding: 1rem;
    font-size: 0.95rem;
    margin-top: 1rem;
  }
  
  /* Hide floating elements */
  .floating-element {
    display: none;
  }
  
  /* Navigation adjustments */
  .navbar-brand {
    font-size: 1.3rem !important;
  }
  
  .nav-link {
    padding: 0.5rem 1rem !important;
  }
}

/* Mobile Phones (480px and below) */
@media (max-width: 480px) {
  /* Spacing Reduction */
  .section-padding {
    padding: 40px 0;
  }
  
  .service-detail {
    padding: 30px 0;
  }
  
  .page-header {
    padding: 60px 0 40px;
  }
  
  .hero-section {
    height: 80vh;
    padding: 1rem 0;
  }
  
  .hero-content {
    padding: 0 0.5rem;
  }
  
  /* Typography Compact */
  h1 { font-size: 1.9rem !important; }
  h2 { font-size: 1.6rem !important; }
  h3 { font-size: 1.4rem !important; }
  h4 { font-size: 1.2rem !important; }
  h5 { font-size: 1.1rem !important; }
  h6 { font-size: 1rem !important; }
  
  .display-3 { font-size: 2rem !important; }
  .display-4 { font-size: 1.8rem !important; }
  .display-5 { font-size: 1.6rem !important; }
  
  .lead {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  /* Buttons Compact */
  .btn-primary,
  .btn-primary-custom,
  .btn-outline-custom,
  .hero-section .btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    border-radius: 25px;
  }
  
  /* Cards Compact */
  .service-card .card-body,
  .team-card .card-body {
    padding: 1.5rem;
  }
  
  .methodology-card,
  .methodology-card-clean {
    padding: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .approach-card,
  .approach-highlight {
    padding: 1.5rem 1rem;
    margin-bottom: 1.2rem;
  }
  
  /* Icons Compact */
  .service-icon,
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  /* Badges Compact */
  .expertise-badge {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
    margin: 0.2rem;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .validation-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
  
  /* Statistics Compact */
  .stats-counter,
  .stat-number,
  .impact-number {
    font-size: 2.2rem;
  }
  
  /* Result Summary Compact */
  .result-summary {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .result-summary p {
    margin-bottom: 0.4rem !important;
  }
  
  /* Container Adjustments */
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Navigation Compact */
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  .nav-link {
    font-size: 0.9rem !important;
    padding: 0.4rem 0.8rem !important;
  }
}

/* Extra Small Phones (360px and below) */
@media (max-width: 360px) {
  /* Ultra Compact Spacing */
  .section-padding {
    padding: 30px 0;
  }
  
  .service-detail {
    padding: 25px 0;
  }
  
  .page-header {
    padding: 50px 0 30px;
  }
  
  .hero-section {
    height: 75vh;
    padding: 0.8rem 0;
  }
  
  /* Typography Ultra Compact */
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.4rem !important; }
  h3 { font-size: 1.2rem !important; }
  h4 { font-size: 1.1rem !important; }
  h5 { font-size: 1rem !important; }
  
  .display-3 { font-size: 1.7rem !important; }
  .display-4 { font-size: 1.5rem !important; }
  
  .lead {
    font-size: 0.95rem;
  }
  
  /* Cards Ultra Compact */
  .service-card .card-body,
  .team-card .card-body,
  .methodology-card,
  .methodology-card-clean {
    padding: 1rem;
  }
  
  .approach-card,
  .approach-highlight {
    padding: 1.2rem 0.8rem;
  }
  
  /* Icons Ultra Compact */
  .service-icon,
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  /* Buttons Ultra Compact */
  .btn-primary,
  .btn-primary-custom,
  .btn-outline-custom,
  .hero-section .btn {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
  
  /* Badges Ultra Compact */
  .expertise-badge {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  
  /* Statistics Ultra Compact */
  .stats-counter,
  .stat-number,
  .impact-number {
    font-size: 2rem;
  }
  
  /* Container Ultra Minimal */
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    height: 100vh;
    padding: 0.5rem 0;
  }
  
  .hero-section .display-3 {
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem;
  }
  
  .hero-section .lead {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }
  
  .expertise-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    margin: 0.15rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles Enhancement */
@media print {
  .navbar,
  footer,
  .floating-element,
  .logo-carousel-container,
  .expertise-badge {
    display: none;
  }
  
  .hero-section,
  .page-header {
    background: none !important;
    color: var(--dark-green) !important;
    padding: 20px 0 !important;
    height: auto !important;
  }
  
  .section-padding {
    padding: 30px 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000 !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    page-break-after: avoid;
  }
  
  .service-card,
  .team-card,
  .methodology-card,
  .methodology-card-clean {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}


/* =====================================================
   MINIMAL MOBILE FIXES - TARGETED APPROACH
===================================================== */

/* Fix 1: Ensure content is visible below navbar */
@media (max-width: 768px) {
  /* Only fix the hero section positioning */
  .hero-section {
    margin-top: 60px; /* Add space for navbar */
    min-height: calc(100vh - 60px); /* Adjust height accordingly */
  }
  
  /* Fix navbar z-index only if needed */
  .navbar {
    z-index: 1000;
    position: relative;
  }
}

/* Fix 2: Make hamburger menu clickable */
@media (max-width: 768px) {
  .navbar-toggler {
    z-index: 1001;
    pointer-events: auto;
    border: none;
    background: transparent;
  }
  
  .navbar-collapse {
    z-index: 999;
  }
}

/* Fix 3: Prevent horizontal scroll - minimal approach */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media (max-width: 768px) {
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* =====================================================
   ABOUT PAGE MOBILE OPTIMIZATIONS
===================================================== */

/* Mobile Timeline Improvements */
@media (max-width: 768px) {
  /* Timeline Mobile Stack Layout */
  .timeline-container {
    padding: 0 15px;
  }
  
  .timeline-line {
    left: 20px;
    width: 3px;
  }
  
  .timeline-item {
    width: 100% !important;
    left: 0 !important;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
    margin-bottom: 30px;
  }
  
  .timeline-dot {
    left: 8px !important;
    right: auto !important;
    width: 24px;
    height: 24px;
    top: 20px;
  }
  
  .timeline-content {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(13, 124, 102, 0.1);
  }
  
  .timeline-date {
    font-size: 0.9rem;
    padding: 6px 15px;
    margin-bottom: 12px;
    display: inline-block;
  }
  
  .timeline-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  
  .timeline-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
}

/* Team Cards Mobile Optimization */
@media (max-width: 768px) {
  .team-card {
    margin-bottom: 2rem;
    border-radius: 16px;
  }
  
  .team-card .card-body {
    padding: 2rem 1.5rem;
  }
  
  .team-photo img {
    width: 100px !important;
    height: 100px !important;
    margin-bottom: 1rem;
  }
  
  .team-card h5 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
  
  .team-card .text-muted {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .team-card .small {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  
  /* Expertise badges stacking */
  .team-card .expertise-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    display: inline-block;
    border-radius: 15px;
  }
}

/* Page Header Mobile */
@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .page-header .display-3 {
    font-size: 2.2rem !important;
    line-height: 1.2;
    margin-bottom: 1.5rem !important;
  }
  
  .page-header .lead {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  .page-header .fa-10x {
    font-size: 6rem !important;
    margin-top: 2rem;
  }
}

/* Mission & Vision Cards Mobile */
@media (max-width: 768px) {
  .mission-section {
    padding: 3rem 0;
  }
  
  .value-card {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  .value-card .fa-4x {
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .value-card h3,
  .value-card h4 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .value-card .lead,
  .value-card p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Our Approach Section Mobile */
@media (max-width: 768px) {
  .bg-light .container {
    padding: 3rem 0;
  }
  
  .bg-light .display-4 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .bg-light h3 {
    font-size: 1.4rem !important;
    text-align: center;
    margin-bottom: 1.5rem !important;
  }
  
  .bg-light .lead {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem !important;
  }
  
  .bg-light ul {
    text-align: left;
    margin-bottom: 2rem;
  }
  
  .bg-light li {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  /* Approach mini cards */
  .bg-light .rounded-4 {
    padding: 1.5rem 1rem !important;
    margin-bottom: 1rem;
  }
  
  .bg-light .fa-3x {
    font-size: 2rem !important;
    margin-bottom: 1rem !important;
  }
  
  .bg-light h6 {
    font-size: 0.9rem;
    font-weight: 600;
  }
}

/* Company Stats Mobile */
@media (max-width: 768px) {
  .stats-section {
    padding: 3rem 0 !important;
  }
  
  .stats-section .display-4 {
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .stats-section h6 {
    font-size: 1rem;
    font-weight: 500;
  }
  
  .stats-section .col-lg-3 {
    margin-bottom: 2rem;
  }
}

/* CTA Section Mobile */
@media (max-width: 768px) {
  .cta-section .display-4 {
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .cta-section .lead {
    font-size: 1rem;
    margin-bottom: 2rem !important;
  }
  
  .cta-section .d-flex {
    flex-direction: column;
    gap: 1rem !important;
  }
  
  .cta-section .btn,
  .cta-section .btn-lg {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/* General Mobile Improvements */
@media (max-width: 768px) {
  /* Section spacing */
  .py-5 {
    padding: 3rem 0 !important;
  }
  
  /* Typography adjustments */
  .display-4 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .lead {
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }
  
  /* Container padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Row margins */
  .row {
    margin-left: 0;
    margin-right: 0;
  }
  
  [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Card spacing */
  .g-4 > .col-lg-3,
  .g-4 > .col-lg-4,
  .g-4 > .col-md-6 {
    margin-bottom: 1.5rem;
  }
}

/* Ultra Small Screens (480px and below) */
@media (max-width: 480px) {
  /* Timeline ultra compact */
  .timeline-item {
    padding-left: 40px !important;
    margin-bottom: 25px;
  }
  
  .timeline-line {
    left: 15px;
  }
  
  .timeline-dot {
    left: 6px !important;
    width: 18px;
    height: 18px;
  }
  
  .timeline-content {
    padding: 15px;
  }
  
  .timeline-date {
    font-size: 0.8rem;
    padding: 5px 12px;
  }
  
  .timeline-title {
    font-size: 1.1rem;
  }
  
  /* Team cards ultra compact */
  .team-card .card-body {
    padding: 1.5rem 1rem;
  }
  
  .team-photo img {
    width: 80px !important;
    height: 80px !important;
  }
  
  .team-card h5 {
    font-size: 1.2rem;
  }
  
  .team-card .expertise-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    margin: 0.15rem;
  }
  
  /* Page header ultra compact */
  .page-header .display-3 {
    font-size: 1.8rem !important;
  }
  
  .page-header .fa-10x {
    font-size: 4rem !important;
  }
  
  /* Container ultra minimal */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Value cards compact */
  .value-card .fa-4x {
    font-size: 2.5rem !important;
  }
  
  .value-card h3,
  .value-card h4 {
    font-size: 1.3rem !important;
  }
}

/* Extra Small Screens (360px and below) */
@media (max-width: 360px) {
  .timeline-content {
    padding: 12px;
  }
  
  .timeline-title {
    font-size: 1rem;
  }
  
  .timeline-content p {
    font-size: 0.9rem;
  }
  
  .team-card .card-body {
    padding: 1rem;
  }
  
  .team-photo img {
    width: 70px !important;
    height: 70px !important;
  }
  
  .page-header .display-3 {
    font-size: 1.6rem !important;
  }
  
  .display-4 {
    font-size: 1.7rem !important;
  }
}


/* Hide Solutions and Contact Info on ALL screens smaller than 992px */
@media (max-width: 991px) {
  /* Hide Solutions section */
  footer .col-lg-2:last-of-type {
    display: none !important;
  }
  
  /* Hide Contact Info section */
  footer .col-lg-4:last-child {
    display: none !important;
  }
  
  /* Keep only Company section - make it full width and centered */
  footer .col-lg-2:first-of-type {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  /* Style the Company section nicely when it's alone */
  footer .col-lg-2:first-of-type h6 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
    color: var(--accent-yellow) !important;
  }
  
  /* Make navigation links horizontal and styled */
  footer .col-lg-2:first-of-type ul.list-unstyled {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0;
  }
  
  footer .col-lg-2:first-of-type ul.list-unstyled li {
    margin: 0;
  }
  
  footer .col-lg-2:first-of-type ul.list-unstyled li a {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
  }
  
  footer .col-lg-2:first-of-type ul.list-unstyled li a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-yellow) !important;
    transform: translateY(-2px);
  }
}

/* Additional mobile optimizations for different screen sizes */
@media (max-width: 768px) {
  /* Reduce footer padding on mobile */
  footer.bg-dark {
    padding: 2.5rem 0 1.5rem !important;
  }
  
  /* Logo section adjustments */
  footer .col-lg-4:first-child {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  footer .col-lg-4:first-child .d-flex {
    justify-content: center;
    gap: 1rem !important;
  }
  
  footer .col-lg-4:first-child img {
    height: 40px !important;
  }
  
  footer .col-lg-4:first-child .h5 {
    font-size: 1.2rem;
  }
  
  footer .col-lg-4:first-child p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 1rem !important;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Company section mobile styling */
  footer .col-lg-2:first-of-type h6 {
    font-size: 1rem !important;
  }
  
  footer .col-lg-2:first-of-type ul.list-unstyled li a {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  /* Even more compact on small phones */
  footer.bg-dark {
    padding: 2rem 0 1rem !important;
  }
  
  footer .col-lg-4:first-child {
    margin-bottom: 1.5rem;
  }
  
  footer .col-lg-4:first-child img {
    height: 35px !important;
  }
  
  footer .col-lg-4:first-child .h5 {
    font-size: 1.1rem;
  }
  
  footer .col-lg-4:first-child p {
    font-size: 0.85rem;
    max-width: 300px;
  }
  
  footer .col-lg-2:first-of-type h6 {
    font-size: 0.95rem !important;
  }
  
  footer .col-lg-2:first-of-type ul.list-unstyled {
    gap: 0.8rem;
  }
  
  footer .col-lg-2:first-of-type ul.list-unstyled li a {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
}

@media (max-width: 360px) {
  /* Ultra compact for very small screens */
  footer.bg-dark {
    padding: 1.5rem 0 1rem !important;
  }
  
  footer .col-lg-4:first-child img {
    height: 30px !important;
  }
  
  footer .col-lg-4:first-child .h5 {
    font-size: 1rem;
  }
  
  footer .col-lg-4:first-child p {
    font-size: 0.8rem;
    max-width: 280px;
  }
  
  footer .col-lg-2:first-of-type ul.list-unstyled {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  footer .col-lg-2:first-of-type ul.list-unstyled li a {
    font-size: 0.75rem;
  }
}


/* Performance and SEO improvements */
:root {
  font-display: swap; /* Improve font loading */
}

/* Improve Core Web Vitals */
img {
  loading: lazy;
  decoding: async;
}

/* Optimize for mobile-first indexing */
@media (max-width: 768px) {
  * {
    scroll-behavior: smooth;
  }
  
  /* Prevent layout shift */
  .hero-section {
    min-height: 100vh;
    contain: layout;
  }
}
