html,
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ===== TOPBAR ===== */

.topbar {
    background: #074384;
    color: white;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* left = phone, right = icons */
    padding: 0.4rem 1rem;
    max-width: 1200px;
    margin: auto;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.phone-label {
    opacity: 0.85;
    font-weight: 400;
    margin-left: 10px;
    color: white;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.phone-number:hover {
    text-decoration: underline;
}

.topbar-right {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.mini-logo {
    height: 22px;
    width: auto;
    display: block;
    border-radius: 4px;
    background: #fff;
    padding: 2px;
}

.social {
    color: #2b6cb0;
    font-size: 0.85rem;
    background: white;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social:hover {
    background: #2b6cb0;
    color: #fff;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .topbar-inner {
        padding: 0.4rem 0.6rem;
    }

    .social {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }

    .mini-logo {
        height: 20px;
    }

    .topbar-right {
        margin-right: 14px;
    }

    .topbar-left {
        font-size: 18px;
        /* Text aur number ka size bara */
    }

    .topbar-left .phone-number i {
        font-size: 25px;
        /* WhatsApp icon ka size bara */
    }

    .topbar-left .phone-label {
        font-size: 18px;
        /* label ka size bara */
        font-weight: 600;
        /* thoda bold */
    }

    .topbar-left .phone-number {
        font-weight: 600;
        /* Thoda bold text for better visibility */
        font-size: 20px;
    }
}

/* ===== MOBILE (stacked layout) ===== */

@media (max-width: 480px) {
    .topbar-inner {
        display: flex;
        flex-direction: column;
        /* stack items vertically */
        align-items: center;
        /* center them horizontally */
        padding: 0.12rem 0.35rem;
        text-align: center;
    }

    .phone-label {
        display: block;
        /* show label */
        font-size: 0.85rem;
        margin-bottom: 4px;
        /* spacing below label */
    }

    .phone-number {
        font-size: 0.85rem;
        margin-left: 0;
        /* reset since stacked */
        margin-bottom: 6px;
    }

    .topbar-right {
        margin-right: 0;
        margin-top: 4px;
    }

    /* Reduce top/bottom whitespace on very small screens */
    .topbar,
    .main-header {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* tighten header inner spacing */
    .header-inner {
        padding: 0 0.6rem;
        gap: 6px;
        margin-bottom: -4px;
    }

    .site-logo img {
        height: 38px;
    }

    /* Remove extra vertical space around topbar and header */
    .topbar {
        padding-top: 0;
        padding-bottom: 0;
        line-height: 1;
    }

    .topbar-inner {
        padding: 0.08rem 0.35rem;
    }

    .main-header {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Slim down the hamburger button */
    .menu-toggle {
        padding: 3px 4px;
        background: transparent;
        border: none;
        line-height: 1;
        box-shadow: none;
    }

    /* Reduce phone label/number spacing */
    .topbar-left .phone-label,
    .topbar-left .phone-number {
        margin: 0;
        padding: 0;
        line-height: 1;
    }

    .social {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }

    .mini-logo {
        height: 18px;
    }
}

/* Header */

.main-header {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo img {
    height: 50px;
    width: auto;
    margin: 0;
    max-width: 100%;
}

.header-nav {
    display: flex;
    gap: 0;
    margin: 0;
    flex-wrap: wrap;
    align-items: center;
}

.nav-btn {
    padding: 0.8rem 1rem !important;
    text-decoration: none;
    color: #333 !important;
    font-weight: 500;
    border-radius: 0 !important;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 15px;
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    display: inline-block;
}

.nav-btn:hover {
    background: #f8fafc !important;
    color: #1863b4 !important;
    transform: translateY(-1px);
}

.dropdown {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    margin: 0 !important;
}

.dropdown>.nav-btn {
    margin: 0 !important;
    padding: 0.8rem 1rem !important;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-top: 8px;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: #1863b4;
    padding-left: 20px;
}

/* Desktop hover */

.dropdown:hover .dropdown-content {
    display: flex;
}

/* Mobile Toggle */

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    border: 0;
    background: white;
    cursor: pointer;
    color: black;
}

/* Tablets & Mobiles */

@media (max-width: 720px) {
    .header-nav {
        display: none !important;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        right: 0;
        top: 70px;
        background: #fff;
        padding: 0.8rem;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
        border-radius: 8px 0 0 8px;
        width: 250px;
        max-height: 60vh;
        overflow-y: auto;
        border: 1px solid #e5e7eb;
    }

    .header-nav.active {
        display: block !important;
        animation: slideIn 0.3s ease-out;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-btn {
        width: 100%;
        padding: 0.45rem 0.9rem;
        font-size: 15px;
        border-bottom: 1px solid #f3f4f6;
        transition: all 0.3s ease;
        border-radius: 6px;
        margin-bottom: 3px;
    }

    .nav-btn:hover {
        background: #f8fafc;
        color: #1d4ed8;
        transform: translateX(4px);
    }

    .site-logo img {
        height: 48px;
        width: auto;
        margin: 0;
    }

    .menu-toggle {
        display: block;
        font-size: 1.3rem;
        padding: 4px 5px;
        border-radius: 4px;
        background: transparent;
        border: none;
        transition: all 0.12s ease;
        margin-left: 6px;
        box-shadow: none;
    }

    .topbar-inner {
        padding: 0.12rem 0.45rem;
    }

    .main-header {
        padding-top: 0;
        padding-bottom: 0;
    }

    .header-inner {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Slightly raise the nav so it sits closer to the header on mobile */
    .header-nav {
        top: 58px;
    }

    .menu-toggle:hover {
        background: #e5e7eb;
    }

    .dropdown {
        width: 100%;
        margin-bottom: 6px;
    }

    .dropdown>.nav-btn {
        position: relative;
        padding-right: 25px;
        justify-content: space-between;
        display: flex;
        align-items: center;
    }

    .dropdown>.nav-btn::after {
        content: '▼';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        transition: transform 0.3s ease;
        color: #6b7280;
        opacity: 0.8;
    }

    .dropdown.open>.nav-btn::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .dropdown-content {
        display: none;
        flex-direction: column;
        background: #f8fafc;
        width: 100%;
        margin: 0;
        border-radius: 6px;
        position: static;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
        border: 1px solid #e5e7eb;
        margin-top: 3px;
    }

    .dropdown.open .dropdown-content {
        display: flex;
        animation: dropdownSlide 0.3s ease-out;
    }

    @keyframes dropdownSlide {
        from {
            opacity: 0;
            max-height: 0;
        }

        to {
            opacity: 1;
            max-height: 200px;
        }
    }

    .dropdown-content a {
        padding: 0.6rem 1.2rem;
        border-bottom: 1px solid #e5e7eb;
        color: #374151;
        text-align: left;
        font-size: 13px;
        transition: all 0.2s ease;
    }

    .dropdown-content a:hover {
        background: #e5e7eb;
        color: #1d4ed8;
        padding-left: 1.5rem;
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }
}

/* Extra Small Devices (<= 320px) */

@media (max-width: 320px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .site-logo img {
        height: 45px;
        margin: 0;
    }

    .menu-toggle {
        align-self: flex-end;
        font-size: 1.5rem;
    }

    .header-nav {
        width: 100%;
        right: 0;
        top: 60px;
    }

    .nav-btn {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}

/* Ultra Small Devices (<= 200px) */

@media (max-width: 200px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        padding: 0.3rem;
    }

    .site-logo img {
        height: 35px;
    }

    .menu-toggle {
        font-size: 1.3rem;
    }

    .header-nav {
        width: 100%;
        top: 55px;
        box-shadow: none;
        border-radius: 0;
        padding: 0.4rem;
    }

    .nav-btn {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
}

/* ===== HERO SECTION ===== */

/* 
.hero {
  padding: 1rem 1rem;
  background: #f9fafb;   
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}


.hero-left img {
  width: 95%;
  max-width: 500px;
  margin-left: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: 0.3s;
}

.hero-left img:hover {
  transform: scale(1.02);
}


.hero-right h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #063970;
}

.hero-right h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

.hero-right p {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: #374151;
  text-align: justify;
  margin-right: 18px;
 margin-bottom: 1rem; 
 
}


.btn-appointment {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: #1d5ea8;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.3s;
}

.btn-appointment:hover {
  background: #2563eb;
  transform: translateY(-2px);
}




@media (max-width: 992px) {
  .hero {
    padding: 3rem 3rem; 
  }

  .hero-right h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 0.4rem; 
    text-align: start;
  }

  .hero-right h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    text-align: start;
  }

  .hero-left img {
    width: 85%;
    margin: 0 auto;
    display: block;
  }
}


@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 2rem; 
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: start;
    align-items: center;
  }

  .hero-right h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 0.3rem;
    text-align: start;
  }

  .hero-right h3 {
    font-size: 1.1rem;
    margin-top: 0.1rem;
    margin-bottom: 0.4rem;
    text-align: start;
  }

  .hero-right p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: start;
    margin-right: 0;
  }

  .hero-left img {
    margin: 0 auto;
    width: 100%;
  }

  .btn-appointment {
   display: block;
    width: 90%;              
    text-align: center;
    padding: 1.4;           
    font-size: 1.3rem;      
    font-weight: 600;
    margin-top: 1.5rem;
    
  }
}


@media (max-width: 576px) {
  .hero {
    padding: 2.5rem 1.8rem; 
  }

  .hero-right h1 {
    font-size: 1.9rem;
    line-height: 1.15;
    margin-bottom: 0.3rem;
    text-align: start;
  }

  .hero-right h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    text-align: start;
  }

  .hero-right p {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: start;
  }

  .btn-appointment {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    margin-top: 1rem;
    align-self: flex-start;
  }
} */

/* ========== HERO SLIDER MAIN ========== */

.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 75vh;
    background-color: #f2f6f9;
}

/* === STATIC CONTENT OVERLAY === */

.hero-static-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    pointer-events: none;
    /* Allow events only on buttons/text */
}

.hero-static-content .hero-inner {
    pointer-events: none;
}

.hero-static-content .hero-content,
.hero-static-content .divider,
.hero-static-content .btn {
    pointer-events: auto;
    /* Re-enable for interactive items */
}

.hero-image-placeholder {
    flex: 1;
    visibility: hidden;
    /* Takes up space but invisible */
}

/* === SLIDES === */

.slide {
    position: absolute;
    top: 0;
    left: 0;
    /* No more sliding in from side */
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* Fade effect */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* === INNER FLEX CONTAINER === */

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 85%;
    max-width: 1300px;
    margin: auto;
    gap: 40px;
}

/* === LEFT CONTENT === */

.hero-content {
    flex: 1.3;
    color: #000;
    text-align: left;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 2.5rem;
    /* Reduced from 3rem */
    margin-bottom: 8px;
    /* Reduced from 15px */
    font-weight: 700;
    color: #1e1e1e;
    line-height: 1.2;
}

.hero-content h2 {
    /* Changed from h3 to h2 to match HTML */
    font-size: 1.2rem;
    color: #0d63a5;
    margin-bottom: 10px;
    /* Reduced from 15px */
    font-weight: 600;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 18px;
    /* Reduced from 25px */
    line-height: 1.6;
    color: #333;
}

.hero-content .btn {
    background: #0078d4;
    color: #fff;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero-content .btn:hover {
    background: #005fa3;
}

/* === STYLISH DIVIDER LINE === */

.divider {
    width: 3px;
    height: 65%;
    background: linear-gradient(180deg, #0078d4, #00bfff);
    border-radius: 5px;
    box-shadow: 0 0 15px #00bfff;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px #00bfff;
    }

    100% {
        box-shadow: 0 0 25px #0078d4;
    }
}

/* === RIGHT IMAGE === */

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    order: 1;
}

.hero-image img {
    width: 90%;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

/* =============================
      RESPONSIVE DESIGN
============================= */

/* === Tablet View === */

@media (max-width: 992px) {
    .hero-inner {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 25px;
    }

    .hero-content {
        flex: 1.2;
        padding-right: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
        /* Reduced from 2.2rem */
        margin-bottom: 6px;
    }

    .hero-content h2 {
        /* Changed from h3 to h2 */
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .hero-image {
        flex: 1;
        justify-content: center;
    }

    .hero-image img {
        width: 100%;
    }
}

/* === Mobile View === */

@media (max-width: 600px) {
    .hero-static-content {
        position: relative;
        z-index: 10;
        height: auto;
        pointer-events: auto;
    }

    .hero-static-content .hero-inner {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .hero-image-placeholder {
        display: block;
        height: 300px;
        /* Space for the background images on mobile */
        width: 100%;
        visibility: hidden;
    }

    .hero-slider {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: auto;
        background-color: #f2f6f9;
        display: flex;
        flex-direction: column;
        padding-bottom: 2rem;
    }

    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 350px;
        /* Set height for images on mobile */
    }

    .slide .hero-inner {
        padding: 20px 0 0 0;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1rem;
        gap: 1.5rem;
    }

    .divider {
        display: none;
    }

    .hero-content {
        padding: 0;
        order: 2;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        /* Reduced from 2rem */
        margin-bottom: 5px;
        /* Reduced from 0.5rem */
        line-height: 1.2;
    }

    .hero-content h2 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        /* Reduced from 1rem */
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 12px;
        /* Reduced from 1.5rem */
    }

    .hero-content .btn {
        padding: 15px 30px;
        font-size: 1.1rem;
        border-radius: 30px;
        display: inline-block;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        width: 100%;
        order: 1;
    }

    .hero-image img {
        width: 100%;
        max-width: 320px;
        height: 280px;
        object-fit: contain;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
    .hero-slider {
        min-height: 100vh;
        padding-bottom: 2rem;
    }

    .hero-inner {
        padding: 1.5rem 0.8rem 2rem 0.8rem;
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-content .btn {
        padding: 12px 25px;
        font-size: 1rem;
        display: inline-block;
        width: auto;
        min-width: 150px;
        text-align: center;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-image img {
        max-width: 280px;
    }
}

/* ===== Appoinment SECTION ===== */

.time-section {
    font-family: "Segoe UI", sans-serif;
    background-color: #1d5ea8;
    /* outer background */
    padding: 15px 0;
    /* minimal top & bottom space */
    margin: 0;
    display: flex;
    justify-content: center;
}

/* ===== Inner Box ===== */

.time-section .working-hours-section {
    background-color: #0c2e4e;
    /* dark blue box */
    color: white;
    border-radius: 10px;
    width: 95%;
    max-width: 1100px;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* ===== Container ===== */

.time-section .container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.hour-card h3 {
    color: #d9974d;
}

/* ===== Columns ===== */

.column {
    flex: 1;
    min-width: 280px;
}

.column h2 {
    color: #d9974d;
    /* golden orange */
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 700;
}

.column hr {
    border: none;
    border-top: 1px dotted #b6c1cc;
    margin-bottom: 15px;
}

.branch-name {
    color: #5cc96c;
    /* green */
    font-weight: 600;
    margin-bottom: 5px;
}

.address,
.timing,
.column p {
    font-size: 16px;
    margin: 6px 0;
}

.timing {
    font-weight: 500;
}

/* ===== Button ===== */

.see-all {
    color: #7fc5e6;
    margin-top: 8px;
    text-decoration: none;
    /* removes underline */
}

.see-all:hover {
    text-decoration: none;
    /* keeps it off on hover */
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet view */

@media (max-width: 1024px) {
    .working-hours-section {
        width: 95%;
    }

    .column h2 {
        font-size: 24px;
    }
}

/* Mobile view */

@media (max-width: 768px) {
    .time-section {
        padding: 15px 0;
    }

    .working-hours-section {
        width: 98%;
        padding: 20px 15px;
        border-radius: 8px;
    }

    .time-section .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .column {
        width: 100%;
        max-width: 100%;
    }

    .column h2 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .column hr {
        margin-bottom: 20px;
    }

    .hours-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .hour-card {
        background: rgba(255, 255, 255, 0.1);
        padding: 20px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hour-card h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .hour-card p {
        font-size: 1rem;
        margin: 5px 0;
        line-height: 1.4;
    }

    .address,
    .timing,
    .column p {
        font-size: 1rem;
        text-align: center;
    }

    .see-all {
        display: inline-block;
        padding: 10px 20px;
        font-size: 1rem;
        text-align: center;
        background: rgba(127, 197, 230, 0.2);
        border-radius: 6px;
        border: 1px solid #7fc5e6;
        margin-top: 15px;
        transition: all 0.3s ease;
    }

    .see-all:hover {
        background: rgba(127, 197, 230, 0.3);
        transform: translateY(-2px);
    }
}

/* Small mobile view */

@media (max-width: 480px) {
    .time-section {
        padding: 10px 0;
    }

    .working-hours-section {
        width: 100%;
        border-radius: 0;
        padding: 15px 0;
    }

    .column h2 {
        font-size: 20px;
    }

    .address,
    .timing,
    .column p {
        font-size: 14px;
    }

    .see-all-btn {
        padding: 6px 14px;
        font-size: 13px;
    }
}

/* ===== SERVICES SECTION ===== */

.services {
    padding: 3rem 1rem;
    background: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: #063970;
    margin-bottom: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #f0f0f0, #e8f4fd);
    padding: 8px 20px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Desktop */
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box {
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    text-decoration: none;
    color: #111827;
    transition: all 0.3s ease;
    padding: 1.5rem;
    text-align: left;
}

.service-box:hover {
    background: #e0f2fe;
    transform: translateY(-5px);
}

.service-box img {
    width: 100%;
    max-width: 330px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: #063970;
}

.service-box p {
    font-size: 0.95rem;
    color: #70747a;
    font-size: 1rem;
    line-height: 1.7;
}

/* Desktop (≤1024px) */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row */
        padding: 0 1.2rem;
        /* reduced side padding */
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-box {
        border: 1.5px solid #d1d5db;
        border-radius: 10px;
        padding: 1.5rem;
        transition: all 0.3s ease;
    }

    .service-box:hover {
        border-color: #2563eb;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .service-box img {
        max-width: 100%;
        height: auto;
    }
}

/* Tablets (≤768px) */

@media (max-width: 768px) {
    .services {
        padding: 1rem 1rem;
        background: #ffffff;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
        /* reduced side padding */
    }

    .service-box {
        border: 1.3px solid #cbd5e1;
        border-radius: 8px;
        padding: 1.2rem;
    }

    .service-box h3 {
        font-size: 1.1rem;
    }

    .service-box p {
        font-size: 0.9rem;
        text-align: justify;
    }
}

/* Mobile (≤480px) */

@media (max-width: 480px) {
    .services {
        padding: 2rem 0.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 0.4rem;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .service-box {
        border: 1px solid #cbd5e1;
        border-radius: 12px;
        padding: 1.2rem;
        text-align: center;
        transition: all 0.3s ease;
    }

    .service-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        border-color: #3b82f6;
    }

    .service-box img {
        max-width: 100%;
        height: 180px;
        object-fit: cover;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .service-box h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        color: #1e40af;
        line-height: 1.3;
    }

    .service-box p {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: center;
        color: #64748b;
    }
}

/* Extra Small Mobile (≤360px) */

@media (max-width: 360px) {
    .services {
        padding: 1.5rem 0.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .service-box {
        padding: 1rem;
    }

    .service-box img {
        height: 150px;
    }

    .service-box h3 {
        font-size: 1rem;
    }

    .service-box p {
        font-size: 0.85rem;
    }
}

/* ===== Section Styling ===== */

.conditions-section {
    padding: 40px 10%;
    background: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: #1d3557;
    margin-bottom: 50px;
    font-weight: 700;
    font-weight: bold;
    background: linear-gradient(135deg, #f0f0f0, #e8f4fd);
    padding: 8px 20px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

/* ===== Cards Container ===== */

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 cards per row */
    gap: 30px;
    justify-items: center;
}

/* ===== Individual Card ===== */

.condition-card {
    display: block;
    /* make the entire card clickable */
    text-decoration: none;
    /* remove underline */
    color: inherit;
    /* inherit text color */
    background: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.clinic-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.clinic-card.active {
    box-shadow: 0 8px 25px rgba(7, 67, 132, 0.3);
}

.condition-card h3 {
    font-size: 20px;
    color: #1d3557;
    margin-bottom: 20px;
    font-weight: 600;
}

.condition-card i,
.condition-card img {
    font-size: 50px;
    width: 50px;
    height: 50px;
    object-fit: contain;
    color: #007bff;
    margin: 0 auto;
}

.condition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== Responsive Styling ===== */

@media (max-width: 992px) {
    .conditions-section {
        padding: 30px 5%;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .condition-card {
        max-width: 100%;
        padding: 30px 15px;
    }
}

@media (max-width: 600px) {
    .conditions-section {
        padding: 25px 8%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        justify-items: center;
    }

    .condition-card {
        width: 100%;
        max-width: 100%;
        padding: 10px 5px;
        border-radius: 10px;
    }

    .condition-card h3 {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .condition-card i,
    .condition-card svg,
    .condition-card img {
        font-size: 25px;
        width: 28px;
        height: 28px;
        margin-bottom: 5px;
        object-fit: contain;
    }
}

@media (max-width: 400px) {
    .conditions-section {
        padding: 20px 6%;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .condition-card {
        padding: 8px 5px;
    }

    .condition-card h3 {
        font-size: 0.75rem;
    }

    .condition-card i,
    .condition-card svg,
    .condition-card img {
        font-size: 22px;
        width: 25px;
        height: 25px;
        object-fit: contain;
    }
}

/* Section */

.image-slider-section {
    padding: 80px 20px;
    background: #efefef;
    text-align: center;
    margin-top: -80px;
}

.slider-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #074384;
}

/* Slider Container */

.image-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.image-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.image-track img {
    height: 150px;
    /* max height for all images */
    width: auto;
    /* adjust width automatically */
    margin: 0 10px;
    border-radius: 10px;
    object-fit: contain;
    /* ensure no part of image is cropped */
    flex-shrink: 0;
    /* prevent shrinking */
    transition: transform 0.3s ease;
}

.image-track img:hover {
    transform: scale(1.05);
}

/* Animation */

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* only move half bcz we duplicated */
}

/* Responsive Breakpoints */

/* Tablets */

@media (max-width: 992px) {
    .slider-title {
        font-size: 1.6rem;
    }

    .image-track img {
        width: 180px;
        height: 110px;
        margin: 0 6px;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .slider-title {
        font-size: 1.4rem;
    }

    .image-track img {
        width: 140px;
        height: 90px;
        margin: 0 4px;
    }
}

/* Extra Small Mobile */

@media (max-width: 400px) {
    .slider-title {
        font-size: 1.2rem;
    }

    .image-track img {
        width: 120px;
        height: 80px;
        margin: 0 3px;
    }
}

/* =======/* === Certifications Badges Section Fix === */
.cert-badges-section {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
    width: 100%;
}

.cert-badges-swiper {
    padding: 30px 10px 60px !important;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cert-badge-circle {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px;
    min-height: 100px;
    border-radius: 8px;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cert-badge-circle img {
    width: 80% !important;
    height: 80% !important;
    max-width: 80px !important;
    max-height: 80px !important;
    object-fit: contain !important;
    display: block;
}

.cert-badge-name {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: #333 !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    max-width: 150px;
    word-wrap: break-word;
}

.cert-badge-item:hover .cert-badge-circle {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.15);
}

.cert-badges-pagination .swiper-pagination-bullet-active {
    background: #007bff !important;
}

@media (max-width: 640px) {
    .cert-badge-circle {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px;
        min-height: 80px;
    }

    .cert-badge-circle img {
        max-width: 60px !important;
        max-height: 60px !important;
    }

    .cert-badge-name {
        font-size: 0.8rem !important;
    }
}

/* ========== CERTIFICATIONS SECTION ========== */

.certifications-section {
    padding: 80px 20px;
    background: #efefef;
    text-align: center;
    margin-top: -80px;
}

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

.certifications-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.certification-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.certification-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #074384;
}

.certification-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.certification-details {
    flex: 1;
    text-align: center;
}

.certification-details h3 {
    color: #074384;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.certification-details p {
    color: #074384;
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.certification-details p strong {
    color: #074384;
    font-weight: 600;
}

.certification-details p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Certifications */

/* Tablets */
@media (max-width: 992px) {
    .certifications-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .certification-item {
        gap: 15px;
    }

    .certification-logo {
        width: 80px;
        height: 80px;
    }

    .certification-details h3 {
        font-size: 1.3rem;
    }

    .certification-details p {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .certifications-section {
        padding: 60px 15px;
    }

    .certifications-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .certification-item {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        justify-content: flex-start;
    }

    .certification-logo {
        width: 50px;
        height: 50px;
    }

    .certification-details {
        text-align: left;
    }

    .certification-details h3 {
        font-size: 0.65rem;
        margin: 0;
    }

    .certification-details p {
        font-size: 0.6rem;
    }
}

@media (max-width: 400px) {
    .certifications-section {
        padding: 50px 10px;
    }

    .certifications-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 8px;
    }

    .certification-item {
        gap: 12px;
    }

    .certification-logo {
        width: 60px;
        height: 60px;
    }

    .certification-details h3 {
        font-size: 1.1rem;
    }

    .certification-details p {
        font-size: 0.85rem;
    }
}

.video-library {
    background: whitesmoke;
    text-align: center;
    padding: 70px 8%;
    font-family: "Poppins", sans-serif;
}

.video-title {
    font-size: 2.2rem;
    color: #2b2b2b;
    margin-bottom: 10px;
    font-weight: 700;
}

.video-subtitle {
    color: #555;
    font-size: 1rem;
    margin-bottom: 40px;
}

.video-slider-container {
    position: relative;
    overflow: hidden;
}

.video-slider {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.video-slide {
    min-width: 33.33%;
    box-sizing: border-box;
    padding: 10px;
}

.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: #fff;
    cursor: pointer;
}

.video-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 45px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.video-card:hover .play-btn {
    background: #4285f4;
}

/* Buttons */

.video-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    padding: 8px 12px;
    z-index: 10;
    transition: background 0.3s;
}

.video-btn:hover {
    background: #4285f4;
}

.video-btn.prev {
    left: 15px;
}

.video-btn.next {
    right: 15px;
}

/* Pagination Dots */

.video-dots {
    text-align: center;
    margin-top: 15px;
}

.video-dots span {
    height: 10px;
    width: 10px;
    background: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.video-dots .active {
    background: #4285f4;
}

/* Responsive */

@media (max-width: 992px) {
    .video-library {
        padding: 50px 5%;
    }

    .video-title {
        font-size: 1.8rem;
    }

    .video-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .video-slide {
        min-width: 50%;
    }

    .video-card img {
        height: 200px;
    }

    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 35px;
    }
}

@media (max-width: 600px) {
    .video-library {
        padding: 40px 3%;
    }

    .video-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .video-subtitle {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .video-slide {
        min-width: 100%;
        padding: 8px;
    }

    .video-card img {
        height: 180px;
    }

    .play-btn {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }

    .video-btn {
        font-size: 20px;
        padding: 6px 10px;
    }

    .video-btn.prev {
        left: 10px;
    }

    .video-btn.next {
        right: 10px;
    }
}

@media (max-width: 400px) {
    .video-library {
        padding: 30px 2%;
    }

    .video-title {
        font-size: 1.3rem;
    }

    .video-subtitle {
        font-size: 0.8rem;
    }

    .video-card img {
        height: 160px;
    }

    .play-btn {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .video-btn {
        font-size: 18px;
        padding: 5px 8px;
    }
}

/* ===== Gallery Section ===== */

.gallery-section {
    padding: 40px 10%;
    background: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Left Content */

.gallery-content {
    flex: 1 1 45%;
}

.gallery-content h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.gallery-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.gallery-content ul {
    list-style: none;
    padding: 0;
}

.gallery-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: #444;
    font-size: 0.95rem;
}

.gallery-content ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #4285f4;
}

/* Right Slider */

.gallery-slider {
    position: relative;
    flex: 1 1 50%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.gallery-slide {
    display: none;
    animation: fadeIn 0.6s ease-in-out;
}

.gallery-slide.active {
    display: block;
}

.gallery-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Navigation Buttons */

/* ===== Navigation Buttons (Updated Style) ===== */

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    padding: 8px 12px;
    transition: 0.3s ease;
    z-index: 10;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: #4285f4;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.4);
}

.gallery-btn.prev {
    left: 15px;
}

.gallery-btn.next {
    right: 15px;
}

/* Animation */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */

@media (max-width: 992px) {
    .gallery-section {
        padding: 30px 5%;
    }

    .gallery-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .gallery-content {
        flex: 1 1 100%;
        order: 2;
    }

    .gallery-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .gallery-content p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .gallery-slider {
        flex: 1 1 100%;
        order: 1;
    }

    .gallery-slide img {
        height: 300px;
    }

    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .gallery-section {
        padding: 25px 3%;
    }

    .gallery-container {
        gap: 20px;
    }

    .gallery-content h2 {
        font-size: 1.5rem;
    }

    .gallery-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .gallery-slide img {
        height: 250px;
    }

    .gallery-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
        padding: 6px 10px;
    }

    .gallery-btn.prev {
        left: 10px;
    }

    .gallery-btn.next {
        right: 10px;
    }
}

@media (max-width: 400px) {
    .gallery-section {
        padding: 20px 2%;
    }

    .gallery-content h2 {
        font-size: 1.3rem;
    }

    .gallery-content p {
        font-size: 0.85rem;
    }

    .gallery-slide img {
        height: 200px;
    }

    .gallery-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
        padding: 4px 8px;
    }
}

/* ===== OUR CLINICS SECTION ===== */

.clinics {
    margin-top: -50px;
    padding: 3rem 1rem;
    background: #f9fafb;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: #063970;
    margin-bottom: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #f0f0f0, #e8f4fd);
    padding: 8px 20px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 per row */
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.clinic-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.clinic-card:hover {
    transform: translateY(-5px);
    background: #e0f2fe;
}

.clinic-card h3 {
    color: #2563eb;
    margin-bottom: 0.8rem;
}

.clinic-card p {
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: justify;
}

.clinic-card a {
    color: #2563eb;
    text-decoration: none;
}

.clinic-card a:hover {
    text-decoration: underline;
}

.clinic-map {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

/* Responsive */

@media (max-width: 900px) {
    .clinics {
        padding: 2rem 0.8rem;
    }

    .clinics-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 0.5rem;
        gap: 1.2rem;
    }

    .clinic-card {
        padding: 1.2rem;
    }

    .clinic-card h3 {
        font-size: 1.1rem;
    }

    .clinic-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .clinics {
        padding: 1.5rem 0.5rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .clinics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.3rem;
    }

    .clinic-card {
        padding: 1rem;
        text-align: center;
    }

    .clinic-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .clinic-card p {
        font-size: 0.85rem;
        text-align: center;
        margin-bottom: 0.4rem;
    }

    .clinic-card a {
        font-size: 0.85rem;
    }

    .clinic-map iframe {
        height: 250px;
    }
}

@media (max-width: 400px) {
    .clinics {
        padding: 1rem 0.3rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .clinic-card {
        padding: 0.8rem;
    }

    .clinic-card h3 {
        font-size: 0.95rem;
    }

    .clinic-card p {
        font-size: 0.8rem;
    }

    .clinic-map iframe {
        height: 200px;
    }
}

.testimonial-section {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

.testimonial-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    display: none;
    background: #f9f9f9;
    border-radius: 12px;
    padding: 40px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease-in-out;
}

.testimonial.active {
    display: block;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #4285f4;
}

.testimonial h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 5px;
}

.stars {
    color: #fbbc04;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation Buttons */

.nav-btn1 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    padding: 8px 14px;
    transition: 0.3s ease;
}

.nav-btn1:hover {
    background: #4285f4;
    color: #fff;
}

.prev {
    left: -50px;
}

.next {
    right: -50px;
}

/* Responsive */

@media (max-width: 768px) {
    .testimonial-section {
        padding: 30px 15px;
    }

    .testimonial-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .testimonial {
        padding: 30px 20px;
    }

    .testimonial img {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }

    .testimonial h3 {
        font-size: 1.1rem;
    }

    .stars {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .testimonial p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .nav-btn1 {
        font-size: 20px;
        padding: 6px 12px;
        width: 35px;
        height: 35px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .testimonial-section {
        padding: 25px 10px;
    }

    .testimonial-section h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .testimonial {
        padding: 25px 15px;
    }

    .testimonial img {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .testimonial h3 {
        font-size: 1rem;
    }

    .stars {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .testimonial p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .nav-btn1 {
        font-size: 18px;
        padding: 5px 10px;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 360px) {
    .testimonial-section {
        padding: 20px 8px;
    }

    .testimonial-section h2 {
        font-size: 1.3rem;
    }

    .testimonial {
        padding: 20px 12px;
    }

    .testimonial img {
        width: 50px;
        height: 50px;
    }

    .testimonial h3 {
        font-size: 0.9rem;
    }

    .testimonial p {
        font-size: 0.8rem;
    }

    .nav-btn1 {
        font-size: 16px;
        width: 28px;
        height: 28px;
    }
}

/* ========== FOOTER ========== */

/* ===== FOOTER ===== */

.footer {
    background: linear-gradient(135deg, #052c65, #074384);
    /* gradient blue */
    color: #f1f5f9;
    padding: 3rem 1rem 1rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

/* Decorative background shapes */

.footer::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.footer::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    z-index: 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    margin-left: 20px;
}

.footer-col h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #fff;
    position: relative;
}

.footer-col h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #60a5fa;
    margin-top: 6px;
    border-radius: 2px;
}

.footer-col p {
    margin: 0.4rem 0;
    line-height: 1.8;
    text-align: justify;
    color: #e2e8f0;
}

.footer-col a {
    color: #dbeafe;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

/* List styling */

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li::before {
    content: "›";
    color: #60a5fa;
    font-weight: bold;
}

/* Social Icons */

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #074384;
    font-size: 1rem;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #60a5fa;
    color: #fff;
    transform: scale(1.1);
}

/* Footer bottom */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    padding-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #fff;
    margin: 0;
}

/* Responsive */

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0.8rem 0.8rem;
    }

    .footer-inner {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-col h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .footer-col h3::after {
        width: 40px;
        height: 2px;
        margin-top: 4px;
    }

    .footer-col p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-col a {
        font-size: 0.9rem;
    }

    .footer-col ul li {
        font-size: 0.85rem;
        margin: 0.3rem 0;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 1.5rem 0.5rem 0.6rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        margin-left: 0;
    }

    .footer-col h3 {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 0.8rem;
    }

    .footer-col h3::after {
        margin: 4px auto 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col p {
        font-size: 0.85rem;
        text-align: center;
        margin: 0.3rem auto;
    }

    .footer-col a {
        font-size: 0.85rem;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .footer-col ul li {
        display: block;
        text-align: center;
        margin: 0.2rem 0;
    }

    .footer-col ul li::before {
        display: none;
    }

    .footer-social {
        justify-content: center;
        margin-top: 0.8rem;
    }

    .footer-social a {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .footer-bottom {
        padding-top: 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .footer {
        padding: 1rem 0.3rem 0.5rem;
    }

    .footer-inner {
        gap: 1rem;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-col p {
        font-size: 0.8rem;
    }

    .footer-col a {
        font-size: 0.8rem;
    }

    .footer-col ul li {
        font-size: 0.75rem;
    }

    .footer-social a {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}

/* ========== conditions page ========== */

.terms-section {
    line-height: 1.7;
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.terms-section h1 {
    color: #004080;
    margin-bottom: 15px;
}

.terms-section h2 {
    color: #0066cc;
    margin-top: 25px;
    margin-bottom: 10px;
}

.terms-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.terms-section ul {
    margin: 10px 0 20px 20px;
}

.terms-section a {
    color: #004080;
    text-decoration: none;
}

.terms-section a:hover {
    text-decoration: underline;
}

/* ===== CONTACT form SECTION ===== */

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 15px;
    background: #f5f7fa;
}

.form-container {
    background: #fff;
    padding: 30px 35px;
    border-radius: 12px;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    transition: transform 0.3s ease;
}

.form-container:hover {
    transform: translateY(-5px);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #063970;
    font-size: 1.8rem;
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #444;
    font-weight: 600;
    font-size: 0.95rem;
}

input,
textarea {
    width: 100%;
    padding: 12px 4px;
    margin-bottom: 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
    font-family: inherit;
}

input:focus,
textarea:focus {
    border-color: #25D366;
    /* WhatsApp green */
    outline: none;
    box-shadow: 0 0 6px rgba(37, 211, 102, 0.35);
}

textarea {
    resize: none;
    min-height: 120px;
}

.contact-section button {
    width: 100%;
    padding: 12px;
    background: #084182;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.contact-section button:hover {
    background: #0954a5;
    transform: scale(1.03);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 2rem;
    }

    .form-container {
        padding: 25px 40px;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 30px 15px;
    }

    .form-container {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
    }

    .form-container h2 {
        font-size: 1.3rem;
    }

    input,
    textarea {
        font-size: 14px;
        padding: 10px;
    }

    .contact-section button {
        font-size: 15px;
        padding: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}

/* ========== certifications page ========== */

.cards-section {
    padding: 50px 20px;
    background: #f9f9f9;
}

.cards-section h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.cards-section .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Default: 3 cards per row */
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: auto;
    /* maintain aspect ratio */
    display: block;
}

.card p {
    padding: 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    text-align: justify;
}

/* ========== Responsive Breakpoints ========== */

/* Large Tablets / Small Laptops (max-width: 1200px) */

@media (max-width: 1200px) {
    .cards-section .container {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-section h1 {
        font-size: 26px;
    }
}

/* Tablets (max-width: 768px) */

@media (max-width: 768px) {
    .cards-section .container {
        grid-template-columns: 1fr 1fr;
        /* 2 cards per row */
        gap: 15px;
    }

    .card p {
        font-size: 15px;
        padding: 12px;
        text-align: justify;
    }
}

/* Mobile (max-width: 480px) */

@media (max-width: 480px) {
    .cards-section .container {
        grid-template-columns: 1
    }
}

/* ===== GALLERY SECTION ===== */

.galleryy {
    padding: 3rem 1rem;
    background: #f9fafb;
    text-align: center;
}

.galleryy .section-title {
    font-size: 2.2rem;
    color: #063970;
    margin-bottom: 2rem;
}

.galleryy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 5 images per row desktop */
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.galleryy-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.galleryy-grid img:hover {
    transform: scale(1.05);
}

/* Responsive */

@media (max-width: 1024px) {
    .galleryy-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 per row on tablet */
    }
}

@media (max-width: 600px) {
    .galleryy-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row on mobile */
    }

    .galleryy-grid img {
        height: 160px;
    }
}

/* Services pages*/

.spine-surgery {
    max-width: 1200px;
    margin: auto;
    padding: 25px 60px;
    /* desktop spacing */
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.spine-surgery h1 {
    font-size: 32px;
    color: #063970;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
}

.spine-surgery h2 {
    font-size: 24px;
    color: #0a5ca8;
    margin-top: 25px;
    margin-bottom: 10px;
}

.spine-surgery p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.images1 {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 30px;
}

.images1 img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.spine-surgery ul {
    margin: 15px 0;
    padding-left: 40px;
}

.spine-surgery ul li {
    margin-bottom: 8px;
    font-size: 16px;
}

.spine-surgery .consult-btn {
    text-align: center;
    margin-top: 40px;
}

.spine-surgery .consult-btn a {
    display: inline-block;
    background: #063970;
    color: #fff;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}

.spine-surgery .consult-btn a:hover {
    background: #0a5ca8;
}

/* ✅ RESPONSIVE DESIGN */

/* Tablets */

@media (max-width: 992px) {
    .spine-surgery {
        padding: 20px 30px;
    }

    .spine-surgery h1 {
        font-size: 28px;
    }

    .spine-surgery h2 {
        font-size: 22px;
    }

    .images1 {
        padding: 0 15px;
        gap: 15px;
    }

    .images1 img {
        max-width: 100%;
    }
}

/* Mobiles */

@media (max-width: 576px) {
    .spine-surgery {
        padding: 15px 15px;
        /* side padding reduce */
    }

    .spine-surgery h1 {
        font-size: 24px;
    }

    .spine-surgery h2 {
        font-size: 20px;
    }

    .spine-surgery p,
    .spine-surgery ul li {
        font-size: 15px;
    }

    .images1 {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .spine-surgery .consult-btn a {
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* Conditions pages*/

.backache-full {
    width: 100%;
    background: #fff;
    padding: 50px 30px;
    box-sizing: border-box;
}

.backache-full h1 {
    font-size: 36px;
    color: #0a5ca8;
    margin-bottom: 20px;
    text-align: center;
}

.backache-full h2 {
    font-size: 24px;
    color: #063970;
    margin: 25px 0 12px;
}

.backache-full p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

.backache-full ul {
    padding-left: 30px;
    margin-bottom: 25px;
}

.backache-full ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
}

.backache-image {
    text-align: center;
    margin: 30px 0;
}

.backache-image img {
    width: 100%;
    max-width: 500px;
    /* ✅ smaller size */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.consult-btn {
    text-align: center;
    margin-top: 30px;
}

.consult-btn a {
    display: inline-block;
    background: #0a5ca8;
    color: #fff;
    padding: 14px 32px;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}

.consult-btn a:hover {
    background: #063970;
}

/* ===== ABOUT SECTION ===== */

.about-section {
    padding: 3rem 1rem;
    background: #ffffff;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.about-text {
    flex: 1;
    margin-left: 10px;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #063970;
    margin-bottom: 1rem;
}

.about-text p {
    max-width: 600px;
    /* ✅ fixed width ki jagah max-width */
    font-size: 1rem;
    color: #374151;
    line-height: 1.7;
    text-align: justify;
}

/* Right Image */

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 85%;
    max-width: 500px;
    /* ✅ image resize limit */
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Responsive Breakpoints */

/* Tablets (≤992px) */

@media (max-width: 992px) {
    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }
}

/* Mobile (≤900px) */

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }

    .about-text p {
        max-width: 100%;
        /* ✅ full width on small devices */
    }

    .about-image img {
        width: 90%;
        margin-left: 0;
        display: block;
        margin: 0 auto;
    }
}

/* Small Mobile (≤576px) */

@media (max-width: 576px) {
    .about-section {
        padding: 2rem 1rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* ======= medical tourism page fully responsive ======= */

.container-tourism {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

.section-title-tourism {
    color: #004b6e;
    margin: 40px 0 15px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

/* ======= Hero Section ======= */

.hero-tourism {
    background: url('hero-bg.jpg') center/cover no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: #212020;
    border-radius: 10px;
}

.hero-tourism h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-tourism p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-btn-tourism {
    display: inline-block;
    padding: 12px 20px;
    background: #0078a0;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.cta-btn-tourism:hover {
    background: #005f7a;
}

/* ======= Countries ======= */

.countries-tourism {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.country-card-tourism {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 150px;
}

.country-card-tourism img {
    max-width: 100px;
    display: block;
    margin: auto 0 10px;
}

/* ======= Cards Section ======= */

.card-grid-tourism {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card-tourism {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.card-tourism:hover {
    transform: translateY(-5px);
}

.features-tourism {
    margin-top: 10px;
    padding-left: 20px;
}

.features-tourism li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* ======= FAQ ======= */

.faq-item-tourism {
    margin-top: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #eef2f5;
}

.faq-question-tourism {
    cursor: pointer;
    font-weight: 600;
    position: relative;
}

.faq-question-tourism::after {
    content: '+';
    position: absolute;
    right: 10px;
    font-size: 18px;
}

.faq-question-tourism.active::after {
    content: '-';
}

.faq-answer-tourism {
    display: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
}

/* ======= Contact ======= */

.contact-box-tourism {
    margin-top: 30px;
    padding: 20px;
    background: #e1f5ff;
    border-left: 5px solid #0078a0;
    border-radius: 6px;
}

.contact-box-tourism label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 600;
}

.contact-box-tourism input,
.contact-box-tourism textarea,
.contact-box-tourism select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d7dfe7;
    font-size: 15px;
}

.contact-box-tourism textarea {
    min-height: 120px;
    margin-bottom: 10px;
}

/* ===== Explanation Section ===== */

.explain-section-tourism {
    margin-top: 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.explain-text-tourism {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    text-align: center;
}

.explain-grid-tourism {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.explain-card-tourism {
    background: #e8f9ff;
    padding: 20px;
    border-left: 6px solid #0078a0;
    border-radius: 8px;
}

.explain-card-tourism h3 {
    margin-bottom: 10px;
    color: #004b6e;
}

.explain-card-tourism p {
    font-size: 15px;
    color: #444;
}

/* ======= Fully Responsive Media Queries ===== */

@media(max-width:1024px) {
    .hero-tourism h1 {
        font-size: 36px;
    }

    .hero-tourism p {
        font-size: 16px;
    }

    .countries-tourism {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media(max-width:768px) {
    .hero-tourism h1 {
        font-size: 28px;
    }

    .hero-tourism p {
        font-size: 14px;
        padding: 0 10px;
    }

    .card-grid-tourism {
        grid-template-columns: 1fr;
    }

    .explain-grid-tourism {
        grid-template-columns: 1fr;
    }

    @media(max-width:768px) {
        .countries-tourism {
            flex-direction: row;
            /* row direction */
            flex-wrap: wrap;
            /* wrap if more than 2 items */
            justify-content: center;
            gap: 15px;
        }

        country-card-tourism {
            flex: 0 0 calc(50% - 15px);
            /* 2 cards per row */
            max-width: calc(50% - 15px);
        }
    }

    .contact-box-tourism input,
    .contact-box-tourism textarea,
    .contact-box-tourism select {
        width: 90%;
    }
}

@media(max-width:480px) {
    .hero-tourism {
        padding: 50px 15px;
    }

    .cta-btn-tourism {
        padding: 10px 16px;
        font-size: 14px;
    }

    .section-title-tourism {
        font-size: 22px;
        margin: 30px 0 10px;
    }

    .explain-text-tourism {
        font-size: 16px;
    }
}

/* === Certifications Badges Section === */
.cert-badges-section {
    padding: 50px 0;
    background-color: #ffffff;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.cert-badges-swiper {
    padding: 30px 10px 60px !important;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden !important;
}

.cert-badges-swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
}

.cert-badge-slide {
    width: auto !important;
    flex-shrink: 0 !important;
}

.cert-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
}

.cert-badge-circle {
    width: 110px !important;
    height: 110px !important;
    min-width: 110px;
    min-height: 110px;
    border-radius: 8px !important;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.cert-badge-circle img {
    width: 75% !important;
    height: 75% !important;
    max-width: 85px !important;
    max-height: 85px !important;
    object-fit: contain !important;
    display: block;
}

.cert-badge-name {
    margin: 0 !important;
    font-size: 0.85rem !important;
    color: #2c3e50 !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    max-width: 140px;
    text-align: center;
}

.cert-badge-item:hover .cert-badge-circle {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.12);
}

.cert-badges-pagination .swiper-pagination-bullet-active {
    background: #007bff !important;
}

@media (max-width: 768px) {
    .cert-badge-item {
        width: 140px;
    }

    .cert-badge-circle {
        width: 90px !important;
        height: 90px !important;
        min-width: 90px;
        min-height: 90px;
    }

    .cert-badge-circle img {
        max-width: 65px !important;
        max-height: 65px !important;
    }

    .cert-badge-name {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .cert-badge-item {
        width: 120px;
    }

    .cert-badge-circle {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px;
        min-height: 80px;
    }

    .cert-badge-circle img {
        max-width: 55px !important;
        max-height: 55px !important;
    }

    .cert-badge-name {
        font-size: 0.75rem !important;
        max-width: 120px;
    }
}