/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #434A42;
    background-color: #F8F8F4;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent text size adjustment on iOS */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* NRI Banner */
.nri-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%);
    color: white;
    z-index: 1001;
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    animation: slideDown 0.5s ease-out;
    border-bottom: 2px solid #FF8C00;
    display: block !important; /* Force visibility */
    opacity: 1 !important; /* Force opacity */
    transform: translateY(0) !important; /* Force position */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nri-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.nri-banner-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.nri-banner-text i {
    font-size: 1.5rem;
    color: #FFFFFF;
    animation: globeRotate 3s ease-in-out infinite;
}

@keyframes globeRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.nri-highlight {
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #FFFFFF, #FFD700, #FFFFFF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 2s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.nri-description {
    font-size: 0.8rem;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nri-banner-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nri-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.nri-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #20B358 0%, #0F6B5C 100%);
    color: white;
    text-decoration: none;
}

.nri-btn i {
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: #434A42;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #0066CC;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0052A3;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
}

.form-note {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

.btn-secondary {
    background: transparent;
    color: #FFA500;
    border: 2px solid #FFA500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: #FFA500;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
    animation: buttonGlow 2s ease-in-out infinite alternate;
}

@keyframes buttonGlow {
    from {
        box-shadow: 0 10px 25px rgba(255, 165, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    }
    to {
        box-shadow: 0 15px 35px rgba(255, 165, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 140, 0, 0.3);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 45px; /* Positioned below NRI banner */
    width: 100%;
    background: #000080;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text h2 {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin: 0;
    background: linear-gradient(45deg, #FFFFFF, #FFD700, #FFFFFF, #FFA500, #FFFFFF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shinyText 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    position: relative;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    .logo-text h2 {
        color: #FFD700;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 165, 0, 0.5);
    }
}

@keyframes shinyText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.logo-text span {
    font-size: 0.8rem;
    color: #B38867;
    font-weight: 400;
    animation: subtleGlow 2s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    from {
        text-shadow: 0 0 5px rgba(179, 136, 103, 0.3);
    }
    to {
        text-shadow: 0 0 10px rgba(179, 136, 103, 0.6), 0 0 15px rgba(255, 165, 0, 0.3);
    }
}

.logo-text:hover h2 {
    animation-duration: 1s;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 25px rgba(255, 165, 0, 0.6);
}

.logo-text:hover span {
    animation-duration: 1s;
    text-shadow: 0 0 15px rgba(179, 136, 103, 0.8), 0 0 20px rgba(255, 165, 0, 0.5);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #B38867;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #B38867;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #000080;
    min-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.3s ease;
}

.dropdown-item:hover::before {
    left: 100%;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFD700;
    text-decoration: none;
    transform: translateX(5px);
}

.dropdown-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 5px;
    background: transparent;
    border: none;
}

.bar {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 100px 0; /* Reduced top padding for smaller banner + navbar */
    background-image: url('New background/Untitled design (60).png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #f0f0f0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    overflow: visible;
    width: 100%;
}

.hero-container {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    position: relative;
    z-index: 2;
    background: transparent;
    overflow: visible;
}

/* Welcome Message */
.welcome-message {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.2s forwards;
    text-align: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: transparent;
    z-index: 3;
}

.welcome-message h2 {
    font-size: 1.4rem;
    color: white;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    position: relative;
    margin-bottom: 0.5rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 100%;
    font-style: italic;
    line-height: 1.2;
}

.hero-content h1 {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 1s ease-out 0.5s forwards;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    position: relative;
    font-weight: bold;
    text-align: center;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(135deg, #000080 0%, #B38867 100%);
    animation: expandLine 1.5s ease-out 1.5s forwards;
    border-radius: 2px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 1s forwards;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 1.5s forwards;
    justify-content: center;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-carousel {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out 2s forwards;
}

.hero .hero-carousel .carousel-container {
    width: 100%;
    max-width: 600px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 128, 0.4);
    border: 4px solid #000080;
    position: relative;
    margin: 0 auto;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #434A42;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #434A42;
    max-width: 600px;
    margin: 0 auto;
}

/* Our Vision Section */
.our-vision {
    padding: 80px 0;
    background: #FFD700;
    position: relative;
    overflow: hidden;
}

.vision-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.vision-content h2 {
    font-size: 3rem;
    color: #2C3E50;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vision-text {
    margin-bottom: 3rem;
}

.vision-text p {
    font-size: 1.2rem;
    color: #2C3E50;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

.vision-text strong {
    color: #000080;
    font-weight: 700;
}

.vision-btn {
    display: inline-block;
    background: #000080;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 128, 0.3);
}

.vision-btn:hover {
    background: #B38867;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 128, 0.4);
    color: white;
    text-decoration: none;
}

/* Our Speciality Section */
.speciality {
    padding: 80px 0;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    position: relative;
    overflow: hidden;
}

.speciality::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.speciality .section-header {
    position: relative;
    z-index: 2;
}

.speciality .section-header h2 {
    color: #FFFFFF;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

.speciality .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.speciality-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

@media (max-width: 768px) {
    .speciality-grid {
        grid-template-columns: 1fr;
    }
}

.speciality-card {
    background: linear-gradient(135deg, #34495E 0%, #2C3E50 100%);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 3px solid #FFD700;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

.speciality-card::before {
    display: none !important;
    content: none !important;
}

.speciality-card:hover::before {
    display: none !important;
}

.speciality-card:hover {
    background: linear-gradient(135deg, #34495E 0%, #2C3E50 100%) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    border-color: #FFD700 !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

.speciality-card:hover .speciality-img {
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

.speciality-image {
    width: 100%;
    height: auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(44, 62, 80, 0.85);
}

.speciality-img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    object-position: center;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

/* Implant Knowledge Section */
.implant-knowledge {
    padding: 100px 0;
    background: linear-gradient(180deg, #E8F1FF 0%, #F5FAFF 100%);
}

.implant-knowledge .container {
    max-width: 1100px;
}

.implant-header {
    text-align: center;
    margin-bottom: 40px;
}

.implant-header h2 {
    font-size: 2.5rem;
    color: #2C3E50;
    margin-bottom: 15px;
}

.implant-header p {
    font-size: 1.1rem;
    color: #4F6475;
}

.implant-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.implant-tab {
    min-width: 200px;
    padding: 0.9rem 1.4rem;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    color: #E2E8F0;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.implant-tab.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2C3E50;
    transform: translateY(-2px);
}

.implant-tab:hover {
    background: linear-gradient(135deg, #FFE066 0%, #FFB347 100%);
    color: #2C3E50;
}

.implant-panels {
    background: #0F172A;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(15, 35, 95, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.75);
}

.implant-content {
    display: none;
    animation: fadeInUp 0.4s ease;
    border-radius: 16px;
    padding: 5px;
}

.implant-content.active {
    display: block;
    border: 2px solid rgba(255, 215, 0, 0.65);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.25);
}

.implant-content h3 {
    font-size: 1.9rem;
    color: #F9FAFB;
    margin-bottom: 20px;
}

.implant-content h4 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #E2E8F0;
}

.implant-content p {
    font-size: 1.05rem;
    color: #CBD5F5;
    margin-bottom: 20px;
    line-height: 1.75;
}

.implant-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 10px 0;
}

.implant-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #E2E8F0;
}

.implant-content ul li::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    position: absolute;
    left: 0;
    top: 8px;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.25);
}

.implant-table-container {
    margin-top: 25px;
    overflow-x: auto;
}

.implant-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    background: rgba(15, 23, 42, 0.85);
}

.implant-table th,
.implant-table td {
    padding: 16px 20px;
    border: 1px solid rgba(44, 62, 80, 0.15);
    text-align: left;
    vertical-align: top;
    font-size: 0.98rem;
    color: #E2E8F0;
    line-height: 1.6;
}

.implant-table th {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1F2D3D;
    font-size: 1.05rem;
    font-weight: 700;
}

.implant-table tbody tr:nth-child(odd) {
    background: rgba(30, 41, 82, 0.7);
}

.implant-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.55);
}

@media (max-width: 768px) {
    .implant-knowledge {
        padding: 70px 0;
    }

    .implant-header h2 {
        font-size: 2rem;
    }

    .implant-panels {
        padding: 25px;
    }

    .implant-tab {
        min-width: 160px;
    }
}

.speciality-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    position: relative;
    overflow: hidden;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

.speciality-icon i {
    font-size: 3rem;
    color: #2C3E50;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    position: relative;
    z-index: 2;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

.speciality-icon::before {
    display: none !important;
    content: none !important;
}

.speciality-card:hover .speciality-icon::before {
    display: none !important;
}

.speciality-card:hover .speciality-icon {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4) !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

.speciality-card:hover .speciality-icon i {
    color: #2C3E50 !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    text-shadow: none !important;
}

.speciality-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.speciality-content h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
}

.speciality-card:hover .speciality-content h3 {
    color: #FFFFFF !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.speciality-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    flex: 1;
}

.speciality-card:hover .speciality-content p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.speciality-card:hover .speciality-btn,
.speciality-card .speciality-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #2C3E50 !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3) !important;
}

.speciality-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2C3E50;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -ms-animation: none !important;
    -o-animation: none !important;
    animation: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    overflow: visible !important;
}

.speciality-btn::before,
.speciality-btn::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
}

.speciality-btn:hover,
.speciality-btn:active,
.speciality-btn:focus,
.speciality-btn:visited,
.speciality-btn:link {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #2C3E50 !important;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3) !important;
    border: 2px solid transparent !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -ms-animation: none !important;
    -o-animation: none !important;
    animation: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    outline: none !important;
    text-decoration: none !important;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #FEFEFE;
    width: 100%;
    position: relative;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800" preserveAspectRatio="none"><path fill="%23FFE5B4" fill-opacity="0.3" d="M0,550 Q200,350 400,450 T800,400 T1440,450 L1440,800 L0,800 Z"></path><path fill="%23FFD700" fill-opacity="0.25" d="M0,600 Q250,400 500,500 T1000,450 T1440,500 L1440,800 L0,800 Z"></path><path fill="%23FFA500" fill-opacity="0.2" d="M0,650 Q300,450 600,550 T1200,500 T1440,550 L1440,800 L0,800 Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.about .section-header h2 {
    color: #B7410E;
    font-weight: bold;
    border-bottom: 2px solid #E0E0E0;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.about .container {
    max-width: 100%;
    padding: 0 40px;
}

.about-photo-icon {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.photo-icon-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 200, 150, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 4px solid #00C896;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-icon-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 200, 150, 0.4);
}

.doctor-photo {
    width: 110%;
    height: 110%;
    object-fit: cover;
    object-position: center top;
    transform: none;
    border-radius: 50%;
    display: block;
    margin: -5%;
    padding: 0;
    vertical-align: middle;
}

/* General carousel container - only for non-hero carousels */
.about .carousel-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 128, 0.3);
    border: 4px solid #000080;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #000080;
}

