/* ========================================
   ROOT VARIABLES & GLOBAL STYLES
   ======================================== */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

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

/* ========================================
   NAVBAR STYLES
   ======================================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3c72 100%);
    box-shadow: var(--shadow-lg);
    position: fixed;
    width: calc(100% - 40px);
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    padding: 0.5rem 0;
    border-radius: 40px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.35) 0%, rgba(30, 60, 114, 0.35) 100%);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.logo-section {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
}

.navbar-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-logo i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.navbar-logo span {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    margin-top: 120px;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3c72 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 40px;
}

.hero-content {
    flex: 1;
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: slideInRight 0.8s ease-out;
}

.hero-image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 8px 32px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 8px 32px rgba(52, 152, 219, 0.2);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 80px 20px;
    background: 
        linear-gradient(90deg, rgba(100, 150, 200, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(100, 150, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: var(--light-bg);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

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

.about-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(15px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 245, 255, 0.9) 100%);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   ACADEMIC POLICIES SECTION
   ======================================== */
.academic-policies {
    padding: 80px 20px;
    background: 
        linear-gradient(90deg, rgba(100, 150, 200, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(100, 150, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: white;
    position: relative;
}

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

.policy-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 245, 255, 0.9) 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.policy-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.policy-header h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.policy-header i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.policy-card p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   ADMISSION SECTION
   ======================================== */
.admission {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.admission .section-title {
    color: white;
}

.admission .section-title::after {
    background: linear-gradient(90deg, var(--accent-color), white);
}

.admission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.admission-info h3,
.admission-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.requirements-list {
    list-style: none;
}

.requirements-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.8;
}

.requirements-list li strong {
    color: var(--accent-color);
}

.admission-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(44, 90, 160, 0.2);
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    padding: 80px 20px;
    background: 
        linear-gradient(90deg, rgba(100, 150, 200, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(100, 150, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: var(--light-bg);
    position: relative;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin: 0;
}

/* ========================================
   STATISTICS SECTION
   ======================================== */
.statistics {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3c72 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 80px 20px;
    background: 
        linear-gradient(90deg, rgba(100, 150, 200, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(100, 150, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: white;
    position: relative;
}

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

.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 245, 255, 0.9) 100%);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   POLICIES DETAIL SECTION
   ======================================== */
.policies-detail {
    padding: 80px 20px;
    background: 
        linear-gradient(90deg, rgba(100, 150, 200, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(100, 150, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: var(--light-bg);
    position: relative;
}

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

.policy-detail-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 245, 255, 0.9) 100%);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(52, 152, 219, 0.3);
    transition: var(--transition);
}

.policy-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.policy-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.policy-detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.policy-intro {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.policy-content ul {
    list-style: none;
    padding: 0;
}

.policy-content li {
    padding: 8px 0;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    padding-left: 20px;
    position: relative;
}

.policy-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ========================================
   ADDITIONAL INFO SECTION
   ======================================== */
.additional-info {
    padding: 80px 20px;
    background: white;
}

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

.info-card {
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(230, 245, 255, 0.1) 100%);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

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

.info-card p {
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ========================================
   ADMISSION DETAIL & TIMELINE
   ======================================== */
.admission-detail {
    padding: 80px 20px;
    background: 
        linear-gradient(90deg, rgba(100, 150, 200, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(100, 150, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: white;
    position: relative;
}

.admission-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(230, 245, 255, 0.9) 100%);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(52, 152, 219, 0.3);
    position: relative;
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2);
}

.timeline-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-top: 10px;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    padding-left: 15px;
    position: relative;
}

.timeline-content li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* ========================================
   PROGRAMS SECTION
   ======================================== */
.programs-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

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

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.program-duration {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.program-details {
    text-align: left;
    margin-bottom: 20px;
}

.program-details p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.program-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.program-details li {
    color: var(--text-dark);
    padding: 6px 0;
    padding-left: 15px;
    position: relative;
}

.program-details li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* ========================================
   APPLICATION FORM SECTION
   ======================================== */
.application-form-section {
    padding: 80px 20px;
    background: white;
}

.form-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(230, 245, 255, 0.95) 100%);
    padding: 50px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(52, 152, 219, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 10px rgba(44, 90, 160, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-checkbox label {
    cursor: pointer;
    margin: 0;
}

/* ========================================
   FULL GALLERY SECTION
   ======================================== */
.gallery-full {
    padding: 80px 20px;
    background: 
        linear-gradient(90deg, rgba(100, 150, 200, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(100, 150, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: var(--light-bg);
    position: relative;
}

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

.gallery-item-full {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 300px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item-full:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.gallery-image-full {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.gallery-item-full:hover .gallery-image-full {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.gallery-overlay-full {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 25px;
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item-full:hover .gallery-overlay-full {
    transform: translateY(0);
}

.gallery-overlay-full h4 {
    font-size: 1.3rem;
    margin: 0;
}

/* ========================================
   GALLERY STATS SECTION
   ======================================== */
.gallery-stats {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3c72 100%);
    color: white;
}

/* ========================================
   CTA SECTION
   ======================================== */
/* ========================================
   BLOG STYLES
   ======================================== */

/* Featured Posts */
.featured-posts {
    padding: 80px 20px;
    background: white;
}

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

.featured-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.featured-post-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.featured-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-post-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--secondary-color), #e74c3c);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-content {
    padding: 20px;
}

.post-meta-small {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.post-category-small {
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
}

.post-date-small {
    color: var(--text-light);
}

.featured-content h3 {
    margin-bottom: 10px;
}

.featured-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.featured-content h3 a:hover {
    color: var(--secondary-color);
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
}

/* Blog Main Layout */
.blog-section {
    padding: 80px 20px;
    background: 
        linear-gradient(90deg, rgba(100, 150, 200, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(100, 150, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-color: var(--light-bg);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.blog-main {
    min-width: 0;
}

.blog-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-input,
.category-select {
    padding: 12px 15px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-input {
    flex: 1;
    min-width: 200px;
}

.search-input:focus,
.category-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(44, 90, 160, 0.1);
}

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

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.post-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-card-image img {
    transform: scale(1.1);
}

.post-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.post-card-content {
    padding: 20px;
}

.post-meta-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.post-author-small {
    font-weight: 600;
}

.post-card h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.post-card h2 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.post-card h2 a:hover {
    color: var(--secondary-color);
}

.post-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: var(--primary-color);
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.page-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
    background: var(--secondary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: var(--primary-color);
    font-weight: 600;
}

/* Sidebar */
.blog-sidebar {
    min-width: 0;
}

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    padding-bottom: 15px;
}

.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.recent-post-title {
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 5px;
}

.recent-post-title:hover {
    color: var(--secondary-color);
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-item a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: var(--transition);
}

.category-item a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.category-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3c72 100%);
    color: white;
}

.newsletter-widget h3 {
    color: white;
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
}

/* ========================================
   BLOG DETAIL STYLES
   ======================================== */

.blog-post-detail {
    padding: 60px 20px;
    min-height: 100vh;
    background: white;
}

.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post-main {
    min-width: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 600;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.post-header {
    margin-bottom: 40px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.post-category {
    background: var(--secondary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.post-date {
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.post-excerpt {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.post-author {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(52, 152, 219, 0.1);
}

.author-avatar {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.author-name {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.author-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 5px 0 0 0;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-share {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 40px;
}

.post-share h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.email {
    background: var(--primary-color);
}

.share-btn:hover {
    transform: scale(1.1);
}

/* Related Posts */
.related-posts {
    margin-bottom: 40px;
}

.related-posts h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.related-post-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-post-image {
    height: 150px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-info {
    padding: 15px;
}

.related-post-category {
    display: inline-block;
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.related-post-info h4 {
    margin: 8px 0;
}

.related-post-info h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-post-info h4 a:hover {
    color: var(--secondary-color);
}

.related-post-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.related-post-info .read-more {
    font-size: 0.9rem;
}

/* Blog Post Sidebar */
.blog-post-sidebar {
    min-width: 0;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-list-item {
    border-bottom: 1px solid rgba(52, 152, 219, 0.1);
    padding-bottom: 12px;
}

.post-list-item:last-child {
    border-bottom: none;
}

.post-list-title {
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 5px;
    transition: var(--transition);
}

.post-list-title:hover {
    color: var(--secondary-color);
}

.post-list-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Comments Section */
.comments-section {
    padding: 60px 20px;
    background: var(--light-bg);
    border-top: 1px solid rgba(52, 152, 219, 0.1);
}

.comments-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.comments-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.comments-note {
    color: var(--text-light);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.cta-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c0392b 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-bg);
    color: #ecf0f1;
    padding: 50px 20px 20px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

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

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        color: var(--accent-color);
    }

    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 40px 20px;
        text-align: center;
        margin-top: 120px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        justify-content: center;
    }

    .hero-image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .admission-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .navbar-container {
        padding: 0 15px;
        height: 60px;
    }

    .navbar-logo {
        font-size: 1.2rem;
        gap: 5px;
    }

    .navbar-logo i {
        font-size: 1.5rem;
    }

    .hero {
        margin-top: 120px;
        padding: 30px 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-image-placeholder {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .policies-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .policy-card {
        padding: 15px;
    }

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

    .gallery-item {
        height: 200px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

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

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Responsive Policies Detail */
    .policies-detailed-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .policy-detail-card {
        padding: 15px;
    }

    /* Responsive Timeline */
    .admission-timeline {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Responsive Programs */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Responsive Form */
    .form-container {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Responsive Gallery Full */
    .gallery-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-item-full {
        height: 200px;
    }

    .gallery-image-full {
        font-size: 3rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Responsive Blog Styles */
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .blog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-controls {
        flex-direction: column;
    }

    .search-input,
    .category-select {
        width: 100%;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-post-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .post-title {
        font-size: 1.8rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: -1;
    }

    .sidebar-widget {
        padding: 15px;
    }
}

/* Extra Small (320px and below) */
@media (max-width: 320px) {
    body {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .about-card {
        padding: 15px;
    }

    .card-icon {
        font-size: 2rem;
    }
}
