/* 1. FONT AND COLOR DEFINITIONS */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@800&family=Rajdhani:wght@500;700&display=swap');

:root {
    --logo-blue: #2350DD;
    --text-dark: #000000;
    --bg-light: #FFFFFF;
    --bg-off-white: #f9f9f9;
    --border-color: #e0e0e0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif; 
}

/* 2. GENERAL & ANIMATION STYLES */
* {
    margin: 0; padding: 0; box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px; margin: 0 auto; padding: 6rem 20px;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3rem);
    margin-bottom: 4rem;
    text-transform: uppercase;
}

/* Scroll Fade-in Animation */
.anim-fade-in {
    opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.anim-fade-in.visible {
    opacity: 1; transform: translateY(0);
}

/* 3. HEADER & NAVIGATION STYLING */
#main-header {
    padding: 1rem 0;
    position: sticky; top: 0; z-index: 1000; width: 100%;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#main-header .container {
    display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
}

.logo img {
    height: 100px; 
    width: auto;
}

nav ul {
    list-style: none; display: flex; gap: 2.5rem;
}

nav a {
    color: var(--text-dark); text-decoration: none; font-weight: 700; font-size: 1.1rem;
    text-transform: uppercase; position: relative; padding-bottom: 5px;
}
nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
    background-color: var(--logo-blue); transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
nav a:hover::after {
    transform: scaleX(1);
}

.cta-button {
    background-color: var(--logo-blue);
    color: var(--bg-light);
    border: 2px solid var(--logo-blue);
    padding: 10px 25px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--logo-blue);
}

/* 4. HERO SECTION */
#hero {
    min-height: 80vh;
    display: flex; align-items: center; text-align: center;
}
.hero-content {
    max-width: 800px; margin: 0 auto;
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 1.1; margin-bottom: 1.5rem; text-transform: uppercase;
}
.hero-content p {
    font-size: 1.25rem; margin-bottom: 2.5rem;
}

/* 5. SERVICES SECTION - CREATIVE LIST STYLE */
#services {
    background-color: var(--bg-off-white);
}
.service-list {
    display: flex; flex-direction: column;
}
.service-item {
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    transition: background-color 0.3s ease;
}
.service-item:first-child {
    border-top: 1px solid var(--border-color);
}
.service-item h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    text-transform: uppercase;
    flex-basis: 40%;
}
.service-item p {
    font-size: 1.1rem;
    flex-basis: 55%;
    color: #555;
}
.service-item:hover {
    background-color: #f0f0f0;
}


/* 6. ABOUT US SECTION */
#about {
    text-align: center;
}
.about-content {
    max-width: 750px;
    margin: 0 auto;
}
.about-content p {
    font-size: 1.15rem;
}

/* 7. KEY FACTS SECTION */
#facts {
    background-color: var(--logo-blue);
    color: var(--bg-light);
}
#facts .section-title {
    color: var(--bg-light);
}
.facts-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem; text-align: center;
}
.fact-item {
    display: flex; flex-direction: column;
}
.fact-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
}
.fact-label {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.5rem;
}


/* 8. CONTACT */
.contact-box {
    border: 1px solid var(--border-color);
    padding: 4rem; text-align: center;
}
.contact-box h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem; margin-bottom: 1rem; text-transform: uppercase;
}
.contact-box p {
    margin-bottom: 2rem; max-width: 500px; margin-inline: auto;
}

/* 9. FOOTER */
footer {
    text-align: center; padding: 2rem 0; margin-top: 2rem; color: #888;
}

/* 10. RESPONSIVE DESIGN FOR MOBILE */
@media (max-width: 768px) {
    #main-header .container {
        padding: 0 15px;
    }
    .logo img { height: 40px; }
    nav { display: none; } /* On mobile, the CTA button is more important */

    .service-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem 1rem;
    }
}

/* 11. UNIVERSITIES PAGE STYLES */

#uni-list-section h1 {
    margin-bottom: 3rem;
}

.city-group {
    margin-bottom: 3rem;
}

.city-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1rem;
}

.uni-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.uni-item:hover {
    background-color: var(--bg-off-white);
    transform: translateX(5px);
}

.uni-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.uni-arrow {
    font-size: 1.5rem;
    color: var(--logo-blue);
    transition: transform 0.3s ease;
}

.uni-item:hover .uni-arrow {
    transform: translateX(10px);
}

/* 8. CONTACT SECTION (REVISED) */
#contact .about-content {
    max-width: 750px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.contact-card {
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-number {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--logo-blue);
    margin-bottom: 1.5rem;
}

.app-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.app-link:hover {
    transform: scale(1.05);
}

.app-link img {
    height: 24px;
}

/* Specific styles for each button */
.app-link.whatsapp {
    background-color: #25D366;
    color: white;
}

.app-link.imo {
    background-color: #f9f9f9;
    color: #333;
    border: 1px solid #ddd;
    cursor: default; /* Indicates it's not a clickable link */
}

.contact-email {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.contact-email:hover {
    color: var(--logo-blue);
}