/* Main Stylesheet for Rehaktiva - V2 Professional */
/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
    /* Enhanced Color Palette */
    --primary-color: #003785;
    /* Medical Blue - Core Brand */
    --primary-dark: #002861;
    /* Deeper Blue for hover/text */
    --secondary-color: #666666;
    /* Corporate Gray - Secondary Accent */
    --secondary-hover: #4d4d4d;
    --text-dark: #1f2937;
    /* Soft charcoal instead of pure black */
    --text-gray: #666666;
    /* Balanced gray for body text */
    --background-light: #f8fafc;
    /* Very subtle cool gray/blue tint */
    --white: #ffffff;

    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;

    /* Premium UI Tokens */
    --border-radius: 16px;
    /* More modern, softer corners */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    /* Deep, elevated shadow */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Silkier movement */
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    /* Increased for better readability */
    background-color: var(--background-light);
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    /* Sharper text */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
    /* Tighter heading tracking */
}

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

ul {
    list-style: none;
}

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

/* Layout Utilities */
section {
    padding: 60px 5%;
    /* More breathing room */
    position: relative;
    scroll-margin-top: 80px;
}

@media (max-width: 768px) {
    section {
        padding: 60px 15px;
        /* Significantly reduced horizontal padding for mobile */
    }
}

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

/* Typography Enhancements */
.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 4rem;
    position: relative;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    /* Gradient underline */
    border-radius: 2px;
}

/* Refined Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--primary-color);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: top 0.3s;
}

.brand {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Increased spacing */
}

.navbar-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.1;
}

.tagline {
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

/* Hamburger Menu */
.hamburger {
    color: var(--white);
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        height: calc(100vh - 80px);
        /* Full height */
        text-align: center;
        padding-top: 3rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
        transition: var(--transition-smooth);
        gap: 20px;
        /* Force gap between li items */
    }

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

    .nav-link {
        font-size: 1.3rem;
        /* Slightly larger text */
        display: block;
        padding: 20px 0;
        /* MORE vertical spacing */
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Hero / About Section - Premium Look */
.about-section {
    position: relative;
    height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
}

.about-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

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

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

/* Sophisticated Gradient Overlay */
.about-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    color: var(--white);
}

.about-content h2 {
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    animation: fadeInDown 1s ease-out;
}

.about-content p {
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* About Slider Controls */
.about-slider-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    /* Increased z-index */
    /* Removed pointer-events: none to ensure children are clickable in all browsers */
}

.about-slider-dots {
    display: flex;
    gap: 15px;
    /* Increased gap */
    z-index: 21;
}

.about-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-dot.active {
    background-color: var(--white);
    transform: scale(1.4);
    border-color: var(--white);
}

.about-slider-dots {
    display: flex;
    gap: 12px;
    pointer-events: auto;
}

.about-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-dot.active {
    background-color: var(--white);
    transform: scale(1.4);
    border-color: var(--white);
}

/* Mission Section - Clean Cards */
.mission-section {
    background-color: var(--white);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.4s ease;
}

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

.card:hover::before {
    height: 100%;
}

.card h3 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Services Section - Modern Grid */
.services-section {
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-item:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 74, 173, 0.1);
}

.service-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list {
    margin-top: 1.5rem;
}

.service-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Plans Section - Elevated */
/* Plans Section - Elevated */
.plans-section {
    background-color: var(--white);
    background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
    background-size: 40px 40px;
}

.plans-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Minimized padding to maximize width */
}

.plans-slider .slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 15px;
    /* Reduced gap for mobile */
    padding: 40px 10px;
    width: 100%;
    scrollbar-width: none;
    z-index: 1;
}

.plans-slider .slider-wrapper::-webkit-scrollbar {
    display: none;
}

/* Specific Navigation for Plans - Floating Arrows */
.plans-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.plans-slider .prev-plan-btn {
    left: 10px;
}

.plans-slider .next-plan-btn {
    right: 10px;
}

.plan-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 40px 25px;
    /* Reduced side padding */
    border-radius: 20px;
    box-shadow: var(--shadow-hover);

    /* Responsive Sizing Logic */
    min-width: 280px;
    /* Smaller min-width */
    flex: 0 0 100%;
    /* Default mobile: full width */
    max-width: 400px;

    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    scroll-snap-align: center;
    position: relative;
}

.plan-header h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 10px;
    word-break: break-word;
    /* Prevent overflow */
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0 30px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.plan-desc {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-style: italic;
    font-size: 0.95rem;
}

.plan-features {
    text-align: left;
    margin-bottom: 20px;
}

.plan-features li {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    padding-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-btn {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--whatsapp-color), var(--whatsapp-hover));
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    margin-top: auto;
    box-shadow: 0 10px 20px -5px rgba(102, 102, 102, 0.3);
    cursor: pointer;
    white-space: nowrap;
}

.plan-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(102, 102, 102, 0.4);
}

/* Responsive adjustments for Plans */
@media (min-width: 900px) {
    .slider-container.plans-slider {
        padding: 0 50px;
        max-width: 95vw;
        /* Forced wider width for desktop */
        width: 100%;
        /* Restore padding on desktop for arrows/shadows */
    }

    .plans-slider .slider-wrapper {
        width: fit-content;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
    }

    .plan-card {
        flex: 0 0 350px;
        /* Slightly wider cards on desktop too */
        min-width: 320px;
        /* Restore larger min-width for desktop */
    }

    .plans-slider .slider-btn {
        /* On desktop, keep arrows slightly outside via negative margins if desired, 
           or larger and detached */
        width: 50px;
        height: 50px;
        background: var(--white);
        opacity: 1;
        /* Fully visible */
    }

    .plans-slider .prev-plan-btn {
        left: 0;
    }

    .plans-slider .next-plan-btn {
        right: 0;
    }
}

