/* ============================================
   COLLEGE MANAGEMENT SYSTEM - STYLES
   Modern, Animated, Responsive Design
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --accent: #8b5cf6;
    --gold: #f59e0b;
    --orange: #f97316;
    --teal: #14b8a6;
    --yellow: #eab308;
    --purple: #7c3aed;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 50%;
    right: -50px;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: 20%;
    left: 10%;
    animation-delay: -10s;
}

.shape:nth-child(4) {
    width: 350px;
    height: 350px;
    background: var(--teal);
    bottom: -100px;
    right: 20%;
    animation-delay: -15s;
}

.shape:nth-child(5) {
    width: 250px;
    height: 250px;
    background: var(--purple);
    top: 30%;
    left: 30%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(0, -100px) scale(1);
    }
    75% {
        transform: translate(-50px, -50px) scale(0.9);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.75rem 5%;
    box-shadow: var(--shadow-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 5% 4rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    animation: fadeInLeft 1s ease;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.gradient-text-2 {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary-light);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Hero Visual - College Building */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

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

.college-building {
    position: relative;
    width: 400px;
    height: 400px;
}

.building-structure {
    position: relative;
    z-index: 10;
    animation: buildingFloat 4s ease-in-out infinite;
}

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

.dome {
    width: 120px;
    height: 60px;
    background: linear-gradient(180deg, #e2e8f0 0%, #94a3b8 100%);
    border-radius: 60px 60px 0 0;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.cap-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-top: -10px;
    animation: capBounce 2s ease-in-out infinite;
}

@keyframes capBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.building-body {
    width: 200px;
    height: 180px;
    background: linear-gradient(180deg, #f1f5f9 0%, #cbd5e1 100%);
    margin: 0 auto;
    border-radius: 10px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.windows-row {
    display: flex;
    justify-content: space-around;
    padding: 20px 10px;
    gap: 10px;
}

.window {
    width: 30px;
    height: 40px;
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 15px 15px 0 0;
    border: 3px solid #e2e8f0;
    animation: windowGlow 3s ease-in-out infinite;
}

@keyframes windowGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
    }
}

.entrance {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-radius: 40px 40px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.college-sign {
    color: white;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.platform {
    width: 280px;
    height: 20px;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 50%, #3b82f6 100%);
    margin: 0 auto;
    border-radius: 10px;
    margin-top: -5px;
    box-shadow: var(--shadow-xl);
}

.glow-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-out infinite;
}

.ring-1 {
    width: 350px;
    height: 350px;
    animation-delay: 0s;
}

.ring-2 {
    width: 450px;
    height: 450px;
    animation-delay: 1s;
}

.ring-3 {
    width: 550px;
    height: 550px;
    animation-delay: 2s;
}

@keyframes ringPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
    animation: fadeInUp 1s ease 1s both;
}

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

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--gray);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gray);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* Section Styles */
section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Modules Section */
.modules {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.modules-container {
    max-width: 1200px;
    margin: 0 auto;
}

.modules-radial {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 700px;
    margin: 0 auto;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    z-index: 10;
    animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% {
        box-shadow: var(--shadow-xl), 0 0 40px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: var(--shadow-xl), 0 0 60px rgba(59, 130, 246, 0.5);
    }
}

.hub-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.central-hub span {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.module-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    background: white;
    border-radius: 15px;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    transform-origin: center;
    animation: moduleFloat 4s ease-in-out infinite;
    animation-delay: calc(var(--angle) * 0.01s);
}

@keyframes moduleFloat {
    0%, 100% {
        transform: rotate(var(--angle)) translateX(280px) rotate(calc(var(--angle) * -1)) translateY(0);
    }
    50% {
        transform: rotate(var(--angle)) translateX(280px) rotate(calc(var(--angle) * -1)) translateY(-10px);
    }
}

.module-card:hover {
    transform: rotate(var(--angle)) translateX(280px) rotate(calc(var(--angle) * -1)) scale(1.05) !important;
    box-shadow: var(--shadow-xl);
    z-index: 20;
}

.module-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.module-icon.blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.module-icon.green { background: linear-gradient(135deg, #10b981, #059669); }
.module-icon.gold { background: linear-gradient(135deg, #f59e0b, #d97706); }
.module-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.module-icon.orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.module-icon.teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.module-icon.yellow { background: linear-gradient(135deg, #eab308, #ca8a04); }

.module-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.module-content p {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Portals Section */
.portals {
    background: white;
}

.portals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 4rem;
}

.portal-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.admin-portal::before { background: linear-gradient(90deg, #10b981, #059669); }
.faculty-portal::before { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.student-portal::before { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }

.portal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portal-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
}

.portal-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: white;
}

.admin-portal .portal-icon { background: linear-gradient(135deg, #10b981, #059669); }
.faculty-portal .portal-icon { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.student-portal .portal-icon { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.portal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.portal-body {
    padding: 1.5rem 2rem;
}

.portal-features {
    list-style: none;
}

.portal-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: var(--gray);
    font-size: 0.95rem;
}

.portal-features li:last-child {
    border-bottom: none;
}

.portal-features i {
    color: var(--secondary);
    font-size: 0.9rem;
}

.portal-footer {
    padding: 1.5rem 2rem;
    background: #f8fafc;
}

.portal-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.admin-portal .portal-btn { background: linear-gradient(135deg, #10b981, #059669); }
.faculty-portal .portal-btn { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.student-portal .portal-btn { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Database Section */
.database-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    color: white;
}

.database-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #64748b, #475569);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    box-shadow: 0 0 30px rgba(100, 116, 139, 0.5);
    animation: dbPulse 2s ease-in-out infinite;
}

@keyframes dbPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(100, 116, 139, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(100, 116, 139, 0.8);
    }
}

.database-section h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.database-section p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Technologies Section */
.technologies {
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
}

.tech-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
}

.tech-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
    box-shadow: var(--shadow-xl);
    transform: scale(1.1);
}

.tech-icon.html5 { background: linear-gradient(135deg, #e34c26, #f06529); }
.tech-icon.css3 { background: linear-gradient(135deg, #264de4, #2965f1); }
.tech-icon.js { background: linear-gradient(135deg, #f7df1e, #f0db4f); color: #323330 !important; }
.tech-icon.php { background: linear-gradient(135deg, #777bb4, #4f5b93); }
.tech-icon.mysql { background: linear-gradient(135deg, #00758f, #f29111); }

.tech-name {
    font-weight: 600;
    color: var(--dark);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 0;
}

.footer-banner {
    background: var(--primary);
    padding: 1.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-banner i {
    color: var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.footer-section p i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 1.5rem 5%;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .college-building {
        transform: scale(0.8);
    }

    .modules-radial {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .central-hub {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 2rem;
    }

    .module-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none !important;
        animation: none;
    }

    .module-card:hover {
        transform: scale(1.05) !important;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 7rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .college-building {
        transform: scale(0.6);
    }

    .features-grid,
    .portals-container {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        gap: 2rem;
    }

    .tech-icon {
        width: 80px;
        height: 80px;
    }
}

/* Animation Classes */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}