/* ================================
   GLOBAL STYLES
================================ */
* {
     margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #ffffff;
}

/* ================================
   NAVBAR STYLES
================================ */

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #00394f; /* Dark Azure */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    width: 100%;
    margin-bottom: 0px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
   
    box-sizing: border-box;
}

/* ===== Dropdown Base ===== */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #00394f;
    width: 200px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 999;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    transition: 0.3s;
}

.dropdown-menu li a:hover {
    background: #f0f6ff;
    color: #00448c;
}

/* ===== Mega Dropdown ===== */
.mega-dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: -250px;
    width: 700px; /* adjust as needed */
    background: #00394f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);

    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 5 in a row */
    gap: 10px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    z-index: 999;
}

/* Menu links */
.mega-menu a {
    padding: 8px 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
}

.mega-menu a:hover {
    background: #f0f6ff;
    color: #00448c;
}

/* Show on hover */
.mega-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .mega-menu {
        width: 600px;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .mega-menu {
        position: static;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        margin-top: 10px;
    }

    .mega-dropdown.active .mega-menu {
        display: grid;
    }
}

/* Show on hover (Desktop) */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow styling */
.arrow {
    font-size: 12px;
    margin-left: 5px;
}

@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        background: transparent;
        padding-left: 15px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

.logo h2 {
    color: #6eceec; /* Azure */
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    transition: 0.3s ease;
}

.nav-links li a:hover {
    color: #6eceec; /* Azure */
}

/* Book Appointment Button */
.btn-appointment {
    background-color: #ed1d23; /* Red */
    padding: 10px 18px;
    border-radius: 5px;
    color: #ffffff !important;
    font-weight: 600;
}

.btn-appointment:hover {
    background-color: #40558a; /* Blue */
}

/* ================================
   MOBILE NAVIGATION
================================ */

.menu-toggle {
    display: none;
    font-size: 28px;
    color: #ffffff;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #00394f;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}



/* ================================
   HERO VIDEO SECTION
================================ */

.hero-video {
    
    width: 100%;
    height: 250px;              /* 60% of screen width */
    max-height: 600px;         /* Prevents over-scaling on large screens */
    min-height: 350px;         /* Prevents too small on mobile */

}

/* Background Video */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    object-fit: cover;
    z-index: 1;
    bottom: 0;
}



/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;     /* Vertical center */
    text-align: center;
    margin-top: 60px;
    color: #ffffff;
    
}

/* Heading */
.hero-content h1 {
    font-size: 3vw;
    max-font-size: 48px;
    margin-bottom: 20px;
}

/* Paragraph */
.hero-content p {
    font-size: 1.2vw;
    margin-bottom: 30px;
    color: #6eceec;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background-color: #ed1d23;
    padding: 12px 28px;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: #40558a;
}

.btn-secondary {
    background-color: #057fc4;
    padding: 12px 28px;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-secondary:hover {
    background-color: #6eceec;
}


/* ================================
   ABOUT SECTION
================================ */

.about-section {
    background-color: #ffffff;
    padding: 10px 20px;
    

}

.container {
    max-width: 1200px;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;

}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.section-header h2 {
    font-size: 36px;
    color: #00394f; /* Dark Azure */
    margin-bottom: 10px;
}

.section-header .subtitle {
    font-size: 18px;
    color: #057fc4; /* Vivid Azure */
    font-weight: 500;
}

/* Content Layout */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Text Area */
.about-text {
    flex: 1;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #40558a; /* Blue */
    margin-bottom: 20px;
}

/* Image Area */
.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 992px) {

    .about-content {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header .subtitle {
        font-size: 16px;
    }

    .about-text p {
        font-size: 15px;
    }
}


/* ================================
   SPECIALITIES SECTION
================================ */

.specialities-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.specialities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Styling */
.speciality-card {
    background-color: #f9fbfd;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e5eef4;
    transition: 0.3s ease;
}

.speciality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 57, 79, 0.1);
    border-color: #057fc4;
}

.speciality-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #00394f; /* Dark Azure */
}

