/* ===================================
   XIDAS Landing Page Styles
   Repository-Based HSL Color System
   =================================== */

/* ===== CSS Variables ===== */
:root {
    /* HSL Colors - Primary */
    --primary: hsl(221 83% 43%);
    --primary-dark: hsl(221 83% 33%);
    --primary-light: hsl(221 83% 53%);
    --primary-foreground: hsl(0 0% 100%);
    
    /* HSL Colors - Secondary */
    --secondary: hsl(0 71% 42%);
    --secondary-dark: hsl(0 71% 32%);
    --secondary-light: hsl(0 71% 52%);
    --secondary-foreground: hsl(0 0% 100%);
    
    /* HSL Colors - Accent */
    --accent: hsl(24 87% 54%);
    --accent-foreground: hsl(0 0% 100%);
    
    /* HSL Colors - Background */
    --background: hsl(0 0% 100%);
    --foreground: hsl(240 10% 3.9%);
    
    /* HSL Colors - Card */
    --card: hsl(0 0% 100%);
    --card-foreground: hsl(240 10% 3.9%);
    
    /* HSL Colors - Muted */
    --muted: hsl(240 4.8% 95.9%);
    --muted-foreground: hsl(240 3.8% 46.1%);
    
    /* HSL Colors - Border */
    --border: hsl(240 5.9% 90%);
    --input: hsl(240 5.9% 90%);
    --ring: hsl(221 83% 43%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(221 83% 43%) 0%, hsl(221 83% 63%) 100%);
    --gradient-secondary: linear-gradient(135deg, hsl(0 71% 42%) 0%, hsl(0 71% 62%) 100%);
    --gradient-hero: linear-gradient(135deg, hsl(221 83% 43% / 0.95) 0%, hsl(221 83% 63% / 0.85) 100%);
    --gradient-card: linear-gradient(180deg, hsl(0 0% 100%) 0%, hsl(240 4.8% 98%) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 hsl(240 10% 3.9% / 0.05);
    --shadow-md: 0 4px 6px -1px hsl(240 10% 3.9% / 0.1), 0 2px 4px -1px hsl(240 10% 3.9% / 0.06);
    --shadow-lg: 0 10px 15px -3px hsl(240 10% 3.9% / 0.1), 0 4px 6px -2px hsl(240 10% 3.9% / 0.05);
    --shadow-xl: 0 20px 25px -5px hsl(240 10% 3.9% / 0.1), 0 10px 10px -5px hsl(240 10% 3.9% / 0.04);
    --shadow-card: 0 1px 3px 0 hsl(240 10% 3.9% / 0.1), 0 1px 2px 0 hsl(240 10% 3.9% / 0.06);
    --shadow-elevated: 0 10px 40px -10px hsl(240 10% 3.9% / 0.15);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Poppins', var(--font-sans);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--foreground);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Cursor Options - Switch between these by changing class */

/* OPTION 3: Magnetic Dot (Active) */
.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translate(-50%, -50%);
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    transition: all 0.3s ease;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
}

.custom-cursor.hover::before {
    background: var(--secondary);
    box-shadow: 0 0 30px var(--secondary);
}

.custom-cursor.hover::after {
    width: 60px;
    height: 60px;
    border-color: var(--secondary);
    opacity: 0.5;
}

.custom-cursor.click::before {
    transform: translate(-50%, -50%) scale(0.5);
}

.custom-cursor.click::after {
    transform: translate(-50%, -50%) scale(0.8);
}

/* OPTION 1: Fog/Glow Effect (Commented - Uncomment to use)
.custom-cursor {
    position: fixed;
    width: 80px;
    height: 80px;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, hsla(221, 83%, 63%, 0.4) 0%, hsla(221, 83%, 43%, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: fog-pulse 3s ease-in-out infinite;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px hsla(221, 83%, 43%, 0.8);
}

@keyframes fog-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.3;
    }
}

.custom-cursor.hover {
    width: 120px;
    height: 120px;
}

.custom-cursor.hover::before {
    background: radial-gradient(circle, hsla(0, 71%, 42%, 0.5) 0%, hsla(0, 71%, 42%, 0.3) 40%, transparent 70%);
    filter: blur(25px);
}

.custom-cursor.hover::after {
    background: var(--secondary);
    box-shadow: 0 0 20px hsla(0, 71%, 42%, 1);
}

.custom-cursor.click::before {
    animation: fog-burst 0.3s ease-out;
}

@keyframes fog-burst {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}
*/

/* OPTION 2: Sparkle Effect (Commented - Uncomment to use)
.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: var(--primary);
    animation: sparkle 1.5s ease-in-out infinite;
    text-shadow: 0 0 10px hsla(221, 83%, 43%, 0.8);
}

.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.3;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3) rotate(180deg);
        opacity: 0.7;
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.custom-cursor.hover::before {
    font-size: 28px;
    color: var(--secondary);
    text-shadow: 0 0 20px hsla(0, 71%, 42%, 1);
}

.custom-cursor.hover::after {
    width: 60px;
    height: 60px;
    border-color: var(--secondary);
}

.custom-cursor.click::before {
    animation: none;
    transform: translate(-50%, -50%) scale(0.7) rotate(90deg);
}
*/

/* OPTION 4: Gradient Ring (Commented - Uncomment to use)
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(45deg, var(--primary), var(--secondary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotate-gradient 3s linear infinite;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.custom-cursor.hover {
    width: 60px;
    height: 60px;
}

.custom-cursor.click {
    width: 30px;
    height: 30px;
}
*/

/* Cursor trail effect */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    box-shadow: 0 0 10px var(--primary);
    animation: trail-fade 0.6s ease-out forwards;
}

