/* ============================================
   SEVA PRATHAM NURSING CARE - MODERN REDESIGN
   Professional Healthcare Website Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --primary: #5BB4B9;
    --primary-dark: #3A8A8F;
    --primary-light: #E0F2F3;
    --secondary: #FDF8F1;
    --secondary-dark: #F5E9D8;
    --accent: #A67C52;
    --accent-hover: #8E6641;
    --text: #2D2926;
    --text-light: #6B6661;
    --text-muted: #A39E98;
    --bg: #FAF7F2;
    --bg-white: #ffffff;
    --bg-light: #FDF8F1;
    --border: #E8E2D9;
    --shadow-sm: 0 2px 4px 0 rgba(166, 124, 82, 0.05);
    --shadow: 0 8px 16px -4px rgba(166, 124, 82, 0.1);
    --shadow-md: 0 12px 24px -6px rgba(166, 124, 82, 0.15);
    --shadow-lg: 0 24px 48px -12px rgba(166, 124, 82, 0.2);
    --radius: 24px;
    --radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --max-width: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent);
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.top-bar {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

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

.top-bar a { color: white; opacity: 0.9; }
.top-bar a:hover { opacity: 1; }

.top-bar-info {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-info i { margin-right: 6px; color: var(--secondary); }

.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo img {
    height: 60px;
    width: auto;
    border-radius: var(--radius-sm);
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 2px;
    letter-spacing: -0.5px;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-desktop {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    border-radius: 30px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px -10px rgba(166, 124, 82, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -12px rgba(166, 124, 82, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px -10px rgba(91, 180, 185, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -12px rgba(91, 180, 185, 0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: transparent;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 0% 0%, rgba(166, 124, 82, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(91, 180, 185, 0.05) 0%, transparent 50%),
                var(--bg);
    overflow: hidden;
    padding-top: 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(166, 124, 82, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 180, 185, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--accent);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-content h2 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-content h2 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(91, 180, 185, 0.2);
    z-index: -1;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    border-radius: 50px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.badge i { 
    color: var(--primary); 
    font-size: 1.1rem;
}

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

.hero-buttons .btn-primary {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.hero-buttons .btn-outline {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 1.2s ease-out;
    margin-left: auto;
    justify-self: end;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-image {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 80px -15px rgba(166, 124, 82, 0.25);
    z-index: 2;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.8s ease;
}

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

.floating-card {
    position: absolute;
    background: var(--bg-white);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 4s ease-in-out infinite;
    border: 1px solid var(--border);
}

.card-1 {
    top: 20%;
    left: -40px;
}

.card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

.floating-card i {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(91, 180, 185, 0.3);
}

.floating-card div h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--accent);
}

.floating-card div p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

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


.page-hero {
    min-height: 450px;
    padding-top: 120px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 100% 0%, rgba(91, 180, 185, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 0% 100%, rgba(166, 124, 82, 0.05) 0%, transparent 40%),
                var(--bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-white);
    border-radius: 100% 100% 0 0;
}

.page-hero .container {
    display: block;
    max-width: 900px;
}

.page-hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--accent);
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Item Card (Main) */
.service-item-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-item-img {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--bg-white);
}

.service-item-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.service-item-card:hover .service-item-img img {
    transform: scale(1.1);
}

.service-item-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.service-item-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.service-item-card:hover .service-item-icon {
    background: var(--primary);
    color: white;
}

.service-item-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.service-item-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.service-item-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.service-item-features li {
    padding: 8px 0;
    color: var(--text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-item-features li i {
    color: var(--primary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 320px;
        padding-top: 90px;
    }
    
    .page-hero h2 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }

    .service-item-img {
        height: 200px;
    }
    
    .service-item-content {
        padding: 24px;
    }
}

.hero-stats {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0;
    background: var(--bg-white);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 10;
    border: 1px solid var(--border);
}

.stat-item {
    padding: 32px 48px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 24px;
    transition: var(--transition);
    box-shadow: 0 8px 16px rgba(91, 180, 185, 0.2);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: white;
    transform: rotate(10deg);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--accent);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */

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

.about-images {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-img-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.about-img-float img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-features {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-feature i {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 4px 8px rgba(91, 180, 185, 0.2);
}

.about-feature h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.why-section .section-header h2,
.why-section .section-header p {
    color: white;
}

.why-section .section-label {
    background: rgba(255,255,255,0.15);
    color: var(--secondary);
}

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

.why-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-6px);
}

.why-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.why-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.why-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

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

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-white);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 76, 129, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h4 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

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

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    line-height: 1;
    position: absolute;
    top: 16px;
    left: 24px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text);
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

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

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
}

