/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #b6685e;
    --primary-dark: #9a5650;
    --primary-light: #d47a6e;
    --secondary-color: #c88b82;
    --accent-color: #e8a99f;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #b6685e 0%, #d47a6e 100%);
    --gradient-2: linear-gradient(135deg, #c88b82 0%, #e8a99f 100%);
    --gradient-3: linear-gradient(135deg, #b6685e 0%, #9a5650 100%);
    --shadow-sm: 0 1px 2px 0 rgba(182, 104, 94, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(182, 104, 94, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(182, 104, 94, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(182, 104, 94, 0.25);
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 5px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    * {
        max-width: 100%;
    }
    
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
    
    section {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .hero-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .hero-content {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .hero-slider {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h2 {
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex: 1 1 auto;
    margin: 0 1rem;
    min-width: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

/* Contact Icon Buttons */
.contact-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.phone-icon-btn {
    background: var(--primary-color);
    color: white;
}

.phone-icon-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.whatsapp-icon-btn {
    background: #25D366;
    color: white;
}

.whatsapp-icon-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.phone-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 1001;
}

.lang-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-btn svg {
    transition: transform 0.3s ease;
}

.language-selector.active .lang-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10001;
    overflow: hidden;
    display: block;
    pointer-events: none;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-option span {
    font-size: 1.25rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow: hidden;
    padding-top: 80px;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    animation: fadeInUp 1s ease;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-small-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, #e8a99f 0%, #d47a6e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.stat-item p {
    font-size: 1rem;
    color: var(--text-light);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    transform: translateX(5px);
}

/* Why Us Section */
.why-us {
    background: white;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.why-us-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-5px);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.why-us-icon svg {
    width: 40px;
    height: 40px;
}

.why-us-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.why-us-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.cta-box {
    background: var(--gradient-1);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-top: 3rem;
}

.cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Doctor Section */
.doctor-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 2px solid rgba(182, 104, 94, 0.1);
}

.doctor-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.doctor-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.doctor-image-wrapper:hover .doctor-image {
    transform: scale(1.05);
}

.doctor-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doctor-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.doctor-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.doctor-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    text-align: left;
    margin-bottom: 1.5rem;
}

.doctor-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(182, 104, 94, 0.1);
}

.doctor-contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.doctor-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.doctor-contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.doctor-contact-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.doctor-contact-link:hover {
    color: var(--primary-color);
}

@media (max-width: 968px) {
    .doctor-content {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .doctor-name {
        font-size: 1.75rem;
    }
    
    .doctor-description {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .doctor-section {
        margin-top: 3rem;
        padding-top: 3rem;
    }
    
    .doctor-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .doctor-image-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .doctor-name {
        font-size: 1.5rem;
    }
    
    .doctor-description {
        font-size: 0.95rem;
        text-align: left;
    }
}

/* Process Section */
.process {
    background: var(--bg-light);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
}

.step-content {
    flex: 1;
    padding-top: 1rem;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq {
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(182, 104, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.form-message.info {
    background: #dbeafe;
    color: #1e40af;
    display: block;
    border: 1px solid #3b82f6;
}

/* Footer */
.footer {
    background: var(--text-dark);
    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 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo-section {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-health-logo {
    max-width: 200px;
    max-height: 100px;
    height: auto;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.footer-health-logo:hover {
    opacity: 1;
}

.certificate-image {
    max-width: 200px;
    max-height: 100px;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.certificate-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

.clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.05);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-credit {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

.footer-credit p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--accent-color);
}

.health-tourism-certificate {
    text-align: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.health-tourism-certificate p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 600;
}

/* Before After Section */
.before-after {
    background: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.before-after-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
    aspect-ratio: 4/3;
}

.before-after-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(182, 104, 94, 0.2);
}

.before-after-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.before-after-item:hover .before-after-image {
    transform: scale(1.1);
}

.before-after-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.before-after-item:hover::after {
    opacity: 1;
}

/* Certificates Section */
.certificates {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.certificates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(182, 104, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(182, 104, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.certificates .container {
    position: relative;
    z-index: 1;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-card {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(182, 104, 94, 0.1);
    cursor: pointer;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.certificate-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(182, 104, 94, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.certificate-card:hover::before {
    transform: scaleX(1);
}

.certificate-logo {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
    padding: 0.25rem;
}

.certificate-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-logo {
    transform: scale(1.1);
}

.certificate-card:hover .certificate-image {
    transform: scale(1.05);
}

.certificate-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid;
    padding: 10px;
}

.badge-text-top,
.badge-text-bottom {
    font-size: 0.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    position: absolute;
    width: 100%;
}

.badge-text-top {
    top: 8px;
}

.badge-text-bottom {
    bottom: 8px;
}

.badge-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 15px 0;
}

/* JCI Badge */
.jci-badge .badge-circle {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-color: #b8941f;
    color: #8b6914;
}

.badge-j {
    font-size: 2rem;
    font-weight: 900;
    color: #8b6914;
    transform: rotate(-15deg);
    margin: 0 -3px;
}

.jci-badge .badge-text-top,
.jci-badge .badge-text-bottom {
    color: #8b6914;
}

/* LEED Badge */
.leed-badge .badge-circle {
    background: linear-gradient(135deg, #9e9e9e 0%, #bdbdbd 100%);
    border-color: #757575;
    color: #424242;
}

.badge-leed {
    font-size: 1.5rem;
    font-weight: 900;
    color: #424242;
    letter-spacing: 2px;
}

.badge-leaf {
    font-size: 1.2rem;
    margin-left: 5px;
}

.leed-badge .badge-text-top,
.leed-badge .badge-text-bottom {
    color: #424242;
    font-size: 0.45rem;
}

/* TEMOS Badge */
.temos-badge .badge-circle {
    background: linear-gradient(135deg, #8b4513 0%, #cd853f 100%);
    border-color: #654321;
    color: #3e2723;
}

.badge-temos {
    font-size: 1.3rem;
    font-weight: 900;
    color: #3e2723;
    letter-spacing: 1px;
}

.temos-badge .badge-text-top,
.temos-badge .badge-text-bottom {
    color: #3e2723;
    font-size: 0.45rem;
}

/* TURQUALITY Badge */
.turquality-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-rectangle {
    width: 140px;
    height: 60px;
    background: linear-gradient(135deg, #00897b 0%, #00acc1 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 137, 123, 0.3);
}

.badge-turquality {
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

.badge-turquality sup {
    font-size: 0.6rem;
    vertical-align: super;
}

/* EFQM Badge */
.efqm-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.badge-infinity {
    font-size: 3rem;
    font-weight: 300;
    background: linear-gradient(135deg, #1976d2 0%, #4caf50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.badge-efqm-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #424242;
    letter-spacing: 2px;
}

.certificate-card p {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.certificate-card:hover p {
    color: var(--primary-color);
}

/* Floating Contact Buttons (Mobile) */
.floating-contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    display: none; /* Hidden on desktop, shown on mobile */
}

@media (max-width: 640px) {
    .floating-contact-buttons {
        right: auto;
        left: 20px;
    }
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-btn:active::before {
    width: 300px;
    height: 300px;
}

.floating-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.floating-btn:active svg {
    transform: scale(0.9);
}

.floating-phone-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    animation: pulse-phone 2s ease-in-out infinite;
}

.floating-phone-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(182, 104, 94, 0.3), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.floating-whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: white;
    animation: pulse-whatsapp 2s ease-in-out infinite 0.5s;
}

.floating-whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3), 0 4px 8px rgba(0, 0, 0, 0.15);
}

@keyframes pulse-phone {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(182, 104, 94, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(182, 104, 94, 0.5), 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0, 0, 0, 0.15);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-wrapper {
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: space-between;
        position: relative;
        align-items: center;
        padding: 0.5rem 0;
        margin: 0;
        width: 100%;
    }
    
    .navbar .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .logo {
        position: relative;
        left: 0;
        transform: none;
        z-index: 10;
        pointer-events: all;
        flex-shrink: 0;
    }
    
    .logo-link {
        pointer-events: all;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        height: 55px;
        max-width: 140px;
        object-fit: contain;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem 0.5rem;
        margin: 0;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        overflow-y: auto;
        gap: 0.5rem;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        margin: 0;
    }
    

    .nav-menu.active {
        left: 0;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
        z-index: 5;
        position: relative;
        background: rgba(255, 255, 255, 0.95);
        padding: 0.25rem 0.5rem;
        border-radius: 8px;
    }

    .menu-toggle {
        display: flex !important;
        order: 4;
        z-index: 6;
    }
    
    .language-selector {
        order: 3;
        margin-right: 0;
        z-index: 6;
    }
    
    .contact-icon-btn {
        order: 2;
        z-index: 6;
    }
    
    .phone-btn {
        order: 1;
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        white-space: nowrap;
        z-index: 6;
        display: none;
    }
    
    .language-selector {
        z-index: 1001;
    }
    
    .lang-dropdown {
        right: 0;
        left: auto;
        z-index: 10001;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .logo-img {
        height: 45px;
        max-width: 120px;
    }

    .hero {
        padding-left: 0;
        padding-right: 0;
        margin: 0;
        width: 100%;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .hero-content {
        text-align: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .hero-slider {
        height: 400px;
        order: -1;
        margin: 0 10px;
        max-width: calc(100% - 20px);
    }

    .hero-small-title {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .navbar .container {
        padding: 0 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .nav-wrapper {
        gap: 0.25rem;
        justify-content: space-between;
        padding: 0.5rem 0;
        margin: 0;
        width: 100%;
    }
    
    .nav-menu {
        padding: 1.5rem 0.5rem !important;
        margin: 0 !important;
        left: -100% !important;
    }
    
    .nav-menu.active {
        left: 0 !important;
    }
    
    .logo {
        position: relative;
        left: 0;
        transform: none;
        z-index: 10;
        pointer-events: all;
        flex-shrink: 0;
    }
    
    .logo-link {
        pointer-events: all;
        display: flex;
        align-items: center;
    }
    
    .logo-img {
        height: 50px;
        max-width: 130px;
        object-fit: contain;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }

    .nav-actions {
        gap: 0.3rem;
        margin-left: auto;
        padding: 0.2rem 0.3rem;
    }

    .contact-icon-btn {
        width: 40px;
        height: 40px;
        order: 2;
    }
    
    .contact-icon-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* Show floating buttons on mobile */
    .floating-contact-buttons {
        display: flex !important;
    }

    .phone-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.5rem;
        display: none; /* Çok küçük ekranlarda gizle, menüde göster */
    }
    
    .nav-menu .phone-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        order: 100;
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }

    .lang-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }

    .lang-btn span {
        font-size: 0.7rem;
    }

    .logo-img {
        height: 38px;
        max-width: 100px;
    }
    
    .menu-toggle {
        padding: 0.3rem;
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .hero {
        padding-top: 70px;
        padding-left: 0;
        padding-right: 0;
        margin: 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero .container {
        padding: 0 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .hero-wrapper {
        gap: 1.5rem;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-content {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero-slider {
        height: 300px;
        width: calc(100% - 20px) !important;
        margin: 0 10px !important;
        max-width: calc(100% - 20px) !important;
        padding: 0 !important;
    }
    
    .hero-slide {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .hero-slide-img {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer {
        padding: 2rem 0 1rem;
        margin: 0;
        width: 100%;
    }
    
    .footer .container {
        padding: 0 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .footer-content {
        gap: 1.5rem;
        grid-template-columns: 1fr;
        margin-bottom: 1.5rem;
    }
    
    .footer-section {
        padding: 0;
        width: 100%;
    }
    
    .footer-section ul {
        padding-left: 0;
        margin-left: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .footer-logo-section {
        padding: 1.5rem 0;
        margin-top: 1.5rem;
        gap: 1rem;
    }
    
    .footer-health-logo {
        max-width: 150px;
    }
    
    .certificate-image {
        max-width: 150px;
    }
    
    .footer-credit {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .certificates {
        padding: 3rem 0;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .certificate-card {
        padding: 1.5rem 1rem;
        min-height: 180px;
    }
    
    .certificate-image {
        width: 100%;
        max-width: 100%;
    }
    
    .certificate-logo {
        padding: 0.75rem;
    }
    
    .badge-circle {
        width: 100px;
        height: 100px;
    }
    
    .badge-rectangle {
        width: 120px;
        height: 50px;
    }
    
    .badge-turquality {
        font-size: 1.2rem;
    }
    
    .badge-infinity {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .certificates {
        padding: 2.5rem 0;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .before-after-item {
        aspect-ratio: 16/9;
    }
    
    .certificate-card {
        padding: 1.5rem 0.75rem;
        min-height: 180px;
        border-radius: 12px;
    }
    
    .certificate-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .certificate-image {
        width: 100%;
        max-width: 100%;
    }
    
    .certificate-logo {
        padding: 0.75rem;
    }
    
    .badge-circle {
        width: 90px;
        height: 90px;
    }
    
    .badge-text-top,
    .badge-text-bottom {
        font-size: 0.4rem;
    }
    
    .badge-j {
        font-size: 1.5rem;
    }
    
    .badge-leed {
        font-size: 1.2rem;
    }
    
    .badge-temos {
        font-size: 1rem;
    }
    
    .badge-rectangle {
        width: 100px;
        height: 45px;
    }
    
    .badge-turquality {
        font-size: 1rem;
    }
    
    .badge-infinity {
        font-size: 2rem;
    }
    
    .badge-efqm-text {
        font-size: 1rem;
    }
    
}

/* Consultation Button in Header */
.consultation-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
    font-weight: 600;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.consultation-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.consultation-form label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.consultation-form input,
.consultation-form select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.consultation-form input:focus,
.consultation-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(182, 104, 94, 0.1);
}

.consultation-form select {
    cursor: pointer;
    background: white;
}

.consultation-form .btn-block {
    margin-top: 0.5rem;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
}

.consultation-form .form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    display: none;
}

.consultation-form .form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.consultation-form .form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.consultation-form .form-message.info {
    display: block;
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1.5rem;
        max-width: 95%;
    }

    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .consultation-form {
        gap: 0.75rem;
    }

    .consultation-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 640px) {
    .consultation-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.6rem;
    }

    .modal-content {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.75rem;
        width: 35px;
        height: 35px;
    }
}

/* Certificate Lightbox Styles */
.certificate-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.certificate-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lightbox-close:hover {
    background: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 36px;
    color: #1f2937;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    line-height: 1;
    font-weight: 300;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
    .lightbox-content {
        padding: 1rem;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-image {
        max-height: 85vh;
    }
}

