:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #05386b;
    --background-color: #f5f6fa;
    --card-background: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: context-menu;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 2.5;
    font-family: 'Montserrat', sans-serif;
    text-align: end;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--card-background);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Georgia', sans-serif;
}

.logo-container {
    display: flex;
    align-items: left;
    gap: 1rem;
    margin-right: 2rem;
}

.logo-img {
    width: 600px;
    height: 150px;
    cursor: pointer;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 900;
    transition: color 0.3s ease;
    cursor: pointer;
    font-family: 'Georgia', sans-serif;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 1rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url('main logo back.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(250,250,252,0.747);
    padding: 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 0.2rem;
    font-family: 'Georgia', sans-serif;
}

p1, p2, p3, p4 {
    display: block;
}

p1 {
    font-size: 22px;
    font-weight: 600;
    color: rgb(208, 91, 23);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

p2 {
    font-size: 22px;
    font-weight: 600;
    color: rgb(74,131,236);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

p3 {
    font-size: 2rem;
}

p4 {
    font-size: 26px;
    font-weight: bold;
    color: rgb(178,13,21);
    -webkit-text-stroke: 1px black;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

section {
    padding: 1rem;
    overflow-x: hidden;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: 'Georgia', sans-serif;
}

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

.course-card, .faculty-card, .feature-card, .champion-card {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.course-card:hover, .faculty-card:hover, .feature-card:hover, .champion-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.6);
}

.course-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(197,196,196,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: rgb(8,8,24);
}

.course-overlay h3 {
    font-size: 32px;
    color: rgba(228,63,13,0.8);
    font-weight: bold;
    -webkit-text-stroke: 1px black;
    -webkit-text-fill-color: rgb(178,13,21);
}

.course-overlay p {
    font-size: 21px;
    font-family: 'Redressed', cursive;
    line-height: 1.3;
}

@import url('https://fonts.googleapis.com/css2?family=Redressed&display=swap');

.champions-grid-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.champions-grid-wrapper::-webkit-scrollbar {
    display: none;
}

.champion-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
}

.testimonials, .contact, footer {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px) scale(1.02);
}

.contact-details {
    font-size: 1.5rem;
    line-height: 2;
    font-family: 'Georgia', sans-serif;
}

.contact-details a {
    color: lightblue;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: white;
}

footer {
    padding: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.5); }
    80% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.animate-fade-in { animation: fadeIn 1s ease-out forwards; }
.animate-pop-in { animation: popIn 0.6s cubic-bezier(0.17,0.67,0.83,0.67) forwards; }

@media (max-width: 768px) {
    body { text-align: left; line-height: 1.8; }
    .nav-links { display: none; flex-direction: column; background: var(--card-background); position: absolute; width: 100%; top: 100%; left: 0; }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .courses-grid, .faculty-grid, .features-grid { grid-template-columns: 1fr; }
    .hero { height: 60vh; }
    footer { padding: 1rem; }
}
