* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}
:root {
    --bg-color: #f4f8fa;
    --text-color: #1a2a3a;
    --surface-color: #ffffff;
    --alt-surface: #eef5f9;
    --primary: #0288d1;
    --primary-hover: #01579b;
    --primary-light: #e1f5fe;
    --accent: #03a9f4;
    --border-color: #cfd8dc;
    --ticker-bg: #e1f5fe;
    --ticker-text: #0288d1;
    --panel-bg: #ffffff;
    --panel-text: #0288d1;
    --shadow: rgba(2, 136, 209, 0.05);
    --card-shadow: rgba(0, 0, 0, 0.02);
}
.dark-mode {
    --bg-color: #111b27;
    --text-color: #ffffff;
    --surface-color: rgba(255, 255, 255, 0.07);
    --alt-surface: rgba(255, 255, 255, 0.03);
    --primary: #ffcc00;
    --primary-hover: #ffd700;
    --primary-light: #2a5298;
    --accent: #ffcc00;
    --border-color: rgba(255, 255, 255, 0.1);
    --ticker-bg: #0d161f;
    --ticker-text: #ffcc00;
    --panel-bg: #2a5298;
    --panel-text: #ffcc00;
    --shadow: rgba(0, 0, 0, 0.3);
    --card-shadow: rgba(0, 0, 0, 0.1);
}
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: var(--surface-color);
    box-shadow: 0 4px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
    opacity: 0.9;
}
.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}
.btn-buynow {
    background-color: var(--accent);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
}
.btn-buynow:hover {
    background-color: var(--primary-hover) !important;
    transform: scale(1.05);
}
.theme-btn {
    background: var(--ticker-bg);
    color: var(--ticker-text);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
    transition: background 0.3s, color 0.3s;
}
.menu-btn {
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    margin-left: 15px;
    font-weight: bold;
}
.side-panel {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: var(--panel-bg);
    padding-top: 60px;
    transition: 0.3s ease-in-out;
    z-index: 1001;
    box-shadow: -5px 0 15px var(--shadow);
}
.side-panel a {
    display: block;
    padding: 15px 20px;
    color: var(--panel-text);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease, color 0.3s;
}
.side-panel a:hover {
    background: var(--primary);
    color: #ffffff;
}
#newsBar {
    background: var(--ticker-bg);
    color: var(--ticker-text);
    margin: 20px 10% 0 10%;
    border-radius: 12px;
    overflow: hidden; 
    box-shadow: 0 2px 8px var(--shadow);
    padding: 12px 20px;
    display: flex;
    transition: background 0.3s, color 0.3s;
}
.scroll-text {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 25s linear infinite;
}
@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 10%;
    background: linear-gradient(135deg, var(--ticker-bg) 0%, var(--surface-color) 100%);
    min-height: 70vh;
    transition: background 0.3s;
}
.hero-text {
    max-width: 55%;
}
.hero-text h1 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-text p {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}
.hero-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(2, 136, 209, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.hero-btn:hover {
    transform: translateY(-3px);
    background-color: var(--primary-hover);
}
.hero-image-container {
    max-width: 40%;
    position: relative;
}
.hero-image {
    width: 100%;
    max-width: 420px;
    border-radius: 30px;
    box-shadow: 0 20px 40px var(--shadow);
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
.content-section {
    padding: 60px 10%;
    background-color: var(--surface-color);
    margin-bottom: 20px;
    transition: background-color 0.3s;
    word-wrap: break-word;
}
.content-section:nth-of-type(even) {
    background-color: var(--alt-surface);
}
.content-section h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.content-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}
.content-section p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}
.curriculum-title {
    font-size: 22px;
    color: var(--primary);
    margin: 30px 0 15px 0;
    font-weight: 700;
}
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 30px;
}
.course-card {
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px var(--shadow);
    border-color: var(--accent);
}
.course-icon {
    font-size: 24px;
    background: var(--ticker-bg);
    padding: 10px;
    border-radius: 12px;
    color: var(--ticker-text);
    transition: background 0.3s, color 0.3s;
}
.course-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}
#istClock {
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0;
    color: var(--primary);
}
footer {
    background-color: #0d161f;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    line-height: 1.6;
}
footer p {
    font-size: 14px;
}
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
    .hero-text {
        max-width: 100%;
        margin-bottom: 40px;
    }
    .hero-image-container {
        max-width: 70%;
        margin: 0 auto;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none !important; 
    }
    .navbar {
        padding: 15px 5%;
    }
    .content-section {
        padding: 40px 5%;
    }
    .hero-text h1 {
        font-size: 30px;
        line-height: 1.3;
    }
    .hero-text p {
        font-size: 15px;
    }
    #newsBar {
        margin: 15px 5% 0 5%;
    }
}
