html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}



.about-container {
    background: #EAE7E7;
}

.content-wrapper {
    padding: 3rem 1rem 4rem;
}

.hero-section {
    position: relative;
    width: 100%; 
    height: 70vh;
    min-height: 500px;
    background-image: url('/img/About-bg.jpeg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 20px;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem 1rem;
    max-width: 800px;
    width: 100%;
    margin-top: 15vh;
    text-align: center;
}

.hero-content h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 3s forwards;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 4s forwards;
}


@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    margin-top: 2rem;
}

.image-section {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-section h2 {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.text-section p {
    color: #666;
    margin-bottom: 1rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    opacity: 1;
    background-color: #EAE7E7;
    padding: 2rem 1rem;
    padding-bottom: 4rem;
    width: 100%;
    box-sizing: border-box;       
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);   
}

.stat-number {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: bold;
    color: #daa520;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: #666;
    font-size: 1.125rem;
    font-weight: 500;
}

.values-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.value-card {
    text-align: center;
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: clamp(2rem, 6vw, 3rem);
    color: #daa520;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #666;
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 18vh;
        padding: 0 1.5rem;
    }
    
    .content-wrapper {
        padding-top: 2rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }

    .values-section {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }

    .hero-section {
        height: 50vh;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        max-width: 90%;
    }

    .image-section {
        height: 300px;
        margin-bottom: 2rem;
    }

    .image-section img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }

    .image-section {
        height: 250px;
    }
}

/* Our People Section */
.our-people-section {
    max-width: 1280px;
    margin: 4rem auto;
    padding: 0 2rem;
    background-color: #EAE7E7;
}

.our-people-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.person-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.person-card:hover {
    transform: translateY(-5px);
}

.person-image {
    width: 100%;
    aspect-ratio: 4 / 5; 
    overflow: hidden;
}

.person-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
}

.person-card:hover .person-image img {
    filter: grayscale(0%);
}

.person-info {
    padding: 1.5rem;
    text-align: center;
}

.person-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.person-info .position {
    color: #666;
    margin-bottom: 1rem;
}

.read-more-btn {
    background: none;
    border: 2px solid #daa520;
    color: #daa520;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.read-more-btn:hover {
    background: #daa520;
    color: white;
}

/* Vision & Mission Section */
.vision-mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1280px;
    margin: 4rem auto;
    padding: 0 2rem;
    align-items: center;
}

.vision-item {
    padding: 2rem 0;
}

.vision-item .subtitle {
    color: #daa520;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.vision-item h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.value-list {
    list-style-type: none;
    padding: 0;
    margin: 0;  
    color: #666; 
    padding-left: 3px;
}
.value-list strong {
    color: black;
}

.vision-item p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.vision-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animation classes */
.animate-slide, 
.animate-slide-left, 
.animate-slide-right, 
.animate-slide-up,
.animate-fade {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-slide {
    transform: translateY(20px);
}

.animate-slide-left {
    transform: translateX(-50px);
}

.animate-slide-right {
    transform: translateX(50px);
}

.animate-slide-up {
    transform: translateY(50px);
}

/* Visible state */
.animate-slide.visible,
.animate-slide-left.visible,
.animate-slide-right.visible,
.animate-slide-up.visible,
.animate-fade.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .vision-mission-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
    }

    .vision-mission-section .vision-image {
        order: -1;
    }

    .vision-mission-section.reverse .vision-image {
        order: -1;
    }

    .vision-item {
        padding: 1rem 0;
    }

    .vision-item h2 {
        font-size: 2rem;
    }

    .vision-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .vision-mission-section {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .vision-image {
        height: 250px;
    }
}

/* Our Team Section */
.our-team-section {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    margin: 4rem 0;
}

.our-team-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.our-team-section h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #daa520;
    bottom: -10px;
    left: 25%;
}

.our-team-section p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .our-team-section {
        padding: 3rem 1.5rem;
    }

    .our-team-section h2 {
        font-size: 2rem;
    }

    .our-team-section p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .our-team-section {
        padding: 2rem 1rem;
    }

    .our-team-section h2 {
        font-size: 1.8rem;
    }
}