:root {
    --brand-red: #d32f2f;
    --brand-yellow: #fbc02d;
    --brand-dark: #b71c1c;
    --text-light: #fff;
    --text-dark: #222;
}
body{
    overflow-x:hidden;
}

/* ===== BUTTONS ===== */

/* Primary Buttons */
.btn,
a.btn,
button,
input[type="submit"],
input[type="button"] {
    background-color: var(--brand-red) !important;
    color: var(--text-light) !important;
    border: 2px solid var(--brand-red) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Yellow Accent Buttons (Secondary / CTA) */
.btn-secondary,
a.btn-secondary {
    background-color: var(--brand-yellow) !important;
    color: var(--text-dark) !important;
    border: 2px solid var(--brand-yellow) !important;
}

/* Hover States */
.btn:hover,
a.btn:hover,
.btn-secondary:hover,
a.btn-secondary:hover {
    background-color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
    color: #fff !important;
}

/* Outline Buttons */
.btn-outline {
    background: transparent !important;
    color: var(--brand-red) !important;
    border: 2px solid var(--brand-red) !important;
}
.btn-outline:hover {
    background: var(--brand-red) !important;
    color: #fff !important;
}

/* ===== LINKS ===== */

a,
.navbar a,
a:hover {
    color: var(--brand-red) !important;
}
a:hover {
    text-decoration: underline;
}

/* ===== HEADERS / TITLES ===== */

h1, h2, h3, .section-title, .page-title {
    color: var(--brand-red) !important;
}

/* ===== BORDERS ===== */

/* General bordered elements */
.border,
.card,
.card *,
.section {
    border-color: var(--brand-yellow) !important;
}

hr {
    border-top: 2px solid var(--brand-yellow) !important;
}

/* ===== FORM FIELDS ===== */
.welcome-area .main-heading1{
    color:var(--brand-yellow)!important;
}
.main-heading2{
    font-size: 20px!important;
}
input,
select,
textarea {
    border: 2px solid var(--brand-yellow) !important;
}
input:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--brand-dark) !important;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.25);
}

#nav{
    padding-bottom:0;
}
#nav .nav{
    margin-top:10px;
}
#nav .navbar-brand img{
    height: 50px;
}
/* ===== BACKGROUNDS ===== */

/* Section backgrounds */
.section,
.hero-section,
header,
.footer {
    background-color: var(--brand-red) !important;
    color: #fff !important;
}

/* Alternating background for contrast */
.section-alt {
    background-color: var(--brand-yellow) !important;
    color: var(--text-dark) !important;
}

/* Cards & boxes */
.card,
.teacher-card,
.event-card,
.feature-box {
    background-color: #fff !important;
    border: 2px solid var(--brand-yellow) !important;
}

.lds-dual-ring:after
{
    border: 5px solid var(--brand-red);
    border-color: var(--brand-red) transparent var(--brand-red) transparent;
}
/* Navbar background */
.navbar,
.main-header {
    background: #fff !important;
    border-bottom: 3px solid var(--brand-yellow) !important;
}

.breadcrumb {
    background-color: #807c7c;
}

.main-slider .slide-overlay{
    background-color:#00000000;
}

.top-bar{
    background: var(--brand-red);
}
.top-bar li a, .top-bar li a:hover {
    color: #fff!important;
}

.wel-img:before{
    border: 2px solid var(--brand-yellow);
    border-width: 0 5px 5px 0;
}
.wel-img:after{
    border: 2px solid var(--brand-yellow);
    border-width: 5px 0px 0px 5px;
}
.notification-boxes .box i{
    color: var(--brand-red);
}
.hover-border:hover::before{
    border-top-color: var(--brand-yellow);
    border-right-color: var(--brand-yellow);
}
.hover-border:hover::after{
    border-bottom-color: var(--brand-yellow);
    border-left-color: var(--brand-yellow);
}

.single-testimonial-style .client-info .title span{
    color:#715102;
}

.counters-wrapper i{
    background-color:var(--brand-red);
}
.counters-item{
    color:var(--brand-yellow);
}

.medical-services li .icon{
    border: 1px solid var(--brand-yellow);
}
.medical-services li .icon .i-hover{
    background-color: var(--brand-red);
}
.sec-title.style-two span.decor .inner, .sec-title span.inner{
    background: var(--brand-yellow);
}

.review-box{
    background-color:var(--brand-red);
}
.single-testimonial-style .inner-content:after{
    border-top: 95px solid var(--brand-yellow);
}

