/* ===========================================
   RESET & BASE STYLES
=========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors from Logo */
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary-color: #1A3A5F;
    --accent-color: #2ECA6A;
    --accent-blue: #2D5F8B;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #F8F9FA;
    --bg-dark: #1A3A5F;
    --bg-gray: #2C3E50;
    --bg-gray-light: #34495E;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    --gradient-blue: linear-gradient(135deg, #1A3A5F 0%, #2D5F8B 100%);
    --gradient-mixed: linear-gradient(135deg, #FF6B35 0%, #1A3A5F 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% {
        width: 80px;
    }
    50% {
        width: 100px;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
}

.text-center {
    text-align: center;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Enhanced Floating Animation */
.animate-float {
    animation: enhancedFloat 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes enhancedFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1);
    }
    25% { 
        transform: translateY(-15px) rotate(5deg) scale(1.05);
    }
    75% { 
        transform: translateY(10px) rotate(-5deg) scale(0.95);
    }
}

/* ===========================================
   ENHANCED NAVBAR STYLES
=========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 80px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
    transition: var(--transition);
    margin-left: 20px;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    margin-right: 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: rotate(-5deg);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin-right: 30px;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 300;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 3px;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-profile {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 300;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(46, 202, 106, 0.3);
}

.btn-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-profile:hover::before {
    left: 100%;
}

.btn-profile:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--primary-color);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--primary-color);
}

/* ===========================================
   ABOUT HERO SECTION WITH TEXT ROTATION
=========================================== */
.about-hero {
    height: 600px;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1);
    filter: brightness(0.8);
    animation: heroFadeIn 1.5s ease-out;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 26, 46, 0.4), rgba(26, 26, 46, 0.5));
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        90deg,
        transparent,
        rgba(46, 202, 106, 0.2),
        rgba(255, 107, 53, 0.2),
        rgba(46, 202, 106, 0.2),
        transparent
    ); */
    animation: mirrorWipe 8s infinite linear;
    z-index: 3;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 107, 53, 0.2),
        rgba(46, 202, 106, 0.2),
        rgba(255, 107, 53, 0.2),
        transparent
    ); */
    animation: mirrorWipeReverse 8s infinite linear;
    animation-delay: 4s;
    z-index: 3;
}

@keyframes mirrorWipe {
    0% {
        left: -100%;
        opacity: 0.5;
    }
    50% {
        left: 0;
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0.5;
    }
}

@keyframes mirrorWipeReverse {
    0% {
        right: -100%;
        opacity: 0.5;
    }
    50% {
        right: 0;
        opacity: 1;
    }
    100% {
        right: 100%;
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-text-container {
    animation: slideInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-title {
    margin-bottom: 30px;
    line-height: 1.1;
    perspective: 1000px;
}

.rotating-text {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 15px 0;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
    animation: titleFloat 6s ease-in-out infinite;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0) rotateY(0deg);
    }
    25% {
        transform: translateY(-5px) rotateY(5deg);
    }
    75% {
        transform: translateY(5px) rotateY(-5deg);
    }
}

.hero-slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.hero-slider-prev,
.hero-slider-next {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 202, 106, 0.5);
}

.hero-slider-dots {
    display: flex;
    gap: 20px;
}

.hero-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.hero-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--gradient);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot.active {
    background: transparent;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(46, 202, 106, 0.8);
}

.hero-dot.active::before {
    width: 100%;
    height: 100%;
}

.hero-dot:hover {
    transform: scale(1.4);
    background: rgba(255, 255, 255, 0.5);
}

/* ===========================================
   ABOUT STORY SECTION
=========================================== */
.about-story-section {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    height: 500px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.story-image:hover img {
    transform: scale(1.05);
    filter: brightness(1);
}

.story-year-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--gradient);
    color: white;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    z-index: 2;
    box-shadow: 0 15px 35px rgba(46, 202, 106, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(5deg);
    }
}

.story-year-badge span {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.story-year-badge small {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
}

.image-color-wipe {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(46, 202, 106, 0.3) 25%,
        rgba(255, 107, 53, 0.3) 50%,
        rgba(46, 202, 106, 0.3) 75%,
        transparent 100%
    );
    animation: colorWipe 6s infinite linear;
    pointer-events: none;
    z-index: 1;
}

