/* ============================================
   INSTITUTE OF PHARMACY - COMPLETE STYLESHEET
   Best Pharmacy College in Bihar, Nalanda
   B.Pharma | D.Pharma Courses
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

:root {
    --primary: #1a5f7a;
    --primary-dark: #0d3d4d;
    --primary-light: #2d8bb8;
    --secondary: #c75b39;
    --secondary-light: #e67e5a;
    --accent: #f4a261;
    --gold: #d4a853;
    --green: #2e7d32;
    --green-light: #4caf50;
    --green-dark: #1b5e20;
    --cream: #fdf8f3;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--gray-800); line-height: 1.7; overflow-x: hidden; }
body.hindi { font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.lang-en { display: inline; }
.lang-hi { display: none; }
body.hindi .lang-en { display: none; }
body.hindi .lang-hi { display: inline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--primary-dark); text-align: center; margin-bottom: 1rem; }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background: linear-gradient(90deg, var(--green), var(--gold)); margin: 15px auto 0; border-radius: 2px; }
.section-subtitle { text-align: center; color: var(--gray-600); max-width: 700px; margin: 0 auto 3rem; font-size: 1.1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 32px; border-radius: 50px; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); color: var(--white); box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(46, 125, 50, 0.5); }
.btn-secondary { background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%); color: var(--white); }
.btn-secondary:hover { transform: translateY(-3px); }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: var(--cream); transform: translateY(-3px); }
.btn-outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }

/* Announcement Bar */
.announcement-bar { background: linear-gradient(90deg, #d32f2f 0%, #f44336 100%); color: var(--white); padding: 10px 0; font-size: 0.9rem; overflow: hidden; }
.announcement-content { display: flex; animation: scroll-left 30s linear infinite; white-space: nowrap; }
.announcement-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 60px; font-weight: 500; }
.announcement-item i { animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Top Bar */
.top-bar { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: var(--white); padding: 10px 0; font-size: 0.85rem; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar-left { display: flex; gap: 25px; flex-wrap: wrap; }
.top-bar-left a, .top-bar-left span { color: var(--white); display: flex; align-items: center; gap: 8px; }
.top-bar-left a:hover { color: var(--accent); }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.social-links { display: flex; gap: 10px; }
.social-links a { color: var(--white); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.1); transition: var(--transition); }
.social-links a:hover { background: var(--accent); transform: scale(1.1); }
.lang-toggle { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: var(--white); padding: 6px 15px; border-radius: 25px; cursor: pointer; font-size: 0.85rem; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.lang-toggle:hover { background: rgba(255,255,255,0.25); }

/* Header & Navigation */
.header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; }
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { width: 50px; height: 50px; object-fit: contain; }
.logo-text h1 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--green); line-height: 1.2; white-space: nowrap; }
.logo-text span { font-size: 0.6rem; color: var(--gray-600); display: block; white-space: nowrap; }
.logo-text .location { color: var(--secondary); font-weight: 600; }

/* Main Navigation with Mega Menu */
.main-nav { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 12px 10px; color: var(--gray-700); font-weight: 500; font-size: 0.85rem; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--green); }
.nav-link i.fa-chevron-down { font-size: 0.6rem; transition: var(--transition); }
.nav-item:hover .nav-link i.fa-chevron-down { transform: rotate(180deg); }

/* Dropdown Menu */
.dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-xl); padding: 12px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 1000; border-top: 3px solid var(--green); }
.nav-item:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: var(--gray-700); font-size: 0.9rem; transition: var(--transition); }
.dropdown-menu a:hover { background: var(--gray-50); color: var(--green); padding-left: 25px; }
.dropdown-menu a i { color: var(--green); width: 18px; font-size: 0.85rem; }

/* Nested Dropdown */
.dropdown-menu .has-submenu { position: relative; }
.dropdown-menu .has-submenu > a::after { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.6rem; margin-left: auto; }
.submenu { position: absolute; top: 0; left: 100%; min-width: 220px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-xl); padding: 12px 0; opacity: 0; visibility: hidden; transform: translateX(10px); transition: var(--transition); border-top: 3px solid var(--green); }
.has-submenu:hover > .submenu { opacity: 1; visibility: visible; transform: translateX(0); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-btn { background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%); color: var(--white); padding: 6px 12px; border-radius: 18px; font-weight: 600; font-size: 0.75rem; display: flex; align-items: center; gap: 5px; box-shadow: 0 4px 15px rgba(199, 91, 57, 0.3); transition: var(--transition); white-space: nowrap; }
.header-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(199, 91, 57, 0.4); }
.login-btn { background: linear-gradient(135deg, #2196f3 0%, #42a5f5 100%); padding: 6px 12px; box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3); }
.login-btn:hover { box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4); }
.login-btn .login-text { display: inline; }
.login-btn .login-icon { display: none; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--green); cursor: pointer; }