.counters-wrapper .counter2 {
    font-size: 62px;
    font-weight: 600;
}

/* ===== UTILITY CLASSES ===== */

.text-red {
    color: var(--brand-red) !important;
}

.text-yellow {
    color: var(--brand-yellow) !important;
}
.bg-red {
    background-color: var(--brand-red) !important;
}
.bg-yellow {
    background-color: var(--brand-yellow) !important;
}

.counters-wrapper {
    padding:0;
}
.statics-wrap{
    background:#00000096;
    padding-top: 70px;
    padding-bottom: 70px;
}
#nav .navbar-nav > li > a:before{
border: 2px solid var(--brand-yellow);
border-width: 2px 0 0 2px;
}
#nav .navbar-nav > li > a:after{
    border: 2px solid var(--brand-yellow);
border-width: 0 2px 2px 0;
}

#nav .dropdown-menu > .dropdown-item:hover, #nav .dropdown-menu > .dropdown-item:focus {
    background-color: #fbc02d;
    color: #fff !important;
}

.navbar-toggler{
    background-color:var(--brand-yellow)!important;
    border: 2px solid var(--brand-yellow) !important;
}
#nav .navbar-toggler span{
    padding-top: 5px;
}

.main-slider .c-left .wrap-caption{
    width:70%;
}

.book-appointment-box h3{
    color:var(--brand-yellow)!important;
}

.notification-boxes .box
{
    min-height:515px;
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 30px;
    color: #fefefe;
    text-align: center;
    background-color: #464646;
    border: 1px solid #ddd;
}

.slide-nav .owl-nav .owl-next, .slide-nav .owl-nav .owl-prev{
    background: var(--brand-red) !important;
}
.notification-boxes .box .icon{
    border: 2px dashed #fbc02d;
}
.notification-boxes .box h4{
    color:var(--brand-yellow);
}
.single-testimonial-style .inner-content 
{
    min-height: 350px;
}
.team-section {
  padding-top: 70px;
  padding-bottom: 70px;
  text-align: center;
  position: relative;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
}

.team-carousel {
  margin: 0 auto;
  max-width: 1200px;
}

/* Team Card Design */
.team-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow:0px 2px 2px 3px rgba(0,0,0,0.08);
  text-align: -webkit-center;
  margin: 10px 10px; /* spacing inside carousel */
  height: 100%;
  
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-card h4 {
  margin: 10px 0 5px;
}

.team-card span {
  color: #e53935;
  font-weight: 500;
}

/* Slick arrows inside carousel */
.slick-prev, .slick-next {
  width: 35px;
  height: 35px;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  background: #e53935;
  border-radius: 50%;
}

.slick-prev:hover, .slick-next:hover {
  background: #c62828;
}

.slick-prev:before, .slick-next:before {
  font-size: 20px;
  color: #fff;
}

/* Position arrows inside the carousel */
.slick-prev {
  left: 10px;
}
.slick-next {
  right: 10px;
}

/* Dots design */
.slick-dots {
  bottom: -30px; /* inside the carousel */
}

.slick-dots li button:before {
  font-size: 12px;
  color: var(--brand-yellow);
  opacity: 0.7;
}

.slick-dots li.slick-active button:before {
  color: #e53935;
  opacity: 1;
}
.slick-dots li button
{
    background-color: unset !important;
    border: 0px !important;
}
/* Responsive title */
@media (max-width: 576px) {
  .section-title {
    font-size: 24px;
  }
  .slick-prev, .slick-next {
    width: 30px;
    height: 30px;
  }
}
/* Floating Button Container */
.contact-buttons {
  position: fixed;
  bottom: 75px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  opacity: 1;           
  visibility: visible;   
  transition: opacity 0.5s, transform 0.3s;
}

/* Show class after scroll */
.contact-buttons.show {
  opacity: 1;
  visibility: visible;
}

/* Common Button Styles */
.contact-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;     
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover Effect */
.contact-buttons a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Call Button */
.call-btn {
    color: #fff !important;
  background: #e53935; /* Red */
}

/* WhatsApp Button */
.whatsapp-btn {
    color: #fff !important;
  background: #25D366; /* WhatsApp green */
}

/* Optional: Icons inside button */
.contact-buttons a i {
  pointer-events: none;
}

/* Responsive */
@media (max-width: 576px) {
  .contact-buttons a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}
.modal-header {
  background-color: #e53935;
  color: #fff;
}

