/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    background: linear-gradient(to right, #22223b, #4a4e69);
    color: #f2e9e4;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0px 25px;
}

/* Navigation Styles */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(74, 78, 105, 0.6);
    backdrop-filter: blur(12px);
    padding: 20px 40px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

nav.shrunk {
    padding: 10px 40px;
    background: rgba(34, 34, 59, 0.9);
}

.nav-logo img {
        max-height: 70px; /* Adjust depending on your nav height */
        margin-right: 20px; /* Optional spacing if needed */
        width: 140px; /* or your preferred size */
        height: auto;
        transition: all 0.4s ease-in-out; /* Smooth scaling and filter effect */
        filter: brightness(1); /* default brightness */
}

.nav-logo a:hover img {
    transform: scale(1.05);
    opacity: 0.9;
    filter: brightness(0.65); /* makes it slightly darker */
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


.nav-logo img {
    width: 110px;
    height: auto;
    /*border-radius: 50%;*/
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu li {
    list-style: none;
    position: relative;
    font-weight: bold; /* Makes the text slightly bolder */
    font-size: 18px; /* Slightly larger links */
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center; /* Centers text inside each menu item */
    text-align: center;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li:not(:last-child)::after {
    content: "";
    height: 22px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    margin-left: 15px;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

.nav-menu li a:hover::after {
    transform: scaleX(1);
}

.nav-menu li a:hover {
    color: #c9ada7;
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 40px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    font-size: 28px;
    font-weight: bold;
    color: #4a4e69;
    margin-bottom: 10px;
}

h2 {
    font-size: 28px;
    font-weight: bold;
    color: #4a4e69;
    margin-bottom: 10px;
}

h5 {
    color: #124559;
    margin-bottom: 15px;
    font-size: larger;
}

.rdv {
    color: aliceblue;
    font-size: large;
    text-align: center;
}

.disclaimer {
    font-size: 18px;
    font-weight: 500;
    color: #22223b;
    line-height: 1.5;
}

.call-btn {
    display: inline-block;
    background: #4a4e69;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.call-btn:hover {
    background: #22223b;
}

/* Section Colors */

/* Full-width About Section */
#about {
    position: relative;
    width: 100%;
    padding: 150px 20px 80px; /* Adjusted padding */
    background: linear-gradient(to bottom, #4a4e69, #9a8c98);
    color: white;
    overflow: hidden;
}

/* Layout Structure */
.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

/* Left Side - Doctor Information */
.about-text {
    flex: 1;
    max-width: 500px;
}

.about-text h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-text h1 span {
    color: #f2e9e4;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.about-btn {
    display: inline-block;
    margin-top: 20px;
    background: #c9ada7;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.about-btn:hover {
    background: #f2e9e4;
    color: #22223b;
}

/* Right Side - Visual Representation */
.about-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Doctor Image */
.doctor-image {
    width: 350px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(85%);
}

/* Highlights Section */
.about-highlights {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

.highlight:hover {
    transform: scale(1.05);
}

.highlight i {
    font-size: 22px;
    color: #f2e9e4;
}

.highlight h4 {
    font-size: 18px;
    font-weight: bold;
    color: white;
}


#instructions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px 200px;
    background: linear-gradient(to right, rgba(34, 34, 59, 0.8), rgba(74, 78, 105, 0.8));
}

/* Instruction Section Title */
.instruction-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 10px 0;
    width: 100%;
}

.instruction-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: #9a9daf;
    margin-bottom: 10px;
}

.instruction-header p {
    font-size: 18px;
    color: white;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto;
}


#availability {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 60px;
    background: linear-gradient(to right, rgba(74, 78, 105, 0.8), rgba(34, 34, 59, 0.8));
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}
#location { background-color: #a1c6ea; }
#contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(to right, #4a4e69, #9a8c98);
    overflow: hidden;
}
/* Background Shape */
.contact-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(0% 0%, 100% 10%, 100% 90%, 0% 100%);
    top: 0;
    left: 0;
    z-index: -1;
}
/* Contact Container */
.contact-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
    flex-wrap: wrap;
    z-index: 2;
}

