html {
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
.head {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px;
    text-align: center;
    font-size: 18px;
    z-index: 1000;
}

body {
    background-color: #f8f9fa;
    color: #fdfdfd;
    padding-top: 30px; /* Add padding to prevent content from being hidden behind the fixed header */
}

.header-top {
    background-color: #d63384; 
    color: white;
    text-align: right;
    padding: 10px 0; 
    font-size: 14px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(58, 58, 58, 0.266);
}

.header-container {
    position: fixed;
    width: 100%;
    margin-top: 20px; /* Adjust for the height of the header-top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 5%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    top: 12px;
    bottom: 0px;
    position: relative;
}

.logo img {
    width: 180px;
    height: 80px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    padding-top: 20px;
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav ul li a:hover {
    color: #d63384;
}

.header-top p {
    position: relative;
    right: 10px;
    color: #ffffff;
}
/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 5%;
    }

    .logo img {

        width: 140px;
        height: auto;
    }

    nav {
        border-left: 4px solid#d63384 ;
        position: absolute;
        top: 100%;
        right: 0;
        width: 60%; /* adjust as needed */
        background-color: rgb(255, 255, 255);
        display: none;
        flex-direction: column;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    nav.show {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }

    nav ul li {
        margin: 10px 0;
        padding: 0 15px;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        padding-top: 20px;
        top: 30px;
        z-index: 1001;
    }

}


@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}


/*doctor profile*/