@keyframes trail-fade {
    to {
        transform: scale(0);
        opacity: 0;
    }
}

a, button, .btn {
    cursor: pointer;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ===== Header Styles ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: hsl(0 0% 100% / 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-image-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-item:hover {
    color: var(--primary);
    transform: scale(1.08);
}

.nav-item:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* ===== Button Styles ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 60%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active::before {
    width: 0;
    height: 0;
    transition: width 0.2s ease, height 0.2s ease;
}

.btn i {
    position: relative;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--secondary-foreground);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-gradient {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-md);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-hero {
    background: hsl(0 0% 100% / 0.2);
    color: hsl(0 0% 100%);
    border: 2px solid hsl(0 0% 100% / 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero:hover {
    background: hsl(0 0% 100% / 0.3);
    border-color: hsl(0 0% 100% / 0.5);
    transform: translateY(-2px);
}

.btn-program {
    background: var(--muted);
    color: var(--primary);
    font-weight: 600;
}

.btn-program:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateX(4px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-decorations {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.decoration-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.decoration-blob-1 {
    width: 400px;
    height: 400px;
    background: hsl(221 83% 63%);
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.decoration-blob-2 {
    width: 500px;
    height: 500px;
    background: hsl(0 71% 52%);
    bottom: -10%;
    left: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Rotating Badge */
.rotating-badge {
    position: fixed !important;
    top: 18% !important;
    right: 3% !important;
    width: 150px;
    height: 150px;
    pointer-events: auto;
    z-index: 9999;
    filter: drop-shadow(0 10px 30px hsla(45, 100%, 60%, 0.3));
    transition: filter 0.4s ease;
    will-change: transform;
}

.rotating-badge:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 15px 40px hsla(45, 100%, 60%, 0.5));
}

.rotating-svg {
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.1s linear;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.rotating-text {
    fill: hsl(45 100% 60%);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.badge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px hsla(221, 83%, 43%, 0.4);
}

.badge-center i {
    font-size: 1.8rem;
    color: hsl(45 100% 60%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@media (max-width: 768px) {
    .rotating-badge {
        width: 100px;
        height: 100px;
        right: 1%;
    }
    
    .rotating-text {
        font-size: 8px;
    }
    
    .badge-center {
        width: 40px;
        height: 40px;
    }
    
    .badge-center i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .rotating-badge {
        width: 80px;
        height: 80px;
    }
    
    .rotating-text {
        font-size: 6px;
    }
    
    .badge-center {
        width: 32px;
        height: 32px;
    }
    
    .badge-center i {
        font-size: 1rem;
    }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: hsl(0 0% 100%);
    animation: fadeInUp 1s ease-out;
}

.admission-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: hsl(0 0% 100% / 0.15);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    border: 1px solid hsl(0 0% 100% / 0.2);
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: slideInDown 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px hsl(240 10% 3.9% / 0.5), 0 2px 10px hsl(240 10% 3.9% / 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-card {
    background: hsl(0 0% 100% / 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid hsl(0 0% 100% / 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: hsl(0 0% 100% / 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
}

.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--background));
    z-index: 2;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-left {
    text-align: left;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto;
}

.section-header-left .section-description {
    margin: 0;
}

/* ===== Programs Section ===== */
.programs {
    padding: 5rem 0;
    background: var(--muted);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    animation: fadeInUp 0.6s ease-out both;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsla(221, 83%, 43%, 0.1), transparent);
    transition: left 0.5s ease;
}

.program-card:hover::before {
    left: 100%;
}

.program-card:nth-child(1) { animation-delay: 0.1s; }
.program-card:nth-child(2) { animation-delay: 0.2s; }
.program-card:nth-child(3) { animation-delay: 0.3s; }
.program-card:nth-child(4) { animation-delay: 0.4s; }

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated), 0 -2px 0 hsla(0, 0%, 100%, 0.5) inset;
    border-top: 1px solid hsla(0, 0%, 100%, 0.4);
}

.program-icon-wrapper {
    margin-bottom: 1.5rem;
}

.program-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-foreground);
    transition: transform var(--transition-base);
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
}

.program-icon-marketing {
    background: var(--gradient-primary);
}

.program-icon-finance {
    background: var(--gradient-secondary);
}

.program-icon-hr {
    background: linear-gradient(135deg, hsl(24 87% 54%) 0%, hsl(24 87% 74%) 100%);
}

.program-icon-rural {
    background: linear-gradient(135deg, hsl(142 71% 45%) 0%, hsl(142 71% 65%) 100%);
}

.program-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.program-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.program-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--foreground);
    font-size: 0.95rem;
}

.program-highlights i {
    color: var(--primary);
    font-size: 0.875rem;
}

/* ===== Placements Section ===== */
.placements {
    padding: 5rem 0;
    background: var(--background);
}

.placements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.placement-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.placement-stat-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    animation: scaleIn 0.5s ease-out both;
}

.placement-stat-card:nth-child(1) { animation-delay: 0.1s; }
.placement-stat-card:nth-child(2) { animation-delay: 0.2s; }
.placement-stat-card:nth-child(3) { animation-delay: 0.3s; }
.placement-stat-card:nth-child(4) { animation-delay: 0.4s; }

.placement-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
}

.placement-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-foreground);
}

