/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* ===== Color Variables ===== */
:root {
    --navy: #2c3e50;
    --maroon: #9d193d;
    --gold: #f2b705;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    background: var(--navy);
    color: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--gold);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo {
    width: clamp(60px, 10vw, 100px);
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.institution-name {
    font-size: clamp(1.2rem, 3vw, 2rem);
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== Navigation ===== */
.nav {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.nav-links li a {
    display: block;
    color: var(--white);
    padding: 15px 25px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--gold);
    color: var(--gold);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(44, 62, 80, 0.6), rgba(44, 62, 80, 0.6)), 
                url('./Hero.png') center/cover;
    color: var(--white);
    text-align: center;
}

.hero-short {
    height: 400px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: #d9a004;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-outline {
    background: transparent;
    color: var(--maroon);
    border: 2px solid var(--maroon);
}

.btn-outline:hover {
    background: var(--maroon);
    color: var(--white);
}

.btn-banner {
    background: var(--white);
    color: var(--maroon);
}

.btn-banner:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ===== Admission Banner ===== */
.admission-banner {
    background: var(--maroon);
    color: var(--white);
    padding: 40px 20px;
    margin: 40px 0;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-text h2 {
    margin: 0 0 10px 0;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.banner-text p {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

/* ===== Content Sections ===== */
.content-section {
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    color: var(--maroon);
    margin-bottom: 40px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
    max-width: 900px;
    margin: 0 auto 30px;
}

.mt-large {
    margin-top: 60px;
}

/* ===== Features Grid ===== */
.features {
    padding: 60px 20px;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--gray-medium);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--gold);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.feature-card h3 {
    color: var(--maroon);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-dark);
    margin: 0;
}

/* ===== Courses ===== */
.courses-preview {
    padding: 60px 20px;
    background: var(--gray-light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: var(--navy);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.course-card h3 {
    color: var(--gold);
    margin-bottom: 15px;
}

.course-duration {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.course-desc {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== Course Detail Cards ===== */
.course-detail-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border-left: 5px solid var(--maroon);
}

.course-title {
    color: var(--maroon);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
}

.course-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.info-badge {
    background: var(--gold);
    color: var(--navy);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.course-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--gray-dark);
}

.course-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.detail-section h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.detail-section ul {
    list-style: none;
}

.detail-section li {
    padding: 8px 0;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-medium);
}

.detail-section li:last-child {
    border-bottom: none;
}

/* ===== Values & Facilities Grid ===== */
.values-grid,
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card,
.facility-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--gold);
}

.value-card:hover,
.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.value-card h3,
.facility-card h3 {
    color: var(--maroon);
    margin-bottom: 15px;
}

.facility-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.value-card p,
.facility-card p {
    color: var(--gray-dark);
    margin: 0;
}

/* ===== Feature List ===== */
.feature-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.feature-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    color: var(--gray-dark);
}

/* ===== Admission Content ===== */
.admission-alert {
    background: linear-gradient(135deg, var(--maroon), #c41e3a);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admission-alert h2 {
    margin-bottom: 10px;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.admission-alert p {
    margin: 0;
    font-size: 1.2rem;
}

.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.eligibility-card {
    background: var(--navy);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.eligibility-card h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.eligibility-card ul {
    list-style: none;
}

.eligibility-card li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.eligibility-card li:last-child {
    border-bottom: none;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: var(--maroon);
    margin-bottom: 15px;
}

.process-step p {
    color: var(--gray-dark);
    margin: 0;
}

.document-list {
    list-style: none;
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.document-list li {
    padding: 15px;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--gray-dark);
}

.help-section {
    background: linear-gradient(135deg, var(--navy), #34495e);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

.help-section h2 {
    color: var(--gold);
    margin-bottom: 20px;
}

.help-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.help-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Gallery ===== */
.upload-section {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.upload-note {
    text-align: center;
    color: var(--maroon);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.google-form-container {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-form-container iframe {
    border: none;
    width: 100%;
    min-height: 800px;
}

.form-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: var(--gray-light);
    border: 2px dashed var(--gray-dark);
    border-radius: 10px;
    width: 100%;
}

.form-placeholder p {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.placeholder-instruction {
    font-size: 1rem;
    color: var(--maroon);
    font-weight: 600;
}

.gallery-display {
    margin-top: 60px;
}

.gallery-category {
    margin-bottom: 60px;
}

.category-title {
    color: var(--maroon);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--gold);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 250px;
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-medium);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--maroon);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--gray-dark);
    margin: 0;
    line-height: 1.8;
}

.contact-form-section {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-logo {
    width: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-section p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li a {
        padding: 15px 20px;
        border-bottom: none;
    }

    .hero {
        height: 500px;
    }

    .hero-short {
        height: 300px;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .logo-section {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .courses-grid {
        grid-template-columns: 1fr;
    }
}