.dot:hover {
    background: #B38867;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 100%;
}

.about-card {
    background: #FFFEF5;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.about-text h3 {
    color: #434A42;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.qualifications, .specializations {
    margin-bottom: 2rem;
}

.qualifications h4, .specializations h4 {
    color: #000080;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.qualifications ul, .specializations ul {
    list-style: none;
    padding-left: 0;
}

.qualifications li, .specializations li {
    padding: 0.5rem 0;
    color: #434A42;
    position: relative;
    padding-left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qualifications li i, .specializations li i {
    color: #000080;
    font-size: 1.1rem;
    position: absolute;
    left: 0;
}

.awards-section {
    margin-top: 4rem;
}

.awards-section .section-header h2 {
    color: #000080;
}

.awards-section .section-header p {
    color: #434A42;
}

.awards-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.2rem;
    margin-top: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.award-item {
    background: transparent;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 280px;
    min-width: 280px;
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.award-item img {
    width: 100%;
    height: auto;
    max-height: 230px;
    display: block;
    border-radius: 12px;
    border: none;
    object-fit: contain;
}


.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #F8F8F4 0%, #DDE3DE 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    animation: subtleStatPulse 4s ease-in-out infinite;
}

@keyframes subtleStatPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 15px 35px rgba(255, 165, 0, 0.2), 0 0 20px rgba(255, 140, 0, 0.15);
    }
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 165, 0, 0.4), 0 0 30px rgba(255, 140, 0, 0.3);
    border: 2px solid #FFA500;
    background: linear-gradient(135deg, #F8F8F4 0%, rgba(255, 165, 0, 0.1) 100%);
}