.placement-stat-primary {
    background: var(--gradient-primary);
}

.placement-stat-secondary {
    background: var(--gradient-secondary);
}

.placement-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.placement-stat-label {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

.recruiters-section {
    padding: 2rem;
    background: var(--muted);
    border-radius: var(--radius-lg);
}

.recruiters-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.recruiters-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.recruiter-tag {
    padding: 0.5rem 1rem;
    background: var(--background);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.recruiter-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary);
    color: var(--primary-foreground);
}

.placements-image {
    position: relative;
}

.placements-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    transition: transform var(--transition-base);
}

.placements-image-wrapper:hover {
    transform: scale(1.02);
}

.placement-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.placements-image-wrapper:hover .placement-img {
    transform: scale(1.05);
}

.placement-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(221 83% 43% / 0.3), hsl(0 71% 42% / 0.3));
}

.placement-decoration {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: -1;
}

.placement-decoration-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.placement-decoration-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    background: var(--gradient-secondary);
}

/* ===== Contact Section ===== */
.contact {
    padding: 5rem 0;
    background: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.contact-details p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--background);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.contact-form {
    background: var(--background);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--foreground);
    background: var(--background);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsl(221 83% 43% / 0.1);
}

.form-input::placeholder {
    color: var(--muted-foreground);
}

