/*=====================================================
Modern Styles for Hillgrove Secondary School
Author: Modernization Update
Version: 1.0
=======================================================*/

/* Modern CSS Variables - Balanced Hillgrove Colors */
:root {
    --primary-color: #8B1538;        /* Hillgrove Maroon - used sparingly */
    --secondary-color: #2d3748;      /* Dark Gray */
    --accent-color: #A61E4D;         /* Softer Maroon */
    --gold-accent: #D4AF37;          /* Gold Accent */
    --text-dark: #2d3748;           /* Dark Text */
    --text-light: #6b7280;          /* Light Gray Text */
    --white: #ffffff;               /* Pure White */
    --light-bg: #f8fafc;            /* Very Light Gray */
    --cream-bg: #fefcf9;            /* Subtle Cream */
    --neutral-bg: #f1f5f9;          /* Neutral Background */
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Typography */
.modern-hero .hero-sub-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.modern-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.modern-hero .hero-title span {
    color: var(--accent-color);
    position: relative;
}

.modern-hero .hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Modern Button Styles */
.modern-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    text-transform: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Modern Header Improvements */
.header-top {
    background: var(--primary-color);
    padding: 0.75rem 0;
}

.header-top-contact a {
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition);
}

.header-top-contact a:hover {
    opacity: 1;
    color: var(--white);
}

.main-navigation {
    background: var(--white);
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
}

.navbar-nav .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

/* Modern Feature Cards */
.feature-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-title {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Modern Course Cards */
.course-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: none;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.course-img {
    position: relative;
    overflow: hidden;
}

.course-img img {
    transition: var(--transition);
}

.course-item:hover .course-img img {
    transform: scale(1.05);
}

.course-tag {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Modern Counter Section */
.counter-box {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.counter-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.counter-box .title {
    color: var(--text-dark);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Modern Gallery */
.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.gallery-item img {
    transition: var(--transition);
}

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

/* Modern FAQ Section */
.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background: var(--light-bg);
    color: var(--accent-color);
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    background: var(--white);
    color: var(--text-light);
    line-height: 1.6;
}

/* Modern Footer */
.footer-area {
    background: var(--primary-color);
    color: var(--white);
}

.footer-widget-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .modern-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary, .btn-secondary {
        text-align: center;
        justify-content: center;
    }
    
    .modern-hero .hero-description {
        font-size: 1.1rem;
    }
    
    .feature-item,
    .course-item,
    .counter-box {
        margin-bottom: 1.5rem;
    }
}

/* Loading Performance Optimizations */
.hero-single {
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
}

/* Accessibility Improvements */
.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Modern Animation Overrides */
.wow {
    animation-duration: 0.8s;
}

/* ===== MODERN HERO SECTION ===== */
.modern-hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 60%, var(--gold-accent) 100%);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.9) 0%, rgba(196, 16, 46, 0.8) 60%, rgba(212, 175, 55, 0.7) 100%);
    z-index: 2;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape-1, .shape-2, .shape-3 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation-delay: 4s;
}

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

.modern-hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content-new {
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out;
}

.separator {
    opacity: 0.6;
}

.hero-title-new {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    animation: slideInUp 1s ease-out 0.2s both;
}

.highlight {
    background: linear-gradient(135deg, var(--gold-accent) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.leaders-text {
    position: relative;
    display: inline-block;
}

.leaders-text::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(212, 175, 55, 0.4);
    z-index: -1;
    animation: expandWidth 1s ease-out 1s both;
}

.hero-description-new {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: slideInUp 1s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: slideInUp 1s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.8s both;
}

.btn-hero-primary, .btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--primary-color) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    color: white;
}

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

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
}

.hero-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 1s ease-out 1s both;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-badge i {
    color: var(--gold-accent);
}

/* Hero Visual Section */
.hero-visual {
    position: relative;
    height: 600px;
    animation: slideInRight 1s ease-out 0.5s both;
}

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

.hero-main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-main-image:hover .image-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1);
    background: white;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: floatCard 4s ease-in-out infinite;
    min-width: 200px;
}

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

.card-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.card-3 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

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

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

/* Modern Preloader */
.modern-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-in-out;
    /* Fallback: Auto-hide after 2 seconds */
    animation: autoHide 2s ease-in-out forwards;
}

.modern-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    color: white;
}

.school-logo {
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.school-logo img {
    max-width: 120px;
    height: auto;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffd89b, white);
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

@keyframes autoHide {
    0%, 90% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

/* ===== BEAUTIFUL PAGE FLOW STYLES ===== */

/* Enhanced Header */
.header-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--gold-accent);
}

.main-navigation {
    background: var(--white);
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 21, 56, 0.1);
}

/* Beautiful Section Spacing - More Compact */
.py-5 {
    padding: 3.5rem 0 !important;
}

/* Smaller sections for better balance */
.py-compact {
    padding: 2.5rem 0 !important;
}

/* Enhanced Feature Section - Lighter */
.feature-area {
    background: var(--neutral-bg);
    position: relative;
    overflow: hidden;
}

.feature-area .container {
    position: relative;
    z-index: 1;
}

.feature-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(139, 21, 56, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gold-accent) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--accent-color);
}

/* Enhanced Counter Section - Subtle */
.counter-area {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--gold-accent);
}