.modal-title {
  font-weight: 600;
}
.modal-content input, select, textarea
{
    border: 1px solid #ced4da !important;
}
.hero-section {
            position: relative;
            width: 100%;
            height: 100vh; /* full screen */
            background: url('https://images.pexels.com/photos/4144222/pexels-photo-4144222.jpeg') center/cover no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* dark overlay for text readability */
        }

        .hero-content {
            position: relative;
            text-align: center;
            max-width: 800px;
            padding: 20px;
            z-index: 2;
        }

        .hero-content h1 {
            font-size: 3em;
            margin-bottom: 20px;
            color:#fff !important;
        }

        .hero-content p {
            font-size: 1.2em;
            margin-bottom: 30px;
            color:#fff;
        }

        .hero-content .btn {
            padding: 15px 30px;
            background-color: #ff5722;
            color: #fff;
            text-decoration: none;
            font-size: 1em;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        .hero-content .btn:hover {
            background-color: #e64a19;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-content h1 {
                font-size: 2em;
            }

            .hero-content p {
                font-size: 1em;
            }
        }


.cblock-1 .icon-wrap{
    background: var(--brand-yellow);
}
/*-------blog page css --------*/

.cards-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    border-color: unset !important;
    border: 1px solid rgba(0, 0, 0, .125) !important;
    margin: 50px 0px 0px 0px;
  }

  .card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }

  .card-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .card-image-wrapper img {
    width: 100%;
    display: block;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    object-fit: cover;
    height: 200px;
  }

  .card-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e73413;
    color: white;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    user-select: none;
  }

  .card-content {
    padding: 20px 22px 25px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #6f7c85;
    margin-bottom: 15px;
  }

  .info svg {
    fill: #6f7c85;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .info-divider {
    border-left: 1px solid #d3d7db;
    height: 18px;
  }

  .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    flex-grow: 1;
  }

  .card-link {
    color: #737373;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    align-self: flex-start;
  }

  .card-link:hover {
    color: #046757;
    text-decoration: underline;
  }

  /* Responsive */
  @media(max-width: 980px) {
    .cards-container {
      justify-content: center;
    }
  }

  @media(max-width: 720px) {
    .cards-container {
      flex-direction: column;
      gap: 30px;
      align-items: center;
    }

    .card {
      max-width: 90vw;
    }
  }
  .mt-30
  {
    margin-top:30px;
  }
  .check-icon {
      color: #057a55;
      margin-right: 8px;
    }
    .sidebar {
      background: #f4f6f8;
      border-radius: 12px;
      padding: 20px;
    }
    .sidebar h5 {
      font-weight: 700;
      color: #0c1e2c;
      margin-bottom: 20px;
    }
    .recent-post
    {
      margin-bottom: 30px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(121, 121, 121, 0.2);
    }
    .recent-post img {
      border-radius: 10px;
      object-fit: cover;
      max-height: 140px;
      width: 100%;
      margin-bottom: 10px;
    }
    .post-date {
      font-size: 14px;
      color: #6b6b6b;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 10px;
    }
    .post-title {
      font-weight: 600;
      cursor: pointer;
      margin: 0;
      line-height: 1.3;
    }
    .meta-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #5b5b5b;
  font-size: 14px;
  margin-bottom: 5px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item i {
  font-size: 15px;
}
.mt-20
{
  margin-top:15px;
}
.blog-head h2{
  font-size:35px;
  color:#000 !important;
  font-weight: 600;
} 
.process-list {
  max-width: 900px;
}

.process-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: #374151; /* dark gray */
  line-height: 1.6;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: #0f766e; /* green */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 4px;
}

.process-item strong {
  color: #111827;
}
/*-------blog page css --------*/

/*--------online course page css start--------*/
.card img{
    height:190px;
    object-fit:cover;
}
.price{
    color:#e53935;
    font-weight:600;
}
.old-price{
    color:#999;
    text-decoration:line-through;
    margin-right:6px;
}
/*--------online course page css end---------*/

/*---------Welcome Modal Popup Design Css--------*/
/* Modal Box */
#promo .modal-content{
    border:none;
    border-radius:14px;
    overflow:hidden;
}

/* Left Section */
#promo .modal-left{
    background:linear-gradient(135deg,#ff9800,#ff5722);
    color:#fff;
    padding:30px;
    position:relative;
}

#promo .modal-left h3{
    font-size:26px;
    font-weight:800;
}

#promo .modal-left p{
    font-size:15px;
    opacity:.95;
}

