/* =======================
    Variables (Optimized)
======================= */
:root {
  --blue: #0A2A43;
  --yellow: #FEE440;
  --bg: #ffffff;
  --muted: #6b7280;
  --card: #ffffff;
  --shadow: 0 8px 24px rgba(10,42,67,.12);
  --radius: 18px;
  --max: 1200px;
  --font: 'Poppins', sans-serif;

  /* Legacy variables */
  --primary-color: #222;
  --secondary-color: #555;
  --muted-color: #888;
  --bg-color: #fff;
  --card-bg: #f9f9f9;
  --accent-color: #ff6b6b;
  --border-radius: 14px;
  --shadow-hover: 0 8px 20px rgba(0,0,0,0.12);
  --transition-speed: 0.25s;
}

/* =======================
    Reset / Base
======================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--bg); color: #0b1a2a; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* =========================================
    NAVIGATION (Sticky & Blur)
========================================= */

* =========================================
    NAVIGATION (Premium Sticky & Glass)
========================================= */
#scroll-progress {position: fixed; top: 0; left: 0; width: 0%; height: 4px; 
  background: var(--yellow); z-index: 2100; transition: width 0.1s linear;}

.nav { 
  position: sticky; top: 0; z-index: 2000; 
  background: rgba(10, 42, 67, 0.95); backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.1); 
}

