/* Header Base Styles */

/* --- Event Ticker Styles --- */
.event-ticker {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  height: 30px;
    background: linear-gradient(to right, #003366, #004080);
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  margin-bottom: 0%;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 35s linear infinite;
}

.event-ticker:hover .ticker-track,
.event-ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

.ticker-list {
  color: white;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ticker-list li {
  display: inline-block;
  padding: 0 2rem;
  line-height: 40px;
  white-space: nowrap;
}

/* Seamless infinite scroll */
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* Mobile */
@media (max-width: 480px) {
  .event-ticker { height: 36px; }
  .ticker-list li {
    line-height: 36px;
    padding: 0 1rem;
    font-size: 13px;
  }
}


/* Reset and basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body, html {
   font-family: 'Capita', sans-serif; /* default body font */
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Heading 2 */
h1 {
    font-family: 'Times New Roman', Times, serif; /* classic heading */
    font-size: 28px; /* adjust as needed */
    font-weight: bold;
    color: #f6f2f2;
}

/* Heading 2 */
h2 {
    font-family: 'Times New Roman', Times, serif; /* classic heading */
    font-size: 28px; /* adjust as needed */
    font-weight: bold;
    color: #f5f4f4;
}

/* Paragraph text */
p {
    font-family: 'Capita', sans-serif; /* clean readable body text */
    font-size: 16px;
    font-weight: 400;
    color: #f2f1f1;
    margin-bottom: 16px;
}



.full-screen {
  height: 85vh;
  background: url('images/bg1.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

.home-content {
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 15px;

  /* Shift upward */
  transform: translateY(-50px);  /* moves the card 50px upward */
}


.home-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.home-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn {
  text-decoration: none;
  background-color: #f1c40f;
  color: black;
  padding: 12px 24px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #d4ac0d;
}

.about-section {
  background: url('images/about1.png') no-repeat center center/cover;
   background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

.about-box {
  background-color: white;
  padding: 40px;
  max-width: 800px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.about-box h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #004e92;
  border-bottom: 2px solid #f1c40f;
  display: inline-block;
  padding-bottom: 5px;
}

.about-box p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}


/* Basic Reset and Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f3f6fb;
  color: #333;
}

/* Smooth scrolling for anchors & overall scroll */
html {
  scroll-behavior: smooth;
}

/* ===== Gallery Section ===== */
.gallery-section {
  padding: 60px 30px;
  background: #cdced0;
  text-align: center;
  scroll-behavior: smooth; /* Smooth scroll */
}

.gallery-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #800020;
}

.gallery-subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
}

/* ===== Gallery Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 250px;
  gap: 15px;
  will-change: transform; /* GPU acceleration for smoother scroll */
}

/* ===== Gallery Items ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.4s ease; /* lighter hover transition */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

/* Variations */
.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}



/* ===== Responsive: Tablet (1000px and below) ===== */
@media (max-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item.wide {
    grid-column: span 1;
  }
  .gallery-item.tall {
    grid-row: span 1;
  }
}

/* ===== Responsive: Mobile (600px and below) ===== */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .gallery-item img {
    height: auto;
    aspect-ratio: 1 / 1; /* keep images square */
  }
}

/* ===== Small devices spacing ===== */
@media (max-width: 768px) {
  .gallery-grid {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    gap: 8px;
  }
}










footer {
  text-align: center;
  padding: 20px;
  background-color: #222;
  color: white;
}

/* Scroll animation classes */
.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reset and basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(to right, #e0eafc, #cfdef3);
  color: #333;
  line-height: 1.6;
}
/* Main Heading */
.contact-main-heading {
  text-align: center;
  font-size: 36px;
  color: #800020; /* royal red */
  margin-bottom: 40px;
  font-weight: bold;
}

.contact-section {
  padding: 50px;
  background: #f9fcff;
  font-family: Arial, sans-serif;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: stretch; /* equal height */
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.contact-info, 
.contact-form {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-info h2, 
.contact-form h2 {
  background: #0b1e57;
  color: #fff;
  padding: 15px;
  margin: -30px -30px 20px -30px;
  border-radius: 8px 8px 0 0;
  font-size: 20px;
  text-align: center;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
}

.info-box {
  text-align: center;
  padding: 15px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fafafa;
}

.icon {
  width: 32px;
  height: 32px;
  stroke-width: 2;
  stroke: #0b1e57;
  margin-bottom: 8px;
}

.info-box h3 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #0b1e57;
}

.info-box p {
  font-size: 14px;
  color: #444;
  margin: 0;
}

.form-frame {
  width: 100%;
  height: 100%; /* takes full height like left box */
  flex: 1;
  border: none;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
}
/* Map Section */
.contact-map {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.social-links {
  position: fixed;
  bottom: 100px; /* ⬆️ moved above chatbot */
  right: 20px;
  display: flex;
  flex-direction: column; /* ✅ vertical stacking */
  gap: 12px;
  z-index: 1100; /* higher than chatbot */
}

.social-links a {
  text-decoration: none;
  font-size: 26px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-links a:hover {
  background: #800020; /* Royal theme */
  transform: scale(1.1);
}


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

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f9ff;
  color: #333;
}

.event {
  text-align: center;
  padding: 30px 20px 10px;
  background: #a5d6a7;
  color: #fff;
}

.yoga-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #004e92;
  border-bottom: 2px solid #f1c40f;
  display: inline-block;
  padding-bottom: 5px;
}

.academic-card {
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  margin: 20px 0;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.academic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.academic-content {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  color: #131313;
}

.academic-card.active .academic-content {
  display: block;
}

.coming-soon {
  opacity: 0.85;
  filter: blur(0.3px);
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  color: #666;
  pointer-events: none; /* disable clicking */
}

.coming-soon h3 {
  color: #1e1e1e;
}

.coming-soon .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255,255,255,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: #0c0c0c;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  pointer-events: none;
}

.principal-desk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f5f2; /* soft background */
  padding: 60px 10%;
  gap: 40px;
  flex-wrap: wrap;
}

.principal-content {
  flex: 1 1 500px;
}

.principal-content h2 {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  color: #800020; /* deep maroon for elegance */
  margin-bottom: 20px;
}

.principal-content .intro {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.8;
}

.principal-content p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.7;
}

.principal-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.principal-image img {
  width: 100%;
  width: 600px;
  height: 600px;     /* custom height */
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  object-fit: cover; /* keeps image neat without stretching */
}




@media (max-width: 900px) {
  .principal-desk {
    flex-direction: column-reverse;
    text-align: center;
  }
  .principal-image img {
    margin-bottom: 20px;
  }
}


.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
}

.contact-form button {
  background-color: #100342; /* maroon */
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #350c87;
}

#formMessage {
  color: rgb(101, 9, 181);
  font-weight: 500;
}
