:root {
  --primary-color: #ff7f50;
  --secondary-color: #ff8c00;
  --white-color: #fff8e1;
  --gray-color: #d2691e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}
/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #FFD8A6; /* light orange */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 5px 15px;
}

/* Container: logo left, menu right, optional right items */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* distribute logo left, menu right */
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 90px;
  width: auto;
}

.logo-text {
  font-size: 4.7rem;
  font-weight: 800;
  color: #d35400;
 
  white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 45px;       
  padding: 0;
  margin-left: 20px; /* small gap from logo */
}

/* Menu Links */
.nav-menu li a {
  text-decoration: none;
  color: #d35400;
  font-weight: 700;
  font-size: 1.4rem;
  transition: color 0.3s;
  padding: 0;
}

.nav-menu li a:hover {
  color: #070e1b;
}

/* Dropdown */
.nav-menu li.dropdown {
  position: relative;
}

.nav-menu li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  min-width: 180px;
  z-index: 10000;
}

.nav-menu li.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-menu li .dropdown-menu li a {
  display: block;
  padding: 8px 15px;
  font-size: 1.3rem;
  color: #333;
}

.nav-menu li .dropdown-menu li a:hover {
  background-color: #FFE0B2;
}

/* Optional right side items (social icons, contact) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #d35400;
  font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 35px;       
    margin-left: 15px;
  }
  .nav-right {
    gap: 10px;
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .logo-img { height: 80px; }
  .logo-text { font-size: 1.5rem; }
  .nav-menu { gap: 25px; margin-left: 10px; }
  .nav-menu li a { font-size: 1.2rem; }
  .nav-right { gap: 8px; font-size: 1.1rem; }
}



.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: var(--white-color);
  font-family: sans-serif;
}

/* no fixed width anymore */
.hero-slider-wrapper {
  display: flex;
  height: 100vh;
  transition: transform 1.2s ease; 
}

.hero-slide {
  flex: 0 0 100vw;             
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
}

.hero-btn {
  background-color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 30px;
  color: var(--white-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #5a4acd;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider-controls button {
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
}

.slider-controls button:hover {
  background: rgba(0,0,0,0.8);
}



/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8f9fa;
  color: #f8f8f8;
}

/* About Section */
.about {
  position: relative;
  padding: 100px 0;
  background: url('https://images.unsplash.com/photo-1500534623283-312aade485b7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80') no-repeat center center / cover;
  background-attachment: fixed;
  color: white;
  z-index: 1;
}

.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
  z-index: -1;
}

/* Remove container padding */
.about > .container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  color: #ffaf00;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-header p {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
}

/* About Content Flex */
.about-content {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  align-items: flex-start;
  gap: 0;
}

/* Sticky About Image */
.about-img {
  flex: 0 0 50%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: sticky; /* sticky photo */
  top: 100px;
}

.about-img img {
  width: 95%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* About Text - normal page scroll */
.about-text {
  flex: 0 0 50%;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Headings and Paragraphs */
.about-text h3 {
  font-size: 2rem;
  color: #ffcc70;
  font-weight: 600;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 1.1rem;
  color: #f1f1f1;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Button Style */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #ffaf00, #ff6f00);
  color: #fff;
  padding: 14px 32px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 123, 0, 0.4);
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #ffa500, #ff4500);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 102, 0, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-content {
    flex-wrap: wrap;
  }
  .about-img,
  .about-text {
    flex: 1 1 100%;
  }
  .about-text {
    padding: 30px 20px;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .about-text h3 {
    font-size: 1.5rem;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}


/* === Classes Section === */
.classes {
    padding: 60px 20px;
    background: #f8f9fa;
    animation: fadeIn 1s ease-in;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 2.4rem;
    color: #000000;
    font-weight: 600;
}
.section-header p {
    color: #504d4d;
    font-size: 1.05rem;
    margin-top: 8px;
}

.class-filters {
    text-align: center;
    margin-bottom: 30px;
}
.filter-btn {
    padding: 10px 20px;
    margin: 0 8px;
    border: none;
    background-color: #e0e0e0;
    color: #000000;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}
.filter-btn.active,
.filter-btn:hover {
    background-color: #4caf50;
    color: #fff;
}

/* === Grid Layout === */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* === Card === */
.class-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(3, 3, 3, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeUp 0.6s ease;
}
.class-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* === Improved Image Styling === */
.class-img {
    overflow: hidden; /* ensure hover zoom doesn't overflow card */
    border-radius: 15px 15px 0 0; /* rounded corners on top only */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05); /* subtle inner shadow */
}
.class-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
    filter: brightness(0.95);
}
.class-img img:hover {
    transform: scale(1.05);
    filter: brightness(1);
}

/* === Info === */
.class-info {
    padding: 20px;
}
.class-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #aa4982;
}
.class-info p {
    font-size: 0.95rem;
    color: #000000;
}
.class-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin: 15px 0;
    color: #095fff;
}
.class-meta i {
    margin-right: 6px;
}

