/*Top ber section Start*/
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2px; /* Adds spacing between items */
}

.contact-info i {
    display: flex;
    align-items: center;
    gap: 5px; /* Adds spacing between the icon and text */
    font-size: 16px;
}

.contact-info a {
    color: inherit; /* Keeps the text color consistent */
    text-decoration: none;
}

.contact-info span {
    font-weight: bold;
    /*margin-right: 5px;*/
    color: #B20000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column; /* Stacks items vertically on small screens */
        text-align: center; /* Centers the text for a cleaner look */
    }

    .contact-info i {
        justify-content: center;
    }
}
 .contact-info {
     font-size: 14px;
     color: #333;
 }

.blink-icon i {
    animation: color-blink 1.9s infinite;
    font-size: 14px; /* Icon size */
}

@keyframes color-blink {
    0% {
        color: #f0f0f0; /* Blink color */
    }
    50% {
        color: #f0f0f0; /* Invisible during blink */
    }
    75% {
        color: #D20103; /* Blink color */
    }
    100% {
        color: #f0f0f0; /* Blink color */
    }
}

.appointment-link {
    color: #007bff; /* Link color */
    text-decoration: none;
}

.appointment-link:hover {
    text-decoration: underline;
}

i.bi {
    margin-right: 4px;
}

/*Top ber section End*/
/*Hero section Start*/
.icon-box h4 {
    color: #333; /* Default color */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.icon-box:hover h4 {
    color: #007bff; /* Change this color to your desired hover color */
}

/* Optional: If you want to change the color of the paragraph text too */
.icon-box p {
    color: #666; /* Default color */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.icon-box:hover p {
    color: #555; /* Change this color to your desired hover color */
}
/*Hero section End*/


/*Start code for home page popup */
 .unique-popup {
     display: none; /* Initially hide the popup */
     position: fixed;
     top: 50%; /* Center vertically */
     left: 50%; /* Center horizontally */
     transform: translate(-50%, -50%); /* Adjust centering */
     background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background */
     border-radius: 10px; /* Rounded corners */
     z-index: 1000; /* Ensure it's on top of other content */
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Shadow effect for depth */
     animation: unique-fadeIn 0.5s; /* Fade-in animation */
     overflow: hidden; /* Hide overflow */
 }

.unique-popup img {
    width: 100%; /* Full width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for the image */
}

.unique-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: bold;
    background: transparent; /* Transparent background */
    border: none; /* No border */
    font-size: 30px; /* Size of the close icon */
    color: #1977CC; /* Color of the close icon */
    cursor: pointer; /* Pointer cursor on hover */
    transition: color 0.3s; /* Transition for hover effect */
}

.unique-close-button:hover {
    color: red; /* Change color on hover */
}

/* Media Queries for smaller devices */
@media (max-width: 768px) {
    .unique-popup {
        width: 90%; /* Use 90% width on smaller screens */
        max-width: 400px; /* Set a max width for better appearance */
        max-height: 80%; /* Limit height to 80% of the screen */
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); /* More depth on smaller screens */
    }

    .unique-close-button {
        font-size: 26px; /* Adjust close button size for smaller screens */
    }
}

@media (max-width: 480px) {
    .unique-popup {
        width: 95%; /* Use full width on very small screens */
        max-width: 350px; /* Set a max width for very small screens */
        max-height: 85%; /* Maintain height limit */
    }

    .unique-close-button {
        font-size: 24px; /* Adjust close button size */
    }
}

/* Media Queries for larger devices */
@media (min-width: 1200px) {
    .unique-popup {
        width: 85%; /* Use 80% width on larger screens */
        max-width: 600px; /* Set a max width for larger screens */
        max-height: 90%; /* Limit height to 70% of the screen */
    }
}

@media (min-width: 1600px) {
    .unique-popup {
        width: 60%; /* Use 60% width on extra-large screens */
        max-width: 800px; /* Set a max width for extra-large screens */
        max-height: 80%; /* Limit height to 60% of the screen */
    }
}

/* Animation for fade-in effect */
@keyframes unique-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
  /*End code for home page popup*/


/*About section Start*/
.about-us {
    padding: 60px 0;
    background-color: #f9f9f9; /* Light background for contrast */
}

