/* Design System */
:root {
    --primary-red: #0056b3; /* Trust Blue */
    --primary-blue: #1a2e4d;
    --secondary-blue: #2c3e50;
    --accent-blue: #007bff;
    --bg-light: #f8faff;
    --bg-white: #ffffff;
    --text-dark: #1a202c;
    --text-muted: #718096;
    --text-light: #ffffff;
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    background-color: #c4181d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

/* Header */
header {
    background-color: var(--bg-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.logo span {
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--primary-red);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 15px;
    background-color: rgba(227, 30, 36, 0.1);
    color: var(--primary-red);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.hero h1 span {
    color: var(--primary-red);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -50px;
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #f0f4ff;
}

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

.service-card {
    background-color: transparent;
    height: 350px;
    perspective: 1000px;
    border-radius: var(--border-radius);
}

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

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

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.card-front {
    background-color: #fff;
}

.card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-back {
    background-color: var(--bg-white);
    color: var(--text-dark);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border: 2px solid var(--primary-red);
}

.card-back h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-blue);
}

.card-back p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary-red);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: var(--card-shadow);
}

.experience-tag {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: var(--primary-red);
    color: white;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 700;
}

.about-content {
    flex: 1.2;
}

.about-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.about h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.about-info {
    margin: 30px 0;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: #f8faff;
}

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

.testimonial-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.video-thumb {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-thumb img {
    width: 100%;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.5rem;
    cursor: pointer;
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.patient-info h4 {
    margin-bottom: 5px;
}

/* Booking Form */
.booking {
    padding: 100px 0;
}

.booking-wrapper {
    display: flex;
    background-color: var(--bg-white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.booking-info {
    flex: 1;
    background-color: var(--primary-blue);
    color: white;
    padding: 60px;
}

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

.booking-info p {
    opacity: 0.8;
    margin-bottom: 40px;
}

.contact-details .detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-icon {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.booking-form {
    flex: 1.5;
    padding: 60px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: var(--transition);
}

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

/* Blog Section */
.blog {
    padding: 100px 0;
    background-color: #f8faff;
}

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

.blog-card {
    background-color: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    height: 220px;
    overflow: hidden;
}

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

.blog-content {
    padding: 25px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(0, 123, 255, 0.1);
    color: var(--accent-blue);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
}

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

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

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #fcfcfc;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
    max-height: 200px;
}

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

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about p {
    opacity: 0.7;
    margin: 20px 0;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

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

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.newsletter h4 {
    margin-bottom: 25px;
}

.newsletter p {
    opacity: 0.7;
    margin-bottom: 20px;
}

.subscribe-form {
    display: flex;
    background-color: rgba(255,255,255,0.1);
    padding: 5px;
    border-radius: 50px;
}

.subscribe-form input {
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: white;
    width: 100%;
    outline: none;
}

.subscribe-form button {
    background-color: var(--primary-red);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    .hero-content {
        margin-bottom: 40px;
    }
    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }
    .hero-stats {
        justify-content: center;
        gap: 20px;
    }
    .floating-card {
        left: 20px;
    }
    .about-container {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-right .btn-primary {
        display: none;
    }
    .logo {
        font-size: 0.95rem; /* Further reduced for mobile */
        gap: 5px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .lang-switcher {
        margin-left: 5px;
        padding: 2px;
    }
    .lang-switcher span {
        padding: 3px 8px; /* Smaller buttons */
        font-size: 0.7rem;
    }
    .nav-links, .header-right .social-icons {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .container {
        padding: 0 12px;
    }
    .header-right {
        gap: 10px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .booking-wrapper {
        flex-direction: column;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .booking-info, .booking-form {
        padding: 40px;
    }
}

/* Floating Sidebar Social Icons */
.floating-socials {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1001;
}

.floating-socials a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.floating-socials a:hover {
    transform: scale(1.1);
}

.social-whatsapp { background-color: #25d366; }
.social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-facebook { background-color: #1877f2; }
.social-youtube { background-color: #ff0000; }

/* Sticky Mobile Action Buttons */
.mobile-sticky-actions {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 15px;
    right: 15px;
    z-index: 1000;
    gap: 10px;
}

.mobile-sticky-actions a {
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-call {
    background-color: var(--primary-blue);
    color: white;
}

.sticky-book {
    background-color: var(--primary-red);
    color: white;
}

@media (max-width: 768px) {
    .mobile-sticky-actions {
        display: flex;
    }
    .mobile-call-sticky {
        display: none; /* Hide old single button */
    }
    .floating-socials {
        right: 10px;
        gap: 10px;
        top: auto;
        bottom: 100px;
        transform: none;
    }
    .floating-socials a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .hero-image img {
        height: 400px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background-color: #f0f4ff;
    padding: 5px;
    border-radius: 50px;
    margin-left: 15px;
    border: 1px solid #e2e8f0;
}

.lang-switcher span {
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
}

.lang-switcher span.active {
    background-color: var(--primary-red);
    color: white;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin: 10px 0;
        justify-content: center;
    }
}

/* Card Title Overlay */
.card-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    text-align: center;
}

.card-title-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}