/* Hero Slider */
.hero-slider { position: relative; height: 80vh; min-height: 550px; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; }
.slide.active { opacity: 1; }
.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.slide-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(13, 61, 77, 0.9) 0%, rgba(46, 125, 50, 0.7) 100%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.slide-text { color: var(--white); max-width: 700px; }
.slide-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); padding: 10px 25px; border-radius: 30px; font-size: 0.9rem; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.2); }
.slide-badge i { color: var(--gold); }
.slide-text h2 { font-family: 'Playfair Display', serif; font-size: 3rem; line-height: 1.15; margin-bottom: 20px; text-shadow: 2px 4px 10px rgba(0,0,0,0.3); }
.slide-text p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 30px; line-height: 1.8; }
.slide-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.slider-nav { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: var(--transition); border: none; }
.slider-dot.active { background: var(--white); width: 35px; border-radius: 10px; }
.slider-arrows { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 20px; z-index: 10; }
.slider-arrow { width: 50px; height: 50px; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); border: none; border-radius: 50%; color: var(--white); font-size: 1.2rem; cursor: pointer; transition: var(--transition); }
.slider-arrow:hover { background: var(--white); color: var(--green); }

/* Stats Bar */
.stats-bar { background: var(--white); margin-top: -50px; position: relative; z-index: 20; border-radius: 20px; box-shadow: var(--shadow-xl); padding: 35px 50px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; padding: 0 15px; border-right: 1px solid var(--gray-200); }
.stat-item:last-child { border-right: none; }
.stat-icon { width: 55px; height: 55px; background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; color: var(--white); font-size: 1.3rem; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--green); line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--gray-600); margin-top: 5px; }

/* Recognition Bar */
.recognition-bar { background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%); padding: 15px 0; margin-top: 30px; overflow: hidden; }
.recognition-content { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }
.recognition-item { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; }
.recognition-item i { color: var(--gold); font-size: 1.2rem; }

/* Page Header */
.page-header { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--green) 100%); padding: 100px 0 60px; text-align: center; color: var(--white); position: relative; }
.page-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin-bottom: 15px; position: relative; }
.page-header p { font-size: 1.1rem; opacity: 0.9; position: relative; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 20px; position: relative; font-size: 0.95rem; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--gold); }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); }
.about-image::before { content: ''; position: absolute; top: -20px; left: -20px; width: 100%; height: 100%; border: 4px solid var(--green); border-radius: 20px; z-index: -1; }
.experience-badge { position: absolute; bottom: 30px; right: -30px; background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%); color: var(--white); padding: 25px 30px; border-radius: 20px; text-align: center; box-shadow: var(--shadow-lg); }
.experience-badge .number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; line-height: 1; }
.experience-badge .text { font-size: 0.85rem; margin-top: 5px; }
.about-content h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--primary-dark); margin-bottom: 20px; line-height: 1.3; }
.about-content h2 span { color: var(--green); }
.about-content p { color: var(--gray-600); margin-bottom: 15px; text-align: justify; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 25px; }
.about-feature { display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: var(--gray-50); border-radius: 10px; transition: var(--transition); font-size: 0.9rem; }
.about-feature:hover { background: var(--green); color: var(--white); }
.about-feature:hover i { color: var(--white); }
.about-feature i { color: var(--green); font-size: 1.1rem; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border-radius: 20px; padding: 35px 25px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent; }
.card:hover { transform: translateY(-8px); border-color: var(--green); box-shadow: var(--shadow-lg); }
.card-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; color: var(--white); font-size: 1.6rem; }
.card h3 { font-size: 1.1rem; color: var(--gray-800); margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--gray-600); }

/* Course Cards */
.course-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-xl); transition: var(--transition); }
.course-card:hover { transform: translateY(-10px); }
.course-header { background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); color: var(--white); padding: 30px; }
.course-header h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 10px; }
.course-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.course-meta span { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; opacity: 0.9; }
.course-body { padding: 30px; }
.course-info { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px; }
.course-info-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--gray-50); border-radius: 8px; }
.course-info-item i { color: var(--green); font-size: 1.1rem; }
.course-info-item span { font-size: 0.9rem; color: var(--gray-700); }
.course-fee-box { background: var(--cream); border-radius: 12px; padding: 20px; margin-bottom: 20px; text-align: center; }
.course-fee-box .label { font-size: 0.85rem; color: var(--gray-600); }
.course-fee-box .amount { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--green); }

