/* Base Styles and Variables */
:root {
    /* Night Mode (Default) */
    --primary-bg: #0A1929;
    --secondary-bg: #132F4C;
    --accent-color: #5E35B1;
    --highlight-color: #FFB400;
    --text-color: #FFFFFF;
    --secondary-text: #B2BAC2;
    --card-bg: #1E3A5F;
    --border-color: #2D4B6E;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --gradient-start: #0A1929;
    --gradient-end: #1E3A5F;
    --btn-primary-bg: #5E35B1;
    --btn-primary-text: #FFFFFF;
    --btn-secondary-bg: transparent;
    --btn-secondary-text: #FFB400;
    --btn-secondary-border: #FFB400;
    --form-bg: #1E3A5F;
    --form-border: #2D4B6E;
    --form-focus: #5E35B1;
    --toggle-bg: #5E35B1;
    --toggle-ball: #FFB400;
}

/* Day Mode Variables */
.day-mode {
    --primary-bg: #F3F6F9;
    --secondary-bg: #FFFFFF;
    --accent-color: #5E35B1;
    --highlight-color: #FF9800;
    --text-color: #1A2027;
    --secondary-text: #3E5060;
    --card-bg: #FFFFFF;
    --border-color: #E0E3E7;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-start: #F3F6F9;
    --gradient-end: #FFFFFF;
    --btn-primary-bg: #5E35B1;
    --btn-primary-text: #FFFFFF;
    --btn-secondary-bg: transparent;
    --btn-secondary-text: #5E35B1;
    --btn-secondary-border: #5E35B1;
    --form-bg: #FFFFFF;
    --form-border: #E0E3E7;
    --form-focus: #5E35B1;
    --toggle-bg: #FF9800;
    --toggle-ball: #5E35B1;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    overflow-x: hidden;
}

/* Floating Background Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    border-radius: 50%;
    opacity: 0.05;
    animation: float-around 15s infinite linear;
}

.floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-duration: 25s;
}

.floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-duration: 20s;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 20%;
    animation-duration: 18s;
    animation-delay: 5s;
}

.floating-element:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-duration: 22s;
    animation-delay: 3s;
}

.floating-element:nth-child(5) {
    width: 250px;
    height: 250px;
    bottom: 20%;
    right: 5%;
    animation-duration: 30s;
    animation-delay: 7s;
}

@keyframes float-around {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(100px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(50px, 100px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--highlight-color), transparent);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--secondary-bg);
    border: 2px solid var(--highlight-color);
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--secondary-bg);
}

/* 3D Effects */
.card-3d {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.text-3d {
    text-shadow: 2px 2px 4px var(--shadow-color);
}

.btn-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-3d:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* Header Styles */
header {
    background-color: var(--secondary-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--highlight-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.logo h1:hover {
    text-shadow: 0 0 10px var(--highlight-color);
}

.logo h1:hover::after {
    width: 100%;
}

/* Theme Toggle Switch */
.theme-toggle {
    position: relative;
    display: inline-block;
}

.theme-toggle-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-toggle-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 60px;
    height: 30px;
    background: var(--toggle-bg);
    border-radius: 30px;
    position: relative;
    transition: background-color 0.3s;
    padding: 0 5px;
}

.theme-toggle-label .fa-sun {
    color: #FFD700;
}

.theme-toggle-label .fa-moon {
    color: #FFFFFF;
}

.theme-toggle-label .ball {
    background: var(--toggle-ball);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    height: 24px;
    width: 24px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.theme-toggle-checkbox:checked + .theme-toggle-label .ball {
    transform: translateX(30px);
}

/* Navigation */
.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    padding: 0px 0;
    margin-top: 10px;
    font-weight: bolder;
}

.main-nav ul li {
    margin: 0 15px;
    position: relative;
}

.main-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    padding: 8px 15px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 20px;
    display: inline-block;
}

.main-nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--highlight-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover, .main-nav ul li a.active {
    color: var(--highlight-color);
    background-color: rgba(94, 53, 177, 0.1);
}

.main-nav ul li a:hover::before, .main-nav ul li a.active::before {
    width: 70%;
}

.main-nav ul li a.active {
    font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    background-color: var(--secondary-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: var(--secondary-text);
}

.breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-text);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--primary-bg) 150%);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--highlight-color);
    text-shadow: 2px 2px 4px var(--shadow-color);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--secondary-text);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-btn {
    background: linear-gradient(135deg, var(--btn-primary-bg), var(--accent-color));
    color: var(--btn-primary-text);
    border: none;
    box-shadow: 0 4px 15px rgba(94, 53, 177, 0.3);
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(94, 53, 177, 0.4);
}

.secondary-btn {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    border: 2px solid var(--btn-secondary-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.secondary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 180, 0, 0.1);
}