@keyframes colorWipe {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.story-content {
    padding-left: 30px;
}

.story-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 5px;
    background: var(--gradient);
    border-radius: 3px;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.story-highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(46, 202, 106, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 15px;
    margin-top: 30px;
    border: 1px solid rgba(46, 202, 106, 0.2);
}

.story-highlight i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 5px;
}

.story-highlight span {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===========================================
   MISSION & VISION SECTION - UPDATED FOR CENTERED CONTENT
=========================================== */
.mission-vision-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mission-card,
.vision-card {
    background: white;
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-card {
    border-color: rgba(46, 202, 106, 0.2);
}

.vision-card {
    border-color: rgba(255, 107, 53, 0.2);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:hover .mv-icon,
.vision-card:hover .mv-icon {
    transform: scale(1.1) rotateY(180deg);
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: pulse 2s infinite;
    opacity: 0;
}

.mission-card:hover .icon-pulse,
.vision-card:hover .icon-pulse {
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.mv-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 800;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.mission-card:hover .mv-title,
.vision-card:hover .mv-title {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.mv-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

.mv-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

.mission-card .feature {
    background: rgba(46, 202, 106, 0.05);
}

.vision-card .feature {
    background: rgba(255, 107, 53, 0.05);
}

.feature:hover {
    background: rgba(46, 202, 106, 0.1);
    transform: translateX(10px);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

/* ===========================================
   CORE VALUES SECTION WITH BACKGROUND IMAGE
=========================================== */
.values-section {
    padding: 100px 0;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(52, 73, 94, 0.7)),
                url('/img/reviews-bg.jpg') center/cover no-repeat fixed;
    position: relative;
    overflow: hidden;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.value-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.value-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotateY(180deg);
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient);
    filter: blur(15px);
    opacity: 0;
    transition: all 0.4s ease;
}

.value-item:hover .icon-glow {
    opacity: 0.5;
    transform: scale(1.0);
}

.value-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 800;
    transition: var(--transition);
}

.value-item:hover .value-title {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.value-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ===========================================
   COUNTER SECTION - UPDATED WITH WHITE BACKGROUND
=========================================== */
.counter-section {
    padding: 80px 0;
    background: white; /* Changed to white */
    position: relative;
    overflow: hidden;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.counter-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46, 202, 106, 0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 100%);
}

.counter-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.counter-item:hover::before {
    transform: translateX(0);
}

.counter-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px rgba(46, 202, 106, 0.2);
    border-color: rgba(46, 202, 106, 0.3);
}

.counter-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.counter-item:hover .counter-icon {
    transform: scale(1.08) rotateY(180deg);
}

.counter-number-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
    flex-wrap: nowrap;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: inline-block;
    position: relative;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.counter-plus, .counter-percent {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
    display: inline-block;
    position: relative;
    top: -0.2em;
}

.counter-text {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    transition: var(--transition);
    line-height: 1.2;
}

.counter-item:hover .counter-text {
    color: var(--primary-color);
    transform: translateY(3px);
}

/* ===========================================
   TEAM SECTION - UPDATED WITH RESPONSIVE SLIDER
=========================================== */
.team-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.team-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.team-slider-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 0 40px;
    -ms-overflow-style: none;
}

.team-slider-container::-webkit-scrollbar {
    display: none;
}

.team-card {
    flex: 0 0 calc(25% - 22.5px); /* 4 per view on large screens */
    min-width: 250px;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.team-card:hover {
    transform: translateY(-20px) scale(1.05) rotateY(5deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.team-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.team-card:hover .team-image img {
    transform: scale(1.15);
    filter: brightness(1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Show only WhatsApp button on hover for larger screens */
@media (min-width: 768px) {
    .team-card:hover .team-overlay {
        opacity: 1;
    }
    
    .team-social {
        display: flex;
        gap: 15px;
        transform: translateY(20px);
        transition: transform 0.4s ease;
    }
    
    .team-card:hover .team-social {
        transform: translateY(0);
    }
    
    .team-social a {
        width: 60px;
        height: 60px;
        background: #25D366;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.5rem;
    }
    
    .team-social a:hover {
        transform: scale(1.2) rotate(360deg);
        background: #128C7E;
    }
}

/* For mobile, always show the team info */
.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 800;
    transition: var(--transition);
}

.team-card:hover .team-name {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.team-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-team {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-team:hover::before {
    left: 0;
}

.btn-team:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(46, 202, 106, 0.3);
}

.team-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.team-slider-prev,
.team-slider-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-slider-prev:hover,
.team-slider-next:hover {
    background: var(--gradient);
    color: white;
    transform: scale(1.1) translateY(-5px);
}

.team-slider-dots {
    display: flex;
    gap: 15px;
}

.team-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===========================================
   REVIEWS SECTION (From Index)
=========================================== */
.reviews-section {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.reviews-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-image-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    height: 450px;
}

.reviews-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    border-radius: 20px;
}

.reviews-image-wipe {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(46, 202, 106, 0.4) 25%,
        rgba(255, 107, 53, 0.4) 50%,
        rgba(46, 202, 106, 0.4) 75%,
        transparent 100%
    );
    animation: reviewsWipe 8s infinite linear;
    border-radius: 20px;
    pointer-events: none;
    z-index: 2;
}

@keyframes reviewsWipe {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.reviews-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.reviews-icon {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    animation: reviewsIconFloat 12s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-icon:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    background: rgba(46, 202, 106, 0.9);
    color: white;
}

.reviews-icon:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 4s;
    background: rgba(255, 107, 53, 0.9);
    color: white;
}

.reviews-icon:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation-delay: 8s;
    background: rgba(255, 255, 255, 0.9);
}

@keyframes reviewsIconFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(25px, -35px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-15px, 25px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(20px, 15px) rotate(270deg) scale(1.05);
    }
}

.reviews-slider-container {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 202, 106, 0.1);
}

.review-slide {
    display: none;
    animation: slideInUp 0.6s ease-out;
}

.review-slide.active {
    display: block;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.author-name {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 800;
}

.author-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.reviews-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(46, 202, 106, 0.1);
}

.review-dots {
    display: flex;
    gap: 10px;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.review-nav {
    display: flex;
    gap: 15px;
}

.review-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.review-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.reviews-action {
    margin-top: 30px;
}

.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.btn-google-review:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(46, 202, 106, 0.4);
}

/* ===========================================
   PARTNERS/CLIENTS SECTION - UPDATED
=========================================== */
.partners-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.partners-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.partner-logo {
    flex: 0 0 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(46, 202, 106, 0.1);
}

.partner-logo:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partners-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.partners-prev,
.partners-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-prev:hover,
.partners-next:hover {
    background: var(--gradient);
    color: white;
    transform: scale(1.1) translateY(-5px);
}

.partners-dots {
    display: flex;
    gap: 15px;
}

.partner-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ===========================================
   FOOTER STYLES
=========================================== */
.footer {
    background: var(--bg-gray);
    color: white;
    position: relative;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 60px;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-logo img:hover {
    transform: scale(1.1) rotate(-5deg);
}

.footer-logo h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
}

.footer-about {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
    background: var(--gradient);
    transform: translateY(-5px) scale(1.1);
    border-color: transparent;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    background: var(--bg-gray-light);
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 700;
}

.footer-bottom a:hover {
    color: white;
}

/* ===========================================
   MODAL STYLES
=========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: 25px;
    max-width: 800px;
    margin: 50px auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 1px solid rgba(46, 202, 106, 0.2);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: auto;
    transform-origin: center;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
}

.modal-close:hover {
    color: var(--secondary-color);
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.modal-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 900;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Team Modal Styles */
.team-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.team-modal-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.team-modal-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.team-modal-details h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 900;
}

