/* About Page - Enhanced Interactive Design */
/* Using the same color palette as index.php */
:root {
    --primary: var(--primary-color, #2c3e50);
    --secondary: var(--secondary-color, #3498db);
    --accent: var(--accent-color, #e74c3c);
    --success: var(--second-color, #09382f);
    --warning: var(--third-color, #FF882E);
    --light: var(--fifth-color, #F8F1E0);
    --dark: var(--first-color, #15241c);
    --gradient-1: linear-gradient(135deg, var(--primary-color, #2c3e50) 0%, var(--second-color, #09382f) 100%);
    --gradient-2: linear-gradient(135deg, var(--third-color, #FF882E) 0%, var(--fourth-color, #E55E2E) 100%);
    --gradient-3: linear-gradient(135deg, var(--second-color, #09382f) 0%, var(--success, #27ae60) 100%);
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-heavy: 0 20px 60px rgba(0,0,0,0.3);
}

/* Reset and General Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Hero Section */
.about-hero {
    min-height: 80vh;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
}

.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.play-button i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-left: 5px;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--light-bg, #f5f6fa);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.feature-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-medium);
}

.card-front {
    background: white;
    color: var(--primary);
}

.card-back {
    background: var(--gradient-1);
    color: white;
    transform: rotateY(180deg);
    position: relative;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.card-front h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-preview {
    color: #666;
    line-height: 1.6;
}

.card-back h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-back p {
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Mission & Vision Timeline */
.mission-vision-section {
    padding: 6rem 0;
    background: white;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-1);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    position: relative;
    margin: 0 2rem;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--secondary);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -42px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -42px;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.timeline-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    position: relative;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-3);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease-in-out;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.vision-goals {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--success);
    font-weight: 500;
}

.goal-item i {
    font-size: 1.2rem;
}

/* Certifications Carousel */
.certifications-section {
    padding: 6rem 0;
    background: var(--light-bg, #f5f6fa);
}

.certifications-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.cert-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cert-slide.active {
    opacity: 1;
}

.cert-card {
    background: white;
    padding: 3rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    position: relative;
}

.cert-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.cert-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cert-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cert-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Why Choose Us Interactive Cards */
.why-choose-section {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.interactive-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: all 0.5s ease;
    z-index: -1;
}

.card-item:hover::before {
    left: 0;
}

.card-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
    color: white;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.card-item:hover .card-icon {
    background: rgba(255,255,255,0.2);
}

.card-number {
    font-size: 2rem;
    font-weight: 800;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.card-item:hover .card-number {
    color: rgba(255,255,255,0.3);
}

.card-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.card-item:hover h3 {
    color: white;
}

.card-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card-item:hover p {
    color: rgba(255,255,255,0.9);
}

.card-hover-effect {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.card-item:hover .card-hover-effect {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255,255,255,0.2);
}

/* Call to Action Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 180px;
    justify-content: center;
}

.cta-btn.primary {
    background: white;
    color: var(--primary);
}

.cta-btn.primary:hover {
    background: var(--fifth-color, #F8F1E0);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-wrapper::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .timeline-content::before {
        left: -42px !important;
    }
    
    .interactive-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
} 