.speciality-card p {
    font-size: 15px;
    color: #40558a; /* Blue */
    line-height: 1.6;
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 50px;
}

.view-more-btn {
    background-color: #ed1d23; /* Red */
    padding: 12px 30px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s ease;
}

.view-more-btn:hover {
    background-color: #40558a;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .specialities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .specialities-grid {
        grid-template-columns: 1fr;
    }
}

/* Icon Circle */
.icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background-color: #e6f6fb;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    border: 2px solid #6eceec;
}

.icon-circle i {
    font-size: 28px;
    color: #057fc4;
    transition: 0.3s ease;
}

/* Hover Effect */
.speciality-card:hover .icon-circle {
    background-color: #00394f;
    border-color: #00394f;
}

.speciality-card:hover .icon-circle i {
    color: #ffffff;
}



/* ================================
   SERVICES SECTION
================================ */

.services-section {
    padding: 8px 20px;
   
}

.service-container {
    max-width: 100%;
    margin-top: 0px;
    
    background-image: url("../images/bbb.jpg");;

}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 10px;
}

/* Service Box */
.service-box {
    position: relative;
    background-color: #f9fbfd;
    border: 1px solid #e5eef4;
    height: 250px;
    padding: 25px;
    border-radius: 8px;
    transition: 0.3s ease;
    overflow: hidden;
}

/* Service Title - Top Left */
.service-box h3 {
    font-size: 18px;
    color: #00394f;
    position: absolute;
    top: 25px;
    left: 25px;
    max-width: 80%;
}

/* Icon - Bottom Left */
.service-icon {
    position: absolute;
    bottom: 25px;
    left: 25px;
}

.service-icon i {
    font-size: 40px;
    color: #057fc4;
    transition: 0.3s ease;
}

/* Hover Effect */
.service-box:hover {
    background-color: #00394f;
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 57, 79, 0.15);
}

.service-box:hover h3 {
    color: #ffffff;
}

.service-box:hover .service-icon i {
    color: #6eceec;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-box {
        height: 200px;
    }
}



/* ===== Doctor Section Background ===== */
.dr-slider-section {
  position: relative;
  width: 100vw;               /* Full viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;         /* Break out of container */
  margin-right: -50vw;
  background-color: #000000 !important;
  padding: 5px;
}

.doctor-container {
    color: #40558a;
}


/* Inner container */
.dr-slider-wrapper {
  width: 90%;
  max-width: 1320px;
  margin: 0 auto;
}

/* Title */
.dr-slider-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  margin-top: 14px;
}

/* Doctor Card */
.dr-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dr-card:hover {
  transform: translateY(-12px);
}

/* Image */
.dr-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Details */
.dr-details {
  padding: 22px 15px;
}

.dr-details h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111;
}

.dr-details p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Arrow Style */
.dr-next {
  position: absolute;
  right: 10px;
  top: 45%;
  width: 45px;
  height: 45px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.dr-next::after {
  content: '›';
  font-size: 28px;
  font-weight: bold;
  color: #0b5ed7;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -55%);
}

/* Responsive */
@media (max-width: 992px) {
  .dr-slider-title {
    font-size: 26px;
  }

  .dr-image img {
    height: 260px;
  }
}

@media (max-width: 576px) {
  .dr-image img {
    height: 240px;
  }
}



/* ===== Section Background ===== */
.ts-section {
  position: relative;
  background: url("images/testimonial-bg.jpg") center/cover no-repeat;
  padding: 0px 0;
  color: #fff;
  margin-bottom: 10px;
}



.ts-wrapper {
  position: relative;
  width: 90%;
  max-width: 1300px;
  margin: auto;
  z-index: 2;
}

.ts-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  margin-top: 40px;

}

/* Testimonial Card */
.ts-card {
  position: relative;
  background: #ffffff;
  color: #333;
  padding: 40px 30px 30px;
  border-radius: 8px;
  min-height: 250px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  transition: 0.4s ease;
}

.ts-card:hover {
  transform: translateY(-10px);
}

/* Big Quote */
.ts-quote {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 70px;
  font-weight: bold;
  color: #0b5ed7;
  opacity: 0.2;
}