/* Fee Table */
.fee-table-wrapper { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.fee-table-header { background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); color: var(--white); padding: 25px; text-align: center; }
.fee-table-header h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--gray-200); }
.fee-table th { background: var(--gray-50); color: var(--gray-700); font-weight: 600; font-size: 0.9rem; }
.fee-table td { color: var(--gray-600); }
.fee-table tr:last-child td { font-weight: 700; color: var(--green); background: var(--gray-50); }
.fee-table tr:hover:not(:last-child) td { background: var(--cream); }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 15px; }
.contact-info > p { color: var(--gray-600); margin-bottom: 30px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-item-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; flex-shrink: 0; }
.contact-item-text h4 { font-size: 0.95rem; color: var(--gray-800); margin-bottom: 5px; }
.contact-item-text p, .contact-item-text a { color: var(--gray-600); font-size: 0.9rem; }
.contact-item-text a:hover { color: var(--green); }
.contact-form-wrapper { background: var(--white); border-radius: 25px; padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form-wrapper h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--primary-dark); margin-bottom: 25px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--gray-700); font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 2px solid var(--gray-200); border-radius: 10px; font-size: 0.95rem; font-family: inherit; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.btn-submit { width: 100%; background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); color: var(--white); padding: 15px; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: 15px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); cursor: pointer; }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: var(--white); font-size: 1rem; }

/* CTA Section */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); text-align: center; color: var(--white); }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 15px; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--gray-900); color: var(--gray-300); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo img { width: 55px; height: 55px; object-fit: contain; }
.footer-logo h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); }
.footer-about p { margin-bottom: 20px; line-height: 1.8; font-size: 0.9rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); }
.footer-social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-links h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 25px; position: relative; }
.footer-links h4::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 40px; height: 3px; background: var(--green); }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: var(--gray-400); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--green); }
.footer-links a i { font-size: 0.75rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-bottom p { font-size: 0.85rem; }

/* Floating Elements */
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.8rem; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); z-index: 998; transition: var(--transition); animation: pulse 2s infinite; }
.whatsapp-btn:hover { transform: scale(1.1); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } }
.scroll-top { position: fixed; bottom: 100px; right: 30px; width: 45px; height: 45px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 998; border: none; }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-5px); }

/* Side Notice */
.side-notice { position: fixed; top: 50%; right: 0; transform: translateY(-50%); z-index: 997; display: flex; flex-direction: column; gap: 10px; }
.side-notice-btn { background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%); color: var(--white); padding: 12px 15px; border-radius: 10px 0 0 10px; font-size: 0.8rem; font-weight: 600; cursor: pointer; border: none; display: flex; align-items: center; gap: 6px; box-shadow: var(--shadow); transition: var(--transition); writing-mode: vertical-rl; text-orientation: mixed; }
.side-notice-btn:hover { padding-right: 20px; }
.side-notice-btn.admission { background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%); animation: pulse-btn 2s infinite; }
@keyframes pulse-btn { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* Sidebar for Inner Pages */
.page-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 60px 0; }
.sidebar { background: var(--white); border-radius: 20px; padding: 25px; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 100px; }
.sidebar h3 { font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid var(--green); }
.sidebar-menu { list-style: none; }
.sidebar-menu li { margin-bottom: 5px; }
.sidebar-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 15px; color: var(--gray-700); border-radius: 8px; transition: var(--transition); font-size: 0.9rem; }
.sidebar-menu a:hover, .sidebar-menu a.active { background: var(--green); color: var(--white); }
.sidebar-menu a i { width: 18px; }
.main-content h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--primary-dark); margin-bottom: 20px; }
.main-content p { color: var(--gray-600); margin-bottom: 15px; text-align: justify; line-height: 1.8; }
.content-image { width: 100%; border-radius: 15px; margin: 20px 0; box-shadow: var(--shadow); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-slider { height: 70vh; }
    .slide-text h2 { font-size: 2.5rem; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); margin-top: -40px; padding: 25px; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--gray-200); padding-bottom: 20px; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-image { order: 2; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid.three { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .page-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .side-notice { display: none; }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: var(--shadow-lg); max-height: 80vh; overflow-y: auto; }
    .main-nav.active { display: flex; }
    .nav-item { width: 100%; }
    .nav-link { justify-content: space-between; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; border-left: 3px solid var(--green); margin-left: 15px; display: none; }
    .nav-item.open > .dropdown-menu { display: block; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; margin-left: 15px; display: none; }
    .has-submenu.open > .submenu { display: block; }
    .header-cta .header-btn { display: flex; padding: 8px 12px; font-size: 0.75rem; }
    .header-cta .header-btn span { display: none; }
    .login-btn .login-text { display: none !important; }
    .login-btn .login-icon { display: inline !important; }
    .mobile-menu-btn { display: block; }
    .hero-slider { height: 60vh; min-height: 450px; }
    .slide-text h2 { font-size: 1.8rem; }
    .slide-text p { font-size: 0.95rem; }
    .section-title { font-size: 1.8rem; }
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 20px; }
    .stat-number { font-size: 2rem; }
    .cards-grid, .cards-grid.three, .cards-grid.two, .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-column: span 1; grid-row: span 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
    .page-header h1 { font-size: 2rem; }
}