/* ===== Footer ===== */
.footer {
    background: var(--foreground);
    color: hsl(0 0% 100% / 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(0 0% 100%);
    margin: 0;
}

.footer-location {
    font-size: 0.875rem;
    color: hsl(0 0% 100% / 0.6);
    margin: 0;
}

.footer-description {
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(0 0% 100%);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: hsl(0 0% 100% / 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: hsl(221 83% 63%);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.footer-contact i {
    color: hsl(221 83% 63%);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: hsl(0 0% 100% / 0.1);
    color: hsl(0 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid hsl(0 0% 100% / 0.1);
    text-align: center;
    color: hsl(0 0% 100% / 0.6);
    font-size: 0.875rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px hsla(221, 83%, 43%, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px hsla(221, 83%, 43%, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top i {
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px hsla(221, 83%, 43%, 0.3);
    }
    50% {
        box-shadow: 0 0 40px hsla(221, 83%, 43%, 0.6), 0 0 60px hsla(221, 83%, 43%, 0.4);
    }
}

/* Scroll animation classes */
[data-scroll-animation] {
    opacity: 0;
}

[data-scroll-animation].animate {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-scroll-animation="fadeInUp"].animate { animation-name: fadeInUp; }
[data-scroll-animation="fadeInLeft"].animate { animation-name: fadeInLeft; }
[data-scroll-animation="fadeInRight"].animate { animation-name: fadeInRight; }
[data-scroll-animation="scaleIn"].animate { animation-name: scaleIn; }
[data-scroll-animation="zoomIn"].animate { animation-name: zoomIn; }

[data-scroll-delay="100"].animate { animation-delay: 0.1s; }
[data-scroll-delay="150"].animate { animation-delay: 0.15s; }
[data-scroll-delay="200"].animate { animation-delay: 0.2s; }
[data-scroll-delay="250"].animate { animation-delay: 0.25s; }
[data-scroll-delay="300"].animate { animation-delay: 0.3s; }
[data-scroll-delay="350"].animate { animation-delay: 0.35s; }
[data-scroll-delay="400"].animate { animation-delay: 0.4s; }
[data-scroll-delay="450"].animate { animation-delay: 0.45s; }
[data-scroll-delay="500"].animate { animation-delay: 0.5s; }
[data-scroll-delay="550"].animate { animation-delay: 0.55s; }
[data-scroll-delay="600"].animate { animation-delay: 0.6s; }

/* ===== About Section ===== */
.about {
    padding: 5rem 0;
    background: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--muted-foreground);
}

.about-stats-inline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--muted);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.stat-inline:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.stat-inline i {
    font-size: 1.75rem;
    color: var(--primary);
    width: 40px;
    text-align: center;
}

.stat-inline strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.stat-inline span {
    display: block;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-image-wrapper {
    grid-column: 1 / -1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
    margin-bottom: 1rem;
}

.about-campus-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-campus-img {
    transform: scale(1.05);
}

.feature-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated), 0 -2px 0 hsla(0, 0%, 100%, 0.5) inset;
    border-top: 1px solid hsla(0, 0%, 100%, 0.4);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.feature-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== Facilities Section ===== */
.facilities {
    padding: 5rem 0;
    background: var(--muted);
}

.facilities-hero-image {
    margin: 0 auto 3rem;
    max-width: 900px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-elevated);
}

.facility-hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.facilities-hero-image:hover .facility-hero-img {
    transform: scale(1.03);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.facility-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsla(0, 71%, 42%, 0.1), transparent);
    transition: left 0.6s ease;
}

.facility-card:hover::before {
    left: 100%;
}

.facility-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-elevated);
}

.facility-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-secondary);
    color: var(--secondary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform var(--transition-base);
}

.facility-card:hover .facility-icon {
    transform: rotateY(360deg);
}

.facility-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.facility-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 5rem 0;
    background: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsla(221, 83%, 43%, 0.08), transparent);
    transition: left 0.7s ease;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevated);
    border-left-color: var(--secondary);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--foreground);
    line-height: 1.8;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px hsla(221, 83%, 43%, 0.15);
    transition: all 0.3s ease;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 6px 16px hsla(221, 83%, 43%, 0.25);
}

.author-info h4 {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .placements-grid,
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .placement-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-image-wrapper {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}