.doc {
    background: linear-gradient(to bottom, #b3e5fc, #81d4fa, #4fc3f7, #29b6f6, #03a9f4);
}
.doctor-profile {
    border-left: 10px solid #ed2876;
    margin-block-start: 100px;
    background-color: #1f4b66;
    color: white;
    padding: 40px 0;
    width: 90%;
    margin-left: auto;
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out forwards;
}

.profile-container {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    padding: 0 20px;
    gap: 25px;
    width: 100%;
}

.doctor-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.doctor-image img {
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.doctor-info {
    flex: 2;
    padding-left: 60px;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-info h2 {
    color: #ffffffbc;
    font-size: 25px;
    margin-bottom: 0;
}

.doctor-info h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.highlight {
    color: #d63384;
}

.doctor-info p {
    font-size: 15px;
    margin: 5px 0;
}

.appointment-btn {
    background-color: #00CFFF;
    color: white;
    padding: 15px 20px;
    width: fit-content;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.appointment-btn:hover {
    background-color: #0099CC;
}

/* ✅ Responsive Styles */
@media (max-width: 768px) {
    .doctor-profile {
        border-left: none;
        margin-block-start: 80px;
        padding: 30px 10px;
        width: 95%;
    }

    .profile-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
        align-items: center;
    }

    .doctor-image {
        padding: 0;
    }

    .doctor-image img {
        width: 90%;
        max-width: 300px;
    }

    .doctor-info {
        padding-left: 0;
        text-align: center;
        align-items: center;
    }

    .doctor-info h1 {
        font-size: 28px;
    }

    .doctor-info h2 {
        font-size: 20px;
    }

    .doctor-info p {
        font-size: 14px;
    }

    .appointment-btn {
        width: 80%;
        text-align: center;
        font-size: 14px;
        padding: 12px;
    }
}
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


        /*objective*/
        .objective {
            padding: 0 5%;
            width: 100%;
            box-sizing: border-box;
            margin-bottom: 30px;
        }
        
        .objective-container {
            width: 100%;
            color: #000000;
            background-color: #f0f0f0;
            border-radius: 10px;
            padding: 25px 20px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            box-sizing: border-box;
            overflow-wrap: break-word;
            word-wrap: break-word;
            overflow: hidden;
        }
        
        .objective-container h2 {
            font-weight: bold;
            font-size: 24px;
            margin-bottom: 15px;
        }
        
        .objective-container p {
            font-size: 16px;
            text-align: center;
            margin: 10px 0;
            line-height: 1.6;
            padding-bottom: 20px;
            word-break: break-word;
        }
        
        /* Responsive styles for tablets and below */
        @media (max-width: 768px) {
            .objective {
                padding: 0 4%;
            }
        
            .objective-container {
                padding: 20px 15px;
            }
        
            .objective-container h2 {
                font-size: 20px;
            }
        
            .objective-container p {
                padding-bottom: 20px;
                font-size: 14px;
                margin: 8px 0;
            }
        }
        
        /* Responsive styles for smaller phones */
        @media (max-width: 480px) {
            .objective {
                margin-bottom: 30px;
                padding: 0 3%;
            }
        
            .objective-container {
                padding: 18px 12px;
            }
        
            .objective-container h2 {
                font-size: 18px;
            }
        
            .objective-container p {
                padding-bottom: 20px;
                font-size: 13.5px;
            }
        }
        


/* Carousel Container */
.my-blogs {
    color: #000000;
    background-color: #ffffff;
    height: 650px;
}
.my-blogs h2{
    font-size: 28px;
}
.my-blogs p{
    font-size: 16px;
    padding: 10px;
}

.objective1-container {
    padding: 50px;
    text-align: center;
}

/* Carousel Wrapper */
.carousel-container {
    width: 90%;
    height: 400px;
    margin: auto;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel Track */
.carousel-wrapper {
    padding: 10px;
    position: relative;
    overflow: hidden;
    width: 85%;
    height: 350px;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

/* Carousel Item */
.carousel-item {
    width: 140px;
    padding-top: 20px;
    flex: 0 0 calc(25% - 30px); /* 4 tiles visible at a time */
    cursor: pointer;
    background: white;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    height: 380px;
    transition: transform 0.3s ease-in-out;
}

.carousel-item:hover {
    transform: scale(1.05);
}

/* Tile Content */
.tile-content img {
    max-height: 200px;
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.caption {
    color: #0099CC;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}
.caption p{
    top: 60px;
    justify-content: left;
    font-size: 12px;
}
/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 24px;
    z-index: 100;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Background Blur Effect when Modal is Open */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 999;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Greyish background */
    backdrop-filter: blur(8px); /* Blur effect */
    z-index: 998; /* Below the modal */
    display: none; /* Hidden by default */
}

/* Ensure modal is above the overlay */
.blog-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    z-index: 999; /* Above the overlay */
    display: none; /* Hidden by default */
}

/* Display modal and overlay when active */
.blog-modal.active,
.overlay.active {
    display: block;
}

.blog-modal .modal-box {
    max-width: 600px; /* Keep the modal width as required */
    background: white;
    padding: 20px;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    display: flex; /* Align image and text side by side */
    align-items: flex-start;
    gap: 15px; /* Space between image and text */
}

.modal-img {
    width: 150px; /* Keep the image size as per your layout */
    height: auto;
    border-radius: 8px;
}

.modal-content {
   left: 200px;
    flex: 1; /* Allows text area to take remaining space */
    display: flex;
    flex-direction: column;
}

#modal-title {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

#modal-caption {
    color: #000000;
    width: 100%;
    max-height: 250px; /* Keep it scrollable if needed */
    overflow-y: auto;
    text-align: justify;
    padding-right: 10px;
    border-top: 1px solid #ccc;
}


/* Close Button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.modal-close:hover {
    color: red;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 50%; /* 2 slides visible at a time on smaller screens */
    }

    .modal-box {
        width: 90%;
    }
}
@media (max-width: 768px) {
    .carousel-container {
        flex-direction: column;
        padding: 20px 10px;
        height: auto;
    }

    .carousel-wrapper {
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .carousel-track {
        gap: 10px;
    }

    .carousel-item {
        flex: 0 0 100%; /* Show only one item at a time */
        max-width: 100%;
        height: auto;
    }

    .tile-content img {
        max-height: 180px;
    }

    .caption {
        font-size: 16px;
        padding: 8px;
    }

    .carousel-btn {
        padding: 10px 15px;
        font-size: 20px;
    }

    .modal-img {
        width: 100px;
    }

    .blog-modal .modal-box {
        flex-direction: column;
        max-width: 90%;
    }

    .modal-content {
        padding-top: 10px;
    }
}

 /*academics*/ 
 .academics_cont{
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    width: 100%;
   
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 30px;
    top: 0px;
 }      
.academics h2 {
    font-size: 28px;
    font-weight: bold;
    color: #0056b3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 3px solid #0056b3;
    display: inline-block;
    padding-bottom: 8px;
}
.academics p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}
.container {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.card {
    background: #f8f9fa;
    padding: 20px;
    margin: 15px;
    border-radius: 8px;
    flex: 1;
    min-width: 300px;
    max-width: 340px;
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
    border-left: 5px solid #0056b3;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.card h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #0056b3;
    font-weight: bold;
}
.card p {
    margin: 5px 0;
    color: #555;
}


        /*experience details*/
        .experience-container {
            background: #1f4b66;
            padding: 30px;
            width: 90%;
            margin: 50px auto;
            border-radius: 8px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
        }
        .experience-details h2 {
            text-align: center;
            color: #d63384;
            font-size: 26px;
            font-weight: bold;
            border-bottom: 3px solid #fff;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }
        .experience-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }
        .experience-column {
            flex: 1;
            min-width: 280px;
            padding: 10px;
        }
        .experience-item {
            background: rgba(255, 255, 255, 0.15);
            padding: 15px;
            margin-bottom: 15px;
            border-radius: 5px;
            text-align: center;
            font-size: 16px;
            line-height: 1.5;
        }
        .experience-item b {
            font-size: 18px;
            display: block;
            margin-bottom: 5px;
        }

    /* Carousel Improvements */
    .carousel-container {
        padding: 15px;
        border-radius: 12px;
    }

    .carousel-item {
        border-radius: 12px;
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }

    .caption p {
        font-size: 14px;
        line-height: 1.4;
        color: #333;
        padding: 10px;
    }

    /* Academic Section */
    .card {
        border-left: 4px solid #d63384;
        margin: 10px 0;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    /* Experience Section */
    .experience-container {
        padding: 20px;
        border-radius: 12px;
    }

    .experience-item {
        padding: 15px;
        border-radius: 8px;
        background: rgba(255,255,255,0.2);
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

   

    /* Modal Improvements */
    .blog-modal .modal-box {
        border-radius: 12px;
        padding: 15px;
    }

    .modal-img {
        border-radius: 8px;
        margin-bottom: 15px;
    }

    #modal-title {
        font-size: 20px;
        color: #d63384;
    }


/* Add smooth transitions */
.doctor-image img,
.card,
.experience-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-image img:hover,
.card:hover,
.experience-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

  /* Footer Main Styling */
  .top-bar {
    background: black;
    color: white;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

/* Container for Footer Layout */
.top-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    gap: 40px;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 20px;
}

/* Logo Styling */
.brand-logo img {
    width: 180px;
    height: auto;
    margin-right: 20px; /* Push content slightly right */
    margin-left: -20px;  /* Pull logo slightly left */
}

/* Navigation Menu */
.navigation {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 60px; /* More gap between columns */
}

/* Columns Inside Navigation */
.footer-column {
    min-width: 200px;
    gap: 20px;
}

/* Column Header Styling */
.footer-column h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

/* List Style for Footer Menu */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #ccc;
}

/* Links in Footer */
.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ed2876;
}

/* Contact Section Styling */
.contact-number {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.email-link {
    color: #ed2876;
    text-decoration: none;
    font-size: 16px;
}

.email-link:hover {
    text-decoration: underline;
}

/* Bottom Wave Effect */
.bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to right, rgb(208, 0, 139), #ed2876);
    clip-path: ellipse(60% 100% at 50% 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-container {
        flex-wrap: wrap;
        gap: 30px;
        padding: 0 15px;
    }

    .brand-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .brand-logo img {
        width: 140px;
        height: auto;
        margin: 0 auto;
    }

    .navigation {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
        width: 100%;
    }

    .footer-column {
        min-width: 160px;
        text-align: center;
    }

    .footer-column h4 {
        font-size: 18px;
    }

    .footer-column ul li {
        font-size: 14px;
    }
}

