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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFDD0;
}

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

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

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

h2 {
    font-size: 2rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 168, 83, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #34A853;
    border: 2px solid #34A853;
}

.btn-secondary:hover {
    background: #34A853;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(52, 168, 83, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0;
}

.nav-logo p {
    font-size: 0.9rem;
    color: #a8d5a8;
    margin-bottom: 0;
}

.highlight-title {
    background: linear-gradient(135deg, #ffffff, #f0f8f0);
    color: #2d8f47;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0 2px 12px rgba(45, 143, 71, 0.3);
    }
}

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

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

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

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

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #FFFDD0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    min-height: 1.2em;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #34A853;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: translateY(-5px);
}

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

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2.5rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 2rem;
        padding: 0 0.25rem;
    }
}

.section-header h2 {
    margin-bottom: 1rem;
    font-weight: 800;
    font-size: 2.5rem;
    color: #2c3e50;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(52, 168, 83, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    animation: headingGlow 3s ease-in-out infinite alternate;
}

.section-header h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.1) 0%, rgba(45, 143, 71, 0.1) 100%);
    border-radius: 15px;
    z-index: -1;
}

@keyframes headingGlow {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border-color: rgba(52, 168, 83, 0.2);
    }
    100% {
        box-shadow: 0 8px 30px rgba(52, 168, 83, 0.3);
        border-color: rgba(52, 168, 83, 0.4);
    }
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.about-doctor-photo {
    margin: 2rem 0;
}

.about-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #34A853;
    box-shadow: 0 10px 30px rgba(52, 168, 83, 0.2);
    transition: transform 0.3s ease;
}

.about-photo:hover {
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #FFFDD0 url('testimonial/Untitled design (9).png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 253, 208, 0.85);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about .section-header h2 {
    color: #1a252f;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 3px solid rgba(52, 168, 83, 0.3);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
    animation: aboutHeadingGlow 4s ease-in-out infinite alternate;
}

.about .section-header h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.15) 0%, rgba(45, 143, 71, 0.15) 100%);
    border-radius: 20px;
    z-index: -1;
}

@keyframes aboutHeadingGlow {
    0% {
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
        border-color: rgba(52, 168, 83, 0.3);
    }
    100% {
        box-shadow: 0 12px 40px rgba(52, 168, 83, 0.4);
        border-color: rgba(52, 168, 83, 0.5);
    }
}

/* Typing Animation Cursor */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.about .section-header p {
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about .section-header p:first-of-type {
    color: #dc3545;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(220, 53, 69, 0.2);
}

.about-content h3 {
    color: #1a252f;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-content p {
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

.about-text h3 {
    color: #34A853;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(52, 168, 83, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: cardGlow 4s ease-in-out infinite alternate;
}

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

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

.stat:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(52, 168, 83, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

@keyframes cardGlow {
    0% {
        box-shadow: 0 8px 25px rgba(52, 168, 83, 0.3);
    }
    100% {
        box-shadow: 0 8px 30px rgba(52, 168, 83, 0.5);
    }
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.stat p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Location Section */
.location {
    padding: 80px 0;
    background: #FFFDD0;
    overflow: hidden;
}

.location .container {
    overflow: hidden;
}

.locations-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    overflow: visible;
    padding: 1rem 0;
    animation: scrollLocations 25s linear infinite;
    width: calc(100% + 2rem);
}

@keyframes scrollLocations {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.locations-grid:hover {
    animation-play-state: paused;
}

.location-card {
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(52, 168, 83, 0.1);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 280px;
    min-width: 280px;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.location-icon i {
    font-size: 1.5rem;
    color: white;
}

.location-card h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.location-card p {
    margin-bottom: 0.5rem;
}

.landmark {
    color: #34A853;
    font-weight: 500;
    font-size: 0.9rem;
}

.working-hours {
    background: linear-gradient(135deg, #ffffff 0%, #f8fff8 100%);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(52, 168, 83, 0.2);
    position: relative;
    overflow: hidden;
}

.working-hours::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 168, 83, 0.1), transparent);
    animation: highlight 3s ease-in-out infinite;
}

@keyframes highlight {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.working-hours h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(52, 168, 83, 0.2);
}

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

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
    border-radius: 10px;
    border-left: 4px solid #34A853;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 168, 83, 0.1);
}

.hours-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.2);
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
}

.day {
    font-weight: 500;
    color: #2c3e50;
}

.time {
    color: #34A853;
    font-weight: 600;
}

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

.services-content {
    max-width: 1000px;
    margin: 0 auto;
}

.services-intro {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.services-intro h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
}

.services-intro h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    border-radius: 2px;
}