.stat h3 {
    font-size: 2.5rem;
    color: #000080;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat:hover h3 {
    color: #FF8C00;
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(255, 140, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat p {
    color: #434A42;
    font-weight: 500;
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stat:hover p {
    color: #FFA500;
    font-weight: 600;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(255, 165, 0, 0.3);
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.image-placeholder {
    background: linear-gradient(135deg, #F9F1F0 0%, #FFFFFF 50%, #F9F1F0 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: #434A42;
    box-shadow: 0 10px 30px rgba(0, 0, 128, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    animation: subtlePlaceholderPulse 4s ease-in-out infinite;
}

@keyframes subtlePlaceholderPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 128, 0.2);
    }
    50% {
        box-shadow: 0 15px 35px rgba(255, 165, 0, 0.25), 0 0 20px rgba(255, 140, 0, 0.2);
    }
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.image-placeholder:hover::before {
    left: 100%;
}

.image-placeholder:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 165, 0, 0.4), 0 0 40px rgba(255, 140, 0, 0.3), 0 0 60px rgba(255, 165, 0, 0.2);
    border: 2px solid #FFA500;
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4B5 50%, #FFF8DC 100%);
}

.image-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #000080;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.image-placeholder:hover i {
    color: #FF8C00;
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.7), 0 0 30px rgba(255, 165, 0, 0.5);
    filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.4));
}