.ts-card p {
  margin-top: 40px;
  font-size: 15px;
  line-height: 1.7;
}

.ts-card h4 {
  margin-top: 20px;
  font-weight: 600;
  color: #0b5ed7;
}

/* Arrow */
.ts-next {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.ts-next::after {
  content: '›';
  font-size: 28px;
  font-weight: bold;
  color: #0b5ed7;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -55%);
}

/* Responsive */
@media (max-width: 992px) {
  .ts-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .ts-card {
    padding: 35px 20px;
  }
}



/* ===== Footer Section ===== */
.cf-footer {
  background-color: #00394f; /* SAME as navbar color */
  color: #ffffff;
  margin-top: 80px; /* Space from above section */
  padding-top: 70px;
}

/* Container */
.cf-container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
}

/* Logo */
.cf-logo {
  font-size: 24px;
  margin-bottom: 15px;
}

/* Column Headings */
.cf-col h4 {
  margin-bottom: 20px;
  font-size: 18px;
}

/* Lists */
.cf-col ul {
  list-style: none;
  padding: 0;
}

.cf-col ul li {
  margin-bottom: 10px;
}

.cf-col ul li a {
  text-decoration: none;
  color: #ffffff;
  opacity: 0.85;
  transition: 0.3s ease;
}

.cf-col ul li a:hover {
  opacity: 1;
  padding-left: 5px;
}

/* Bottom Bar */
.cf-bottom {
  text-align: center;
  padding: 18px 0;
  background: rgba(0, 0, 0, 0.15);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .cf-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .cf-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== Outer Section ===== */
.contact-section-modern {
    padding: 80px 5%;
    background: #f4f8fc; /* Outside background */
}

/* ===== Background Image Box ===== */
.contact-bg-box {
    position: relative;
    background: url('contact-bg.jpg') no-repeat center center/cover;
    border-radius: 60px 20px 60px 20px;
    padding: 80px 60px;
    overflow: hidden;
}

/* Dark overlay for readability */
.contact-bg-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/overlay-image.png") no-repeat center center;
    background-size: cover;
    z-index: 0;
}

/* ===== Content Wrapper ===== */
.contact-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* ===== Left Image ===== */
.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* =============== Right Form ===== */
.contact-form {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.contact-form h2 {
    margin-bottom: 25px;
    color: #00448c;
}

/* Inputs */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #00448c;
    outline: none;
    box-shadow: 0 0 8px rgba(0,68,140,0.2);
}

/* Button */
.contact-form button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #00448c;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #002f61;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-bg-box {
        padding: 50px 30px;
        border-radius: 40px;
    }
}

@media (max-width: 576px) {
    .contact-section-modern {
        padding: 60px 4%;
    }

    .contact-form {
        padding: 25px;
    }
}/* ===== Vision Mission Values Section ===== */
.vmv-section {
    padding: 100px 8%;
    background: #f4f8fc;
}

.vmv-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Card Design */
.vmv-card {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Title */
.vmv-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #00448c;
}

/* Content */
.vmv-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* Corporate Hover Effect */
.vmv-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: #00448c;
    top: 0;
    left: 0;
    transition: height 0.4s ease;
    z-index: 0;
}

.vmv-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.vmv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.vmv-card h3,
.vmv-card p {
    position: relative;
    z-index: 1;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .vmv-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vmv-container {
        grid-template-columns: 1fr;
    }
}


/* ===== FAQ Section ===== */
.faq-section {
    padding: 100px 6%;
    background: #f4f8fc;
}

.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 30px;
    color: #00448c;
}

/* FAQ Item */
.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: 0.3s;
}

/* Question */
.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Icon */
.faq-icon {
    font-size: 20px;
    color: #00448c;
    transition: 0.3s;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

/* Active State */
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 20px 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Hover */
.faq-item:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* ===== Footer Social Section ===== */
.footer-social h4 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
    text-decoration: none;
}

/* Hover Effects */
.social-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Brand Colors on Hover */
.social-icon.facebook:hover {
    background: #1877f2;
}

.social-icon.instagram:hover {
    background: #e1306c;
}