.services-intro p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

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

.service-card {
    background-color: transparent;
    width: 100%;
    height: 450px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.service-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.card-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    flex-direction: column;
}

.service-name-box {
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    color: white;
    padding: 0.8rem 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(52, 168, 83, 0.3);
}

.service-name-box h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.card-back {
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.service-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
}

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

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

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.flip-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #34A853;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: auto;
}

.flip-hint i {
    font-size: 1rem;
}

.back-content h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
}

.back-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.back-content li {
    padding: 0.8rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.back-content li:last-child {
    border-bottom: none;
}

.back-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.flip-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.flip-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

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

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

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
    display: flex;
    flex-direction: column;
    border: 3px solid transparent;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 168, 83, 0);
    transition: background 0.2s ease;
    pointer-events: none;
    border-radius: 15px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 168, 83, 0.5);
}

.gallery-item:active {
    transform: scale(0.98);
    border-color: #34A853;
    box-shadow: 0 5px 20px rgba(52, 168, 83, 0.3);
    background-color: rgba(52, 168, 83, 0.1);
    transition: all 0.1s ease;
}

.gallery-item:active::after {
    background: rgba(52, 168, 83, 0.2);
}

.gallery-item.selected {
    border-color: #34A853;
    box-shadow: 0 15px 40px rgba(52, 168, 83, 0.3);
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 300px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    max-height: 85%;
    object-fit: contain;
    object-position: center;
    margin-top: 5%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

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

.testimonials .container {
    overflow: hidden;
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    overflow: visible;
    padding: 1rem 0;
    animation: scrollTestimonials 35s linear infinite;
    width: calc(100% + 2rem);
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.testimonials-grid:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    flex: 0 0 320px;
    min-width: 320px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-date {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-content {
    margin-bottom: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
    margin: 0;
    flex: 1;
    overflow: visible;
    word-wrap: break-word;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: #34A853;
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(52, 168, 83, 0.3);
}

.author-info h4 {
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info span {
    color: #34A853;
    font-size: 0.9rem;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: url('testimonial/Untitled design (9).png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

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

.faq .section-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(233, 236, 239, 0.8);
    margin-bottom: 4rem;
    backdrop-filter: blur(10px);
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

.faq-question:hover {
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(52, 168, 83, 0.2);
    border-color: rgba(52, 168, 83, 0.3);
}

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

.faq-question:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.faq-question.active {
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    color: white;
    border-color: #34A853;
    box-shadow: 0 10px 30px rgba(52, 168, 83, 0.3);
}

.faq-question h3 {
    margin-bottom: 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.faq-question.active h3 {
    color: white;
}

.faq-question i {
    color: #34A853;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.faq-question:hover i {
    color: #2d8f47;
    transform: scale(1.1);
}

.faq-question.active i {
    color: white;
    transform: rotate(180deg) scale(1.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) scale(1.1);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 0 0 15px 15px;
    border: 1px solid #e9ecef;
    border-top: none;
    margin-top: -1rem;
    position: relative;
    z-index: 1;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    margin-bottom: 2rem;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 168, 83, 0.3);
}

.contact-item:active {
    transform: translateY(-2px);
    transition: all 0.1s ease;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #34A853 0%, #2d8f47 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-details p {
    margin-bottom: 0;
    color: #666;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

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

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

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

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

/* Footer */
.footer {
    background: #34A853;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-section h3:active,
.footer-section h4:active {
    color: #000000 !important;
    background-color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
    border-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.footer-section p {
    color: #e8f4f8;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-section p:active {
    color: #000000 !important;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    text-shadow: none;
}

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

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

.footer-section ul li a {
    color: #e8f4f8;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    display: inline-block;
    position: relative;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section ul li a:hover {
    color: #34A853;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-section ul li a:active {
    color: #000000 !important;
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(0) scale(1.05);
    transition: all 0.1s ease;
    text-shadow: none;
    border-color: rgba(0, 0, 0, 0.2);
}

.footer-section ul li a:focus {
    color: #000000;
    background-color: rgba(255, 255, 255, 0.15);
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

/* Contact Links Styling */
.contact-link {
    color: #34A853;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    display: inline-block;
    font-weight: 500;
}

.contact-link:hover {
    color: #2d8f47;
    background-color: rgba(52, 168, 83, 0.1);
    transform: translateY(-1px);
}

.contact-link:active {
    color: #000000;
    background-color: rgba(52, 168, 83, 0.2);
    transform: translateY(0);
}

.contact-link:focus {
    color: #000000;
    background-color: rgba(52, 168, 83, 0.15);
    outline: 2px solid rgba(52, 168, 83, 0.3);
    outline-offset: 2px;
}

/* Footer Links Styling */
.footer-link {
    color: #e8f4f8;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link:hover {
    color: #34A853;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-link:active {
    color: #000000 !important;
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(0);
    font-weight: 600;
    text-shadow: none;
}

.footer-link:focus {
    color: #000000;
    background-color: rgba(255, 255, 255, 0.15);
    outline: 2px solid rgba(255, 255, 255, 0.3);
    outline-offset: 2px;
}

/* WhatsApp Link Special Styling */
.footer-link .fab.fa-whatsapp {
    color: #25D366;
    margin-right: 0.5rem;
}

.footer-link:hover .fab.fa-whatsapp {
    color: #128C7E;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    color: #e8f4f8;
    margin-bottom: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(52, 168, 83, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 2rem 0;
    }

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

    .nav-menu a {
        padding: 1rem;
        display: block;
    }

    .highlight-title {
        font-size: 0.75rem;
        padding: 0.15rem 0.6rem;
        letter-spacing: 0.3px;
    }

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

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

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

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

    .hero-content h1 {
        font-size: 2rem;
        min-height: 1.3em;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
    }

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

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

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

    .stat {
        flex: 1;
        margin: 0 0.5rem;
    }

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

    .location {
        overflow: hidden;
    }

    .location .container {
        overflow: hidden;
    }

    .testimonials {
        overflow: hidden;
    }

    .testimonials .container {
        overflow: hidden;
    }

    .locations-grid {
        animation: scrollLocations 25s linear infinite;
        overflow: visible;
        scroll-snap-type: none;
    }
    
    .location-card {
        scroll-snap-align: none;
        min-height: 250px;
        padding: 2rem;
        flex: 0 0 280px;
        min-width: 280px;
    }

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

    .testimonials-grid {
        animation: scrollTestimonials 35s linear infinite;
        overflow: visible;
        scroll-snap-type: none;
    }
    
    .testimonial-card {
        scroll-snap-align: none;
        flex: 0 0 320px;
        min-width: 320px;
    }

    /* Mobile animation optimizations */
    .locations-grid,
    .testimonials-grid {
        will-change: transform;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item img {
        min-height: 180px;
        max-height: 250px;
    }
    
    .gallery-item {
        border-width: 2px;
    }
    
    .gallery-item:active {
        transform: scale(0.95);
        border-color: #34A853;
        box-shadow: 0 8px 25px rgba(52, 168, 83, 0.4);
        background-color: rgba(52, 168, 83, 0.15);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-photo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        min-height: 1.4em;
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0 0.5rem;
    }

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

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .section-header h2 {
        font-size: 1.6rem;
        padding: 0.3rem 0.8rem;
        border-radius: 10px;
        margin: 0 auto;
        max-width: 90%;
        word-wrap: break-word;
        line-height: 1.2;
    }

    .about .section-header h2 {
        font-size: 1.8rem;
        padding: 0.4rem 1rem;
        border-radius: 12px;
        margin: 0 auto;
        max-width: 95%;
        word-wrap: break-word;
        line-height: 1.2;
    }

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

    .stat {
        margin: 0.5rem 0;
        padding: 1.5rem;
    }

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

    .stat p {
        font-size: 0.8rem;
    }

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

    .working-hours {
        padding: 2rem;
    }

    .modal-content {
        width: 95%;
        margin-top: 10%;
    }
    
    .about-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Mobile Link Optimizations */
    .contact-link,
    .footer-link,
    .footer-section ul li a {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        touch-action: manipulation;
    }
    
    .contact-link:active,
    .footer-link:active,
    .footer-section ul li a:active {
        transform: scale(0.95);
        transition: all 0.1s ease;
        color: #000000 !important;
        background-color: rgba(255, 255, 255, 0.8);
        font-weight: 600;
    }
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

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

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

.call-btn {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: pulse 2s infinite 0.5s;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.floating-btn:active {
    transform: translateY(-2px) scale(0.95);
    transition: all 0.1s ease;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(220, 53, 69, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

/* Mobile Optimizations for Floating Buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .floating-btn:hover {
        transform: translateY(-3px) scale(1.05);
    }
    
    .floating-btn:active {
        transform: translateY(-1px) scale(0.9);
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .section-header h2 {
        font-size: 1.4rem;
        padding: 0.25rem 0.6rem;
        border-radius: 8px;
        max-width: 95%;
    }

    .about .section-header h2 {
        font-size: 1.6rem;
        padding: 0.3rem 0.8rem;
        border-radius: 10px;
        max-width: 98%;
    }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #34A853;
    outline-offset: 2px;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
