/*
Theme Name: Hetauda Academy
Theme URI: https://www.hetaudaacademy.edu.np/
Author: Your Name
Author URI: https://yourwebsite.com
Description: A modern educational theme for Hetauda Academy with unique animations
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hetaudaacademy
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, translation-ready
*/

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: all 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(45deg, #1a2a6c, #2a3990);
    border: none;
    box-shadow: 0 4px 15px rgba(26, 42, 108, 0.4);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(26, 42, 108, 0.5);
}

.btn-outline-light {
    color: #fff;
    border: 2px solid #fff;
    background: transparent;
}

.btn-outline-light:hover {
    color: #1a2a6c;
    background: #fff;
    transform: translateY(-3px);
}

.btn-outline-primary {
    color: #1a2a6c;
    border: 2px solid #1a2a6c;
    background: transparent;
}

.btn-outline-primary:hover {
    color: #fff;
    background: #1a2a6c;
    transform: translateY(-3px);
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
    background-color: transparent !important;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: rgba(26, 42, 108, 0.95) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand .logo {
    max-height: 60px;
    transition: all 0.3s ease;
}

.navbar-scrolled .navbar-brand .logo {
    max-height: 50px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-dark .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffd700;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::before,
.navbar-dark .navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-nav .dropdown-menu {
    background-color: rgba(26, 42, 108, 0.95);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-dark .navbar-nav .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .dropdown-menu .dropdown-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2a6c, #2a3990, #1a2a6c);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -3;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 42, 108, 0.8), rgba(42, 57, 144, 0.6));
    z-index: -1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-badge {
    margin-bottom: 1.5rem;
}

.hero-badge .badge {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line.highlight {
    color: #ffd700;
    position: relative;
}

.title-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffd700;
    transform: scaleX(0);
    transform-origin: left;
    animation: lineExpand 1s ease forwards;
    animation-delay: 0.5s;
}

@keyframes lineExpand {
    to { transform: scaleX(1); }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    margin-bottom: 2rem;
}

.stat-item {
    margin-right: 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.9s; }
.stat-item:nth-child(2) { animation-delay: 1.1s; }
.stat-item:nth-child(3) { animation-delay: 1.3s; }

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
}

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

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    color: #fff;
    text-align: center;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.floating-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.card-1 {
    top: 50px;
    right: 100px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 200px;
    right: 50px;
    animation: float 8s ease-in-out infinite;
}

.card-3 {
    top: 350px;
    right: 150px;
    animation: float 7s ease-in-out infinite;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background-color: #ffd700;
    transform: scale(1.5);
}

/* Quick Info Section */
.quick-info {
    background: linear-gradient(45deg, #1a2a6c, #2a3990) !important;
    position: relative;
    overflow: hidden;
}

.quick-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.quick-info-content {
    display: flex;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    margin-bottom: 0.5rem;
}

.info-item i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: #ffd700;
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    color: #1a2a6c;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ffd700;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    position: relative;
}

/* Features Section */
.feature-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a2a6c, #2a3990);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a2a6c, #2a3990);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(26, 42, 108, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a2a6c;
}

/* About Section */
.about-highlights {
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
}

.highlight-item:nth-child(1) { animation-delay: 0.2s; }
.highlight-item:nth-child(2) { animation-delay: 0.4s; }
.highlight-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.highlight-item i {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: #28a745;
}

.about-visual {
    position: relative;
}

.image-stack {
    position: relative;
    height: 500px;
}

.image-stack img {
    position: absolute;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.image-stack img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.image-stack img:nth-child(1) {
    top: 0;
    left: 0;
    z-index: 3;
    transform: rotate(-3deg);
}

.image-stack img:nth-child(2) {
    top: 50px;
    left: 50px;
    z-index: 2;
    transform: rotate(2deg);
}

.image-stack img:nth-child(3) {
    top: 100px;
    left: 100px;
    z-index: 1;
    transform: rotate(-1deg);
}

/* Programs Section */
.programs-timeline {
    position: relative;
    padding: 2rem 0;
}

.programs-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, #1a2a6c, #2a3990);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1a2a6c;
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(26, 42, 108, 0.2);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 6px rgba(26, 42, 108, 0.3);
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.program-card {
    display: flex;
    align-items: flex-start;
}

.program-icon {
    margin-right: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a2a6c, #2a3990);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-content:hover .program-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(26, 42, 108, 0.3);
}

.program-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a2a6c;
}

.program-info p {
    margin-bottom: 1rem;
}

.program-features {
    list-style: none;
    padding-left: 0;
}

.program-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.program-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #28a745;
}

/* News Section */
.news-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after {
    opacity: 1;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.news-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1a2a6c;
}

.news-content h3 a {
    color: inherit;
    transition: all 0.3s ease;
}

.news-content h3 a:hover {
    color: #2a3990;
}

.read-more {
    color: #1a2a6c;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #2a3990;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Events Section */
.event-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.event-date {
    background: linear-gradient(45deg, #1a2a6c, #2a3990);
    color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    position: relative;
    overflow: hidden;
}

.event-date::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2a3990, #1a2a6c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .event-date::before {
    opacity: 1;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.date-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.event-content {
    padding: 1.5rem;
    flex: 1;
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1a2a6c;
}

.event-content h3 a {
    color: inherit;
    transition: all 0.3s ease;
}

.event-content h3 a:hover {
    color: #2a3990;
}

.event-meta {
    margin-bottom: 1rem;
}

.event-time,
.event-location {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.event-time i,
.event-location i {
    margin-right: 0.5rem;
    color: #1a2a6c;
}

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

.achievement-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 42, 108, 0.05), rgba(42, 57, 144, 0.05));
    transform: scale(0.8);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 0;
}

.achievement-card:hover::before {
    transform: scale(1.5);
    opacity: 1;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a2a6c, #2a3990);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(26, 42, 108, 0.3);
}

.achievement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a2a6c;
    position: relative;
    z-index: 1;
}

.achievement-count {
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.achievement-count .count {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a6c;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 42, 108, 0.8), rgba(42, 57, 144, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2a6c;
    font-size: 1.5rem;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1);
}

/* Testimonials Section */
.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 0 1rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(26, 42, 108, 0.1);
    font-family: Georgia, serif;
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    color: #ffc107;
}

.testimonial-rating i {
    font-size: 1.2rem;
    margin-right: 0.25rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: #1a2a6c;
}

.author-info span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a2a6c, #2a3990);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Partners Section */
.partners-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.partner-item {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
}

.footer-top {
    padding: 4rem 0 2rem;
}

.footer-widget h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ffd700;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-links li::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ffd700;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links li:hover::before {
    transform: translateX(3px);
}

.contact-info {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info i {
    margin-right: 1rem;
    color: #ffd700;
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ffd700;
    color: #1a1a1a;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #0a0a0a;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: #ffd700;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: space-between;
    }
    
    .stat-item {
        margin-right: 0;
    }
    
    .programs-timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .program-card {
        flex-direction: column;
        text-align: center;
    }
    
    .program-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .quick-info-content {
        flex-direction: column;
    }
    
    .info-item {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .image-stack {
        height: 300px;
    }
    
    .image-stack img {
        width: 90%;
    }
    
    .image-stack img:nth-child(2) {
        top: 30px;
        left: 30px;
    }
    
    .image-stack img:nth-child(3) {
        top: 60px;
        left: 60px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    .footer-widget {
        margin-bottom: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 250px;
    }
}

@media (max-width: 575.98px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        align-items: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .partner-item {
        width: 120px;
        height: 60px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}



