/* Main Stylesheet*/

/* ===== VARIABLES ===== */
:root {
    /* Colors - Lively Light Purple & Blue */
    --primary-color: #a855f7;
    /* Vibrant light purple */
    --primary-light: #d8b4fe;
    /* Soft pastel purple */
    --secondary-color: #3b82f6;
    /* Bright lively blue */
    --secondary-light: #bfdbfe;
    /* Soft light blue */
    --accent-color: #ec4899;
    /* Vibrant Pink for contrast */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(168, 85, 247, 0.6), rgba(59, 130, 246, 0.6));
    --gradient-overlay: linear-gradient(135deg, rgba(168, 85, 247, 0.92) 0%, rgba(59, 130, 246, 0.92) 100%);

    /* Semantic Colors */
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;

    /* Neutrals */
    --white: #FFFFFF;
    --light-color: #F8FAFC;
    --dark-color: #1e1b4b;
    /* Very dark purple-slate */

    /* Grays & Text */
    --gray-light: #E2E8F0;
    --gray-medium: #64748B;
    --gray-dark: #334155;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Borders */
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    position: relative;
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    background-color: var(--white);
    color: var(--gray-dark);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-dark);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-dark {
    color: var(--dark-color) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

/* ===== LAYOUT ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Smooth scrolling wrapper */
.smooth-scroll-wrapper {
    position: relative;
    width: 100%;
    will-change: transform;
}

/* Main content area */
main {
    position: relative;
    z-index: 1;
    background-color: var(--white);
}

/* ===== COMPONENTS ===== */

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.navbar-dark {
    background: var(--primary-color) !important;
    backdrop-filter: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: #FFD700 !important;
}

/* ===== FIX PARALLAX SECTIONS ===== */
.parallax-section {
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-section .container {
    position: relative;
    z-index: 3;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Extra height for parallax effect */
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--dark-color) !important;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    color: #ffffff !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.scroll-indicator a:hover {
    opacity: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Statistics */
.statistics-section {
    position: relative;
    z-index: 2;
    background-color: var(--white);
    margin-top: 0;
    padding: 5rem 0;
}

.stat-card {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.stat-label {
    color: var(--gray-medium);
    font-size: 1.1rem;
    margin: 0;
}

/* Announcements */
.announcements-section {
    position: relative;
    z-index: 10;
}

.announcement-ticker {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.ticker-label {
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: var(--spacing-xl);
    animation: ticker 30s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    padding: 0.5rem 0;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Features */
.features-section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-xl);

}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-medium);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    background: var(--white);
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.1);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray-medium);
    margin-bottom: 0;
}

/* Programs */
.programs-section {
    background-color: transparent;
    position: relative;
    padding: 5rem 0;
    color: var(--white);
}

.programs-section .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.programs-section .container {
    position: relative;
    z-index: 2;
}

.program-card {
    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-lg);
    padding: var(--spacing-xl);
    height: 100%;
    transition: transform var(--transition-normal), background var(--transition-normal);
}

.program-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.program-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.program-duration {
    color: var(--secondary-light);
    font-weight: 500;
    margin-bottom: 1rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.program-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-light);

}

.program-features i {
    color: var(--success-color);
}

.lead {
    color: #E2E8F0;
}

/* News */
.news-section {
    padding: var(--spacing-xl) 0;
}

.news-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.news-content {
    padding: var(--spacing-lg);
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-medium);
}

.news-meta i {
    margin-right: 0.25rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--gray-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.read-more:hover {
    gap: 0.75rem;
}

/* Testimonials */
.testimonials-section {
    background-color: transparent;
    padding: var(--spacing-xl) 0;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    position: relative;
    padding: 0 2rem;
}

.testimonials-section .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.quote-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
}

.quote-icon.fa-quote-left {
    top: -1rem;
    left: 0;
}

.quote-icon.fa-quote-right {
    bottom: -1rem;
    right: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
}

.author-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.author-info,
.author-company {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators button.active {
    background-color: #c428c9;
}

/* Gallery */
.gallery-section {
    padding: var(--spacing-xl) 0;
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: black;
    font-weight: 500;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Newsletter */
.newsletter-section {
    padding: var(--spacing-xl) 0;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.form-text {
    font-size: 0.875rem;
    color: var(--gray-medium);
    margin-top: 0.5rem;
}

.input-email {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-size: 1rem;
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 10;
    background: var(--) !important;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-college-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.footer-description {
    color: rgba(238, 236, 236, 0.87);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: var(--white);
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: #bfdbfe;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(188, 235, 253, 0.8);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(6, 5, 5, 0.8);
}

.footer-contact i {
    margin-top: 0.25rem;
    color: var(--secondary-color);
}

.footer-contact li span {
    color: #bfdbfe;
}

.footer-newsletter-form .input-group {
    max-width: 300px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(0, 0, 0, 0.823);
    margin: 0;
}

.footer-policies a {
    color: rgba(228, 183, 241, 0.6);
    transition: color var(--transition-fast);
}

.footer-policies a:hover {
    color: var(--white);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-spinner {
    text-align: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}



/* Skip to Content */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    z-index: 1001;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }

    .announcement-ticker {
        flex-direction: column;
        gap: 1rem;
    }

    .ticker-label {
        justify-content: center;
    }

    .feature-card,
    .program-card,
    .news-card {
        margin-bottom: 2rem;
    }

    .gallery-item {
        height: 200px;
        margin-bottom: 1rem;
    }

    .cta-section .row {
        text-align: center;
    }

    .cta-section .btn {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .footer-links,
    .footer-contact {
        margin-bottom: 2rem;
        color: #000000;
    }

    .footer-policies {
        text-align: left;
        margin-top: 1rem;
        color: #000000;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .feature-card,
    .program-card {
        margin-bottom: 2rem;
    }
}

@media (min-width: 1025px) {
    .container {
        padding: 0;
    }
}