/* Hero Image Styles */
.hero-image-container {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
    animation: fadeIn 1s ease 0.6s;
    animation-fill-mode: both;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.student-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px var(--shadow-color);
    position: relative;
    z-index: 2;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.student-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    z-index: 1;
}

.student-image-placeholder i {
    font-size: 6rem;
    color: var(--highlight-color);
    margin-bottom: 20px;
    z-index: 2;
}

.student-image-placeholder span {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    border-radius: 20px;
    background-color: var(--highlight-color);
    opacity: 0.2;
    z-index: 1;
}

.image-decoration:nth-child(2) {
    width: 100%;
    height: 100%;
    top: -20px;
    left: -20px;
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.image-decoration:nth-child(3) {
    width: 100%;
    height: 100%;
    bottom: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About Section */
.about {
    background-color: var(--secondary-bg);
    position: relative;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--secondary-text);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    flex: 1;
    min-width: 300px;
}

.stat-item {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    width: calc(50% - 10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
}

.stat-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-color), var(--highlight-color));
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--secondary-text);
    font-weight: 500;
}

/* Branches Section */
.branches {
    background-color: var(--primary-bg);
}

.branches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.branch-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: all 0.3s ease;
    text-align: center;
}

.branch-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.branch-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-image i {
    font-size: 2rem;
    color: var(--highlight-color);
}

.branch-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.branch-card p {
    color: var(--secondary-text);
    margin-bottom: 10px;
}

.branch-address, .branch-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

/* Branches Page Styles */
.branches-page {
    padding: 60px 0;
}

.branch-detailed {
    margin-bottom: 80px;
}

.branch-detailed-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.branch-image-container {
    flex: 1;
    min-width: 300px;
}

.branch-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px var(--shadow-color);
}

.branch-image-placeholder i {
    font-size: 5rem;
    color: var(--highlight-color);
}

.branch-info {
    flex: 2;
    min-width: 300px;
}

.branch-info p {
    margin-bottom: 20px;
    color: var(--secondary-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.branch-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.facilities-list {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.facilities-list li {
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.facilities-list li i {
    color: var(--highlight-color);
}

.branch-contact {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--highlight-color);
    font-size: 1.2rem;
}

.contact-item span {
    color: var(--secondary-text);
}

.branch-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admission-info {
    margin-top: 80px;
}

.admission-content {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px var(--shadow-color);
    margin-top: 30px;
}

.admission-content p {
    margin-bottom: 20px;
    color: var(--secondary-text);
    font-size: 1.1rem;
}

.admission-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--text-color);
}

.process-list, .document-list {
    color: var(--secondary-text);
    margin-left: 20px;
    margin-bottom: 30px;
}

.process-list li, .document-list li {
    margin-bottom: 10px;
}

.admission-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Programs Section */
.programs {
    background-color: var(--secondary-bg);
}

.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.program-card:hover::before {
    opacity: 0.1;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.program-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.program-icon i {
    font-size: 1.8rem;
    color: var(--highlight-color);
}

.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.program-card p {
    color: var(--secondary-text);
    position: relative;
    z-index: 1;
}

/* Programs Page Styles */
.programs-page {
    padding: 60px 0;
}

.programs-navigation {
    margin-bottom: 40px;
}

.program-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.program-nav-list li a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.program-nav-list li a:hover {
    background-color: var(--accent-color);
    color: var(--highlight-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.program-detailed {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.program-detailed-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.program-image {
    flex: 1;
    min-width: 300px;
}

.program-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px var(--shadow-color);
}

.program-image-placeholder i {
    font-size: 5rem;
    color: var(--highlight-color);
}

.program-info {
    flex: 2;
    min-width: 300px;
}

.program-info p {
    margin-bottom: 20px;
    color: var(--secondary-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.program-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--text-color);
}

.program-highlights {
    list-style: none;
    margin-bottom: 30px;
}

.program-highlights li {
    color: var(--secondary-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-highlights li i {
    color: var(--highlight-color);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.subject-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.subject-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.subject-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.subject-icon i {
    font-size: 1.3rem;
    color: var(--highlight-color);
}

.subject-item span {
    color: var(--secondary-text);
}

.program-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.tracks-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.track-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.track-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--highlight-color);
    text-align: center;
}

.track-card ul {
    list-style: none;
    padding: 0;
}

.track-card ul li {
    color: var(--secondary-text);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.track-card ul li:last-child {
    border-bottom: none;
}

.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.course-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.course-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--highlight-color);
}

.course-item p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.course-level {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-style: italic;
}

.language-courses, .test-prep-courses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.language-course, .test-prep-course {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.language-course:hover, .test-prep-course:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.language-course h4, .test-prep-course h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--highlight-color);
    text-align: center;
}

.language-course ul, .test-prep-course ul {
    list-style: none;
    padding: 0;
}

.language-course ul li, .test-prep-course ul li {
    color: var(--secondary-text);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.language-course ul li:last-child, .test-prep-course ul li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-bg);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--accent-color) 0%, transparent 70%);
    opacity: 0.05;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--secondary-text);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--highlight-color);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

