:root {
    --primary: #388E3C;
    --secondary: #C8E6C9;
    --success: #FFB74D;
    --light-bg: #FAFAFA;
    --dark: #424242;
    --primary-dark: green;
}
body{
    font-family: "Quicksand", sans-serif;
}

.nav-item .active{
     color : var(--primary) !important;
     border-bottom: 2px solid var(--primary);
}
.primary-text{
    color: var(--primary);
}

.secondary-text{
    color: var(--secondary);
}

.btn-primary{
    background-color: var(--primary);
    color: var(--secondary);
    border:none;
}

.btn-primary:hover{
    color: var(--secondary);
    background-color: var(--primary-dark);
    border:none;
}

.section-padding {
    padding: 50px 0;
}

.card {
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.doctor-card img {
    height: 250px;
    object-fit: cover;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.why-choose-item {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background: var(--secondary);
    height: 100%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content:center;
}

.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.appointment-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.footer {
    background-color: #343a40;
    color: white;
    padding: 60px 0 30px;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
}



.carousel-container {
    position: relative;
    max-height: 100vh;
    overflow: hidden;
}

.carousel-fade .carousel-item {
    transition: opacity 1s ease-in-out;
}

.carousel-item {
    position: relative;
    height: 100vh;
}

.carousel-item img {
    height: 100vh;
    object-fit: cover;
    width: 100%;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5); /* dark transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 15%;
    
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.carousel-caption .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}



.card-img-top{
     width: 100%;
      height: 200px; 
      object-fit: cover; 
}
.service-card .card-content {
  padding: 15px;
  flex-grow: 1; /* Makes content section flexible to take remaining space */
}
.logo{
    height:50px;
}

.facility-card{
    height: 30vh;
}

.facility-card img{
    height:100%;
    object-fit: cover;
}

.object-fit-cover {
    object-fit: cover;
}

.facilities-section {
    background-color: #f8f9fa;
}

.facility-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 250px; /* Fixed height for all images */
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the area without distortion */
    transition: transform 0.3s ease;
}

.facility-card:hover .image-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.card-content p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .image-wrapper {
        height: 200px;
    }
}

.fancy-image {
    width: 100%;
    height: 200px; /* Fixed height for uniformity */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fancy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.event-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-img img {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    line-height: 1;
}

.event-date .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.event-date .month {
    display: block;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
}

.event-content {
    padding: 20px;
}

.event-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.event-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.btn-outline-primary {
    border-color: #2c3e50;
    color: #2c3e50;
}

.btn-outline-primary:hover {
    background: #2c3e50;
    color: white;
}

@media (max-width: 768px) {
    .event-img {
        height: 180px;
    }
}

/* Contact Info Box Styling */
.contact-info-box {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-info-item i {
    font-size: 1.6rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 4px;
}

.contact-info-item h5 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-info-item pre {
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    white-space: pre-wrap;
    margin: 0;
}

textarea{
    resize:none;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-img-lg {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-img-sm {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.stars {
    color: #ffc107;
}

.stars-outline {
    color: #e4e5e9;
}
/* Design 8 - Colorful Accent */
.testimonial-8 {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 4px solid #28a745;
}
.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;
}
pre {
    font-family: inherit;
    font-size: 1rem;
    overflow-x: auto; /* Enables horizontal scrolling for long lines */
    white-space: pre-wrap; /* Ensures text wraps within container */
    word-wrap: break-word;
    line-height: 1.5;
}

.container-padding{
    margin-top:100px; 
    margin-bottom: 50px;
}

/* Parallax Section Styles */
.parallax-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.parallax-content {
    position: relative;
    z-index: 2;
}

.parallax-section .min-vh-75 {
    min-height: 75vh;
}

/* Floating Elements */
.parallax-section .floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.parallax-section .float-item {
    position: absolute;
    width: 200px;
    height: 300px;
    overflow: hidden;
}

.parallax-section .float-item:nth-child(1) {
    top: 15%;
    left: 5%;
    transform: rotate(-15deg);
}

.parallax-section .float-item:nth-child(2) {
    top: 50%;
    right: 10%;
    transform: rotate(10deg);
}

.parallax-section .float-item:nth-child(3) {
    bottom: 10%;
    left: 15%;
    transform: rotate(5deg);
}

.parallax-section .float-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.parallax-section .float-item:hover img {
    transform: scale(1.1);
}

/* Button Styles */
.parallax-section .btn {
    border-radius: 30px;
    transition: all 0.3s ease;
}

.parallax-section .btn-light {
    background: rgba(255, 255, 255, 0.9);
    border: none;
}

.parallax-section .btn-outline-light {
    border-width: 2px;
}

.parallax-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .parallax-section .floating-elements {
        display: none;
    }
    
    .parallax-section {
        padding: 80px 0;
    }
}