.image-placeholder p {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.image-placeholder:hover p {
    color: #FF8C00;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 140, 0, 0.3), 0 0 10px rgba(255, 165, 0, 0.2);
    transform: translateY(-2px);
}


/* Different hover effects for each card */
.image-placeholder:nth-child(1):hover {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4B5 50%, #FFFACD 100%);
    border-color: #FFA500;
    box-shadow: 0 25px 50px rgba(255, 165, 0, 0.5), 0 0 40px rgba(255, 140, 0, 0.4), 0 0 60px rgba(255, 165, 0, 0.3);
}

.image-placeholder:nth-child(2):hover {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4B5 50%, #FFFACD 100%);
    border-color: #FF8C00;
    box-shadow: 0 25px 50px rgba(255, 140, 0, 0.5), 0 0 40px rgba(255, 165, 0, 0.4), 0 0 60px rgba(255, 140, 0, 0.3);
}

/* Special icon animations */
.image-placeholder:nth-child(1) i {
    animation: clinicGlow 3s ease-in-out infinite;
}

.image-placeholder:nth-child(2) i {
    animation: awardShine 3s ease-in-out infinite;
}

@keyframes clinicGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 165, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 140, 0, 0.6), 0 0 25px rgba(255, 165, 0, 0.4);
    }
}

@keyframes awardShine {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 165, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 140, 0, 0.6), 0 0 25px rgba(255, 165, 0, 0.4);
    }
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #DDE3DE;
}

