/* Reset & Base Styles */
:root {
    --primary-color: #003366;
    /* Academic Blue */
    --accent-color: #D4AF37;
    /* Metallic Gold */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --bg-light: #ffffff;
    --bg-off-white: #f8f9fa;
    --bg-dark: #0a192f;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #b8962e;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -4px;
    left: 0;
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(10, 25, 47, 0.85)), url('https://mkjc.in/images/mkjc_arial.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.about-card {
    background: var(--bg-off-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-off-white);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    width: 100%;
    max-width: 800px;
}

.info-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-item p {
    color: #555;
}

.info-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.info-item a:hover {
    color: var(--accent-color);
}

/* Payment & Privacy Policy Sections */
.payment-section,
.privacy-section {
    background-color: var(--bg-light);
    border-top: 1px solid #eee;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    box-shadow: var(--card-shadow);
    border-radius: 8px;
}

.policy-content p {
    margin-bottom: 20px;
    color: #444;
}

.policy-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.policy-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.policy-list li {
    margin-bottom: 15px;
    color: #444;
}

.policy-list li strong {
    color: var(--primary-color);
}

.note {
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.95;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .header-container {
        padding: 0 10px;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none;
        flex-direction: column;
        align-items: center;
    }

    .nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}