.team-position-modal {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.team-modal-details p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 25px;
}

.team-modal-features {
    margin-bottom: 30px;
}

.team-modal-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.team-modal-features li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.team-modal-actions {
    margin-top: 30px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    min-width: 200px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Profile Modal Styles */
.profile-modal .modal-body {
    padding: 30px;
    max-width: 900px;
    width: 100%;
}

.pdf-viewer {
    width: 100%;
    height: 500px;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-actions {
    text-align: center;
    margin-top: 30px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 35px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(46, 202, 106, 0.4);
}

/* ===========================================
   WHATSAPP FLOAT BUTTON
=========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    text-decoration: none;
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseWhatsapp 2s infinite;
    backdrop-filter: blur(10px);
    border: none;
}

@keyframes pulseWhatsapp {
    0%, 100% {
        box-shadow: 0 20px 45px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 20px 55px rgba(37, 211, 102, 0.6);
        transform: scale(1.1);
    }
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.15) rotateY(180deg);
    box-shadow: 0 25px 65px rgba(37, 211, 102, 0.5);
}

/* ===========================================
   RESPONSIVE DESIGN - UPDATED FOR TEAM SLIDER
=========================================== */
@media (max-width: 1200px) {
    .about-hero {
        height: 500px;
    }
    
    .rotating-text {
        font-size: 2.8rem;
    }
    
    .about-story-grid,
    .mission-vision-grid {
        gap: 50px;
    }
    
    .story-image {
        height: 450px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .team-card {
        flex: 0 0 calc(33.333% - 20px); /* 3 per view on medium screens */
    }
    
    .partner-logo {
        flex: 0 0 160px;
        height: 160px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .team-modal-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .reviews-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .reviews-image-container {
        height: 400px;
    }
    
    .about-hero {
        height: 450px;
    }
    
    .rotating-text {
        font-size: 2.2rem;
    }
    
    .about-story-grid,
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .story-content {
        padding-left: 0;
    }
    
    .story-image {
        height: 400px;
    }
    
    .team-card {
        flex: 0 0 calc(50% - 20px); /* 2 per view on tablets */
    }
    
    .partner-logo {
        flex: 0 0 140px;
        height: 140px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .navbar.scrolled {
        height: 60px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        margin-left: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        align-items: flex-start;
        justify-content: flex-start;
        backdrop-filter: blur(20px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 30px;
        width: 100%;
        text-align: left;
    }
    
    .nav-item {
        margin: 0 0 15px 0;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        text-align: left;
        border-radius: 10px;
        font-weight: 300;
        background: rgba(46, 202, 106, 0.05);
    }
    
    .nav-link:hover {
        background: rgba(46, 202, 106, 0.1);
        transform: translateX(10px);
    }
    
    .btn-profile {
        margin-top: 20px;
        align-self: flex-start;
    }
    
    .about-hero {
        height: 350px;
        margin-top: 70px;
    }
    
    .rotating-text {
        font-size: 1.8rem;
        letter-spacing: 2px;
        white-space: normal;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .story-title {
        font-size: 2rem;
    }
    
    .story-image {
        height: 350px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .counter-item {
        padding: 25px 15px;
        min-height: 170px;
    }
    
    .counter-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-plus, .counter-percent {
        font-size: 1.6rem;
    }
    
    .counter-text {
        font-size: 0.85rem;
    }
    
    /* TEAM SLIDER: 1 per view on mobile */
    .team-card {
        flex: 0 0 calc(100% - 20px) !important; /* 1 per view on mobile - using !important to override other styles */
        min-width: 280px !important; /* Slightly larger for better visibility */
        margin: 0 auto; /* Center the card */
    }
    
    .team-slider {
        padding: 0 15px;
    }
    
    .partner-logo {
        flex: 0 0 120px;
        height: 120px;
    }
    
    .mission-card,
    .vision-card {
        padding: 30px 20px;
    }
    
    .reviews-slider-container {
        padding: 20px;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    .value-item {
        padding: 30px 20px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .value-title {
        font-size: 1.3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-slider-controls {
        bottom: 30px;
        gap: 25px;
    }
    
    .hero-slider-prev,
    .hero-slider-next {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .hero-slider-dots {
        gap: 10px;
    }
    
    .hero-dot {
        width: 15px;
        height: 15px;
    }
    
    .team-slider-controls {
        gap: 25px;
    }
    
    .team-slider-prev,
    .team-slider-next {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .team-modal-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-hero {
        height: 300px;
    }
    
    .rotating-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .story-title {
        font-size: 1.8rem;
    }
    
    .story-text {
        font-size: 1rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 30px 20px;
    }
    
    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .mv-title {
        font-size: 1.6rem;
    }
    
    .mv-text {
        font-size: 1rem;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .counter-item {
        padding: 20px 12px;
        min-height: 150px;
    }
    
    .counter-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .counter-number {
        font-size: 1.8rem;
    }
    
    .counter-plus, .counter-percent {
        font-size: 1.4rem;
    }
    
    .counter-text {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 12px;
    }
    
    .btn-profile {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .team-slider {
        padding: 0 10px;
    }
    
    .partner-logo {
        flex: 0 0 100px;
        height: 100px;
        padding: 20px;
    }
    
    .partners-controls {
        gap: 20px;
        margin-top: 30px;
    }
    
    .partners-prev,
    .partners-next {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .reviews-image-container {
        height: 300px;
    }
    
    .modal-body {
        padding: 25px 15px;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .team-modal-image img {
        height: 250px;
    }
    
    .hero-slider-controls {
        gap: 10px;
        bottom: 15px;
    }
    
    .hero-slider-prev,
    .hero-slider-next {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .hero-slider-dots {
        gap: 8px;
    }
    
    .hero-dot {
        width: 12px;
        height: 12px;
    }
    
    .team-slider-controls {
        gap: 15px;
    }
    
    .team-slider-prev,
    .team-slider-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 250px;
    }
    
    .rotating-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .counter-item {
        min-height: 140px;
        padding: 15px 10px;
    }
    
    .counter-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .counter-number {
        font-size: 1.6rem;
    }
    
    .counter-text {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    .team-slider {
        padding: 0 5px;
    }
    
    .modal-body {
        padding: 20px 10px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .team-modal-image img {
        height: 250px;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        bottom: 20px;
        right: 20px;
    }
}


/* ===========================================
   MISSION & VISION SECTION - OVERRIDE FOR LEFT-ALIGNED CONTENT
=========================================== */
.mission-vision-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mission-card,
.vision-card {
    background: white;
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mission-card {
    border-color: rgba(46, 202, 106, 0.2);
}

.vision-card {
    border-color: rgba(255, 107, 53, 0.2);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-card:hover .mv-icon,
.vision-card:hover .mv-icon {
    transform: scale(1.1) rotateY(180deg);
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: pulse 2s infinite;
    opacity: 0;
}

.mission-card:hover .icon-pulse,
.vision-card:hover .icon-pulse {
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.mv-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    font-weight: 800;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.mission-card:hover .mv-title,
.vision-card:hover .mv-title {
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Override for left-aligned description text */
.mv-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: left; /* Changed from center to left */
    width: 100%;
}

/* Override for left-aligned features */
.mv-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: flex-start; /* Changed from center to flex-start */
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%; /* Changed from 300px to 100% */
    justify-content: flex-start; /* Changed from center to flex-start */
}

.mission-card .feature {
    background: rgba(46, 202, 106, 0.05);
}

.vision-card .feature {
    background: rgba(255, 107, 53, 0.05);
}

.feature:hover {
    background: rgba(46, 202, 106, 0.1);
    transform: translateX(10px);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 20px; /* Ensure consistent icon width */
}

.feature span {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS FOR MISSION/VISION
=========================================== */
@media (max-width: 992px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .mission-card,
    .vision-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .mission-card,
    .vision-card {
        padding: 30px 20px;
    }
    
    .mv-title {
        font-size: 1.6rem;
    }
    
    .mv-text {
        font-size: 1rem;
        text-align: left;
    }
    
    .feature {
        padding: 10px 12px;
    }
    
    .feature i {
        font-size: 1.1rem;
    }
    
    .feature span {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .mission-card,
    .vision-card {
        padding: 25px 20px;
    }
    
    .mv-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .mv-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .mv-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }
     
    .mv-features {
        gap: 12px;
    }
    
    .feature {
        padding: 8px 10px;
        gap: 10px;
    }
    
    .feature i {
        font-size: 1rem;
    }
    
    .feature span {
        font-size: 0.9rem;
    }
}