/* === Primary Button === */
.btn-primary {
    background-color: #4caf50;
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #388e3c;
}

/* === Modal === */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 80px;
    left: 0; top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: zoomIn 0.5s ease;
}
.close-modal {
    color: #999;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}
.close-modal:hover {
    color: #000;
}

/* === Modal Form === */
.modal-content h2 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: #333;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #444;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


:root {
  --primary-color: #ff7f50;   /* Coral Orange */
  --secondary-color: #ff8c00; /* Dark Orange */
  --white-color: #fff8e1;     /* Light Creamy Orange (off-white) */
  --gray-color: #d2691e;      /* Chocolate Orange */
}



.services {
  position: relative;
  padding: 60px 20px;
  margin: 0;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1470&q=80') no-repeat center center / cover;
  background-attachment: fixed;
}

/* Dark overlay */
.services::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 0;
}

.services-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.4rem;
  color: #fff;
  font-weight: 600;
}

.section-header p {
  color: #e0d4ec;
  font-size: 1.05rem;
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white-color);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(74, 63, 85, 0.05);
  transition: all 0.3s ease;
  position: relative;
  color: #4a3f55; 
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(74, 63, 85, 0.1);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

.extra-text {
  display: none;
  color: var(--gray-color);
  font-size: 0.95rem;
  margin-top: 10px;
}

.service-card.expanded .extra-text {
  display: block;
}

.btn-secondary {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: var(--secondary-color);
}  



/* Container for blog cards */
.blog-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  gap: 20px;
  -webkit-overflow-scrolling: touch; 
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
  margin: 0 -15px; 
  padding: 0 15px; 

}


.blog-grid::-webkit-scrollbar {
  height: 8px;
}
.blog-grid::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 4px;
}
.blog-grid::-webkit-scrollbar-track {
  background: transparent;
}


.blog-card {
  flex: 0 0 400px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: visible; 
  padding: 25px 30px;
  box-sizing: border-box;
  height: auto;
  display: flex;
  flex-direction: column;
}


.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}


.blog-img {
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.1);
}

/* Blog info */
.blog-info {
  flex-grow: 1;
}

.blog-info .date {
  display: block;
  color: #5a4acd; 
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.blog-info h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #222;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-height: none;
}

.blog-info p {
  color: #000000;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  max-height: none;
}


.read-more {
  display: inline-flex;
  align-items: center;
  color: #5a4acd;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
  color: #141414;
}

.read-more:hover {
  color: #3f30a5;
}

.read-more:hover i {
  transform: translateX(5px);
}


.full-content {
  display: none;
}



#blogModal .modal-content,
#blogModal .modal-content * {
  color: #000 !important;
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
  text-shadow: none !important; /
}







/* Styling for the पदाधिकारीहरू table section */
section.my-5 {
  padding: 40px 10px;
  background: #fff8e1; /* light yellow */
  margin: 0 auto;
}

