:root {
    --primary: #0077B6;
    --secondary: #4CC9F0;
    --accent: #48CAE4;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --white: #FFFFFF;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 5px solid #0077B6; 
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--dark) !important;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary) !important;
}
.nav-head{
    color: var(--primary) !important;
}

.navbar-brand {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.25rem, 1.5vw + 0.5rem, 2rem); /* Responsive font size */
    font-weight: 700;
    color: var(--white) !important;
    transition: all 0.3s ease;
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    font-weight: 500;
    color: var(--white) !important;
    margin: 0 8px;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    color: var(--white);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.about-feature-icon {
    display: inline-flex; /* Flexbox use karein */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: var(--light);
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    border-radius: 50%;
}

.about-feature-content h5 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Services Section */
.services-section {
    background-color: var(--light); 
}

.services-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-tab {
    padding: 10px 25px;
    margin: 5px;
    background-color: var(--white);
    color: var(--dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 30px;
}

.service-tab.active, .service-tab:hover {
    background-color: var(--primary);
    color: var(--white);
}

.service-cards {
    background-color: var(--white);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    border-bottom: 3px solid #0077B6; 
}

.service-cards:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-desc {
    color: var(--gray);
    margin-bottom: 15px;
}

/* Doctors Section */
.doctors-section {
    background-color: var(--white);
}

.doctor-card {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    transition: all 0.3s ease;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    border-bottom: 3px solid #0077B6; 
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.doctor-img {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--secondary);
    
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.doctor-title {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.doctor-social {
    display: inline-flex; /* Flexbox use karein */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    gap: 1px; /* Space between icons */
    margin-top: 15px;
}

.doctor-social a {
    display: inline-flex; /* Flexbox use karein */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background-color: var(--light);
    color: var(--primary);
    margin: 0 2px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.doctor-social a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Testimonials Section */
.testimonials-section {
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-section .section-subtitle {
    color: var(--accent);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align:center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--secondary);
}

.author-info h5 {
    margin-bottom: 5px;
}

.author-info .stars {
    color: var(--accent);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 119, 182, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-icon {
    display: inline-flex; /* Flexbox use karein */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    color: var(--white);
    font-size: 2rem;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-icon {
    display: inline-flex; /* Flexbox use karein */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    transform: scale(1);
}

/* Features Section */
.features-section {
    background-color: var(--light);
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: inline-flex; /* Flexbox use karein */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    background-color: var(--light);
    color: var(--primary);
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
    color: var(--white);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
    border-bottom: 6px solid #0077B6; 
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    display: inline-flex; /* Flexbox use karein */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: white;
    color: var(--primary);
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    border-radius: 50%;
}

.contact-content h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-form {
    background-color: var(--light);
    padding: 40px;
    border-radius: 10px;
}

.form-control {
    height: 50px;
    border: none;
    padding: 10px 15px;
    margin-bottom: 20px;
    background-color: var(--white);
    border-radius: 5px;
}

.form-control:focus {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary);
}

textarea.form-control {
    height: 150px;
    resize: none;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-logo {
    font-family: 'Raleway', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
    bottom: -10px;
    left: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}
.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-flex; /* Flexbox use karein */
    align-items: center; /* Vertical center */
    justify-content: center; /* Horizontal center */
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 10px;
    transition: all 0.3s ease;
    border-radius: 50%;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}
        
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 991px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .navbar.scrolled .navbar-brand,
    .navbar.scrolled .nav-link {
        color: var(--dark) !important;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-collapse .nav-link {
        color: var(--dark) !important;
    }
    
    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        color: var(--primary) !important;
    }
}

pre {
    
    font-family: 'Montserrat', sans-serif;
   
    white-space: pre-wrap; /* Wrap text while preserving formatting */
    line-height: 1.5; /* Improved line spacing */
    font-size: 16px; /* Comfortable font size */
    margin-bottom: 20px; /* Spacing from other elements */
    white-space: pre-wrap; /* Wraps the text within the container */
      word-wrap: break-word; /* Breaks long words if necessary */
      overflow: hidden; /* Prevents scroll */
      max-width: 100%;
}
.image-container {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mt-10{
    margin-top:100px;
}


.video-banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}
.video-caption{
    margin-top:100px;
}


/* Service Section */
.service-section {
    padding: 60px 0;
    background-color: #f8f9fa; 
}

/* Service Card */
.service-card {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #0077B6; 
}

/* Card Hover Effect */
.service-card::before {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: 0;
    transition: top 0.4s ease-in-out;
}

.service-card:hover::before {
    top: 0;
}

.service-card h4, .service-card p, .service-card i {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease-in-out;
}

.service-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card:hover h4,
.service-card:hover p,
.service-card:hover i {
    color: white;
}        

.event-image {
    height: 450px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.event-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.tag {
    background: var(--primary);
    /*background: rgba(0, 0, 0, 0.7);*/
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    text-align:center;
    gap: 5px;
    font-weight:bold;
}
.logo{
    height:40px;
    object-fit:cover;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}

.stars {
    color: #ffc107;
}

.stars-outline {
    color: #e4e5e9;
}

/* Design 18 - Magazine Layout */
.testimonial-18 {
    background: #fff;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-18::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent));
}

.testimonial-18 .magazine-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
@media (max-width:768px){
    .section-padding{
        padding-top:90px;
        padding-bottom:50px;
    }
}
.scrolled .navbar-toggler i{
    color:var(--primary);
}

.event-card {
    position: relative;
    width: 100%;
}
.event-image {
    height: 450px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.event-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.tag {
    background: var(--primary);
    /*background: rgba(0, 0, 0, 0.7);*/
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight:bold;
}

.parallax-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.parallax-section .section-title {
    color: var(--white);
}

.parallax-section .section-subtitle {
    color: var(--accent);
}
.parallax-ios-fix {
    background-attachment: scroll !important;
}
body {
  overflow-wrap: break-word;  
  word-wrap: break-word;      
  word-break: break-word;     
  white-space: normal;        
}

/* description section */
.description-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}

.image-block {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.image-block img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.content-block {
  padding: 4rem 2rem;
}

@media (max-width: 991.98px) {
  .description-section {
    flex-direction: column;
  }

  .image-block {
    position: relative;
    height: auto;
  }

  .image-block img {
    height: auto;
  }
}
