@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.roboto {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
}

.upper-header {
    font-size: 14px;
    margin-left: 2%;
    margin-right: 2%;
    display: flex;
    justify-content: space-between;
}

#location {
    color: brown;
    font-size: 18px;

}

.upper-header-right {
    margin-top: 14px;

}

.upper-header-right a {
    color: black;
    text-decoration: none;
    margin-right: 30px;
    font-weight: 600;
}

.upper-header-hr {
    border: 0.3px solid rgba(48, 46, 46, 0.059);
    margin: 0;
}

.header {
    display: flex;
}

.header-right>ul {
    display: flex;
}

.header li {
    list-style-type: none;
}

.header-left img {
    width: 300px;
}

.header-right>ul {
    gap: 2rem;
    margin-top: 3.5%;
}

.header-right li a {
    color: black;
    text-decoration: none;
    transition: .3s;
    font-weight: 500;
    font-size: 15px;
}

.header-right li a:hover {
    color: brown;
}

/* Dropdown Styles */
.header-right ul li {
    position: relative;
    padding-bottom: 20px;
    /* Bridge the gap for hover */
}

/* Specific adjustment for language selector to align with text */
.header-right ul li.language-selector {
    display: flex;
    align-items: center;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    /* Reduced width */
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Lighter shadow */
    display: none;
    flex-direction: column;
    padding: 5px 0;
    /* Reduced padding */
    border-radius: 2px;
    z-index: 9999;
    /* Increased z-index */
    border-top: 2px solid brown;
    /* Thinner border */
}

/* Align dropdowns of the last 3 items to the right to prevent cutoff */
.header-right ul>li:nth-last-child(-n+4) .dropdown {
    left: auto;
    right: 0;
}

/* Show dropdown on hover */
.header-right ul li:hover .dropdown {
    display: flex;
}

.dropdown li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.dropdown li a {
    display: block;
    padding: 8px 16px;
    /* Reduced item padding */
    font-size: 13px;
    /* Smaller font */
    color: #444;
    /* Slightly softer black */
    border-bottom: 1px solid #f0f0f0;
    font-weight: 400;
    /* Regular weight for sub-items */
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background-color: #f9f9f9;
    color: brown;
    padding-left: 25px;
    /* Slight movement on hover */
}

/* Flag styles */
.header-right img,
.dropdown img {
    margin-right: 8px;
    vertical-align: middle;
    width: 20px;
    height: auto;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

/* Language selector specific */
.language-selector>a {
    display: flex;
    align-items: center;
}

/* Slider Styles */
.slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    /* Limit height for large screens */
    object-fit: cover;
}

/* Slider Controls */
button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s;
    user-select: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

button.prev:hover,
button.next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

button.prev {
    left: 20px;
}

button.next {
    right: 20px;
}

/* Dots */
.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: white;
}

/* Slide Content Overlays */
.slide {
    position: relative;
    /* Ensure relative positioning for absolute children */
}

/* Gradient Masks */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Above image, below content */
    pointer-events: none;
    /* Let clicks pass through to image/buttons if needed */
}

.slide.mask-left::after {
    background: linear-gradient(to right, #ffffff 30%, rgba(255, 255, 255, 0) 70%);
}

.slide.mask-right::after {
    background: linear-gradient(to left, #ffffff 30%, rgba(255, 255, 255, 0) 70%);
}

.slide.mask-center::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 30%, rgba(255, 255, 255, 0) 70%);
}

.slide-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 600px;
    padding: 20px;
    z-index: 5;
    color: #333;
    /* Assuming light background images, dark text */
}

/* Alignment variants */
.slide-content.left {
    left: 10%;
    text-align: left;
}