.social-icon.twitter:hover {
    background: #000;
}

.social-icon.linkedin:hover {
    background: #0077b5;
}

.social-icon.youtube:hover {
    background: #ff0000;
}



/* ===== Department SECTION ===== */

.ortho-section {
    background: #f2f4f7; /* Slightly darker than white */
    padding: 80px 0;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.ortho-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.ortho-card {
    background: #ffffff;
    padding: 30px 15px;
    border-radius: 10px;
    font-weight: 600;
    color: #003366;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.ortho-card:hover {
    background: #003366;
    color: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===== Responsive ===== */

@media (max-width: 1200px) {
    .ortho-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ortho-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ortho-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================== About Department Section ====================== */
.ortho-about-section {
    padding: 80px 0;
    background: #ffffff;
}

.container-left {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.ortho-about-section h2 {
    font-size: 34px;
    color: #003366;
    margin-bottom: 25px;
    font-weight: 700;
}

.ortho-about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* ===== BLOG SECTION ===== */

.blog-section {
    padding: 80px 0;
    background: #f7f9fc;
}

.blog-list-container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

.blog-title {
    text-align: left;
    font-size: 32px;
    color: #003366;
    font-weight: 700;
    margin-bottom: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.blog-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    width: max-content;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 18px;
    color: #003366;
    font-weight: 600;
    line-height: 1.4;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================ Single blog design =================== */

/* ===== SINGLE BLOG SECTION ===== */

.single-blog-section {
    padding: 80px 0;
    background: #ffffff;
}

.blog-container {
    width: 85%;
    max-width: 1000px;
    margin: auto;
}

.blog-featured-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

.blog-headline {
    font-size: 34px;
    color: #003366;
    margin-bottom: 25px;
    font-weight: 700;
}

.blog-content-area p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.blog-content-area h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #003366;
    font-size: 22px;
}

.blog-bullet-list {
    margin-left: 20px;
    margin-bottom: 25px;
}

.blog-bullet-list li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #444;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .blog-featured-image img {
        height: 250px;
    }

    .blog-headline {
        font-size: 26px;
    }
}

/* =========================== CONTACT SECTION =============================== */

.contact-section {
    padding: 80px 0;
    background: #f4f6f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.contact-title {
    text-align: left;
    font-size: 32px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 40px;
}

/* Contact Cards */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.contact-card i {
    font-size: 30px;
    color: #003366;
    margin-bottom: 15px;
}

.contact-card h3 {
    margin-bottom: 10px;
    color: #003366;
}

.contact-card p {
    color: #555;
    font-size: 15px;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Contact Form + Image Layout */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.contact-form button {
    background: #003366;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #00509e;
}

/* Responsive */

@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}


/* ==================================== APPOINTMENT POPUP ================= */

.appointment-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.appointment-box {
    background: #ffffff;
    width: 450px;
    max-width: 90%;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    animation: popupFade 0.3s ease;
}

.appointment-box h2 {
    margin-bottom: 20px;
    color: #003366;
    font-size: 24px;
}

.appointment-box input,
.appointment-box select,
.appointment-box textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.appointment-box button {
    width: 100%;
    padding: 12px;
    background: #003366;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.appointment-box button:hover {
    background: #00509e;
}

.close-appointment {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Animation */
@keyframes popupFade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}


/* Doctor profile */  /* Doctor profile */  /* Doctor profile */
/* ===== DOCTOR PROFILE SECTION ===== */

.doctor-profile-section {
    padding: 80px 0;
    background: #ffffff;
}

.doctor-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Image */
.doctor-image {
    flex: 1;
}

.doctor-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Content */
.doctor-content {
    flex: 1;
}

.doctor-content h2 {
    font-size: 32px;
    color: #003366;
    margin-bottom: 10px;
}

.doctor-content h4 {
    font-size: 18px;
    color: #057fc4;
    margin-bottom: 20px;
}

.doctor-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

/* Responsive */

@media (max-width: 992px) {
    .doctor-container {
        flex-direction: column;
    }

    .doctor-image img {
        max-height: 400px;
    }
}