.team-section {
    margin-top: 4rem;
    padding: 4rem 2rem;
    border-top: 2px solid #B38867;
    background: linear-gradient(135deg, #FFF8DC 0%, #FFE4B5 50%, #FFFACD 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.2);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: #F8F8F4;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 2rem;
    border: 3px solid #FFA500;
    cursor: pointer;
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 165, 0, 0.3);
    border-color: #FF8C00;
    background: linear-gradient(135deg, #F8F8F4 0%, #FFF8DC 100%);
}

.team-card:active {
    transform: translateY(-5px) scale(0.98);
    box-shadow: 0 15px 30px rgba(255, 165, 0, 0.4);
    transition: all 0.1s ease;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    pointer-events: none;
}

.team-card:hover::before {
    opacity: 1;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    -webkit-transition: opacity 0.3s ease, background-color 0.3s ease;
    -moz-transition: opacity 0.3s ease, background-color 0.3s ease;
    -o-transition: opacity 0.3s ease, background-color 0.3s ease;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.modal.active {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.2);
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
    -webkit-transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    -moz-transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    -o-transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.close {
    color: #999;
    float: right;
    font-size: 32px;
    font-weight: 300;
    position: absolute;
    right: 25px;
    top: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.close:hover,
.close:focus {
    color: #000;
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
    text-decoration: none;
}

.modal-content h2 {
    color: #2C3E50;
    margin-bottom: 25px;
    font-size: 2.2rem;
    text-align: center;
    font-weight: 700;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 15px;
}

.modal-content h3 {
    color: #34495E;
    margin: 25px 0 15px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.modal-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.modal-content li {
    margin: 12px 0;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
}

.modal-content li::marker {
    color: #FFD700;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInModal {
    from { 
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
    to { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.speciality-btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Mobile touch effects */
@media (max-width: 768px) {
    .team-card {
        transition: all 0.2s ease;
    }
    
    .team-card:active {
        transform: scale(0.95);
        box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3);
        background: linear-gradient(135deg, #F8F8F4 0%, #FFF8DC 100%);
    }
    
    .team-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

.team-content {
    padding: 0;
}

.team-content h3 {
    color: #434A42;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
}

.team-specialization {
    color: #000080;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.team-description {
    color: #434A42;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #DDE3DE;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #F8F8F4;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    perspective: 1000px;
    height: 400px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}

/* Make sure cards are clickable */
.service-card {
    cursor: pointer !important;
    user-select: none;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.card-front {
    background: #F8F8F4;
    z-index: 2;
}

.card-back {
    background: #FFFFFF;
    overflow-y: auto;
    z-index: 1;
}

/* When flipped, hide front and show back */
.service-card.flipped .card-front {
    opacity: 0;
    pointer-events: none;
}

.service-card.flipped .card-back {
    opacity: 1;
    pointer-events: auto;
}

/* When not flipped, show front and hide back */
.service-card:not(.flipped) .card-front {
    opacity: 1;
    pointer-events: auto;
}

.service-card:not(.flipped) .card-back {
    opacity: 0;
    pointer-events: none;
}

.flip-hint {
    font-size: 0.9rem;
    color: #FFA500;
    font-style: italic;
    margin-top: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
}

.flip-hint:hover {
    color: #FF8C00;
    opacity: 1;
    transform: scale(1.05);
    text-decoration: none;
}

.service-card:hover .flip-hint {
    color: #FF8C00;
    opacity: 1;
    transform: scale(1.05);
}

.service-details {
    text-align: left;
    height: 100%;
    overflow-y: auto;
}

.service-details h4 {
    color: #FFA500;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: bold;
}

.service-details p {
    color: #434A42;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-details ul {
    color: #434A42;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.service-details li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.service-card:hover:not(.flipped) {
    box-shadow: 0 20px 40px rgba(255, 165, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.3);
    border: 2px solid #FFA500;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 215, 0, 0.1) 100%);
    position: relative;
}

.service-card:hover:not(.flipped)::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFA500, #FFD700, #FF8C00, #FFA500);
    border-radius: 17px;
    z-index: -1;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
    }
    to {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 140, 0, 0.6);
    }
}

.service-card.featured {
    background: linear-gradient(135deg, #000080 0%, #B38867 100%);
    color: white;
}

.service-card.featured .card-front {
    background: linear-gradient(135deg, #000080 0%, #B38867 100%);
    color: white;
}

.service-card.featured .card-front h3,
.service-card.featured .card-front p,
.service-card.featured .card-front .flip-hint {
    color: white;
}

.service-card.featured .card-front .flip-hint {
    color: #FFFFFF;
    opacity: 0.9;
    font-weight: bold;
}

.service-card.featured h3,
.service-card.featured p {
    color: white;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #000080 0%, #B38867 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    background: transparent;
}

.service-img:hover {
    transform: scale(1.05);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #434A42;
    font-weight: bold;
}

.service-card p {
    color: #434A42;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #F8F8F4;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F8F8F4 0%, #DDE3DE 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000080;
    font-size: 3rem;
}

.gallery-placeholder p {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #434A42;
    font-weight: 500;
}

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

.gallery-img:hover {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #DDE3DE;
}

.testimonials-container {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.testimonial-qr {
    max-width: 220px;
    margin: 1.5rem auto 0;
    text-align: center;
}

.testimonial-qr img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: #fff;
    padding: 10px;
}

.testimonial-qr p {
    margin-top: 0.75rem;
    font-weight: 600;
    color: #2C3E50;
}

.testimonials-carousel {
    overflow: hidden;
    border-radius: 15px;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    /* Removed transition - using requestAnimationFrame for smooth scrolling */
}

.testimonial-card {
    min-width: 350px;
    flex: 0 0 auto;
    background: #F8F8F4;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Removed large quotation marks from testimonial cards */

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #434A42;
    line-height: 1.6;
}

.testimonial-author {
    margin-bottom: 1rem;
}

.testimonial-author span {
    color: #000080;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author .stars {
    color: #FFD700;
    font-size: 1.2rem;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.5);
    margin-bottom: 0.5rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.testimonial-btn {
    background: #000080;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-btn:hover {
    background: #B38867;
    transform: scale(1.1);
}

.testimonial-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background: #000080;
    transform: scale(1.2);
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 128, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 0, 128, 0);
    }
}

.auto-scroll-indicator {
    font-size: 0.8em;
    color: #0066CC;
    margin-left: 0.5rem;
    animation: rotate 3s linear infinite;
    opacity: 0.7;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: url('New folder/car 3.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 128, 0.1), rgba(179, 136, 103, 0.1));
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.faq .section-header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.faq .section-header h2 {
    color: #000080;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq .section-header p {
    color: #434A42;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 128, 0.1);
    margin-bottom: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 128, 0.1), transparent);
    transition: left 0.5s ease;
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 128, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    color: #000080;
    transform: scale(1.02);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #000080, #B38867);
    transition: width 0.3s ease;
}

.faq-question:hover h3::after {
    width: 100%;
}

.faq-question i {
    transition: all 0.3s ease;
    color: #000080;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 128, 0.1);
}

.faq-question:hover i {
    background: rgba(0, 0, 128, 0.2);
    transform: scale(1.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) scale(1.1);
    background: rgba(0, 0, 128, 0.3);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(-20px);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
}

.faq-answer p {
    padding: 1.5rem 0;
    color: #434A42;
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    animation: slideInText 0.5s ease-out 0.2s both;
}

@keyframes slideInText {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-answer p::before {
    content: '💡';
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #DDE3DE;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #F8F8F4;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
    transition: all 0.3s ease;
}

.contact-link:hover {
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: #0066CC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background: #0052A3;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #434A42;
}

.contact-details p {
    margin: 0;
    color: #434A42;
    font-weight: 500;
}

.contact-form {
    background: #F8F8F4;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000080;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.clinic-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.location-card {
    background: #F8F8F4;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    animation: subtleLocationPulse 4s ease-in-out infinite;
    cursor: pointer;
}

@keyframes subtleLocationPulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 15px 35px rgba(0, 0, 128, 0.15), 0 0 20px rgba(0, 102, 204, 0.1);
    }
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 128, 0.1), transparent);
    transition: left 0.6s ease;
}

.location-card:hover::before {
    left: 100%;
}

.location-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 128, 0.3), 0 0 30px rgba(0, 102, 204, 0.2);
    border: 2px solid #000080;
    background: linear-gradient(135deg, #F8F8F4 0%, rgba(0, 0, 128, 0.05) 100%);
}

.location-card h3 {
    color: #000080;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.location-card:hover h3 {
    color: #0066CC;
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(0, 0, 128, 0.2);
}

.location-card p {
    color: #434A42;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.location-card:hover p {
    color: #000080;
    font-weight: 500;
    transform: translateY(-2px);
}

/* Location Card Components */
.location-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #000080 0%, #0066CC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 128, 0.3);
}