.contact-item i {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(91, 180, 185, 0.2);
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p, .contact-item a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

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

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--bg-white);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Payment QR */
.payment-box {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    border: 2px dashed var(--border);
    margin-top: 24px;
}

.payment-box h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.payment-box img {
    max-width: 280px;
    margin: 0 auto 16px;
    border-radius: var(--radius-sm);
}

.payment-box p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Map */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 40px;
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.vision-mission-card {
    background: var(--bg-white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.vision-mission-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.vision-mission-card:nth-child(2) h3 {
    color: var(--primary);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.vision-mission-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px rgba(91, 180, 185, 0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: white;
    padding: 80px 0;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-qr {
    margin-bottom: 20px;
}

.footer-qr img {
    width: 80px;
    height: 80px;
    background: white;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a.facebook { background: #1877f2; }
.social-links a.instagram { background: radial-gradient(circle at 30% 107%, #fdf497, #fd5949, #d6249f, #285aeb); }
.social-links a.whatsapp { background: #25D366; }
.social-links a.twitter { background: #000; }

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    filter: brightness(1.1);
}

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

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

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

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.05) 0%, rgba(91, 180, 185, 0.05) 100%), var(--bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero h2 {
    font-size: 3.5rem;
    margin-top: 10px;
    font-family: 'Playfair Display', serif;
    color: var(--accent);
}

.page-hero p {
    max-width: 650px;
    margin: 24px auto 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }

    .page-hero h2 {
        font-size: 2.25rem;
    }

    .page-hero p {
        font-size: 1rem;
        margin-top: 16px;
    }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .hero .container { gap: 40px; }
    .hero-content h2 { font-size: 3rem; }
    .card-1 { left: -20px; }
    .card-2 { right: -10px; }
}

@media (max-width: 1024px) {
    .section { padding: 80px 0; }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content h2 {
        font-size: 2.75rem;
        max-width: 800px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.15rem;
    }

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

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

    .hero-image-wrapper {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-image img {
        height: auto;
    }

    .floating-card {
        display: none;
    }

    .hero-stats {
        position: relative;
        bottom: 0;
        margin-top: 40px;
        transform: none;
        left: 0;
        width: 100%;
        border-radius: 20px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    :root {
        --radius: 20px;
    }

    .container {
        padding: 0 24px;
    }

    .top-bar { display: none; }

    .header {
        padding: 8px 0;
    }

    .header .container {
        height: 56px;
    }

    .logo img { height: 38px; }
    .logo-text h1 { font-size: 1.05rem; }
    .logo-text span { font-size: 0.6rem; }

    .nav-desktop { display: none; }
    .mobile-toggle { display: block; }

    .section { padding: 60px 0; }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* 1. Image First */
    .hero-image-wrapper {
        order: 1;
        margin: 10px 0 35px 0;
        width: 100%;
        position: relative;
    }

    .hero-image img {
        height: auto;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(15, 76, 129, 0.12);
        width: 100%;
    }

    .floating-card {
        padding: 10px 14px;
        border-radius: 12px;
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    
    .floating-card i {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .floating-card h4 { font-size: 0.85rem; }
    .floating-card p { font-size: 0.7rem; }
    
    .card-1 {
        top: -15px;
        left: -10px;
    }
    
    .card-2 {
        bottom: -15px;
        right: -10px;
    }

    /* 2. Content Below Image */
    .hero-content {
        order: 2;
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hero-badges {
        margin-bottom: 20px;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .hero-badges .badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        background: rgba(15, 76, 129, 0.05);
        color: var(--primary-dark);
        border: 1px solid rgba(15, 76, 129, 0.1);
    }

    .hero-content h2 {
        font-size: 2.2rem;
        margin-bottom: 16px;
        line-height: 1.15;
        letter-spacing: -0.5px;
        font-weight: 800;
        color: var(--text-dark);
        max-width: 100%;
    }
    
    .hero-content h2 span {
        display: block;
        margin-top: 4px;
    }
    
    .hero-content h2 span::after {
        display: none; /* Hide the underline image on mobile to keep it clean */
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 24px;
        line-height: 1.6;
        color: var(--text-muted);
        max-width: 100%;
    }

    /* Stack buttons for better tap targets */
    .hero-buttons {
        gap: 12px;
        width: 100%;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        padding: 16px 24px;
        font-size: 1.05rem;
        width: 100%;
        display: flex;
        justify-content: center;
        border-radius: 12px;
    }
    
    .hero-buttons .btn-primary {
        box-shadow: 0 10px 25px rgba(63, 187, 192, 0.3);
    }

    /* 3. Stats Grid */
    .hero-stats {
        order: 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
        padding: 0;
    }

    .stat-item {
        border: none;
        padding: 20px 15px;
        background: var(--bg-white);
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(15, 76, 129, 0.06);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .stat-number { 
        font-size: 1.8rem; 
        font-weight: 800;
        color: var(--primary-dark);
        margin-bottom: 6px; 
    }
    
    .stat-label { 
        font-size: 0.85rem; 
        color: var(--text);
        font-weight: 500;
    }

    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 2rem; }
    .section-header p { font-size: 1.05rem; }

    .services-grid, .gallery-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-item-card {
        max-width: 450px;
        margin: 0 auto;
    }

    .service-item-img {
        height: 200px;
    }

    .service-item-content {
        padding: 24px;
    }

    .service-item-header h3 {
        font-size: 1.25rem;
    }

    .about-grid, .contact-grid, .form-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .vision-mission-card {
        padding: 32px 24px;
    }

    .about-img-main img {
        height: auto;
        width: 100%;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .footer-brand, .footer-links, .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social, .footer-contact p, .footer-qr {
        justify-content: center;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 24px;
        right: 24px;
    }
}

@media (max-width: 480px) {
    :root {
        --radius: 16px;
    }

    .hero-content h2 {
        font-size: 1.75rem;
        padding: 0 10px;
    }

    .hero-image img {
        height: auto;
    }

    .hero-content p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    .btn-primary, .btn-secondary, .btn-outline {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(166, 124, 82, 0.05) 0%, transparent 50%),
                var(--bg-white);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    transition: var(--transition);
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: var(--primary);
}

.mobile-nav .close-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary-light);
    border: none;
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav .close-menu:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   MEET OUR TEAM SECTION
   ============================================ */

.team-section {
    background: var(--bg);
    position: relative;
    padding: 80px 0;
}

/* ── Grid ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* ── Card shell ── */
.team-card {
    background: var(--bg-white);
    border-radius: 24px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
    padding: 20px; /* Creates the premium frame effect */
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

/* ── Portrait area ── */
.team-card-top {
    position: relative;
    width: 100%;
    height: 300px;
    flex-shrink: 0;
    margin-bottom: 28px; /* Space for the role badge */
}

/* Full-bleed portrait with rounded corners */
.team-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: transform 0.55s ease;
}

.team-card-top { overflow: hidden; border-radius: 16px; }
.team-card:hover .team-portrait { transform: scale(1.04); }

/* Removed image overlay for a cleaner look */
.team-img-overlay {
    display: none;
}

/* ── Experience badge – top-right inside image ── */
.team-badge-exp {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 3;
    backdrop-filter: blur(4px);
}

.team-card--accent .team-badge-exp { color: var(--accent); }
.team-card--teal   .team-badge-exp { color: #2bb5bc; }

/* ── Role icon badge – centred on image/body seam ── */
.team-role-badge {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 4px solid var(--bg-white);
    box-shadow: 0 6px 16px rgba(91, 180, 185, 0.3);
    z-index: 4;
    transition: var(--transition);
}

.team-card--accent .team-role-badge {
    background: var(--accent);
    box-shadow: 0 6px 16px rgba(166, 124, 82, 0.3);
}

.team-card--teal .team-role-badge {
    background: #2bb5bc;
    box-shadow: 0 6px 16px rgba(43, 181, 188, 0.3);
}

.team-card:hover .team-role-badge { transform: translateX(-50%) translateY(-4px); }

/* ── Card body ── */
.team-card-body {
    padding: 0 8px 8px; /* Padding is handled by the outer card now */
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.team-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.5;
    margin: 0;
}

.team-card--accent .team-role { color: var(--accent); }
.team-card--teal   .team-role { color: #2bb5bc; }

.team-bio {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 4px 0 0;
    flex: 1;
    text-align: left;
}

/* ── Specialization block ── */
.team-specialization {
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: left;
}

.team-spec-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.team-spec-label i { color: var(--primary); font-size: 0.6rem; }
.team-card--accent .team-spec-label i { color: var(--accent); }
.team-card--teal   .team-spec-label i { color: #2bb5bc; }

.team-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.team-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-tag:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.team-card--accent .team-tag:hover { border-color: var(--accent); color: var(--accent); }
.team-card--teal   .team-tag:hover { border-color: #2bb5bc; color: #1e9aa0; }

/* ── View Profile Button ── */
.team-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 24px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.team-btn i { font-size: 0.75rem; transition: transform 0.3s ease; }
.team-btn:hover i { transform: translateX(4px); }

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

.team-card--accent .team-btn { color: var(--accent); border-color: var(--accent); }
.team-card--accent .team-btn:hover { background: var(--accent); color: white; }

.team-card--teal .team-btn { color: #2bb5bc; border-color: #2bb5bc; }
.team-card--teal .team-btn:hover { background: #2bb5bc; color: white; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .team-card:last-child {
        grid-column: 1 / -1;
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; gap: 24px; }
    .team-card:last-child { grid-column: auto; max-width: none; margin: 0; }
    .team-card-top { height: 260px; }
    .team-card { padding: 16px; }
}

@media (max-width: 480px) {
    .team-card-top { height: 240px; }
    .team-name { font-size: 1.3rem; }
    .team-bio { font-size: 0.88rem; }
}

/* ============================================
   TEAM V2 — REDESIGNED MEET THE TEAM
   ============================================ */

.team-v2-section { background: var(--bg); }

.team-v2-grid {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.team-v2-card {
    display: flex;
    background: var(--bg-white);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.team-v2-card--reversed { flex-direction: row-reverse; }

/* Photo side */
.team-v2-photo {
    position: relative;
    flex: 0 0 340px;
    width: 340px;
    min-height: 420px;
    overflow: hidden;
}

.team-v2-photo img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.65s ease;
}

.team-v2-card:hover .team-v2-photo img { transform: scale(1.04); }

.team-v2-photo-gradient {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(58,138,143,0.72), transparent);
    pointer-events: none;
}

.team-v2-exp-badge {
    position: absolute;
    top: 18px; right: 18px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.team-v2-icon-badge {
    position: absolute;
    bottom: 18px; left: 18px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Content side */
.team-v2-content {
    flex: 1;
    min-width: 0;
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-v2-bg-num {
    position: absolute;
    top: -16px; right: 28px;
    font-size: 9rem;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.05;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.team-v2-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    line-height: 1.2;
}

.team-v2-role {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 0;
}

.team-v2-role small {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.team-v2-bar {
    width: 56px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary);
    margin: 20px 0;
    flex-shrink: 0;
}

.team-v2-bio {
    font-size: 0.93rem;
    color: var(--text-light);
    line-height: 1.8;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.team-v2-bio.expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.team-v2-readmore {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    padding: 10px 0 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.team-v2-readmore:hover { opacity: 0.65; }
.team-v2-readmore i { font-size: 0.7rem; transition: transform 0.3s; }
.team-v2-readmore.open i { transform: rotate(180deg); }

.team-v2-spec-heading {
    font-size: 0.69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.team-v2-spec-heading i { font-size: 0.45rem; color: var(--primary); }

.team-v2-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.team-v2-tag {
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.77rem;
    font-weight: 600;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid rgba(91,180,185,0.25);
    transition: var(--transition);
}

.team-v2-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Accent variant — Dr. Amit */
.team-v2-card--accent .team-v2-photo-gradient { background: linear-gradient(to top, rgba(166,124,82,0.72), transparent); }
.team-v2-card--accent .team-v2-icon-badge { background: var(--accent); box-shadow: 0 6px 18px rgba(166,124,82,0.3); }
.team-v2-card--accent .team-v2-role { color: var(--accent); }
.team-v2-card--accent .team-v2-bar { background: var(--accent); }
.team-v2-card--accent .team-v2-readmore { color: var(--accent); }
.team-v2-card--accent .team-v2-spec-heading i { color: var(--accent); }
.team-v2-card--accent .team-v2-bg-num { color: var(--accent); }
.team-v2-card--accent .team-v2-tag { background: rgba(166,124,82,0.07); color: var(--accent); border-color: rgba(166,124,82,0.22); }
.team-v2-card--accent .team-v2-tag:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* Teal2 variant — Shweta */
.team-v2-card--teal2 .team-v2-photo-gradient { background: linear-gradient(to top, rgba(43,181,188,0.72), transparent); }
.team-v2-card--teal2 .team-v2-icon-badge { background: #2bb5bc; box-shadow: 0 6px 18px rgba(43,181,188,0.3); }
.team-v2-card--teal2 .team-v2-role { color: #2bb5bc; }
.team-v2-card--teal2 .team-v2-bar { background: #2bb5bc; }
.team-v2-card--teal2 .team-v2-readmore { color: #2bb5bc; }
.team-v2-card--teal2 .team-v2-spec-heading i { color: #2bb5bc; }
.team-v2-card--teal2 .team-v2-bg-num { color: #2bb5bc; }
.team-v2-card--teal2 .team-v2-tag { background: rgba(43,181,188,0.07); color: #1e9aa0; border-color: rgba(43,181,188,0.22); }
.team-v2-card--teal2 .team-v2-tag:hover { background: #2bb5bc; color: white; border-color: #2bb5bc; }

/* Responsive */
@media (max-width: 1024px) {
    .team-v2-photo { width: 290px; }
    .team-v2-content { padding: 36px 36px; }
    .team-v2-name { font-size: 1.65rem; }
    .team-v2-bg-num { font-size: 7rem; }
}

@media (max-width: 768px) {
    .team-v2-card,
    .team-v2-card--reversed {
        flex-direction: column;
    }
    .team-v2-photo { width: 100%; height: 300px; }
    .team-v2-photo img { min-height: 300px; height: 300px; }
    .team-v2-content { padding: 28px 24px; }
    .team-v2-name { font-size: 1.5rem; }
    .team-v2-bg-num { font-size: 6rem; top: -10px; right: 16px; }
}

@media (max-width: 480px) {
    .team-v2-name { font-size: 1.35rem; }
    .team-v2-content { padding: 22px 18px; }
    .team-v2-photo { height: 260px; }
    .team-v2-photo img { height: 260px; min-height: 260px; }
}

/* Sub-section dividers */
.team-v2-subsection--second {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid var(--border);
}

.team-v2-sub-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.team-v2-sub-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(91,180,185,0.3);
}

.team-v2-sub-icon--accent {
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(166,124,82,0.3);
}

.team-v2-sub-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    white-space: nowrap;
}

.team-v2-subsection--second .team-v2-sub-label {
    color: var(--accent);
}

.team-v2-sub-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border), transparent);
}

@media (max-width: 768px) {
    .team-v2-subsection--second {
        margin-top: 40px;
        padding-top: 40px;
    }
}