.video-container {
    max-width: 100%;
    margin-bottom: 20px;
    padding: 8px; /* Added padding around the video */
    border-radius: 12px; /* More pronounced rounded corners */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Reduced shadow for depth */
    overflow: hidden; /* Ensure no overflow */
    background-color: #fff; /* Background color for contrast */
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

.video-container:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

iframe {
    width: 100%;
    height: 100%; /* Set to 100% to fill the container */
    aspect-ratio: 16 / 9; /* Maintain a 16:9 aspect ratio */
    border: none;
}

.about-description {
    background: #ffffff; /* White background for the description */
    padding: 15px 15px 6px 15px; /* Padding around description */
    border-radius: 12px; /* Rounded corners */
    position: relative; /* Relative positioning for any future enhancements */
}

.about-heading {
    font-size: 1.5rem; /* Reduced font size for heading */
    color: #0a58ca; /* Custom heading color */
    margin-bottom: 10px; /* Space below heading */
}

.about-text {
    font-size: 0.95rem; /* Reduced font size for readability */
    color: #555; /* Text color */
    line-height: 1.5; /* Improved line height for better readability */
}

.top-button {
    padding: 5px 12px; /* Further reduced padding */
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-us {
        padding: 40px 0; /* Adjust padding for smaller screens */
    }

    .about-heading {
        font-size: 1.25rem; /* Adjust heading size for mobile */
    }

    .about-text {
        font-size: 0.9rem; /* Adjust paragraph size for mobile */
    }
}

/*About section End*/

/*Service section Start*/
.background-image {
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}
/*Service section End*/

/*Doctor section Start*/
.doctor-tab-content-custom {
    border-radius: 10px;
    background-color: #FFFFFF;
    padding: 20px; /* Add padding for inner spacing */
    box-shadow: 0 0 0;
}

.nav-pills .nav-link {
    border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
    color: #007bff; /* Original color */
    padding: 5px 15px; /* Reduced padding for smaller tab size */
    font-size: 14px; /* Adjust font size if needed */
    transition: border-color 0.3s ease;
}

.nav-pills .nav-link.active {
    border-color: #007bff; /* Original active tab border color */
    background-color: #007bff; /* Original active tab background color */
    color: white; /* Original text color for the active tab */
}

.appointment-btn-custom {
    background: linear-gradient(90deg, #00c6ff, #0072ff); /* Gradient background */
    border: none; /* No border */
    border-radius: 30px; /* Rounded corners */
    font-weight: bold; /* Bold text */
    padding: 8px 20px; /* Padding for size */
    color: white; /* Text color */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Transition effects */
    margin-top: 10px; /* Top margin */
    font-size: 0.85rem; /* Font size */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
    cursor: pointer; /* Pointer cursor */
    display: inline-block; /* Inline-block for button */
}

.appointment-btn-custom:hover {
    background: linear-gradient(90deg, #00aaff, #0056ff); /* Darker gradient on hover */
    transform: translateY(-1px); /* Slight lift on hover */
    color: white; /* Text color */
}

.appointment-btn-custom:active {
    background: linear-gradient(90deg, #005bb5, #0072ff); /* Gradient when active */
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); /* Less shadow when active */
    transform: translateY(0); /* Reset lift on click */
}
/*Doctor section End*/

/*Appointment section Start*/
.appointment-form {
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.form-floating label {
    font-size: 0.85rem;
    color: #6c757d;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ddd;
}

.btn.appointment-btn {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    font-weight: bold;
    padding: 10px 40px;
    color: white;
}

.btn.appointment-btn:hover {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.btn.appointment-btn:active {
    background: linear-gradient(90deg, #005bb5, #0072ff);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.form-floating .form-control:focus, .form-floating .form-select:focus {
    box-shadow: none;
    border-color: #80bdff;
}

/* Responsive design */
@media (max-width: 768px) {
    .btn.appointment-btn {
        width: 100%;
        padding: 12px;
    }
}

/*Appointment section End*/

/*GeneralSetting section Start*/
.appointment-form {
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.form-floating label {
    font-size: 0.85rem;
    color: #6c757d;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ddd;
}

.btn.appointment-btn {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    font-weight: bold;
    padding: 10px 40px;
    color: white;
}

.btn.appointment-btn:hover {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.btn.appointment-btn:active {
    background: linear-gradient(90deg, #005bb5, #0072ff);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.form-floating .form-control:focus {
    box-shadow: none;
    border-color: #80bdff;
}

/* Responsive design */
@media (max-width: 768px) {
    .btn.appointment-btn {
        width: 100%;
        padding: 12px;
    }
}

.map-container {
    background-color: #f8f9fa; /* Light background for contrast */
    padding: 15px; /* Padding around the map */
    transition: transform 0.3s; /* Transition for hover effect */
}

.map-container:hover {
    transform: scale(1.02); /* Slightly enlarge on hover */
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
}

/*GeneralSetting section End*/


/*Department section Start*/
/* Square Tabs with Small Size */
.nav-pills .nav-link {
    background-color: transparent;
    color: #007bff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 5px;
    padding: 6px 12px; /* Smaller padding for compact tabs */
    transition: background-color 0.4s, color 0.4s;
    margin-right: 5px; /* Small gap between tabs */
}

.nav-pills .nav-link.active {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.nav-pills .nav-link:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

/* Added margin below tabs */
.mb-3 {
    margin-bottom: 1rem;
}

/* Tab Content Styling */
.tab-content {
    border-radius: 10px;
    background-color: #f9f9f9;
    padding: 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Image Hover Effects */
.img-fluid {
    border-radius: 10px;
    transition: transform 0.4s ease-in-out;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-pills .nav-link {
        font-size: 0.8rem;
        padding: 5px 10px; /* Reduced padding for mobile view */
    }

    .details h3 {
        font-size: 1.3rem;
    }

    .details p {
        font-size: 0.95rem;
    }
}

/*Department section End*/

/*Doctor section Start*/
.zoom-hover {
    overflow: hidden; /* Ensures the zoom effect is contained */
    width: 100%; /* Full width of the card */
    height: 220px; /* Increased height for the image box */
}

.zoom-hover img {
    max-width: none; /* Remove any width constraint */
    height: auto; /* Maintain original height */
    width: 100%; /* Make the image take full width of the container */
    object-fit: cover; /* Cover the box while maintaining aspect ratio */
    transition: transform 0.3s ease; /* Smooth transition for zoom effect */
}

.zoom-hover:hover img {
    transform: scale(1.1); /* Zoom in slightly on hover */
}

.social-icons {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    width: 40px; /* Adjusted width for smaller icons */
    text-align: center;
    border-radius: 5px; /* Slightly rounded background for icons */
}

.social-icons a {
    font-size: 1.2rem; /* Reduced size for icons */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

.social-icons a:hover {
    color: #007bff; /* Change color on hover */
}

.card-body {
    line-height: 1.2; /* Reduced line height */
}

.card-title {
    font-size: 1.1rem; /* Font size for doctor name */
}

.card-body p {
    font-size: 0.9rem; /* Font size for designation and qualification */
}

.card-body small {
    font-size: 0.8rem; /* Font size for institution */
}

.btn.appointment-btn {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 20px; /* Smaller border radius for a subtle round effect */
    font-weight: bold;
    padding: 8px 20px; /* Padding for button */
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px; /* Space above the button */
    font-size: 0.85rem; /* Smaller font size for the button */
}

.btn.appointment-btn:hover {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
    transform: translateY(-2px); /* Subtle lift effect on hover */
}

.btn.appointment-btn:active {
    background: linear-gradient(90deg, #005bb5, #0072ff);
    transform: translateY(0);
}

/*Doctor section End*/

/*Footer section Start*/
.social-links a {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #555;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #0072ff;
}

.subscribe-form {
    margin-top: 10px;
    width: 100%;
    max-width: 100%;
    display: flex;
}

.subscribe-form input.form-control {
    width: 70%;
    padding: 10px;
    border-radius: 5px 0 0 5px;
    border: 1px solid #ddd;
}

.subscribe-btn {
    width: 30%;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 0 5px 5px 0;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 10px 0;
}

.subscribe-btn:hover {
    background: linear-gradient(90deg, #0072ff, #00c6ff);
}

/* Responsive Design */
@media (max-width: 768px) {
    .subscribe-form {
        flex-direction: column;
        align-items: stretch;
    }

    .subscribe-form input.form-control {
        width: 100%;
        border-radius: 5px 5px 0 0;
        margin-bottom: 10px;
    }

    .subscribe-btn {
        width: 100%;
        border-radius: 0 0 5px 5px;
    }

    .social-links {
        justify-content: center;
    }
}
/*Footer section End*/


/*Whatsapp section start*/
@keyframes blink {
    0%, 100% {
        opacity: 1; /* Fully visible */
    }
    50% {
        opacity: 0.3; /* Partially transparent */
    }
}

#whatsapp {
    position: fixed;
    bottom: 65px; /* Adjust this to align above Scroll Top */
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: blink 2.5s infinite; /* Applies the blinking animation */
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

#whatsapp:hover {
    animation: none; /* Disables the blinking effect on hover */
    transform: scale(1.2); /* Enlarges the button slightly on hover */
    background-color: #1ebe59; /* Slightly darker shade of green */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhances the shadow effect */
    cursor: pointer;
}

#whatsapp i {
    font-size: 24px;
    transition: transform 0.3s ease; /* Smooth animation for the icon */
}

#whatsapp:hover i {
    transform: rotate(20deg); /* Adds a slight rotation effect on hover */
}
/*Whatsapp section End*/


/* Notice Bar Start */
/* Scrolling effect */
.scrolling-text-wrapper {
    overflow: hidden;
    position: relative;
    height: 22px;
    line-height: 22px;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 60s linear infinite;
    font-size: 15px;
    font-weight: 500;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
/*End Notice Bar*/