.counter-area .container {
    position: relative;
    z-index: 1;
}

.counter-area .section-title {
    color: var(--text-dark);
}

.counter-area .section-subtitle {
    color: var(--text-light);
}

.counter-box {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(139, 21, 56, 0.1);
    position: relative;
    overflow: hidden;
}

.counter-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--gold-accent) 100%);
    transform: translateX(-50%);
    border-radius: 0 0 4px 4px;
}

.counter-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.counter {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

/* Enhanced Course Section */
.course-area {
    background: var(--white);
    position: relative;
}

.course-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(139, 21, 56, 0.1);
    position: relative;
}

.course-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.course-tag {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.course-title {
    color: var(--text-dark);
    font-weight: 700;
}

.course-title:hover {
    color: var(--primary-color);
}

/* Enhanced About Section - Clean */
.about-area {
    background: var(--white);
}

/* Enhanced Gallery Section */
.gallery-area {
    background: var(--light-bg);
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-medium);
}

/* Enhanced CTA Section - More Subtle */
.cta-area {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) !important;
    position: relative;
    overflow: hidden;
}

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

/* Enhanced Events Section */
.event-area {
    background: var(--neutral-bg) !important;
}

/* Enhanced FAQ Section */
.faq-area {
    background: var(--white);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* Enhanced Footer */
.footer-area {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
}

.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="footerPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="%23D4AF37" opacity="0.2"/><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="60" height="60" fill="url(%23footerPattern)"/></svg>') repeat;
    z-index: 0;
}

.footer-area .container {
    position: relative;
    z-index: 1;
}

/* Beautiful Transitions and Animations */
* {
    transition: var(--transition);
}

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

.wow.fadeInUp {
    animation: fadeInUp 0.8s ease-out both;
}

/* Enhanced Typography */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--gold-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--accent-color) 100%);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

/* Enhanced Progress Bars */
.progress {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    height: 8px;
}

.progress-bar {
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--white) 100%);
    border-radius: 10px;
    transition: var(--transition);
}

/* Enhanced About Quote */
.about-quote {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--cream-bg) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--gold-accent);
    position: relative;
    box-shadow: var(--shadow-light);
}

.about-quote::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 20px;
    height: 20px;
    background: var(--gold-accent);
    transform: rotate(45deg);
}

/* Enhanced About Items */
.about-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(139, 21, 56, 0.1);
    transition: var(--transition);
}

.about-item:hover {
    padding-left: 1rem;
    background: rgba(139, 21, 56, 0.05);
    border-radius: 8px;
}

.about-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    margin-right: 1rem;
}

.about-item-icon img {
    filter: brightness(0) invert(1);
    width: 30px;
    height: 30px;
}

/* Enhanced Choose Section - Maroon but Balanced */
.choose-area {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.choose-area .container {
    position: relative;
    z-index: 1;
}

.choose-content-info .site-title {
    color: var(--white) !important;
}

.choose-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.choose-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.choose-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    margin-right: 1rem;
}

.choose-item-icon img {
    filter: brightness(0) invert(1);
    width: 30px;
    height: 30px;
}

.choose-item h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.choose-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Enhanced Event Cards */
.event-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(139, 21, 56, 0.1);
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.event-location {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.event-title a {
    color: var(--text-dark);
    font-weight: 700;
    transition: var(--transition);
}

.event-title a:hover {
    color: var(--primary-color);
}

/* Enhanced Enroll Section - Clean */
.enroll-area {
    background: var(--cream-bg);
    position: relative;
    overflow: hidden;
}

.enroll-area .container {
    position: relative;
    z-index: 1;
}

.enroll-form {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(139, 21, 56, 0.1);
}

.enroll-form-header h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-control {
    border: 2px solid rgba(139, 21, 56, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 21, 56, 0.25);
}

.skill-content .site-title {
    color: var(--white) !important;
}

/* Refined spacing for better balance */
.feature-item {
    padding: 2rem;
}

.counter-box {
    padding: 1.5rem;
}

.course-item {
    margin-bottom: 1.5rem;
}

.gallery-item {
    margin-bottom: 1.5rem;
}

.event-item {
    margin-bottom: 1.5rem;
}

/* Subtle maroon accents only where needed */
.feature-item:hover {
    border-color: rgba(139, 21, 56, 0.3);
}

.course-item:hover {
    border-color: rgba(139, 21, 56, 0.3);
}

/* Mobile Responsive for Hero */
@media (max-width: 991px) {
    .py-5 {
        padding: 2.5rem 0 !important;
    }
    
    .py-compact {
        padding: 2rem 0 !important;
    }
    
    .hero-visual {
        height: 400px;
        margin-top: 3rem;
    }
    
    .hero-main-image {
        width: 300px;
        height: 400px;
    }
    
    .floating-card {
        position: relative;
        margin: 1rem 0;
        animation: none;
    }
    
    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hero-primary, .btn-hero-secondary {
        justify-content: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title-new {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-description-new {
        text-align: center;
        margin: 0 auto 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stat-item {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        backdrop-filter: blur(10px);
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-main-image {
        width: 250px;
        height: 300px;
    }
    
    .shape-1, .shape-2, .shape-3 {
        display: none;
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .nav-right-btn {
        margin-top: 1rem !important;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: var(--light-bg);
        margin-left: 1rem;
    }
}