/* ========================================
   3D Eye Care Limited - Styles
   ======================================== */

/* Google Fonts loaded via <link> tags in HTML for better performance */

/* ---- CSS Variables ---- */
:root {
    --primary: #2a8a8a;
    --primary-dark: #1e6b6b;
    --primary-light: #3aadad;
    --steel-blue: #6ba3b5;
    --near-black: #1a1a2e;
    --off-white: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f0f0f0;
    --gray-200: #e0e0e0;
    --gray-300: #ccc;
    --gray-500: #595959;
    --gray-600: #555;
    --gray-700: #444;
    --gray-800: #333;
    --whatsapp-green: #25d366;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 30px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

/* ---- Skip Navigation ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 3000;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* ---- Screen Reader Only ---- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--near-black);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition);
}

a:hover { color: var(--primary-dark); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42,138,138,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--white);
    border-color: var(--whatsapp-green);
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ---- Top Info Bar ---- */
.top-bar {
    background: var(--near-black);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar a {
    color: var(--gray-200);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.top-bar a:hover {
    color: var(--primary-light);
}

.top-bar-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Navbar ---- */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-logo img {
    height: 55px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar-menu a {
    padding: 8px 16px;
    color: var(--gray-800);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary);
    background: rgba(42,138,138,0.08);
}

.navbar-cta {
    margin-left: 10px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--near-black);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---- Page Banner ---- */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--near-black) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
    color: var(--white);
}

.breadcrumb span {
    opacity: 0.6;
}

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26,26,46,0.85) 0%, rgba(42,138,138,0.5) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    color: var(--white);
    padding-left: 90px;
    padding-right: 90px;
}

.hero-content h1,
.hero-content h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all var(--transition);
    color: var(--white);
    font-size: 1.2rem;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ---- Welcome Section ---- */
