/* Urology Page Styles - Modern Design System */

:root {
    --primary-color: #7c3aed;
    --secondary-color: #6d28d9;
    --dark-color: #5b21b6;
    --accent-color: #a78bfa;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --bg-light: #f8fafc;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease-out;
}

.hero-section p {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    color: white;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 300;
    display: block;
    color: white;
}

.stat-icon-wrapper {
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #d8b4fe;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon-wrapper {
    transform: scale(1.2) rotate(15deg);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(216, 180, 254, 0.3);
}

/* Overview Section */
.overview-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.overview-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.overview-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.overview-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.highlight-item i {
    color: #7c3aed;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.highlight-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.overview-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.15);
    transition: transform 0.3s ease;
}

.overview-image img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: white;
    position: relative;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
    transform: translateY(-8px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.service-features li:before {
    content: "✓";
    color: #7c3aed;
    font-weight: bold;
    margin-right: 10px;
}

/* Technology Section */
.technology-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, white 100%);
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tech-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
    border-color: #7c3aed;
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1) rotate(10deg);
}

.tech-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.tech-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 20px;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.why-card:hover {
    border-color: #7c3aed;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.why-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: white;
    position: relative;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    border-color: #7c3aed;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
}

.faq-header {
    padding: 25px;
    background: linear-gradient(135deg, #f8fafc, white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-header:hover {
    background: linear-gradient(135deg, #f3e8ff, white);
}

.faq-header h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0;
}

.faq-header i {
    color: #7c3aed;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-content {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, white 100%);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
    transform: translateY(-8px);
}

.stars {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.stars i {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.author-info h4 {
    font-size: 1rem;
    color: #1a1a2e;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.author-info p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* Emergency Contact Section */
.emergency-contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.emergency-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.emergency-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.emergency-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.emergency-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.emergency-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.emergency-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.emergency-feature:hover {
    transform: translateX(10px);
}

.emergency-feature i {
    font-size: 2rem;
}

.emergency-contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    color: white;
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(20deg);
}

.contact-card h3 {
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
}

.contact-detail {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: white !important;
}

.contact-link {
    display: inline-block;
    background: white;
    color: #7c3aed;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.3);
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .emergency-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .overview-text h2 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .service-card,
    .tech-card,
    .why-card {
        padding: 25px;
    }

    .service-icon,
    .tech-icon,
    .why-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .tech-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .emergency-text h2 {
        font-size: 1.8rem;
    }

    .emergency-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: auto;
        padding: 60px 20px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .hero-section p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-container {
        padding: 0 10px;
    }

    .service-card {
        padding: 20px;
    }

    .overview-highlights {
        grid-template-columns: 1fr;
    }

    .emergency-content {
        padding: 0 15px;
    }

    .contact-card {
        padding: 20px;
    }
}