.ribbon{
    position:absolute;
    top:15px;
    left:-5px;
    background:#2ecc71;
    padding:6px 18px;
    font-weight:700;
    border-radius:0 20px 20px 0;
}

/* Student image */
.student-img{
    width:100%;
    margin-top:20px;
    border-radius:10px;
}

/* Right Section */
#promo .modal-right{
    padding:30px;
    background:#fff;
}

.badge-box span{
    display:inline-block;
    padding:6px 14px;
    border-radius:20px;
    font-size:13px;
    font-weight:700;
    margin-right:6px;
}

.abs{
    background:#ff9800;
    color:#fff;
}
.free{
    background:#2ecc71;
    color:#fff;
}

#promo .title{
    font-size:34px;
    font-weight:900;
    line-height:1.2;
    margin:15px 0;
}

#promo .title span{
    color:#1e88e5;
}

#promo .info-box{
    display:flex;
    align-items:center;
    background:#f5f7fb;
    padding:10px 15px;
    border-radius:10px;
    margin-bottom:10px;
    font-weight:600;
}

#promo .info-box i{
    font-size:18px;
    margin-right:10px;
    color:#ff5722;
}

#promo .cta-btn{
    margin-top:15px;
}

/* Close */
#promo .btn-close{
    position:absolute;
    right:15px;
    top:15px;
    background:#fff;
    border-radius:50%;
    padding:8px;
    z-index: 99999;
}

/* Responsive */
@media(max-width:768px){
    #promo .title{font-size:26px;}
}
/* Tablets & small laptops */
@media (max-width: 991px) {
     #promo .modal-dialog {
        max-width: 95%;
    }

    #promo .title {
        font-size: 28px;
    }

    #promo .modal-left h3 {
        font-size: 22px;
    }
}

/* Mobile devices */
@media (max-width: 767px) {

    /* Stack layout */
    #promo .modal-left,
    #promo .modal-right {
        padding: 20px;
        text-align: center;
    }

    #promo .modal-left {
        border-radius: 14px 14px 0 0;
    }

    #promo .modal-right {
        border-radius: 0 0 14px 14px;
    }

    /* Hide ribbon if needed */
    #promo .ribbon {
        font-size: 12px;
        padding: 5px 14px;
    }

    #promo .student-img {
        margin-top: 15px;
        max-height: 220px;
        object-fit: cover;
    }

    #promo .badge-box {
        text-align: center;
    }

    #promo .title {
        font-size: 24px;
        line-height: 1.3;
    }

    #promo .info-box {
        justify-content: center;
        font-size: 14px;
    }

    #promo .cta-btn a {
        font-size: 16px;
        padding: 12px;
    }

    /* Close button fix */
    #promo .btn-close {
        top: 10px;
        right: 10px;
        padding: 6px;
    }
}

/* Very small devices */
@media (max-width: 480px) {

    #promo .title {
        font-size: 21px;
    }

    #promo .modal-left p {
        font-size: 14px;
    }

    #promo .info-box {
        padding: 8px 12px;
    }

    #promo .student-img {
        max-height: 180px;
    }
}
/*---------Welcome Modal Popup Design Css -------*/
/* ===== FOOTER ===== */

.footer {
    background-color: var(--brand-dark) !important;
    color: #fff !important;
}
.footer-area a {
    color: #8d8d8d !important;
}
.footer-area a:hover {
    color: var(--brand-red) !important;
}
.footer-area h4{
    color: #c10d0e;
}
.footer-area h4:after{
    background-color: var(--brand-yellow);
}
.footer-area .address-list li i, .footer-area li .fa{
    color:var(--brand-red);
}
.social li a{
    border:1px solid var(--brand-red);
}
.social li a:hover{
    background:var(--brand-yellow);
}

.copyright{
    background-color: #fbc02d;
}
.copyright, .copyright a{
    color:#000;
}
.back-to-top{
    background:var(--brand-yellow);
}
.back-to-top:hover{
    background:var(--brand-red);
    color:#fff!important;
}


.tabs-product .nav-tabs > .nav-link.active{
    border-bottom: 4px solid var(--brand-yellow);
}

.breadcrumb li a:hover, .breadcrumb li a:focus, .breadcrumb li.active{
    color: var(--brand-yellow);
}
@media(max-width: 667px){
    
    .main-slider{
        min-height: 150px;
    }
    .main-slider .slider-wrapper .image{
        height:150px!important;
    }
}

@media (max-width: 575px) {
    .main-banner{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .main-banner h2 {
        display: block; 
        font-size: 20px;
    }
}