/* ===========================================
   ABOUT.CSS - About Page ONLY
   =========================================== */

/* 1. About Hero Section */
.page-hero.about-hero {
    padding: 100px 0 80px; /* reduced to work with fixed header */
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
    position: relative;
}


.page-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-content .subtitle {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.page-hero-content h1 {
    font-size: 48px;
    color: var(--light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-hero-content p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* 2. About Details Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient);
    color: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(255, 59, 48, 0.3);
    z-index: 2;
}

.experience-badge h3 {
    font-size: 36px;
    margin-bottom: 5px;
    font-weight: 700;
}

.experience-badge p {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--light);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.7;
}

.about-list {
    margin: 30px 0;
    list-style: none;
}

.about-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--light);
    font-size: 16px;
}

.about-list li i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 18px;
    flex-shrink: 0;
}

/* 3. Mission & Vision */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 59, 48, 0.1);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 59, 48, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 36px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light);
}

.feature-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

/* 4. Team Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    background: var(--gradient);
    transform: translateY(-10px);
}

.value-card:hover h3,
.value-card:hover p,
.value-card:hover .value-icon {
    color: white;
}

.value-card:hover .value-icon {
    background: rgba(255, 255, 255, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 59, 48, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 36px;
    transition: all 0.3s ease;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light);
}

.value-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

/* 5. About Page Animations */
.about-content {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
    animation-delay: 0.3s;
}

.about-image {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
}

.features-grid {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

.feature-card:nth-child(1) {
    animation-delay: 0.6s;
}
.feature-card:nth-child(2) {
    animation-delay: 0.7s;
}
.feature-card:nth-child(3) {
    animation-delay: 0.8s;
}

.values-grid {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
}

.value-card:nth-child(1) {
    animation-delay: 0.5s;
}
.value-card:nth-child(2) {
    animation-delay: 0.6s;
}
.value-card:nth-child(3) {
    animation-delay: 0.7s;
}

/* 6. About Page Responsive */
@media (max-width: 1200px) {
    .features-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .page-hero-content h1 {
        font-size: 42px;
    }
    
    .about-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .page-hero.about-hero {
        padding: 100px 0 70px;
    }
    
    .page-hero-content h1 {
        font-size: 36px;
    }
    
    .page-hero-content p {
        font-size: 16px;
    }
    
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content h2 {
        font-size: 32px;
    }
    
    .experience-badge {
        padding: 15px;
        right: -10px;
        bottom: -15px;
    }
    
    .experience-badge h3 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
  .about-image {
    text-align: center;
  }

  .experience-badge {
    position: static;
    margin-top: 20px;
    display: inline-block;
  }
}
/* HERO IMAGE */
.page-hero.about-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: url("../images/hsgm.jpg") center/cover no-repeat;
    padding-top: 120px; /* header space */
}

/* Dark overlay */
.page-hero.about-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.page-hero-content h1 {
    font-size: 52px;
    color: #fff;
}

.page-hero-content p {
    color: #ddd;
    font-size: 18px;
}