@media (max-width: 480px) {
    .plan-price {
        font-size: 2.5rem;
        /* Better scale */
    }

    .plan-card {
        padding: 30px 20px;
        flex: 0 0 90%;
        /* Show hint of next card */
        margin: 0 auto;
    }

    .plans-slider {
        padding: 0;
    }

    /* Ensure arrows overlay without blocking text */
    .plans-slider .slider-btn {
        opacity: 0.8;
        width: 36px;
        height: 36px;
    }
}

/* Team Section */
/* Team Section */
.team-section {
    background-color: var(--background-light);
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.team-section .slider-container {
    padding-bottom: 40px;
}

.slider-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 20px 0;
    /* Space for shadow */
}

.team-card {
    display: none;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
    max-width: 400px;
    /* Limit width like the image */
    animation: fadeIn 0.6s ease-out;
}

.team-card.active {
    display: flex;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.team-info {
    text-align: center;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--text-dark);
}

.profession {
    color: var(--primary-color);
    font-weight: 700;
    /* Made slightly bolder to match image */
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 15px;
}

/* Desktop Layout for Team Card */
@media (min-width: 900px) {
    .team-card {
        flex-direction: row;
        text-align: left;
        max-width: 800px;
        padding: 50px;
        align-items: center;
        /* Vertical center */
    }

    .team-info {
        text-align: left;
        flex: 1;
        padding-left: 20px;
    }

    .team-photo {
        width: 180px;
        height: 180px;
        margin-bottom: 0;
    }

    .team-info h3 {
        font-size: 1.8rem;
    }
}

/* Slider Buttons (Shared) */
.slider-btn {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

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

/* Position arrows for Team Slider at bottom mobile */
.team-section .slider-btn {
    position: absolute;
    bottom: 0;
    z-index: 10;
}

.team-section .prev-btn {
    left: calc(50% - 40px);
    transform: translateX(-50%);
}

.team-section .next-btn {
    right: calc(50% - 40px);
    transform: translateX(50%);
}

@media (min-width: 900px) {
    .team-section .slider-btn {
        position: static;
        transform: translateY(20px);
        /* Move down slightly */
    }

    .team-section .prev-btn {
        margin-right: -25px;
        /* Overlap slightly if needed, or just standard positioning */
        transform: translateY(20px);
    }

    .team-section .next-btn {
        margin-left: -25px;
        transform: translateY(20px);
    }
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-dark);
    color: var(--white);
    padding-bottom: 120px;
    /* Space for footer overlap if desired */
}

.contact-section .section-title,
.contact-section .section-title h2 {
    color: var(--primary-color);
}


.contact-form {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background-color: #f9fafb;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.15);
}

.submit-btn {
    padding: 18px;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 211, 102, 0.4);
}

/* Sticky WhatsApp */
.whatsapp {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Footer - Professional & Clean */
.footer {
    background-color: var(--primary-color);
    /* Near black */
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    font-size: 0.95rem;
    border-top: 4px solid var(--secondary-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.footer p {
    margin: 0;
}

.footer strong {
    color: var(--white);
    font-weight: 600;
}


/* Animations */
/* Plans Grid Layout (Desktop) - Adjusted for Scroll Snap */
@media (min-width: 900px) {
    .plans-slider .slider-btn {
        display: block !important;
        /* Keep arrows visible */
    }
}

/* Contact Section - V3 Split Layout */
.contact-section {
    background: var(--background-light);
    color: var(--text-dark);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    display: none;
}

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

.contact-info h3 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-detail i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(0, 55, 133, 0.1);
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-detail p {
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-top: 5px solid var(--secondary-color);
    /* Brand accent */
    position: relative;
    overflow: hidden;
}

/* Form Styles Refinement */
.form-group {
    margin-bottom: 25px;
    /* More breathing room */
}

.form-group label {
    display: block;
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background-color: #f9fafb;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 74, 173, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.form-group input:focus+label,
.form-group textarea:focus+label {
    color: var(--primary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    opacity: 0.7;
}

.contact-form .submit-btn {
    width: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--whatsapp-color), var(--whatsapp-hover));
    color: var(--white);
    border: none;
    border-radius: 50px;
    /* Pill shape for modern look */
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(37, 211, 102, 0.4);
}

.contact-form .submit-btn i {
    transition: transform 0.3s ease;
}

.contact-form .submit-btn:hover i {
    transform: translateX(5px);
}

/* Mobile Responsiveness for Contact V3 */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        text-align: center;
    }

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

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Response Fixes */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .about-content h2 {
        font-size: 2.5rem;
    }

    .team-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        /* Reduced padding to make it effectively wider */
        width: 100%;
        margin: 0;
    }

    .slider-container {
        width: 100%;
        padding: 0 10px;
        /* Minimal padding on container */
    }

    .team-info {
        text-align: center;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* About Section Responsive Improvements */
@media (max-width: 768px) {
    .about-section {
        height: 500px;
        /* Reduced specific height for mobile to show more of the image (less zoomed in) */
        padding: 60px 20px;
    }

    .about-content h2 {
        font-size: 2.5rem;
        /* Slightly smaller for mobile */
    }

    .about-slider-controls {
        bottom: 20px;
        /* Adjust position */
    }
}