
@media (max-width: 1200px) {

  .desktop-nav {
    gap: 26px;
  }

  .hero-title {
    font-size: clamp(3.25rem, 5.4vw, 4.35rem);
  }
  .why-card {
    min-height: 258px;
    padding-inline: 16px;
  }

  .credential-row {
    gap: 14px;
  }

.hero-turtle {
  max-width:90px;
}
.custom-feature-card .card-overlay-content {
	height: 65%;
}
}

@media (max-width: 992px) {
.story-image img {
    min-height: 500px;
}
	.mobile-menu {
    display: block !important;
}
/* Sticky Header Menu Toggle Color */
.site-header.is-sticky .menu-toggle span,
.site-header.menu-active .menu-toggle span{
    background: var(--primary-text-color);
}
.menu-toggle {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--blue-bg);
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Hover Effect */
.menu-toggle:hover span {
    background: #ff7a59; /* Optional hover color */
}

/* Animation when menu is open */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
.mobile-menu{
    position: fixed;
    top: 0;
    left: -400px;
    width: 340px;
    height: 100vh;
    background: #fff;
    box-shadow: 5px 0 20px rgba(0,0,0,.15);
    transition: left .35s ease;
    z-index: 9999;
    padding: 50px 20px;
}

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

.mobile-menu nav ul{
    display: flex;
    flex-direction: column;
    margin-top: 0px;
    padding: 0;
}
.mobile-menu nav ul li {
    list-style: none;
}
.mobile-menu nav a {
	text-decoration: none;
	padding: 18px 0;
	font-size: 15px;
	color: var(--primary-text-color);
	position: relative;
	font-weight: 400;
	line-height: 1;
	transform: translate(0px, 0px);
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    }

.mobile-menu nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px; /* important */
    width: 100%;
    height: 3px;
    background: var(--blue-soft) !important;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.mobile-menu nav a:hover::after,
.mobile-menu nav a.active::after{
    transform: scaleX(1);
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active{
    color: var(--blue-soft);
}
.close-menu {
	position: absolute;
    top: 10px;
    right: 10px;
	border: none;
	background: none;
	font-size: 30px;
	color: var(--primary-text-color);
    }

.menu-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 9998;
}

.menu-overlay.active{
    opacity: 1;
    visibility: visible;
}
  .container {
    max-width: 740px;
  }


  .desktop-nav,
  .header-actions > .btn-pill {
    display: none !important;
  }

  .menu-toggle {
    display: inline-flex;
  }


  .hero-title {
    font-size: clamp(2.75rem, 8vw, 3.25rem);
  }
.hero-buttons {
    gap: 14px;
	justify-content: center;
  }
.hero-visual img {
    margin-top: 20px;
}
.hero-section {
	height: 86vh;
}

  .about-copy,
  .gallery-copy,
  .founder-copy {
    text-align: center;
  }

  .underline-left::after {
    left: 50%;
    transform: translateX(-50%);
  }
.section-copy .btn-pill {
	margin:0;
}
  .why-panel {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .why-panel .row {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
  }

  .why-card {
    min-height: 230px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(10, 64, 112, 0.04);
  }

  .why-card::after {
    display: none;
  }
  .founder-panel {
    padding: 38px 30px;
  }
.founder-photo {
	max-width: 180px;
}
.founder-copy {
	padding:0;
}
  .credential-item {
    justify-content: flex-start;
    text-align: left;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.gallery-grid .image-shell img {
    max-height: 210px;
}.gallery-copy p {
    margin: 20px 0;
}
 
.form-footer .btn-pill {
    border-radius: 10px;
    font-size: 14px;
    padding: 10px;
}
  .form-footer {
    justify-content: center;
  }
.why-card h3 {
    margin: 15px 0;
}
.story-image{
	min-height:500px;
}

.story-content{
	padding:0px 30px;
}
.our-story-sec .section-heading {
    margin-bottom: 0;
}

.story-content h2{
	margin-bottom:20px;
}
.contact-wrapper{
	padding:40px;
}

.contact-content{
	border-right:none;
	padding-right:0;
	margin-bottom:40px;
}

.contact-form-wrap{
	padding-left:0;
}
.custom-feature-card .card-overlay-content {
	height: 90%;
	bottom: 10px;
}
.card-overlay-content p {
    margin: 0;
    font-size: 14px;
}
}

@media (max-width: 767px) {
.testimonials-sec .testimonial-box {	
    padding: 20px 20px;
}
.support-section .contact-info-list {
    margin-bottom: 50px;
}
.page-id-12 .support-section .tab-content-area .row.align-items-center.g-5 {
        --bs-gutter-y: 0;
        --bs-gutter-x: 0;
}
.contact-form-group.full-width {
	margin: 0;
}
.vision-mission-section .col-md-6:first-child .custom-feature-card {
    margin-bottom: 30px;
}
.page-id-7 .why-montessori-content {
    margin: 0;
}
.page-id-7 .program-sec .program-btn-wrp a {
	font-size: 12px;
}
.page-id-10 .how-turtle-sec .program-btn-wrp a {
	font-size: 12px;
}
.program-content h3 {
    font-size: 20px;
}
.testimonials-sec .custom-nav {
    justify-content: center;
    margin-bottom: 10px;
}
.testimonials-sec .underline-center::after {
    left: 50%;
}
.testimonials-sec .quote-icon {
    left: 15px;
    font-size: 3rem;
}
.custom-breadcrumb {
    height: 55vh;
}
.turtle-overlay p {
    font-size: 14px;
}
.hero-title h1 {
    font-size: 30px;
}
.hero-section {
	height: 60vh;
}
.page-id-12 .hero-title {
    margin: 0;
}
.faq-answer p {
    font-size: 13px;
}
.faq-question {
    padding: 15px 15px;
    font-size: 14px;
    gap: 10px;
    text-align: start;
}
.hero-title p {
    font-size: 16px;
}
.faq-answer {
    padding: 0px 15px;
}
.faq-item.active .faq-answer {
    padding: 0px 15px;
}
.faq-item:nth-child(2).active .faq-answer, 
.faq-item:nth-child(4).active .faq-answer, 
.faq-item:nth-child(5).active .faq-answer, 
.faq-item:nth-child(6).active .faq-answer, 
.faq-item:nth-child(7).active .faq-answer {
	height: 110px !important;
}
.turtle-overlay h3 {
    font-size: 25px;
}
.turtle-slide img {
    height: 350px;
}
.program-sec .read-more-btn {
    margin-bottom: 20px;
}
.founder-slider .owl-nav {
    display: flex !important;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.founder-slider .owl-nav button.owl-prev, .founder-slider .owl-nav button.owl-next {
    position: inherit;
    transform: none;
}
.gallery-section .gallery-wrap {
    display: none;
}
.how-turtle-sec h2 {
    margin-bottom: 20px;
    font-size: 25px;
	text-align: center;
}
.how-turtle-sec p {
    text-align: center;
}
.turtle-overlay h2 {
    font-size: 24px;
}
.our-story-text p {
    font-size: 16px;
}
.contact-page .hero-title p, .why-montessori-page .hero-title p {
    font-size: 16px;
}
.contact-form-group {
    margin-bottom: 20px;
}
.contact-form-row {
    display: block;
    margin-bottom: 0;
}
.turtle-content-item h2 {
    font-size: 22px;
    margin-bottom: 15px;
}
.benefit-sec .program-btn-wrp {
    margin-bottom: 0;
}
.how-turtle-sec .program-btn-wrp {
    margin-bottom: 50px;
}
.how-turtle-image img {
    height: 240px;
}
.social-links {
    margin-bottom: 15px;
}
.our-quote {
    font-size: 18px;
}
.custom-feature-card .card-overlay-content {
        height: fit-content;
        bottom: 0;
    }
.hero-decor img {
    max-width: 70px;
}
.program-btn-wrp {
    margin-bottom: 50px;
    margin-top: 0;
}
.site-footer {
    background-position: bottom;
    background-size: contain;
}
      .testimonial-gallery {
        display: none;
    }

    .mobile-gallery-slider {
        display: block !important;
    }
 .mobile-gallery-slider .owl-dots {
        margin-top: 15px;
        text-align: center;
    }

    .mobile-gallery-slider .owl-dot span {
        width: 10px;
        height: 10px;
        margin: 5px;
        background: #ccc;
        display: block;
        border-radius: 50%;
    }
.testimonial-left {
    padding-top: 30px;
}
    .mobile-gallery-slider .owl-dot.active span {
        background: var(--blue-bg);
    }
        .mobile-gallery-slider img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        max-height: 225px !important;
    }

  body {
    font-size: 16px;
  }
  .brand-logo {
    max-width: 140px;
  }
  .hero-title {
	font-size: 32px;
    }
.why-montessori-content h2 {
	font-size: 32px;
}
.why-montessori-sec{
    height: 30vh;
}
  .hero-buttons .btn-pill {
    min-width: min(100%, 220px);
  }

  .section-title {
    font-size:32px;
  }

  .program-list {
    max-width: 400px;
    margin-inline: auto;
    text-align: left;
  }
.section-copy p {
	max-width: 500px;
    margin: 20px auto;
}
  .program-gallery,
  .gallery-grid {
    gap: 12px;
  }
.credential-row {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}
.credential-item span br {
    display: none;
}
.gallery-copy {
    margin-bottom: 20px;
}
  .founder-panel,
  .gallery-panel {
    border-radius: 20px;
  }
.footer-bottom {
	flex-direction: column;
	align-items:start;
}
.why-card p {
	max-width:100%;
}
.story-wrapper{
	display:block;
}

.story-image{
	min-height:420px;
	max-width:500px;
	margin:0 auto;
	border-radius:250px 250px 0 0;
}

.story-content{
	padding:50px 0px;
	text-align:center;
}

.story-content h2{
	font-size:2rem;
	margin-bottom:18px;
}

.story-content p{
	margin-bottom:15px;
}
.program-content {
    text-align: center;
}
.contact-sec{
	padding:60px 0;
}

.contact-wrapper{
	padding:25px;
}

.contact-content h2{
	font-size:2rem;
}

.contact-info{
	margin-top:35px;
}
.program-sec.common-sec {
	margin:0;
}
.why-section.common-sec {
	margin:0;
}
.founder-section {
    padding-bottom: 30px;
}
.testimonials-section-top {
	padding-top:60px;
}
.program-btn-wrp a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: normal;
	line-height: 1.5;
	padding: 14px 24px;
}
.vision-mission-content {
    padding: 20px 0;
}
.founder-content {
	max-width:100%;
}
}
@media (max-width: 350px) {
.our-story-sec{
	padding:50px 0;
}
.story-image{
	min-height:320px;
	border-radius:180px 180px 0 0;
}
.story-content{
	padding:30px 10px 0;
}
.story-content h2{
	font-size:1.7rem;
	line-height:1.3;
}

.story-content p{
	font-size:15px;
	line-height:1.7;
}
}

@media (max-width:991px){
    .testimonial-gallery{
        grid-template-columns:repeat(4,1fr);
        gap:12px;
    }


}

@media (max-width:769px){
    .testimonial-gallery{
        grid-template-columns:repeat(2,1fr);
        gap:10px;
    }

    .gallery-col{
        gap:10px;
    }

    .gallery-item{
        width:100%;
    }

    .h-sm{height:100%;}
    .h-md{height:100%;}
    .h-lg{height:180px;}
    .h-xl{height:220px;}
    .h-xxl{height:220px;}
    section.vision-mission-section.common-sec {
    margin: 0 !important;
    padding: 0;
}
section#gallery {
    padding: 0;
}
}
@media (max-width:576px){
    .custom-feature-card img {
    min-height: 300px;
    max-height: 300px;
    width: 100%;
}
    .h-xl{height:100%;}
    .h-xxl{height:100%;}
    .team-members{
        flex-direction:column;
    }

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

    .team-content h2{
        font-size:42px;
    }
}