.slide-content.right {
    right: 10%;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.slide-content.center {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography */
.slide-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #333;
}

.slide-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

/* Button */
.btn-slide {
    display: inline-block;
    padding: 12px 30px;
    color: #333;
    border: 2px solid #333;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background-color: transparent;
}

.btn-slide:hover {
    background-color: #333;
    color: #fff;
}

/* CTA Section */
.cta-section {
    background-color: #795548;
    /* A nice brown shade */
    padding: 40px 0;
    width: 100%;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    /* responsive */
    gap: 20px;
}

.cta-content p {
    font-size: 20px;
    /* Slightly larger text */
    font-weight: 500;
    margin: 0;
    flex: 1;
}

.cta-button {
    background-color: black;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    font-size: 18px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #333;
}

/* Info & Video Section */
.info-video-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.info-content {
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.info-content h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.info-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    /* Match the block-like appearance in screenshot */
    text-align-last: center;
    /* Center the last line nicely */
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.video-wrapper {
    position: relative;
    width: calc(50% - 10px);
    /* Instagram Reels portrait ratio 9:16 */
    aspect-ratio: 9 / 16;
    flex: 1 1 300px;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #000;
}

/* Fallback for aspect-ratio */
@supports not (aspect-ratio: 9 / 16) {
    .video-wrapper {
        height: 0;
        padding-bottom: 177.78%;
    }
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info-btn-container {
    margin-top: 40px;
    text-align: center;
}

.info-btn-black {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    /* Slight radius */
    transition: background-color 0.3s;
}

.info-btn-black:hover {
    background-color: #333;
}

/* Services Section */
.services-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    /* Light gray background */
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: transparent;
    padding: 20px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 140px;
    height: 140px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-icon img {
    width: 80px;
    height: 80px;
}

.service-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    height: 40px;
    /* Force height to align buttons */
}

.service-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3a6d7e;
    /* Teal-ish color like screenshot */
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.service-btn:hover {
    background-color: #2c5260;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background-color: #fff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-subtitle {
    color: #3a6d7e;
    /* Match teal theme */
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 700;
}

.about-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 800;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.btn-about {
    display: inline-block;
    background-color: #3a6d7e;
    /* Teal button */
    color: white;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-about:hover {
    background-color: #2c5260;
}

/* BMI Calculator Section */
.bmi-section {
    padding: 60px 20px;
    background-color: #f9fbfd;
    /* Light background */
}

.bmi-title {
    text-align: center;
    font-size: 24px;
    color: #3a6d7e;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.bmi-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.bmi-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 320px;
}

.bmi-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.label-row span {
    font-weight: 700;
    color: #3a6d7e;
}

/* Custom Slider Styling */
.slider {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 5px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3a6d7e;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(58, 109, 126, 0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3a6d7e;
    cursor: pointer;
}

/* Gender Selection */
.gender-selection {
    display: flex;
    gap: 10px;
}

.gender-selection input {
    display: none;
}

.gender-label {
    flex: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
    /* Gray border */
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    color: #555;
    font-weight: 600;
    transition: all 0.3s;
}

.gender-selection input:checked+.gender-label {
    background-color: #3a6d7e;
    color: white;
    border-color: #3a6d7e;
}

/* Calculate Button */
.btn-calculate {
    width: 100%;
    padding: 15px;
    background-color: #3a6d7e;
    color: white;
    border: none;
    border-radius: 4px;
    /* Matches screenshot rounded rect */
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-calculate:hover {
    background-color: #2c5260;
}

/* BMI Categories */
.bmi-category {
    padding: 15px;
    border-left: 5px solid #ddd;
    background-color: #fafafa;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s;
}

.bmi-category h4 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 700;
}

.bmi-category p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Category Colors */
#cat-underweight.active {
    border-left-color: #3498db;
    background-color: #eaf6fd;
}

/* Blue */
#cat-normal.active {
    border-left-color: #2ecc71;
    background-color: #eafaf1;
}

/* Green */
#cat-overweight.active {
    border-left-color: #f1c40f;
    background-color: #fef9e7;
}

/* Yellow */
#cat-obese.active {
    border-left-color: #e74c3c;
    background-color: #fdedec;
}

/* Red */

/* Surgery Gallery Section */
.gallery-section {
    padding: 60px 20px;
    background-color: #fff;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Responsive Grid */
    gap: 30px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

.gallery-item p {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

/* Painless Surgery Info Text Section */
.info-text-section {
    padding: 60px 20px 100px;
    /* Extra padding at bottom */
    background-color: #fcfcfc;
}

.info-text-container {
    max-width: 1000px;
    margin: 0 auto;
}

.info-text-container h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 800;
}

.info-text-container h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 800;
}

.info-text-container p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.highlight-box {
    background-color: #eaf6fd;
    /* Light blue highlight */
    padding: 20px;
    border-left: 4px solid #3a6d7e;
    margin: 30px 0;
    border-radius: 0 4px 4px 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: #2c5260;
    font-weight: 500;
}

.info-text-container strong {
    color: #333;
    font-weight: 700;
}