/* Contact Section */
.contact {
    background-color: var(--secondary-bg);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--highlight-color);
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item p {
    color: var(--secondary-text);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--highlight-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid var(--form-border);
    background-color: var(--form-bg);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--form-focus);
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact Page Styles */
.contact-page {
    padding: 60px 0;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-option {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--highlight-color);
}

.contact-option h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-option p {
    color: var(--secondary-text);
    margin-bottom: 20px;
}

.contact-details {
    text-align: left;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--highlight-color);
}

.contact-form-section {
    margin-bottom: 60px;
}

.contact-form-container {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px var(--shadow-color);
    margin-top: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.campus-maps {
    margin-bottom: 60px;
}

.maps-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.map-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

.map-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.map-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--accent-color);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--highlight-color);
    margin-bottom: 10px;
}

.map-placeholder p {
    color: var(--text-color);
}

.faq-section {
    margin-bottom: 60px;
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(138, 43, 226, 0.1);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}

.faq-toggle {
    color: var(--highlight-color);
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-answer p {
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: var(--highlight-color);
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--secondary-text);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links-column {
    flex: 1;
    min-width: 150px;
}

.footer-links-column h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--highlight-color);
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: var(--highlight-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Gallery Styles */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-image-placeholder i {
    font-size: 3rem;
    color: var(--highlight-color);
}

.gallery-item:hover img,
.gallery-item:hover .gallery-image-placeholder {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.gallery-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border: 5px solid white;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Gallery Page Styles */
.gallery-page {
    padding: 60px 0;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent-color);
    color: var(--highlight-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Faculty Styles */
.faculty-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.faculty-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.faculty-image {
    height: 250px;
    overflow: hidden;
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.faculty-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faculty-image-placeholder i {
    font-size: 5rem;
    color: var(--highlight-color);
}

.faculty-card:hover .faculty-image img,
.faculty-card:hover .faculty-image-placeholder {
    transform: scale(1.05);
}

.faculty-info {
    padding: 20px;
}

.faculty-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.faculty-position {
    color: var(--highlight-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.faculty-bio {
    color: var(--secondary-text);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.faculty-contact {
    display: flex;
    gap: 15px;
}

.faculty-contact a {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.faculty-contact a:hover {
    color: var(--highlight-color);
    transform: translateY(-3px);
}

/* Faculty Page Styles */
.faculty-page {
    padding: 60px 0;
}

.faculty-intro {
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faculty-intro p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.faculty-section {
    margin-bottom: 60px;
}

.join-faculty {
    margin-top: 80px;
}

.join-faculty-content {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px var(--shadow-color);
    margin-top: 30px;
}

.join-faculty-content p {
    color: var(--secondary-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.join-faculty-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--text-color);
}

.openings-list, .requirements-list {
    color: var(--secondary-text);
    margin-left: 20px;
    margin-bottom: 30px;
}

.openings-list li, .requirements-list li {
    margin-bottom: 10px;
}

.join-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--primary-bg) 150%);
    opacity: 0.8;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px var(--shadow-color);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    max-width: 700px;
    margin: 0 auto;
}

/* About Page Styles */
.about-page {
    padding: 60px 0;
}

.about-section {
    margin-bottom: 60px;
}

.mission-vision {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.mission-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px var(--shadow-color);
    text-align: center;
    max-width: 800px;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.mission-card .icon {
    font-size: 3rem;
    color: var(--highlight-color);
    margin-bottom: 20px;
}

.mission-card p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    line-height: 1.8;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 1.8rem;
    color: var(--highlight-color);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.value-card p {
    color: var(--secondary-text);
}

.approach-content {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px var(--shadow-color);
    margin-top: 30px;
}

.approach-text p {
    margin-bottom: 20px;
    color: var(--secondary-text);
}

.approach-text ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.approach-text ul li {
    margin-bottom: 10px;
    color: var(--secondary-text);
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.achievement-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.achievement-icon i {
    font-size: 1.8rem;
    color: var(--highlight-color);
}

.achievement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.achievement-card p {
    color: var(--secondary-text);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-3d-element {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-3d-element {
        display: none;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .about-content, .contact-container {
        flex-direction: column;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo-container {
        justify-content: space-between;
        width: 100%;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        padding: 10px 0;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 0px 0;
        font-weight: 300px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .branch-card, .testimonial {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
}