.location-card:hover .location-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 128, 0.4);
}

.location-address {
    margin-bottom: 2rem;
}

/* Contact Map Section */
.contact-map {
    margin-top: 4rem;
    padding: 2rem 0;
}

.map-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #F8F8F4;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 15px;
    display: block;
}

.map-container a:hover {
    background: #0066CC;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.location-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-width: 100px;
    justify-content: center;
}

.location-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.location-btn:hover::before {
    left: 100%;
}

.location-btn i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.location-btn:hover i {
    transform: scale(1.1);
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.call-btn {
    background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
    color: white;
}

.call-btn:hover {
    background: linear-gradient(135deg, #0052A3 0%, #003366 100%);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20B358 0%, #0F6B5C 100%);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.directions-btn {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    color: white;
}

.directions-btn:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FF7F00 100%);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.4);
}

/* Mobile responsiveness for location cards */
@media (max-width: 768px) {
    .location-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .location-btn {
        width: 100%;
        min-width: auto;
    }
    
    .location-header {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .location-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* Footer */
.footer {
    background: #000080;
    color: #FFFFFF;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-logo-img {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #FFFFFF;
    transform: translateX(5px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-section p a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section p a:hover {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #0066CC;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
    color: #FFFFFF;
    text-decoration: none;
}

.social-link i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
}

/* Floating Contact Buttons */
.floating-contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.floating-btn:hover::before {
    transform: translateX(100%);
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.floating-btn-text {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-btn-text::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.floating-btn:hover .floating-btn-text {
    opacity: 1;
    transform: translateX(0);
}

.floating-call {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    animation: pulseCall 2s ease-in-out infinite;
}

.floating-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: pulseWhatsApp 2s ease-in-out infinite;
}


@keyframes pulseCall {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.6), 0 0 0 10px rgba(220, 38, 38, 0.1);
    }
}

@keyframes pulseWhatsApp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}


/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #000080;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: #B38867;
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* NRI Banner Mobile */
    .nri-banner {
        padding: 0.6rem 0;
    }
    
    .nri-banner-content {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .nri-banner-text {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nri-highlight {
        font-size: 1rem;
    }
    
    .nri-description {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .nri-banner-actions {
        gap: 0.8rem;
    }
    
    .nri-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    
    /* Ensure NRI banner stays on top */
    .nri-banner {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        height: auto;
        min-height: auto;
    }
    
    /* Adjust navbar for mobile - position below NRI banner */
    /* Banner height: padding (0.6rem * 2) + content (~80-120px on mobile) */
    .navbar {
        position: fixed !important;
        top: 150px !important; /* Safe position below mobile banner - ensures no cropping */
        width: 100%;
        margin-top: 0 !important;
        padding: 0.6rem 1.5rem;
        z-index: 1000;
        background-color: #000080;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 150px !important; /* Match navbar top position */
        flex-direction: column;
        background-color: #000080;
        width: 100%;
        max-width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        z-index: 999;
        height: calc(100vh - 150px);
        overflow-y: auto;
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        border-radius: 0;
        margin-top: 0.5rem;
        min-width: auto;
        width: 100%;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    .dropdown-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        padding-left: 2rem;
    }
    
    .dropdown-toggle {
        width: 100%;
        text-align: center !important;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .dropdown-toggle i {
        position: absolute;
        right: 2rem;
        margin-top: 0;
        transition: transform 0.3s ease;
        margin-left: 0.5rem;
    }
    
    .nav-dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .logo-img {
        height: 70px;
    }

    .logo-text h2 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.8rem;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
    }
    
    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #FFD700;
    }
    
    .nav-link::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .nav-toggle:hover .bar {
        background-color: #FFD700;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile: Show background image as landscape, then content below */
    .hero {
        padding: 180px 0 0 0; /* Top padding: banner (~110px) + navbar (~70px) */
        background-image: none; /* Remove background image */
        min-height: auto; /* Remove min-height */
        display: flex;
        flex-direction: column; /* Stack image and content vertically */
        align-items: stretch;
        overflow: visible;
        background-color: #f0f0f0;
    }
    
    /* Create image container using pseudo-element */
    .hero::before {
        content: '';
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio for landscape */
        margin-top: 0.5rem; /* Add space to prevent overlap with navbar */
        background-image: url('New background/Untitled design (60).png');
        background-size: contain; /* Show full image without cropping */
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #f0f0f0;
        flex-shrink: 0;
    }
    
    .hero-container {
        overflow: visible;
        min-height: auto;
        padding: 2rem 1rem;
        background-color: #f0f0f0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        padding: 0;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        margin: 0.5rem 0;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Update text colors for mobile since not overlaying image */
    .welcome-message h2 {
        color: #FFD700 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .hero-content h2 {
        color: #434A42 !important;
        text-shadow: none;
    }

    .welcome-message h2 {
        font-size: 1.3rem;
        white-space: normal;
        line-height: 1.3;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about .container {
        padding: 0 20px;
    }

    .about-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Speciality Section Mobile */
    .speciality {
        padding: 60px 0;
    }
    
    .speciality .section-header h2 {
        font-size: 2.2rem;
    }
    
    .speciality .section-header p {
        font-size: 1rem;
    }
    
    .speciality-container {
        max-width: 100%;
    }
    
    .speciality-track {
        gap: 2rem;
    }
    
    .speciality-card {
        flex: 0 0 300px;
        min-width: 300px;
        padding: 2rem;
    }
    
    .speciality-icon {
        width: 100px;
        height: 100px;
    }
    
    .speciality-icon i {
        font-size: 2.5rem;
    }
    
    .speciality-content h3 {
        font-size: 1.5rem;
    }
    
    .speciality-content p {
        font-size: 1rem;
    }
    
    .speciality-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat {
        padding: 1rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .hero .hero-carousel .carousel-container {
        height: 350px;
        max-width: 100%;
        width: 100%;
    }

    .photo-icon-placeholder {
        width: 180px;
        height: 180px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 180px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .testimonial-card {
        min-width: 280px;
    }

    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .faq .section-header {
        padding: 2rem;
        margin: 1rem 1rem 2rem 1rem;
    }

    .faq .section-header h2 {
        font-size: 2rem;
    }

    .faq .section-header p {
        font-size: 1rem;
    }

    .faq-container {
        padding: 2rem;
        margin: 1rem;
    }

    .faq-item {
        padding: 0.8rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-question i {
        font-size: 1.3rem;
        padding: 0.4rem;
    }

    .faq-answer p::before {
        left: -1.5rem;
        font-size: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .clinic-locations {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    /* NRI Banner Small Mobile */
    .nri-banner {
        padding: 0.5rem 0;
    }
    
    .nri-banner-content {
        padding: 0 15px;
        gap: 0.6rem;
    }
    
    .nri-highlight {
        font-size: 0.9rem;
    }
    
    .nri-description {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .nri-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    
    /* Adjust navbar for small mobile */
    .navbar {
        position: fixed !important;
        top: 130px !important; /* Safe position below small mobile banner */
        margin-top: 0 !important;
        padding: 0.6rem 1.5rem;
        z-index: 1000;
        background-color: #000080;
    }
    
    .nav-menu {
        top: 130px !important; /* Match navbar top position */
        height: calc(100vh - 150px);
    }
    
    .welcome-message h2 {
        font-size: 1.1rem;
        white-space: normal;
        line-height: 1.2;
    }

    .hero {
        padding: 160px 0 0 0; /* Top padding: banner (~95px) + navbar (~65px) */
        background-image: none; /* Remove background image */
        min-height: auto; /* Remove min-height */
        display: flex;
        flex-direction: column; /* Stack image and content vertically */
        align-items: stretch;
        overflow: visible;
        background-color: #f0f0f0;
    }
    
    /* Create image container using pseudo-element */
    .hero::before {
        content: '';
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio for landscape */
        margin-top: 0.5rem; /* Add space to prevent overlap with navbar */
        background-image: url('New background/Untitled design (60).png');
        background-size: contain; /* Show full image without cropping */
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #f0f0f0;
        flex-shrink: 0;
    }
    
    .hero-container {
        overflow: visible;
        min-height: auto;
        padding: 1.5rem 1rem;
        background-color: #f0f0f0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        padding: 0;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }
    
    /* Update text colors for mobile since not overlaying image */
    .welcome-message h2 {
        color: #FFD700 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .hero-content h2 {
        color: #434A42 !important;
        text-shadow: none;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
        margin: 0.5rem 0;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    /* Speciality Section Small Mobile */
    .speciality {
        padding: 50px 0;
    }
    
    .speciality .section-header h2 {
        font-size: 1.8rem;
    }
    
    .speciality .section-header p {
        font-size: 0.9rem;
    }
    
    .speciality-card {
        flex: 0 0 250px;
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .speciality-icon {
        width: 80px;
        height: 80px;
    }
    
    .speciality-icon i {
        font-size: 2rem;
    }
    
    .speciality-content h3 {
        font-size: 1.3rem;
    }
    
    .speciality-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .speciality-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        min-height: 44px; /* Touch-friendly minimum size */
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Touch-friendly interactive elements */
    button, 
    .btn, 
    .nav-link, 
    .dropdown-item,
    .faq-question,
    .location-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Form inputs mobile optimization */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
        padding: 0.75rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    textarea {
        min-height: 120px;
        resize: vertical;
    }
    
    /* Image responsiveness */
    img {
        max-width: 100%;
        height: auto;
    }
    
    .gallery-img,
    .service-img,
    .speciality-img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    /* Better text wrapping */
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    * {
        max-width: 100%;
    }
    
    /* Table responsiveness */
    .implant-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .implant-table {
        min-width: 600px;
    }
    
    /* Modal mobile optimization */
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Vision section mobile */
    .vision-content h2 {
        font-size: 2rem;
    }
    
    .vision-text p {
        font-size: 1rem;
    }
    
    .vision-btn {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
    }
    
    /* Our Vision Section Mobile */
    .our-vision {
        padding: 60px 0;
    }
    
    /* Section headers mobile */
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    /* Location cards mobile */
    .location-card {
        padding: 1.5rem;
    }
    
    .location-btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    /* Awards grid mobile */
    .awards-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    /* Implant tabs mobile */
    .implant-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .implant-tab {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: calc(50% - 0.25rem);
        min-height: 44px;
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem;
    }
    
    /* Testimonial QR mobile */
    .testimonial-qr {
        padding: 1.5rem;
    }
    
    .testimonial-qr img {
        max-width: 200px;
    }
    
    .testimonial-qr p {
        font-size: 0.9rem;
    }

    .about-stats {
        flex-direction: column;
    }

    .service-card,
    .testimonial-card,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .hero-placeholder {
        width: 250px;
        height: 250px;
        font-size: 3rem;
    }

    .hero .hero-carousel .carousel-container {
        height: 300px;
        max-width: 100%;
        width: 100%;
    }

    .photo-icon-placeholder {
        width: 150px;
        height: 150px;
    }

    .logo-img {
        height: 60px;
    }

    .logo-text h2 {
        font-size: 1rem;
    }

    .logo-text span {
        font-size: 0.7rem;
    }

    .service-card {
        height: 450px;
    }

    .service-icon {
        width: 100px;
        height: 100px;
    }

    .service-details {
        font-size: 0.9rem;
    }

    .service-details h4 {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-img {
        max-width: 150px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        text-align: center;
    }
    
    .footer-section p {
        text-align: center;
    }
    
    .footer-section ul {
        text-align: center;
        display: inline-block;
    }
    
    .footer-section ul li {
        text-align: center;
    }
    
    .footer-section ul li a {
        text-align: center;
    }

    .social-links {
        justify-content: center;
        gap: 0.8rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .social-link i {
        font-size: 1rem;
    }

    .floating-contact-buttons {
        right: 15px;
        bottom: 15px;
        gap: 12px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .floating-btn-text {
        right: 60px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .scroll-to-top {
        left: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Landscape orientation optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 120px 0 0 0;
        background-image: none;
        display: flex;
        flex-direction: column;
    }
    
    .hero::before {
        padding-bottom: 40%; /* Shorter height in landscape */
    }
    
    .hero-container {
        min-height: auto;
        padding: 1.5rem 1rem;
    }
    
    .nav-menu {
        max-height: 80vh;
    }
    
    .nri-banner {
        padding: 0.4rem 0;
    }
    
    .nri-banner-text {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .nri-description {
        display: none; /* Hide description in landscape to save space */
    }
}

/* Tablet optimizations */
@media (min-width: 481px) and (max-width: 768px) {
    .hero {
        padding: 150px 0 90px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
    }
    
    .speciality-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* Very small screens (320px and below) */
@media (max-width: 320px) {
    .hero {
        padding: 140px 0 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .welcome-message h2 {
        font-size: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .speciality-card {
        flex: 0 0 220px;
        min-width: 220px;
        padding: 1.25rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-header {
        padding: 0 0.5rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
}

/* Smooth scrolling and animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .gallery-item,
    .testimonial-card {
        animation: fadeInUp 0.6s ease forwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error states */
.success {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.error {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

