html, body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* ABOUT US PAGE STYLES */

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    background-image: url('Images/pgg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(135, 206, 235, 0.85) 0%, 
        rgba(70, 130, 180, 0.9) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Story Section */
.story-section {
    padding: 5rem 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 600;
}

.story-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #87CEEB;
}

.highlight-icon {
    font-size: 1.5rem;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(135, 206, 235, 0.9);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.feature-icon i {
    font-size: 3rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.4);
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-item {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.value-item.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.value-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.value-header h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.value-item p {
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

.core-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.value-tag {
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Values Visual */
.values-visual {
    position: relative;
    height: 400px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    animation: float 10s ease-in-out infinite;
}

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

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 10%;
    right: 20%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4.5s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.floating-card span {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #87CEEB, #4682B4);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: white;
    color: #4682B4;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* AOS Animation */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .story-content,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .values-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .story-text h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 690px;
        background-attachment: scroll;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .story-section,
    .features-section,
    .values-section {
        padding: 3rem 0;
    }
    
    .floating-card {
        padding: 1rem;
        font-size: 0.8rem;
    }

    .card-1 {
        top: 60%;
        left: 10%;
        animation-delay: 0s;
    }

    .card-2 {
        top: 10%;
        right: 60%;
        animation-delay: 1.5s;
    }

    .card-3 {
        bottom: 55%;
        left: 40%;
        animation-delay: 3s;
    }

    .card-4 {
        bottom: 20%;
        right: 2%;
        animation-delay: 4.5s;
    }

    
    .card-icon {
        font-size: 1.5rem;
    }
}

/* --- ENHANCED VALUES SECTION FIXES (NON-DESTRUCTIVE) --- */

/* Ensure .value-item is visible by default if JS/animation fails */
.values-content .value-item {
    opacity: 1 !important;
    transform: none !important;
}

/* Improve .value-icon for emoji visibility and alignment */
.value-icon {
    font-size: 2rem !important;
    color: #fff !important;
    background: linear-gradient(135deg, #87CEEB, #4682B4) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(70,130,180,0.08);
}

/* Make sure .core-values and .value-tag are always readable and spaced */
.core-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.value-tag {
    background: linear-gradient(135deg, #87CEEB, #4682B4) !important;
    color: #fff !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 20px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 4px rgba(70,130,180,0.08);
}

/* Ensure .values-visual and .visual-container have enough height for cards */
.values-visual, .visual-container {
    min-height: 350px !important;
    height: 100%;
}

/* Make floating cards always visible and not overlap text */
.floating-card {
    opacity: 1 !important;
    color: #2c3e50 !important;
    min-width: 140px;
    max-width: 220px;
    z-index: 1;
    font-size: 1rem;
    background: #fff !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10) !important;
}
.floating-card span {
    font-weight: 700;
    color: #2c3e50 !important;
    font-size: 1rem;
    display: block;
    margin-top: 0.5rem;
}
.card-icon {
    font-size: 2rem !important;
    margin-bottom: 0.5rem;
    color: #4682B4 !important;
}

/* Responsive fixes for small screens */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    .values-visual, .visual-container {
        min-height: 250px !important;
    }
}
@media (max-width: 768px) {
    .values-section {
        padding: 3rem 0 !important;
    }
    .floating-card {
        padding: 1rem !important;
        font-size: 0.9rem !important;
        min-width: 100px !important;
    }
    .card-icon {
        font-size: 1.5rem !important;
    }
}
@media (max-width: 480px) {
    .values-section {
        padding: 2rem 0 !important;
    }
    .floating-card {
        font-size: 0.8rem !important;
        min-width: 80px !important;
    }
    .value-header h3 {
        font-size: 1.1rem !important;
    }
}

/* Header active state */
.header-nav a.active {
    color: #87CEEB;
    font-weight: bold;
}