/* Guidelines Styles */
.guidelines {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.guide-box {
    flex: 0 1 350px;
    max-width: 350px;
    max-height: 200px;
    margin: 2px auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 30px;
    text-align: center;
    font-size: larger;
    font-weight: bold;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.guide-box:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
}

/* Glow Effect on Hover */
.guide-box:hover::after {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

/* Add an Arrow Icon to Indicate Clickability */
.guide-box::before {
    content: "→";
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #f2e9e4;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.guide-box:hover::before {
    opacity: 1;
    transform: translateX(5px);
}

.guide-box .icon {
    font-size: 2.5em;
    color: #c9ada7;
    margin-bottom: 15px;
}

.guide-box p {
    font-size: 0.8em;
    font-weight: 300;
    color: #aea8f7;
}

.guide-box h3 {
    font-size: 1.1em;
    font-weight: 600;
    color:#f2e9e4;

}

/* About Section Layout */
/* old
.about-content {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 350px;
    width: 100%;
    border-radius: 20px;
    border: 5px solid rgba(74, 78, 105, 0.4);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    padding: 10px 20px;
    text-align: left;
} */

/* Contact Section Styling */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Smooth Fade-in Effect */

.contact-info.visible, .contact-form.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Info - Floating Card */
.contact-info {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: white;
    max-width: 400px;
    z-index: 2;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #f2e9e4;
}

.contact-info p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.contact-icons {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 350px;
}

.info-box {
    flex: 1 1 calc(50% - 15px);
    background-color: #ffffff;
    color: #04080f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box i {
    font-size: 1.8em;
    color: #507dbc;
    margin-bottom: 8px;
}

/*.contact-form-wrapper {
    width: 50%;
    max-width: none;
    min-width: 600px;
}*/

/* Contact Form - Raised Card */
.contact-form {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    transition: transform 0.3s ease-in-out;
    z-index: 2;
}

.contact-form:hover {
    transform: translateY(-15px);
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 16px;
    font-weight: 600;
    color: #f2e9e4;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    font-size: 16px;
    color: rgba(34, 34, 59, 0.8)
}

.contact-form button {
    background: #c9ada7;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-form button:hover {
    background: #f2e9e4;
    color: #aaaac7;
}

/* Contact Card */

/* Individual Contact Cards */
.contact-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    padding: 20px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease-in-out;
}

/* Style Contact Links in Cards */
.contact-card a {
    color: #f2e9e4;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}

.contact-card a:hover {
    color: #c9ada7;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.contact-card:hover {
    transform: scale(1.05);
}

/* Icons inside Cards */
.contact-card i {
    font-size: 24px;
    color: #f2e9e4;
}

/* Contact Card Text */
.contact-card h4 {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.contact-card p {
    font-size: 16px;
    color: white;
}



.contact-container form {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.contact-container input,
.contact-container textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 5px;
    padding: 12px;
    border: none;
}

.contact-container button {
    background: #4a4e69;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-container button:hover {
    background: #22223b;
    box-shadow: 0 0 10px rgba(74, 78, 105, 0.7);
}

/* Location Section Styling */
/* Location Section - Full-Width Map with Floating Info Box */
/* Location Section - Side-by-Side Layout with Wider Map */
#location {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px;
    background: linear-gradient(to right, rgba(245, 245, 250, 0.8), rgba(255, 255, 255, 0.9));
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    color: #22223b;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
}

.location-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1300px;
    width: 100%;
}

/* Left Info Box */
.location-info {
    flex: 1;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: left;
}

.location-info h2 {
    font-size: 28px;
    font-weight: bold;
    color: #4a4e69;
    margin-bottom: 10px;
}

.location-info p {
    font-size: 18px;
    font-weight: 500;
    color: #22223b;
    line-height: 1.6;
}

/* Wider Map on Right */
.location-map {
    flex: 2.5; /* Gives the map more space */
    width: 100%;
    max-width: 900px;
    height: 550px;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    filter: grayscale(10%) contrast(100%);
    pointer-events: none;
    transition: filter 0.3s ease;
}

.location-map:hover {
    transform: scale(1.01);
}

.location-map:hover iframe {
    pointer-events: auto;
    filter: grayscale(0%) contrast(100%);
}

.location-btn {
    display: inline-block;
    background: #4a4e69;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.location-btn:hover {
    background: #22223b;
}


/* Footer Styles */

footer {
    background: rgba(25, 25, 44, 0.8);
    backdrop-filter: blur(10px);
    color: #6c6c77;
    text-align: center;
    padding: 15px 0;
}

/* Availability Section Styling */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

th {
    background: rgba(74, 78, 105, 0.8);
    color: white;
    text-align: center;
    padding: 12px;
}

td {
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    color: #22223b;
}

tr:nth-child(even) td {
    background: rgba(201, 173, 167, 0.2);
}

tbody tr:hover td {
    background: rgba(74, 78, 105, 0.6);
    color: white;
    transition: background-color 0.3s ease;
}

.availability-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 800px;
}

.availability-info {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
}

.availability-icon {
    font-size: 2.5em;
    color: #4a4e69;
    margin-bottom: 10px;
}

.availability-action {
    text-align: center;
    margin-top: 20px;
}

/* Availability Table - Modernized */
.availability-table {
    width: 100%;
}

.book-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #124559;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.book-btn:hover {
    background-color: #01161e;
    transform: translateY(-2px);
}
/* Fullscreen Dark Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    z-index: 999;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Expanded Card */

.expanded-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Darker overlay for contrast */
    backdrop-filter: blur(8px); /* Softens the background */
    z-index: 10; /* Ensures it’s above other content */
    display: none;
}

/* Expanded card*/
.expanded-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(107, 104, 104, 0.5); /* Keeps transparency */
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    color: #22223b;
    max-width: 600px;
    width: 90%;
    z-index: 20; /* Ensure it's above the overlay */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    opacity: 0;
    visibility: hidden;
}

.expanded-card h3 {
    text-align: center;
    align-items: center;
}

/* Show Popup Effect */
.popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* When the expanded card is active */
.expanded-card.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1.05); /* Slight scale-up effect */
}

.popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 10;
}


/* Close Button */
.expanded-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #f2e9e4;
}

.expanded-close-btn:hover {
    color: #0b132b;
}

/* Expanded Card Content */
.expanded-content {
    padding: 20px;
    font-size: 1.5em;
    color: #ffffff;
}

/* When Card is Active */
.expanded-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1.05); /* Slight scale-up effect */
}

body.no-scroll {
    overflow: hidden;
}