.welcome {
    background: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-text h2 {
    margin-bottom: 20px;
}

.welcome-text p {
    margin-bottom: 15px;
    color: var(--gray-600);
}

.welcome-badges {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--off-white);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.badge-icon {
    font-size: 1.3rem;
}

.welcome-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ---- Services Grid ---- */
.services-section {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--steel-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---- Why Choose Us ---- */
.why-choose {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.why-choose .section-header h2 {
    color: var(--white);
}

.why-choose .section-header h2::after {
    background: var(--white);
}

.why-choose .section-header p {
    color: rgba(255,255,255,0.8);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 30px 15px;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    border: 2px solid rgba(255,255,255,0.3);
}

.why-item h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.why-item p {
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---- Video Section ---- */
.video-section {
    background: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.video-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper video {
    width: 100%;
    display: block;
}

.video-text h2 {
    margin-bottom: 15px;
}

.video-text p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

/* ---- Team Preview ---- */
.team-preview {
    background: var(--off-white);
}

.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-card-image {
    height: 280px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-info {
    padding: 20px;
}

.team-card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-card-info p {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--near-black) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-banner p {
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer {
    background: var(--near-black);
    color: var(--gray-200);
}

.footer-main {
    padding: 60px 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-200);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    align-items: flex-start;
}

.footer-contact-icon {
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-accreditation {
    background: rgba(255,255,255,0.05);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---- Floating WhatsApp Button ---- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all var(--transition);
    color: var(--white);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.6);
    color: var(--white);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* ---- Scroll to Top ---- */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 33px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border: none;
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ---- About Page ---- */
.about-story {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Mission/Vision/Values */
.mvv-section {
    background: var(--off-white);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

.mvv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--steel-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--white);
}

.mvv-card h3 {
    margin-bottom: 12px;
}

.mvv-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Facility Grid */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.facility-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.facility-grid img:hover {
    transform: scale(1.03);
}

/* Accreditations */
.accreditations {
    background: var(--off-white);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.equipment-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.equipment-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.equipment-card h4 {
    margin-bottom: 8px;
    color: var(--primary);
}

.equipment-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Insurance Partners */
.insurance-partners {
    background: var(--off-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    margin-top: 30px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100%;
    transition: transform var(--transition);
}

.partner-logo:hover {
    transform: translateY(-3px);
}

.partner-logo img {
    max-height: 70px;
    max-width: 100%;
    object-fit: contain;
}

/* ---- Services Page ---- */
.service-block {
    padding: 60px 0;
}

.service-block:nth-child(even) {
    background: var(--off-white);
}

.service-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-block:nth-child(even) .service-block-grid {
    direction: rtl;
}

.service-block:nth-child(even) .service-block-grid > * {
    direction: ltr;
}

.service-block-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-block-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-block-text h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-block-text p {
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.7;
}

.service-block-text ul {
    margin-top: 15px;
}

.service-block-text ul li {
    padding: 5px 0 5px 25px;
    position: relative;
    color: var(--gray-600);
}

.service-block-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Equipment Showcase */
.equipment-showcase {
    background: var(--off-white);
}

.equipment-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.equipment-showcase-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.equipment-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.equipment-showcase-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.equipment-showcase-card .card-body {
    padding: 20px;
}

.equipment-showcase-card h4 {
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.equipment-showcase-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ---- Team Page ---- */
.team-featured {
    background: var(--white);
}

.team-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.team-featured-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.team-featured-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.team-featured-text h2 {
    margin-bottom: 5px;
}

.team-featured-text .role {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: block;
}

.team-featured-text p {
    color: var(--gray-600);
    margin-bottom: 12px;
}

/* Full Team Grid */
.team-full {
    background: var(--off-white);
}

.team-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-member-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 30px auto 15px;
    border: 4px solid var(--primary);
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-info {
    padding: 10px 20px 25px;
}

.team-member-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-member-info p {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ---- Gallery Page ---- */
.gallery-section {
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 22px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--gray-700);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(42,138,138,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 2rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    background: var(--primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.lightbox-nav:hover {
    background: var(--primary);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Gallery Video Section */
.gallery-video {
    background: var(--off-white);
}

.gallery-video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ---- Contact Page ---- */
.contact-info-section {
    background: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-info-card {
    background: var(--off-white);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
}

.contact-info-card:hover {
    border-bottom-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--steel-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.4rem;
    color: var(--white);
}

.contact-info-card h4 {
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.contact-info-card a:hover {
    color: var(--primary);
}

/* Contact Form + Map */
.contact-form-section {
    background: var(--off-white);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42,138,138,0.1);
}

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

.form-group .error-msg {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}

.form-group.error .error-msg {
    display: block;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 400px;
}

/* Operating Hours */
.hours-section {
    background: var(--white);
}

.hours-table {
    max-width: 500px;
    margin: 0 auto;
    background: var(--off-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hours-table table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table th,
.hours-table td {
    padding: 14px 25px;
    text-align: left;
    font-size: 0.95rem;
}

.hours-table thead {
    background: var(--primary);
    color: var(--white);
}

.hours-table tbody tr:nth-child(even) {
    background: var(--white);
}

.hours-table tbody tr:hover {
    background: rgba(42,138,138,0.05);
}

/* ---- Scroll Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Booking Modal ---- */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.booking-modal.active {
    display: flex;
}

.booking-modal-content {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-100);
}

.booking-modal-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.booking-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    padding: 0;
    line-height: 1;
    transition: color var(--transition);
}

.booking-modal-close:hover {
    color: var(--near-black);
}

.booking-modal-body {
    padding: 25px;
}

.booking-modal-body .form-group {
    margin-bottom: 18px;
}

.booking-modal-body label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-800);
}

.booking-modal-body input,
.booking-modal-body select,
.booking-modal-body textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: border-color var(--transition);
}

.booking-modal-body input:focus,
.booking-modal-body select:focus,
.booking-modal-body textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.booking-modal-body textarea {
    resize: vertical;
    min-height: 70px;
}

.booking-modal-body .form-group.error input,
.booking-modal-body .form-group.error select {
    border-color: #e74c3c;
}

.booking-modal-body .form-group .error-msg {
    display: none;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 4px;
}

.booking-modal-body .form-group.error .error-msg {
    display: block;
}

.booking-modal-footer {
    padding: 0 25px 25px;
    display: flex;
    gap: 12px;
}

.booking-modal-footer .btn {
    flex: 1;
    text-align: center;
}

.booking-modal-footer .btn-cancel {
    background: var(--gray-100);
    color: var(--gray-700);
    border-color: var(--gray-200);
}

.booking-modal-footer .btn-cancel:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .container { padding: 0 25px; }
}

@media (max-width: 992px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    .section { padding: 60px 0; }

    /* Navbar mobile */
    .hamburger { display: flex; }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: right var(--transition);
        align-items: flex-start;
        z-index: 1000;
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-menu a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .navbar-cta {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .navbar-cta .btn {
        width: 100%;
    }

    /* Grids */
    .welcome-grid,
    .about-grid,
    .team-featured-grid,
    .service-block-grid,
    .video-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-block:nth-child(even) .service-block-grid {
        direction: ltr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .team-preview-grid,
    .team-full-grid,
    .mvv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero */
    .hero-slider { height: 500px; }
    .hero-content h1, .hero-content h2 { font-size: 2.2rem; }
    .hero-content { padding-left: 80px; padding-right: 80px; }
}

@media (max-width: 768px) {
    .top-bar .container {
        justify-content: center;
    }

    .top-bar-right {
        display: none;
    }

    .hero-slider { height: 450px; }
    .hero-content h1, .hero-content h2 { font-size: 1.8rem; }
    .hero-content p { font-size: 1rem; }

    .services-grid,
    .team-preview-grid,
    .team-full-grid,
    .mvv-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .booking-modal {
        padding: 10px;
        align-items: flex-end;
    }

    .booking-modal-content {
        max-height: 85vh;
    }

    .booking-modal-footer {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    body { font-size: 15px; }
    .section { padding: 45px 0; }

    .hero-slider { height: 400px; }
    .hero-content {
        padding: 0 60px;
        text-align: center;
    }
    .hero-content h1, .hero-content h2 { font-size: 1.5rem; }
    .hero-buttons { justify-content: center; }

    .btn { padding: 10px 24px; font-size: 0.9rem; }

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

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

    .gallery-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 25px;
        height: 25px;
    }

    .scroll-top {
        bottom: 80px;
        right: 23px;
        width: 38px;
        height: 38px;
    }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-slide {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---- FAQ Accordion ---- */
.faq-section {
    padding: 60px 0;
    background: var(--off-white);
}

.faq-section .section-header {
    margin-bottom: 40px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-800);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-left: 16px;
    transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 24px 18px;
    color: var(--gray-600);
    line-height: 1.7;
}
