/* ===== About Section ===== */
 /* About Content */
 #about{
    background-color: #ffffff;
    padding-bottom: 0px;
 }
        .about-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-bottom: 4rem;
            
        }

      .about-image .about-media {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;            /* keep same cropping behavior as object-fit on img */
    -o-object-fit: cover;
    -webkit-object-fit: cover;
    transition: var(--transition);
    transform-origin: center center;
    backface-visibility: hidden;
}

        .about-image:hover {
            box-shadow: 0 25px 50px rgba(0,0,0,0.5);
            transform: perspective(1000px) rotateY(5deg);
        }

       .about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    mix-blend-mode: multiply;
    transition: var(--transition);
    z-index: 2;
}

        .about-image:hover::before {
            opacity: 0.3;
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        /* keep the same hover scale & shadow effect */
.about-image:hover .about-media {
    transform: scale(1.05);
}

        .about-text {
            position: relative;
            z-index: 1;
            padding: 30px;
            background: rgb(240 240 240 / 50%);
            backdrop-filter: blur(10px);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            border: 1px solid rgba(255,255,255,0.05);
        }

        .about-text h3 {
            colors: var(--text-light);
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .about-text h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--gradient-accent);
            border-radius: 2px;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            colors: var(--text-muted);
        }
/* ensure video sits beneath overlay but above background */
.about-image { position: relative; z-index: 0; overflow: hidden; }

/* .about-text already has z-index:1 so it will sit above the video; if needed:
   increase z-index to keep text readable on small screens */
.about-text { z-index: 3; }

/* Responsive tweak: reduce min-height on small screens */
@media (max-width: 768px) {
  .about-image {
    min-height: 250px; /* mobile-friendly */
  }
  .about-text { padding: 20px; }
}
/* overlay button */
.vid-sound-toggle {
  position: absolute;
  inset: auto 1rem 1rem auto; /* bottom-right */
  z-index: 4;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.vid-sound-toggle:focus { outline: 2px solid var(--gradient-accent); transform: scale(1.02); }
.vid-sound-toggle.playing { background: rgba(255,255,255,0.12); transform: scale(1.03); }

/* small controls container */
.vid-controls {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: none;
  align-items: center;
  gap: .5rem;
}
.vid-controls[aria-hidden="false"] { display: flex; }

.vid-volume {
  width: 120px;
  appearance: none;
  background: rgba(255,255,255,0.06);
  height: 6px;
  border-radius: 6px;
}

/* ensure video behaves like your image */
.about-image .about-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* responsive tweak: move/unify overlays on small screens */
@media (max-width: 480px){
  .vid-sound-toggle { right: 0.6rem; bottom: 0.6rem; padding: 8px; }
  .vid-volume { width: 80px; }
}

        /* Core Values */
        .core-values {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .value-card {
            background: rgba(30, 30, 30, 0.7);
            padding: 2.5rem 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.05);
            text-align: center;
            transform: translateY(0);
            backdrop-filter: blur(5px);
        }

        .value-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient-accent);
            transform: scaleX(0);
            transform-origin: left;
            transition: var(--transition);
        }

        .value-card:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-lg);
            background: rgba(40, 40, 40, 0.8);
        }

        .value-card:hover::before {
            transform: scaleX(1);
        }

        .value-icon {
            font-size: 3.5rem;
            colors: var(--accent-teal);
            margin-bottom: 1.5rem;
            transition: var(--transition);
            display: inline-block;
        }

        .value-card:hover .value-icon {
            colors: white;
            transform: scale(1.1);
        }

        .value-card h3 {
            font-size: 1.4rem;
            margin-bottom: 1rem;
            colors: var(--text-light);
            transition: var(--transition);
        }

        .value-card:hover h3 {
            colors: white;
        }

        .value-card p {
            colors: var(--text-muted);
            font-size: 1rem;
            transition: var(--transition);
        }

        .value-card:hover p {
            colors: var(--text-light);
        }

        /* Animations */
        .reveal-left, .reveal-right, .reveal-bottom {
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 1s ease, transform 1s ease;
        }

        .reveal-right {
            transform: translateX(50px);
        }

        .reveal-bottom {
            transform: translateY(50px);
        }

        .reveal-left.active, .reveal-right.active, .reveal-bottom.active {
            opacity: 1;
            transform: translate(0);
        }

        .reveal-bottom[data-delay="100"].active {
            transition-delay: 0.2s;
        }

        .reveal-bottom[data-delay="200"].active {
            transition-delay: 0.4s;
        }

        .reveal-bottom[data-delay="300"].active {
            transition-delay: 0.6s;
        }

        /* Decorative Elements */
        .floating-shape {
            position: absolute;
            z-index: 0;
            opacity: 0.03;
        }

        .shape-1 {
            width: 300px;
            height: 300px;
            border-radius: 50%;
            border: 5px solid #ff6b00;
            top: 10%;
            left: 5%;
            animation: float 15s ease-in-out infinite;
        }

        .shape-2 {
            width: 200px;
            height: 200px;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            background: linear-gradient(45deg, #ff6b00, #ff8c3a);
            bottom: 20%;
            right: 5%;
            animation: float 18s ease-in-out infinite reverse;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(20px, -20px) rotate(5deg); }
            50% { transform: translate(0, 20px) rotate(0deg); }
            75% { transform: translate(-20px, 0) rotate(-5deg); }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .section-title {
                font-size: 2.4rem;
            }
            
            .about-content {
                grid-template-columns: 1fr;
            }
            
            .about-image {
                min-height: 350px;
            }
        }

        @media (max-width: 768px) {
            .section-padding {
                padding: 70px 0;
            }
            
            .section-title {
                font-size: 2rem;
                margin-bottom: 50px;
            }
            
            .about-text {
                padding: 20px;
            }
            
            .about-text h3 {
                font-size: 1.5rem;
            }
            
            .value-icon {
                font-size: 3rem;
            }
        }

        @media (max-width: 576px) {
            .section-title {
                font-size: 1.8rem;
            }
            
            .core-values {
                grid-template-columns: 1fr;
            }
            
            .value-card {
                padding: 2rem 1.5rem;
            }
        }