section.my-5 h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #d35400; /* dark orange */
  margin-bottom: 20px;
}

.table-responsive {
  overflow-x: auto;
}

.table-bordered th,
.table-bordered td {
  text-align: center;
  vertical-align: middle;
}

.table-bordered img {
  border-radius: 8px;
  border: 1px solid #ddd;
}





.important-info-section {
  padding: 60px 10px;
  background: #ffffff; /* light yellow like पदाधिकारीहरू */
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.important-info-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.important-info-section .section-header h2 {
  font-size: 2.4rem;
  color: #d35400; /* dark orange */
  font-weight: 700;
  margin-bottom: 10px;
}

.important-info-section .info-lineup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.info-card {
  width: 100%;
  height: 480px;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  background: white;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
  transition: transform 0.3s ease;
  border: 2px solid #d35400; 
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.info-card .card-header {
  background: #d35400; 
  color: white;
  text-align: center;
  padding: 12px 0;
  font-weight: 600;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.info-card .card-body {
  padding: 10px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
  display: block;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}













/* Gallery Lineup Section */
.gallery-lineup {
  padding: 60px 0; /* Removed left/right padding */
  background: #f9f8f6;
}

.gallery-lineup .container {
  max-width: 100%;
  padding: 0 10px; /* optional small side padding */
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.4rem;
  color: #3a5a40; 
  font-weight: 700;
}

.section-header p {
  color: #6b8e23; 
  font-size: 1.1rem;
  margin-top: 8px;
}

.lineup-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: #a4c639 #f0f0f0;
}

.lineup-scroll::-webkit-scrollbar {
  height: 8px;
}

.lineup-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.lineup-scroll::-webkit-scrollbar-thumb {
  background-color: #a4c639;
  border-radius: 10px;
  border: 2px solid #f0f0f0;
}

.gallery-item {
  flex: 0 0 auto;
  width: 380px;  /* Increased width */
  height: 400px; /* Increased height */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
  animation-delay: var(--delay);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

/* Show lightbox */
.lightbox-overlay.active {
  display: flex;
}

/* Lightbox image */
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
  cursor: auto;
}

/* Close button */
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
  font-weight: bold;
}

















.testimonials .container {
    max-width: 100%;
    padding: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

.section-header p {
    color: var(--gray-color);
    font-size: 1rem;
}

.testimonials {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.swiper {
    padding-bottom: 40px;
}

.swiper-slide {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    height: 420px; /* fixed height for all testimonial boxes */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote {
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: flex-start; /* Align photo and text from top */
    gap: 20px;
}

.testimonial-author img {
    flex-shrink: 0; /* Prevent shrinking */
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    background: #ddd;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Soft clean shadow */
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--gray-color);
    font-size: 1rem;
}


/* Branch Section */
.branch-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5e6, #fff8f0);
    font-family: "Poppins", sans-serif;
}

/* Section Title */
.branch-title {
    text-align: center;
    font-size: 34px;
    font-weight: 600;
    color: #e67e22;
    margin-bottom: 40px;
}

/* Grid Layout */
.branch-grid {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Branch Cards */
.branch-card {
    position: relative;
    background: white;
    padding: 22px;
    border-radius: 14px;
    font-size: 18px;

    /* Updated text */
    font-weight: 700; /* Bold */
    color: #000;      /* Black */

    word-break: break-word;
    border-left: 6px solid #e67e22;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.15);
    overflow: hidden;

    /* Animation */
    transition: 
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease,
        border-left-color 0.35s ease;
}

/* Shine Animation */
.branch-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-25deg);
    transition: 0.5s;
}

/* Hover Effect */
.branch-card:hover {
    transform: translateY(-10px) scale(1.04);
    background-color: #fff7ec;
    box-shadow: 0 12px 35px rgba(230, 126, 34, 0.28);
    border-left-color: #d35400;
}

/* Shine on hover */
.branch-card:hover::before {
    left: 200%;
}








/* Base Container */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* Contact Section */
.contact {
  padding: 60px 0;
  background-color: #f9f9f9;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #222;
}

.section-header p {
  font-size: 1.1rem;
  color: #000;
}

/* Contact Content Grid */
.contact-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

/* Contact Info, Form, and Map Box Styling */
.contact-info,
.contact-form,
.contact-map {
  background-color: var(--white-color, #fff);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 600px; 
}

/* Contact Info Items */
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.8rem;
  color: var(--primary-color, #5741d9);
  margin-right: 15px;
}

.info-item p {
  font-size: 1.2rem;
  color: #000;
  font-weight: 600;
  margin: 0;
}

/* Social Media Links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray, #f0f0f0);
  color: var(--primary-color, #5741d9);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color, #5741d9);
  color: var(--white-color, #fff);
  transform: translateY(-4px);
}

/* Contact Form Styling */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #000;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  padding: 12px 20px;
  background-color: var(--primary-color, #5741d9);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #4636b2;
}

/* Contact Map */
.contact-map iframe {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  min-height: 100%; 
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .info-item {
    justify-content: flex-start;
  }

  .contact-info,
  .contact-form,
  .contact-map {
    margin-bottom: 30px;
    min-height: auto; /* Reset stacked box height on mobile */
    height: auto;
  }

  .contact-map iframe {
    min-height: 400px; /* Better visibility on small screens */
  }
}  
/* ------------------ Footer ------------------ */
.footer {
    background-color: #d37a3e;
    padding: 40px 0 20px; /* Top, bottom padding */
    font-size: 1rem;
    font-weight: 500;
}

/* Full-width container for footer content */
.footer .container {
    max-width: 1400px; /* Limit content width */
    width: 100%;
    margin: 0 auto; /* Center horizontally */
    padding: 0 20px; /* Small padding on sides */
}

/* Footer content (top part) */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

/* Footer column headings */
.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff; /* Heading white */
    font-weight: bold;
}

/* Footer paragraphs */
.footer-col p {
    margin-bottom: 10px;
    color: #000; /* Paragraph text */
    font-weight: bold;
    font-size: 1rem;
}

/* Footer lists */
.footer-col ul {
    list-style: none;
    padding-left: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-weight: bold;
    color: #0c0b0b; /* List item text */
    font-size: 1rem;
}

.footer-col ul li a {
    color: #000; /* Links */
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
    font-size: 1rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

/* Footer input fields */
.footer-col input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 10px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: #000; /* Text */
    font-size: 0.95rem;
    font-weight: bold;
}

.footer-bottom a {
    color: #000; /* Links */
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* ------------------ Responsive Adjustments ------------------ */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr; /* single column on small screens */
        gap: 15px;
    }
}  

