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

:root {
    --primary-color: #5a56a5;
    --secondary-color: #aa5b95;
    --accent-color: #9c9cb9;
    --gradient-start: #5a56a5;
    --gradient-end: #aa5b95;
    --light-purple: #cbcee6;
    --white: #ffffff;
    --light-gray: #f8f8f9;
    --dark-gray: #333333;
    --green-accent: #25d09e;
    --text-dark: #2c2c2c;
    --text-light: #6b7280;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

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

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

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(90, 86, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 86, 165, 0.4);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    font-size: 0.8rem;
}

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

.social-link {
    color: var(--white);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--green-accent);
}

/* Navigation */
.navbar {
    padding: 15px 0;
    background: var(--white);
}

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

.logo img {
    height: 50px;
}

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

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 100px;
}

.hero-slider {
    position: relative;
    height: 100%;
}

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

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(90, 86, 165, 0.8), rgba(170, 91, 149, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--white);
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.hero-content h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: var(--white);
}

/* Hero Features */
.hero-features {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    gap: 20px;
    z-index: 3;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    max-width: 200px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.feature-card.highlight {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
}

.feature-card h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-dark);
}

.feature-card.highlight h3 {
    color: var(--white);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--green-accent);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 208, 158, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Main Content */
main {
    padding: 0;
}

/* Clinic Title */
.clinic-title {
    background: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.clinic-title h1 {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Procedures Section */
.procedures {
    padding: 80px 0;
    background: var(--white);
}

.procedures-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.procedures-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-form {
    background: linear-gradient(135deg, var(--light-purple), rgba(255, 255, 255, 0.9));
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.consultation-form input,
.consultation-form select {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.phone-input {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 120px;
}

.phone-input input {
    flex: 1;
}

.consultation-form button {
    margin-top: 10px;
    padding: 15px;
    font-size: 1rem;
}

.procedure-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Procedure Cards */
.procedure-cards {
    padding: 60px 0;
    background: var(--light-gray);
}

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

.procedure-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.procedure-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.procedure-card h3 {
    padding: 20px;
    color: var(--primary-color);
    margin: 0;
}

/* Clinic IPS Section */
.clinic-ips {
    padding: 80px 0;
    background: var(--white);
}

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

.clinic-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    height: 500px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.secondary-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.secondary-images img {
    width: 100%;
    height: calc(50% - 10px);
    object-fit: cover;
    border-radius: 15px;
}

.clinic-text h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.clinic-text ul {
    margin: 2rem 0;
    padding-left: 0;
    list-style: none;
}

.clinic-text li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.clinic-text li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Medical Team Section */
.medical-team {
    padding: 80px 0;
    background: var(--light-gray);
}

.medical-team h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.team-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Infrastructure Section */
.infrastructure {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.infrastructure h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.infrastructure-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.infrastructure-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Certifications */
.certifications {
    padding: 60px 0;
    background: var(--light-gray);
}

.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-logos img {
    height: 60px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cert-logos img:hover {
    opacity: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

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

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--green-accent);
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-top: 5px;
    color: var(--green-accent);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social .social-link {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content h3 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-features {
        position: static;
        flex-direction: column;
        margin-top: 20px;
    }

    .procedures-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clinic-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .clinic-images {
        grid-template-columns: 1fr;
        height: auto;
    }

    .secondary-images {
        flex-direction: row;
    }

    .team-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .infrastructure-images {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cert-logos {
        gap: 20px;
    }

    .cert-logos img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .clinic-title h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 20px;
    }

    .phone-input {
        flex-direction: column;
    }

    .country-code {
        width: 100%;
    }
}

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

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

.procedure-card {
    animation: fadeInUp 0.6s ease-out;
}

.procedure-card:nth-child(2) {
    animation-delay: 0.1s;
}

.procedure-card:nth-child(3) {
    animation-delay: 0.2s;
}

.procedure-card:nth-child(4) {
    animation-delay: 0.3s;
}