/* ===== Vision & Mission Section ===== */
.vm-container {
            --vm-accent-gradient: linear-gradient(45deg, var(--accent-colori), #20c997);
            --vm-dark-bg: #0a0a0a;
            --vm-card-bg: rgba(30, 30, 30, 0.8);
            --vm-text-light: #f0f0f0;
            --vm-text-muted: #888;
            --vm-border-radius: 12px;
            --vm-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            

            colors: var(--vm-text-light);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            padding: 100px 20px;
            position: relative;
            overflow: hidden;
        }
        
        .vm-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }
        
        .vm-section-title {
            text-align: center;
            font-size: 2.8rem;
            margin-bottom: 80px;
            position: relative;
            colors: var(--vm-text-light);
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        
        .vm-section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gradient-accent);
            border-radius: 2px;
        }
        
        /* Vision & Mission Grid */
        .vm-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            margin-bottom: 60px;
        }
        
        .vm-card {
            background: rgba(59, 130, 246, 0.05);
            border-radius: var(--vm-border-radius);
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: var(--vm-transition);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.05);
            position: relative;
            overflow: hidden;
        }
        
        .vm-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: var(--vm-accent-gradient);
            transform: scaleX(0);
            transform-origin: left;
            transition: var(--vm-transition);
        }
        
        .vm-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }
        
        .vm-card:hover::before {
            transform: scaleX(1);
        }
        
        .vm-icon {
            font-size: 3.5rem;
            margin-bottom: 25px;
            background: white;
            -webkit-background-clip: text;
            background-clip: text;
            colors: transparent;
            transition: var(--vm-transition);
        }
        
        .vm-card:hover .vm-icon {
            transform: scale(1.15);
        }
        
        .vm-card-title {
            font-size: 1.8rem;
            margin-bottom: 20px;
            colors: var(--vm-text-light);
            position: relative;
            display: inline-block;
        }
        
        .vm-card-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 2px;
            background: var(--gradient-accent);
            transition: var(--vm-transition);
        }
        
        .vm-card:hover .vm-card-title::after {
            width: 80px;
        }
        
        .vm-card-content {
            font-size: 1.15rem;
            line-height: 1.7;
            colors: var(--vm-text-muted);
            transition: var(--vm-transition);
        }
        
        .vm-card:hover .vm-card-content {
            colors: var(--vm-text-light);
        }
        
        /* Core Values Section */
        .vm-values-container {
            max-width: 800px;
            margin: 0 auto 60px;
            text-align: center;
        }
        
        .vm-values-title {
            font-size: 1.8rem;
            margin-bottom: 40px;
            colors: var(--vm-text-light);
            position: relative;
            display: inline-block;
        }
        
        .vm-values-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background: var(--gradient-accent);
        }
        
        .vm-values-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
        }
        
        .vm-value-pill {
            background: rgb(234 234 234 / 70%);
            colors: var(--vm-text-light);
            padding: 12px 25px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--vm-transition);
            position: relative;
            overflow: hidden;
            border: 1px solid rgb(69 113 232);
            cursor: default;
        }
        
        .vm-value-pill::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 0;
            background: var(--vm-accent-gradient);
            z-index: -1;
            transition: var(--vm-transition);
            opacity: 0.2;
        }
        
        .vm-value-pill:hover {
            transform: translateY(-5px);
            border-colors: rgba(255, 140, 58, 0.5);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }
        
        .vm-value-pill:hover::before {
            height: 100%;
        }
        
        /* Milestones */
        .vm-milestones {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-top: 40px;
            gap: 30px;
        }
        
        .vm-milestone {
            text-align: center;
            min-width: 180px;
        }
        
        .vm-milestone-value {
            font-size: 3.5rem;
            font-weight: 800;
            background: white;
            -webkit-background-clip: text;
            background-clip: text;
            colors: transparent;
            margin-bottom: 10px;
            line-height: 1;
        }
        
        .vm-milestone-label {
            font-size: 1.1rem;
            colors: var(--vm-text-light);
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        /* Decorative Elements */
        .vm-shape {
            position: absolute;
            z-index: 1;
            opacity: 0.03;
        }
        
        .vm-shape-1 {
            width: 400px;
            height: 400px;
            border-radius: 50%;
            border: 5px solid #ff6b00;
            top: 10%;
            left: 5%;
            animation: vm-float 15s ease-in-out infinite;
        }
        
        .vm-shape-2 {
            width: 300px;
            height: 300px;
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            background: var(--vm-accent-gradient);
            bottom: 20%;
            right: 5%;
            animation: vm-float 18s ease-in-out infinite reverse;
        }
        
        @keyframes vm-float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(20px, -20px) rotate(5deg); }
            50% { transform: translate(0, 20px) rotate(0deg); }
            75% { transform: translate(-20px, 0) rotate(-5deg); }
        }
        
        /* Animations */
        .vm-card, .vm-values-title, .vm-milestone {
            opacity: 0;
            transform: translateY(30px);
            animation: vm-fadeInUp 0.8s ease forwards;
        }
        
        .vm-card:nth-child(1) { animation-delay: 0.2s; }
        .vm-card:nth-child(2) { animation-delay: 0.4s; }
        .vm-values-title { animation-delay: 0.6s; }
        
        .vm-value-pill {
            opacity: 0;
            transform: translateY(20px);
            animation: vm-fadeInUp 0.8s ease forwards;
        }
        
        .vm-value-pill:nth-child(1) { animation-delay: 0.7s; }
        .vm-value-pill:nth-child(2) { animation-delay: 0.8s; }
        .vm-value-pill:nth-child(3) { animation-delay: 0.9s; }
        .vm-value-pill:nth-child(4) { animation-delay: 1.0s; }
        .vm-value-pill:nth-child(5) { animation-delay: 1.1s; }
        .vm-value-pill:nth-child(6) { animation-delay: 1.2s; }
        
        .vm-milestone:nth-child(1) { animation-delay: 1.3s; }
        .vm-milestone:nth-child(2) { animation-delay: 1.4s; }
        .vm-milestone:nth-child(3) { animation-delay: 1.5s; }
        .vm-milestone:nth-child(4) { animation-delay: 1.6s; }
        
        @keyframes vm-fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .vm-section-title {
                font-size: 2.4rem;
            }
            
            .vm-card-title {
                font-size: 1.6rem;
            }
            
            .vm-card-content {
                font-size: 1.05rem;
            }
            
            .vm-milestone-value {
                font-size: 2.8rem;
            }
        }
        
        @media (max-width: 768px) {
            .vm-section-title {
                font-size: 2rem;
                margin-bottom: 60px;
            }
            
            .vm-grid {
                gap: 25px;
            }
            
            .vm-card {
                padding: 30px 20px;
            }
            
            .vm-icon {
                font-size: 3rem;
            }
            
            .vm-values-title {
                font-size: 1.6rem;
            }
            
            .vm-value-pill {
                padding: 10px 20px;
                font-size: 1rem;
            }
            
            .vm-milestones {
                gap: 20px;
            }
            
            .vm-shape-1,
            .vm-shape-2 {
                display: none;
            }
        }
        
        @media (max-width: 576px) {
            .vm-section-title {
                font-size: 1.8rem;
            }
            
            .vm-card-title {
                font-size: 1.5rem;
            }
            
            .vm-value-pill {
                width: 100%;
                max-width: 250px;
            }
            
            .vm-milestones {
                flex-direction: column;
                align-items: center;
                gap: 35px;
            }
        }