/* Your existing CSS code remains here */

/* ========== MEDIA QUERIES ========== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .nav-container {
    gap: 30px;
  }
  
  .logo {
    font-size: 2.2rem;
  }
  
  .nav-menu {
    gap: 20px;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .contact-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-map {
    grid-column: span 2;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .navbar {
    padding: 10px 15px;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-lineup {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .contact-map {
    grid-column: auto;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .logo {
    font-size: 2rem;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-slider {
    height: 80vh;
  }
  
  .hero-slider-wrapper {
    height: 80vh;
  }
  
  .hero-slide {
    height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .classes-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-card {
    flex: 0 0 350px;
  }
  
  .info-lineup {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    width: 320px;
    height: 350px;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .swiper-slide {
    height: auto;
    min-height: 420px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .navbar {
    padding: 8px 10px;
  }
  
  .logo {
    font-size: 1.8rem;
  }
  
  .nav-menu li a {
    font-size: 1.1rem;
  }
  
  .btn-book {
    padding: 6px 15px;
    font-size: 0.9rem;
  }
  
  .hero-slider {
    height: 70vh;
  }
  
  .hero-slider-wrapper {
    height: 70vh;
  }
  
  .hero-slide {
    height: 70vh;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .slider-controls button {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .about, .services, .classes {
    padding: 60px 15px;
  }
  
  .blog-card {
    flex: 0 0 300px;
    padding: 20px;
  }
  
  .blog-img {
    height: 200px;
  }
  
  .blog-info h3 {
    font-size: 1.3rem;
  }
  
  .gallery-item {
    width: 280px;
    height: 300px;
  }
  
  .contact-info,
  .contact-form,
  .contact-map {
    padding: 20px;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .info-item i {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .modal-content {
    width: 95%;
    padding: 20px;
  }
  
  .filter-btn {
    margin: 5px;
    padding: 8px 15px;
  }
}

/* Very small devices (less than 400px) */
@media (max-width: 399.98px) {
  .logo {
    font-size: 1.6rem;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
  }
  
  .blog-card {
    flex: 0 0 260px;
  }
  
  .gallery-item {
    width: 250px;
    height: 280px;
  }
  
  .testimonial-author img {
    width: 120px;
    height: 120px;
  }
  
  .footer-social a {
    width: 35px;
    height: 35px;
  }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider {
    height: 100vh;
  }
  
  .hero-slider-wrapper {
    height: 100vh;
  }
  
  .hero-slide {
    height: 100vh;
  }
  
  .hero-content {
    padding: 10px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 5px;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .hero-btn {
    margin-top: 10px;
    padding: 8px 16px;
  }
}

/* High-resolution displays */
@media (min-resolution: 192dpi) {
  .hero-slide {
    background-size: cover;
  }
}

/* Print styles */
@media print {
  .navbar, .slider-controls, .btn, .footer-social {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .hero-slider {
    height: auto;
  }
  
  .hero-slide {
    height: auto;
    background: none !important;
  }
  
  .hero-overlay {
    background: none;
  }
}
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;    
    text-align: center;    
    margin-bottom: 40px;
}

.section-header h2 {
    color: #FF7F00;        
    font-weight: bold;      
    font-size: 32px;        
    margin-bottom: 10px;  
}

.section-header p {
    color: #FF7F00;        
    font-weight: bold;     
    font-size: 18px;        
    margin: 0;              
}  
/* ========== RESPONSIVE DESIGN ========== */

/* Extra large devices (large desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Large devices (desktops, 1200px to 1399.98px) */
@media (max-width: 1399.98px) {
  .container {
    max-width: 1140px;
  }
  
  .logo-text {
    font-size: 4rem;
  }
  
  .nav-menu {
    gap: 35px;
  }
  
  .blog-card {
    flex: 0 0 380px;
  }
  
  .gallery-item {
    width: 360px;
  }
}

/* Medium-large devices (tablets landscape, 992px to 1199.98px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .logo-text {
    font-size: 3.5rem;
  }
  
  .nav-menu {
    gap: 25px;
  }
  
  .nav-menu li a {
    font-size: 1.3rem;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .about-content {
    flex-wrap: wrap;
  }
  
  .about-img,
  .about-text {
    flex: 1 1 100%;
  }
  
  .about-img {
    position: static;
    margin-bottom: 30px;
  }
  
  .blog-card {
    flex: 0 0 340px;
  }
  
  .blog-info h3 {
    font-size: 1.3rem;
  }
  
  .info-lineup {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item {
    width: 320px;
    height: 380px;
  }
  
  .contact-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-map {
    grid-column: span 2;
  }
}

/* Medium devices (tablets portrait, 768px to 991.98px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  /* Navbar adjustments */
  .navbar {
    padding: 8px 15px;
  }
  
  .logo-img {
    height: 75px;
  }
  
  .logo-text {
    font-size: 3rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-menu {
    gap: 20px;
    margin-left: 0;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .nav-menu li a {
    font-size: 1.2rem;
  }
  
  .nav-right {
    margin-top: 10px;
    font-size: 1.2rem;
  }
  
  /* Hero section */
  .hero-slider {
    height: 85vh;
  }
  
  .hero-slider-wrapper,
  .hero-slide {
    height: 85vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  /* Sections */
  .about, 
  .services, 
  .classes,
  .important-info-section,
  .gallery-lineup,
  .testimonials,
  .branch-section,
  .contact {
    padding: 80px 20px;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  /* Classes grid */
  .classes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Blog cards */
  .blog-grid {
    gap: 15px;
    padding: 0 10px;
    margin: 0 -10px;
  }
  
  .blog-card {
    flex: 0 0 320px;
    padding: 20px;
  }
  
  .blog-img {
    height: 200px;
  }
  
  /* Important info */
  .info-card {
    height: 400px;
  }
  
  /* Gallery */
  .gallery-item {
    width: 300px;
    height: 350px;
  }
  
  /* Testimonials */
  .swiper-slide {
    height: 380px;
    padding: 25px;
  }
  
  .testimonial-author img {
    width: 120px;
    height: 120px;
  }
  
  /* Branch grid */
  .branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact */
  .contact-info,
  .contact-form,
  .contact-map {
    min-height: 500px;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Small devices (landscape phones, 576px to 767.98px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
    padding: 0 15px;
  }
  
  /* Navbar */
  .logo-img {
    height: 65px;
  }
  
  .logo-text {
    font-size: 2.5rem;
  }
  
  .nav-menu {
    gap: 15px;
  }
  
  .nav-menu li a {
    font-size: 1.1rem;
  }
  
  .nav-right {
    font-size: 1.1rem;
  }
  
  /* Hero section */
  .hero-slider {
    height: 75vh;
  }
  
  .hero-slider-wrapper,
  .hero-slide {
    height: 75vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btn {
    padding: 10px 25px;
    font-size: 0.95rem;
  }
  
  .slider-controls button {
    font-size: 1.8rem;
    padding: 8px 12px;
  }
  
  /* Sections */
  .about, 
  .services, 
  .classes,
  .important-info-section,
  .gallery-lineup,
  .testimonials,
  .branch-section,
  .contact {
    padding: 60px 15px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  /* About section */
  .about-text {
    padding: 25px 20px;
  }
  
  .about-text h3 {
    font-size: 1.5rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  /* Classes */
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    margin: 0 5px 10px;
    font-size: 0.9rem;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  /* Blog */
  .blog-grid {
    gap: 12px;
  }
  
  .blog-card {
    flex: 0 0 280px;
    padding: 18px;
  }
  
  .blog-img {
    height: 180px;
  }
  
  .blog-info h3 {
    font-size: 1.2rem;
  }
  
  .blog-info p {
    font-size: 0.95rem;
  }
  
  /* Important info */
  .info-lineup {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .info-card {
    height: 350px;
  }
  
  /* Gallery */
  .gallery-item {
    width: 280px;
    height: 320px;
  }
  
  .lightbox-overlay img {
    max-width: 95%;
    max-height: 85%;
  }
  
  /* Testimonials */
  .swiper-slide {
    height: auto;
    min-height: 380px;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .testimonial-author img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }
  
  /* Branch section */
  .branch-grid {
    grid-template-columns: 1fr;
  }
  
  .branch-card {
    padding: 20px;
    font-size: 1rem;
  }
  
  /* Contact */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .contact-map {
    grid-column: auto;
  }
  
  .contact-info,
  .contact-form,
  .contact-map {
    min-height: auto;
    padding: 25px;
  }
  
  .contact-map iframe {
    min-height: 350px;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .info-item i {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-col h3 {
    font-size: 1.3rem;
  }
  
  .footer-col p,
  .footer-col ul li,
  .footer-col ul li a {
    font-size: 0.95rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Global */
  body {
    font-size: 0.95rem;
  }
  
  .container {
    padding: 0 12px;
  }
  
  /* Navbar */
  .navbar {
    padding: 6px 10px;
  }
  
  .logo-img {
    height: 55px;
  }
  
  .logo-text {
    font-size: 2rem;
  }
  
  .nav-menu {
    gap: 10px;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-menu li a {
    display: block;
    padding: 8px 0;
    font-size: 1rem;
  }
  
  .nav-menu li.dropdown .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu li.dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .nav-right {
    font-size: 1rem;
    flex-direction: column;
    gap: 8px;
  }
  
  /* Hero section */
  .hero-slider {
    height: 65vh;
  }
  
  .hero-slider-wrapper,
  .hero-slide {
    height: 65vh;
  }
  
  .hero-content {
    padding: 15px;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .hero-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin-top: 10px;
  }
  
  .slider-controls button {
    font-size: 1.5rem;
    padding: 6px 10px;
  }
  
  /* Sections */
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .section-header p {
    font-size: 0.9rem;
  }
  
  /* About */
  .about-text {
    padding: 20px 15px;
  }
  
  .about-text h3 {
    font-size: 1.3rem;
  }
  
  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  
  /* Classes */
  .class-img img {
    height: 180px;
  }
  
  .class-info h3 {
    font-size: 1.2rem;
  }
  
  .btn-primary {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  /* Modal */
  .modal-content {
    width: 95%;
    padding: 20px 15px;
  }
  
  .close-modal {
    font-size: 22px;
    top: 10px;
    right: 15px;
  }
  
  /* Blog */
  .blog-card {
    flex: 0 0 260px;
    padding: 15px;
  }
  
  .blog-img {
    height: 160px;
  }
  
  .blog-info .date {
    font-size: 0.8rem;
  }
  
  .blog-info h3 {
    font-size: 1.1rem;
  }
  
  /* Gallery */
  .gallery-item {
    width: 260px;
    height: 300px;
  }
  
  /* Testimonials */
  .quote {
    font-size: 0.95rem;
    padding-left: 25px;
  }
  
  /* Branch section */
  .branch-title {
    font-size: 1.8rem;
  }
  
  /* Footer */
  .footer {
    padding: 30px 0 15px;
  }
  
  .footer-bottom {
    font-size: 0.85rem;
  }
}

/* Very small devices (less than 400px) */
@media (max-width: 399.98px) {
  .logo-text {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 1.4rem;
  }
  
  .blog-card {
    flex: 0 0 240px;
  }
  
  .gallery-item {
    width: 240px;
    height: 280px;
  }
  
  .info-card {
    height: 300px;
  }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  .navbar {
    padding: 5px 10px;
  }
  
  .hero-slider {
    height: 100vh;
  }
  
  .hero-slider-wrapper,
  .hero-slide {
    height: 100vh;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .hero-btn {
    padding: 6px 15px;
    margin-top: 5px;
  }
  
  .about, 
  .services, 
  .classes {
    padding: 40px 15px;
  }
  
  .swiper-slide {
    min-height: 350px;
    padding: 20px;
  }
}

/* High-resolution displays (Retina) */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-slide {
    background-image: var(--retina-bg);
  }
  
  .logo-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .navbar,
  .slider-controls,
  .btn,
  .hero-overlay,
  .service-card .btn-secondary,
  .blog-grid::-webkit-scrollbar,
  .lightbox-close,
  .swiper-button-next,
  .swiper-button-prev,
  .footer-bottom a,
  .social-links {
    display: none !important;
  }
  
  body {
    color: #000 !important;
    background: #fff !important;
    font-size: 12pt !important;
  }
  
  .hero-slider {
    height: auto !important;
    color: #000 !important;
  }
  
  .hero-slide {
    height: auto !important;
    background: none !important;
    color: #000 !important;
  }
  
  .hero-content {
    color: #000 !important;
  }
  
  .hero-content h1,
  .section-header h2,
  .about-text h3,
  .class-info h3,
  .service-card h3,
  .blog-info h3,
  .branch-title {
    color: #000 !important;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }
  
  .container {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .about-img img,
  .blog-img img,
  .gallery-item img,
  .testimonial-author img,
  .branch-card,
  .service-card,
  .class-card {
    break-inside: avoid;
  }
}