/* Footer Section */
.site-footer {
    background-color: #222;
    /* Dark background */
    color: #fff;
    padding: 60px 20px 30px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Disclaimer Box */
.footer-disclaimer {
    background-color: #fff;
    color: #333;
    padding: 30px;
    border-radius: 4px;
    /* Slightly rounded */
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.footer-disclaimer p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-disclaimer a {
    color: #3a6d7e;
    /* Teal link */
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.footer-disclaimer a:hover {
    text-decoration: underline;
}

/* Contact Row */
.footer-contact-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    border-bottom: 1px solid #444;
    padding-bottom: 40px;
    margin-bottom: 30px;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    /* Align icon top */
    gap: 15px;
    flex: 1;
    min-width: 200px;
}

.footer-item i {
    font-size: 24px;
    color: #fff;
    /* White icons */
    margin-top: 3px;
}

.footer-text strong {
    display: block;
    font-size: 12px;
    color: #aaa;
    /* Grey label */
    margin-bottom: 5px;
    text-transform: uppercase;
}

.footer-text p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Social Icons */
.social-item {
    justify-content: flex-end;
    /* Push rights on desktop */
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    color: #222;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-socials a i {
    color: #222;
    font-size: 18px;
    margin: 0;
}

.footer-socials a:hover {
    background-color: #3a6d7e;
    transform: translateY(-3px);
}

.footer-socials a:hover i {
    color: #fff;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    color: #888;
    font-size: 12px;
}

.footer-copyright p {
    margin-bottom: 5px;
}

.sub-copyright {
    color: #555;
}

@media (max-width: 768px) {
    .social-item {
        justify-content: flex-start;
    }
}

/* Page Content Styles */
.page-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 36px;
    color: #333;
    font-weight: 700;
}

.page-content {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.page-content section {
    margin-bottom: 40px;
}

.page-content h2 {
    font-size: 28px;
    color: #3a6d7e;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    font-weight: 700;
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.page-content ul {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
    list-style-type: disc;
}

.content-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content-image-small {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
}

/* Active Navigation State */
.header-right li a.active-link {
    color: brown;
    font-weight: 700;
    border-bottom: 2px solid brown;
    padding-bottom: 5px;
}

/* ===== HAMBURGER MENU BUTTON ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    margin-left: auto;
    margin-top: 10px;
    background: none;
    border: none;
    z-index: 10001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1024px) {

    /* Hide upper header on tablet/mobile */
    .upper-header {
        display: none;
    }

    .upper-header-hr {
        display: none;
    }

    /* Header layout */
    .header {
        position: relative;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        flex-wrap: nowrap;
    }

    .header-left {
        flex-shrink: 0;
    }

    .header-left img {
        width: 180px;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Mobile nav overlay */
    .header-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 10000;
        overflow-y: auto;
        transition: right 0.3s ease;
        padding-top: 70px;
    }

    .header-right.mobile-open {
        right: 0;
    }

    /* Mobile nav list */
    .header-right>ul {
        flex-direction: column;
        gap: 0;
        margin-top: 0;
        padding: 0 0 20px 0;
    }

    .header-right ul li {
        padding-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-right ul li>a {
        display: block;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        color: #333;
    }

    /* Mobile dropdown - show/hide via class instead of hover */
    .dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid brown;
        margin-left: 20px;
        min-width: auto;
        display: none;
        border-radius: 0;
        padding: 0;
    }

    /* Override hover behavior on mobile */
    .header-right ul li:hover .dropdown {
        display: none;
    }

    .header-right ul li.dropdown-open>.dropdown {
        display: flex;
    }

    .dropdown li a {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* Language selector mobile */
    .language-selector>a {
        padding: 14px 20px;
    }

    /* Overlay backdrop */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* Slider adjustments */
    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .slide img {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .header-left img {
        width: 140px;
    }

    /* CTA */
    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-content p {
        font-size: 16px;
    }

    /* Info section */
    .info-content h1 {
        font-size: 22px;
    }

    /* Video */
    .video-container {
        flex-direction: column;
    }

    .video-wrapper {
        width: 100%;
        flex: none;
    }

    /* About */
    .about-container {
        flex-direction: column;
    }

    /* BMI */
    .bmi-container {
        flex-direction: column;
    }

    .bmi-card {
        min-width: auto;
    }

    /* Slide content */
    .slide-content {
        max-width: 90%;
    }

    .slide-content h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .btn-slide {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Page header */
    .page-header h1 {
        font-size: 24px;
        padding: 0 15px;
    }

    .page-header p {
        font-size: 14px;
        padding: 0 15px;
    }
}