.nav-wrap { max-width: var(--max); margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; position: relative; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; z-index: 2101; }
.logo-box { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #ffffff; border-radius: 12px; overflow: hidden; }
.logo-box img { width: 100%; height: 100%; object-fit: contain; display: block; }

.menu { display: flex; gap: 15px; align-items: center; }

/* Premium Underline Animation */
.nav-link {color: #fff; padding: 8px 12px; border-radius: 8px; font-weight: 500; position: relative; transition: color 0.3s ease, background 0.3s ease;}

.nav-link::after {content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%;background-color: var(--yellow); transition: all 0.3s ease; transform: translateX(-50%);}

.nav-link:hover, .nav-link.active {color: var(--yellow); background: rgba(255,255,255,0.1);}

.nav-link:hover::after, .nav-link.active::after { width: 70%; }

/* Mobile Only link inside menu (Hidden by default) */

.mobile-admission { display: none; }

.burger { display: none; color: #fff; font-size: 28px; cursor: pointer; z-index: 2101; transition: 0.3s; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.cta-nav {
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #fff !important;
  border-radius: 60px;
  padding: 10px 15px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.cta-nav:hover { background: linear-gradient(135deg, #fb8500, #ffb703); transform: translateY(-4px); box-shadow: 0 6px 15px rgba(0,0,0,0.3); }
.cta-nav.admission { background: #28A745; }

/* =========================================
    HERO SECTION
========================================= */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; background: #000; }
.hero::before { content: ""; position: absolute; inset: 0; background: url('assets/gallary/13.jpg') center/cover no-repeat; opacity: 0.5; }
.hero-content { position: relative; z-index: 2; padding: 20px; max-width: 800px; }
.hero-content h1 { font-size: clamp(28px, 6vw, 56px); line-height: 1.2; margin-bottom: 15px; }

/* =======================
    Sections / Layout
======================= */
.section { max-width: var(--max); margin: auto; padding: 60px 20px; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.head h2 { font-size: clamp(22px, 3vw, 34px); margin: 0; }
.muted { color: var(--muted); }

/* =======================
    Grids & Cards
======================= */
.facilities-grid, .pricing, .booking, .testis, .mv-grid, .events-grid, .blogs, .notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}
.grid.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2rem; }

/* Facility */
.facility { background: var(--card); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 15px; align-items: flex-start; transition: transform 0.3s, box-shadow 0.3s, background 0.3s; }
.grid.values .facility { background: #f9fafb; border-radius: 14px; padding: 1.5rem; }
.facility:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(10,42,67,.2); background: #eef2ff; }
.facility i { font-size: 2rem; color: #10b981; flex-shrink: 0; }
.facility h3 { margin-bottom: 5px; font-size: 1.2rem; }
.facility p { font-size: 0.95rem; color: var(--muted); }

/* Mission/Vision */
.mv-card { background: #fff; border-radius: 16px; padding: 2rem; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.mv-card i { font-size: 2.5rem; color: #3b82f6; margin-bottom: 1rem; }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

/* Pricing */
.plan { background: var(--card); padding: 25px 20px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.3s, box-shadow 0.3s; }
.plan.highlight { border: 2px solid var(--yellow); background: #fff9e6; }
.plan .price { font-size: 2rem; margin-bottom: 15px; }
.plan .features { list-style: none; margin-bottom: 20px; }
.plan .features li { margin-bottom: 8px; font-size: 0.95rem; }
.plan .features i { color: green; margin-right: 8px; }
.plan .btn { text-align: center; padding: 10px 20px; background: var(--blue); color: white; border-radius: var(--radius); font-weight: 600; }
.plan .btn:hover { background: green; }

/* Booking & General Cards */
.card { background: var(--card); padding: 25px; border-radius: var(--radius); box-shadow: var(--shadow); }
.payment-card .qr-code img { width: 50%; border-radius: var(--radius); margin-top: 15px; }

/* Forms Base */
.form .input { margin-bottom: 15px; display: flex; flex-direction: column; }
.form .input label { margin-bottom: 5px; font-weight: 600; }
.form .input input, .form .input select, .form .input textarea { padding: 10px; border: 1px solid #ddd; border-radius: var(--radius); font-size: 1rem; }
.form .submit { width: 100%; padding: 12px; background: var(--yellow); color: var(--blue); border-radius: var(--radius); font-weight: 600; cursor: pointer; border: none; margin-top: 10px; }

/* Testimonials, Events, Blogs */
.testi { background: var(--card); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.testi .who { display: flex; align-items: center; margin-bottom: 10px; }
.testi .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 700; margin-right: 10px; }

.event, .notice-card, .blog-card { background: linear-gradient(145deg, #ffffff, #f1f1f1); border-radius: var(--border-radius); padding: 25px; box-shadow: var(--shadow); transition: all var(--transition-speed) ease; position: relative; overflow: hidden; }
.event:hover, .notice-card:hover, .blog-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-hover); }
.event::before, .notice-card::before, .blog-card::before { content: ''; position: absolute; top: 0; left: 0; width: 50px; height: 5px; background: var(--accent-color); }

/* =======================
    CTA Box & Stats
======================= */
.cta-box { background: var(--blue); text-align: center; color: #fff; border-radius: var(--radius); padding: 50px 30px; margin-top: 40px; }
.cta-box h2 { margin-bottom: 12px; font-size: clamp(24px, 4vw, 32px); }
.cta-box .btn { background: linear-gradient(135deg, #ffb703, #fb8500); color: #fff; border-radius: 60px; padding: 14px 28px; font-size: 1.1rem; font-weight: 700; display: inline-block; margin-top: 18px; transition: all 0.3s ease; }
.cta-box .btn:hover { background: linear-gradient(135deg, #fb8500, #ffb703); transform: translateY(-4px); box-shadow: 0 6px 15px rgba(0,0,0,0.3); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 25px; margin-top: 30px; text-align: center; }
.stat { background: linear-gradient(135deg, #0077ff, #00c6ff); color: #fff; border-radius: 16px; padding: 30px 20px; box-shadow: 0 6px 18px rgba(0,0,0,0.1); transition: transform 0.25s ease; }
.stat:hover { transform: translateY(-6px); }
.stat strong { display: block; font-size: 1.6rem; margin-bottom: 4px; }

/* =======================
    Floating Buttons
======================= */
.floating-btn { position: fixed; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); cursor: pointer; transition: all 0.3s ease; animation: float 3s ease-in-out infinite; z-index: 1000; }
.whatsapp-btn { bottom: 110px; right: 25px; background: linear-gradient(135deg,#25D366,#128C7E); }
.whatsapp-btn img { width: 34px; height: 34px; }
.scroll-btn { bottom: 35px; right: 25px; background: linear-gradient(135deg,#007BFF,#0056b3); color: #fff; border: none; display: none; }
.floating-btn::after { content: attr(data-tooltip); position: absolute; right: 75px; padding: 6px 12px 6px 32px; border-radius: 12px; font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(15px); transition: opacity 0.3s ease, transform 0.3s ease; background: rgba(0,0,0,0.45); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); color: #fff; background-repeat: no-repeat; background-position: 10px center; background-size: 16px 16px; }
.floating-btn:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.whatsapp-btn::after { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 24 24"><path d="M20.52 3.48A11.88 11.88 0 0012.01 0C5.38 0 0 5.38 0 12.01c0 2.12.55 4.19 1.59 6.02L0 24l6.14-1.6a11.9 11.9 0 005.87 1.5h.01c6.63 0 12.01-5.38 12.01-12.01 0-3.2-1.25-6.21-3.51-8.41zM12 21.54c-1.86 0-3.68-.5-5.27-1.45l-.38-.23-3.64.95.97-3.55-.25-.37a9.5 9.5 0 01-1.48-5.17c0-5.26 4.28-9.54 9.54-9.54 2.55 0 4.95.99 6.76 2.8a9.5 9.5 0 012.79 6.75c0 5.26-4.28 9.54-9.54 9.54zm5.27-7.07c-.29-.14-1.71-.84-1.97-.94-.26-.1-.45-.14-.64.14-.19.29-.74.94-.91 1.13-.17.19-.34.22-.63.07-.29-.14-1.21-.45-2.31-1.44-.85-.76-1.42-1.7-1.59-1.99-.17-.29-.02-.45.13-.59.13-.13.29-.34.43-.51.14-.17.19-.34.29-.48.1-.19.05-.36-.02-.5-.07-.14-.64-1.54-.88-2.11-.23-.56-.47-.49-.64-.5h-.55c-.19 0-.5.07-.76.36-.26.29-1 1-1 2.44s1.02 2.83 1.16 3.02c.14.19 2 3.06 4.85 4.29.68.29 1.21.46 1.62.59.68.22 1.3.19 1.79.12.55-.08 1.71-.7 1.95-1.38.24-.68.24-1.26.17-1.38-.07-.12-.26-.19-.55-.33z"/></svg>'); }
.floating-btn.show-tooltip::after { opacity: 1 !important; transform: translateY(-50%) translateX(0) !important; }


.profile-wrap { padding: 60px 20px; border-radius: var(--radius); margin-bottom: 40px; }
.profile-wrap.founder { background: linear-gradient(135deg, #f0f7ff, #ffffff); }
.profile-wrap.md { background: linear-gradient(135deg, #fffdf5, #ffffff); }
.profile-row { display: flex; align-items: center; gap: 40px; }
.profile-row.reverse { flex-direction: row-reverse; }
.profile-card { background: linear-gradient(135deg, #f9fbff, #ffffff); padding: 20px; border-radius: var(--radius); box-shadow: 0 12px 28px rgba(0,0,0,0.12); width: 320px; flex-shrink: 0; text-align: center; }
.profile-card img { width: 100%; height: 320px; object-fit: cover; border-radius: 12px; border: 4px solid var(--yellow); }
.profile-copy { flex: 1; }
.profile-copy p { border-left: 3px solid var(--blue); padding-left: 12px; font-style: italic; }

/* =======================
    FAQ & MODALS
======================= */
.faqs { max-width: 800px; margin: 30px auto 0; }
.faq-item { background: var(--card-bg); padding: 15px 20px; border-radius: 10px; margin-bottom: 12px; cursor: pointer; }
.faq-item.active p { max-height: 300px; opacity: 1; margin-top: 10px; }
.faq-item p { max-height: 0; opacity: 0; overflow: hidden; transition: all 0.3s ease; }

.modal-overlay, #fullModal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; justify-content: center; align-items: center; }
.modal-box, .modal-content { background: #fff; border-radius: 16px; padding: 30px; width: 90%; max-width: 420px; text-align: center; animation: popUp 0.35s ease forwards; }

#successModal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 10001; justify-content: center; align-items: center; backdrop-filter: blur(4px); }
#successModal .modal-content { background: white; padding: 40px; border-radius: 20px; text-align: center; max-width: 400px; width: 90%; box-shadow: 0 20px 50px rgba(0,0,0,0.2); animation: popUp 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); }
#successModal h2 { color: #28a745; margin-bottom: 15px; }
#successModal p { font-size: 16px; color: #333; margin-bottom: 25px; }
#successModal button { padding: 12px 30px; background: #007BFF; color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }

/* =========================================
    CONTACT SECTION (Restored to Original)
========================================= */

/* Banner Image */
.contact-banner { position: relative; width: 100%; overflow: hidden; }
.contact-banner img { width: 100%; height: 50%; display: block; }
.contact-banner::after { content: ""; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,123,255,0.15); }

/* Contact Info Boxes */
.contact-info { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; margin-top: 60px; padding: 0 20px; }
.info-box { background: #ffffffee; backdrop-filter: blur(12px); padding: 25px; border-radius: 14px; flex: 1 1 250px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,0.12); transition: all 0.4s ease; cursor: pointer; animation: float 3s ease-in-out infinite; }
.info-box:hover { transform: translateY(-8px) scale(1.03); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }
.info-box .icon { font-size: 32px; margin-bottom: 10px; }
.info-box h3 { margin: 10px 0 5px; color: #007BFF; }
.info-box p { margin: 0; font-size: 15px; color: #000; }
.info-box p a { color: #000; text-decoration: none; transition: color 0.3s ease; }
.info-box p a:hover { color: #007BFF; }

/* Form & Map Section */
.contact-section { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 40px auto; padding: 20px; }
.contact-form-container { display: flex; flex-wrap: wrap; gap: 40px; width: 100%; }

/* Contact Form */
.contact-form { flex: 1 1 500px; justify-content: center; align-items: center; background: #ffffffee; backdrop-filter: blur(12px); padding: 30px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); display: flex; flex-direction: column; transition: all 0.4s ease; position: relative; }
.contact-form h2 { margin-bottom: 20px; color: #007BFF; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 14px 16px; margin-bottom: 15px; border-radius: 10px; border: 1px solid #ccc; font-size: 14px; box-sizing: border-box; transition: all 0.3s ease, box-shadow 0.3s ease; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #007BFF; box-shadow: 0 0 10px rgba(0,123,255,0.3); outline: none; }
.contact-form textarea { height: 180px; resize: none; }

/* Button */
.contact-form button { position: relative; overflow: hidden; padding: 14px 28px; border: none; background: #007BFF; color: #fff; border-radius: 10px; font-size: 16px; cursor: pointer; transition: all 0.3s ease; max-width: 180px; }
.contact-form button::after { content: ""; position: absolute; width: 100%; height: 100%; left: 0; top: 0; background: rgba(255,255,255,0.2); transform: scale(0); border-radius: 50%; transition: transform 0.5s ease, opacity 0.5s ease; opacity: 0; }
.contact-form button:active::after { transform: scale(2.5); opacity: 1; transition: 0s; }
.contact-form button:hover { background: #0056b3; transform: scale(1.05); }

/* Contact Cards Extra */
.contact-extra-section { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.contact-card { flex: 1; min-width: 320px; background: #ffffff; border-radius: 16px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; display: flex; justify-content: center; align-items: center; padding: 25px 20px; cursor: pointer; }
.contact-card .card-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.contact-card img { max-width: 380px; max-height: 380px; border-radius: 12px; transition: transform 0.3s ease; }
.contact-card img:hover { transform: scale(1.05); }

/* Quick Links Card */
.links-card { background: #ffffff; border-radius: 18px; padding: 30px 25px; box-shadow: 0 12px 28px rgba(0,0,0,0.08), 0 6px 12px rgba(0,0,0,0.05); transition: all 0.35s ease; text-align: left; }
.links-card h2 { font-size: 26px; font-weight: 700; color: #111827; margin-bottom: 10px; }
.links-card p { font-size: 16px; color: #4b5563; line-height: 1.7; margin-bottom: 25px; }
.links-card .btn-group { display: flex; gap: 18px; flex-wrap: wrap; }
.links-card .btn { display: flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 14px; font-weight: 600; text-decoration: none; transition: all 0.35s ease; box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.links-card .btn.review-btn { background: green; color: #fff; }
.links-card .btn.map-btn { background: #1E90FF; border: 2px solid #0b78d1; color: #fff; }
.links-card .btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 28px rgba(0,0,0,0.12); }
.links-card .btn span.emoji { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; font-size: 18px; }

/* =======================
    Footer
======================= */
footer { background: #071d30; color: #e5eef6; margin-top: 60px; }
.foot { max-width: var(--max); margin: auto; padding: 28px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.copy { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 14px; color: #b9c6d4; }

/* =======================
    Keyframes & Animations
======================= */
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-6px);} }
@keyframes popUp { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes highlightSeats { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.4); } }

/* =========================================
    MEDIA QUERIES (Combined & Responsive Fixes)
========================================= */
@media (max-width: 1024px) {
  .burger { display: block; }

  .burger-wrapper { 
    display: flex; 
    width: 42px; 
    height: 42px; 
    align-items: center; 
    justify-content: center; 
    background: rgba(255,255,255,0.15); 
    border-radius: 10px; 
    cursor: pointer; 
    color: #fff; 
    font-size: 26px; 
    z-index: 2101; 
  }
  
  .menu {
    position: fixed;
    top: 0;
    right: -100%; /* Initially hidden */
    height: 100vh;
    width: 280px;
    background: var(--blue);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 20px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    z-index: 2050;
    gap: 10px;
  }

  .menu.active { right: 0; }

  .menu a {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .cta-nav.admission.desktop-only {display: none ;}
  
  .mobile-admission {
    display: block !important;
    background: #28A745 !important; /* Fixed green color */
    color: white !important;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: 600;
  }

  .cta-nav {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .profile-row, .profile-row.reverse { flex-direction: column; text-align: center; }
  .profile-card { width: 280px; margin: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.2rem; }
  .facilities-grid, .pricing, .booking, .testis { grid-template-columns: 1fr; }
  .contact-section { flex-direction: column; }
  .contact-extra-section { flex-direction: column; gap: 20px; }
  .contact-form { padding: 20px; }
  .links-card { text-align: center; }
  .links-card .btn-group { justify-content: center; }
  .links-card .btn { width: 100%; justify-content: center; }
  .stat { padding: 20px; }
  .cta-box { padding: 30px 15px; }
  .scroll-btn { bottom: 20px; right: 20px; }
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
}