/* Top Bar Styles */
.top-bar {
    background: #1a365d;
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 25px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: #3498db;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-socials a {
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.top-socials a.fb:hover { color: #1877f2; }
.top-socials a.tw:hover { color: #1da1f2; }
.top-socials a.li:hover { color: #0077b5; }
.top-socials a.wa:hover { color: #25d366; }

/* Maturity Variables */
:root {
    --primary-mature: #1a365d;
    --secondary-mature: #2d3748;
    --accent-mature: #ff6b6b;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* Maturity Overhaul - Hero */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    padding: 80px 0 80px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(12px) !important;
    padding: 15px 25px !important;
}

.clinical-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clinical-badge i {
    font-size: 1rem;
}

/* News Ticker Styles */
.news-ticker-container {
    background: #ff6b6b;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    position: relative;
    z-index: 500;
}

.news-ticker-wrapper {
    display: inline-flex;
    animation: ticker-scroll 40s linear infinite;
    padding-left: 100%;
}

.news-ticker-wrapper:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

.ticker-item i {
    color: #ffffff;
    margin-right: 12px;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* About Section - Mature Upgrade */
.about {
    background: #fdfdfe;
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    position: relative;
}

.about-text .intro {
    font-size: 1.15rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.clinical-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 2.5rem;
}

.clinical-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #edf2f7;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.clinical-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #1a365d;
    transform: translateY(-5px);
}

.clinical-card i {
    font-size: 1.5rem;
    color: #ff6b6b;
}

.clinical-card h3 {
    font-size: 1.1rem;
    color: #1a365d;
    margin-bottom: 8px;
}

.clinical-card p {
    font-size: 0.95rem;
    color: #718096;
    margin: 0;
}

.doctor-quote-mature {
    border-left: 4px solid #ff6b6b;
    padding: 20px 30px;
    background: #f8fafc;
    border-radius: 0 15px 15px 0;
    margin-top: 2rem;
}

.doctor-quote-mature p {
    font-style: italic;
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.doctor-quote-mature cite {
    font-weight: 700;
    color: #1a365d;
    font-style: normal;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #2c5aa0;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #2c5aa0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Cancer Cell Animations - Enhanced and More Visible */
.cancer-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cell {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.cell::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cell1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cell2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.cell3 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 70%;
    animation-delay: 2s;
}

.cell4 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 20%;
    animation-delay: 3s;
}

.cell5 {
    width: 55px;
    height: 55px;
    top: 10%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-40px) rotate(270deg) scale(1.2);
        opacity: 1;
    }
}

.dna-strand {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 120px;
    height: 300px;
    transform: translateY(-50%);
    opacity: 0.4;
}

.dna-helix {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.3) 0px,
        rgba(255, 255, 255, 0.1) 10px,
        transparent 10px,
        transparent 20px,
        rgba(255, 255, 255, 0.3) 20px,
        rgba(255, 255, 255, 0.1) 30px
    );
    animation: dnaRotate 8s linear infinite;
    border-radius: 10px;
}

@keyframes dnaRotate {
    0% {
        transform: rotate(0deg) scaleY(1);
    }
    50% {
        transform: rotate(180deg) scaleY(1.1);
    }
    100% {
        transform: rotate(360deg) scaleY(1);
    }
}

/* Additional floating particles */
.cancer-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    animation: slideInUp 1s ease-out;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.2s both;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    color: rgba(255, 255, 255, 0.9);
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.4s both;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.highlight-item i {
    font-size: 1.2rem;
    color: #ff6b6b;
}

.highlight-item span {
    font-size: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease-out 0.6s both;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: slideInUp 1s ease-out 0.8s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.btn-whatsapp:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

.doctor-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.about-image:hover .doctor-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.qualifications, .training, .specialization {
    margin-bottom: 2rem;
}

.qualifications h3, .training h3, .specialization h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doctor-quote {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    position: relative;
}

.doctor-quote i {
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.doctor-quote cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Facilities Section */
.facilities {
    padding: 100px 0;
    background: #f8f9fa;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.facility-item:hover {
    transform: translateX(10px);
}

.facility-item i {
    font-size: 2rem;
    color: #667eea;
    min-width: 50px;
}

.facility-item span {
    font-weight: 500;
    color: #333;
}

/* Preventive Care Section */
.preventive-care {
    padding: 100px 0;
    background: white;
}

.prevention-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.prevention-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.prevention-item:hover {
    transform: scale(1.05);
}

.prevention-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.prevention-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.rating {
    text-align: center;
    margin-bottom: 3rem;
}

.stars {
    color: #ffc107;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.rating-text {
    font-size: 1.1rem;
    color: #666;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content i {
    font-size: 2rem;
    color: #667eea;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: #2c5aa0;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 2rem;
    color: #667eea;
    min-width: 50px;
}

.contact-item h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.social-media h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.facebook { background: #3b5998; }
.instagram { background: #e4405f; }
.linkedin { background: #0077b5; }
.youtube { background: #ff0000; }

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .hero-highlights {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .highlight-item {
        padding: 6px 14px;
    }

    .highlight-item span {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .facilities-grid,
    .prevention-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .cell1, .cell2, .cell3, .cell4, .cell5 {
        width: 40px;
        height: 40px;
    }
    
    .cell3 {
        width: 60px;
        height: 60px;
    }
}

/* Calculators Page Styles */
.calculator-hero {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.calculators-container {
    padding: 60px 20px 100px;
}

.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background: #3498db;
    color: white;
}

.calc-category {
    display: none;
}

.calc-category.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Calculator Page Specifics */
.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background: #3498db;
    color: white;
}

.calc-category {
    display: none;
}

.calc-category.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.calc-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
}

.calc-card:hover {
    transform: translateY(-5px);
    border-color: #3498db;
}

.calc-select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 2px solid #ecf0f1;
    margin-bottom: 15px;
    font-family: inherit;
}

/* Guidelines Page Styles - Mature & Premium */
.guidelines-hero {
    height: 40vh;
    min-height: 350px;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.guidelines-container {
    padding: 80px 20px;
    background: #ffffff;
}

.guidelines-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.guidelines-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-menu {
    list-style: none;
    border-left: 2px solid #edf2f7;
    padding-left: 0;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    margin-left: -2px;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    color: #1a365d;
    border-left-color: #1a365d;
    background: #f7fafc;
}

.guidelines-main {
    max-width: 800px;
}

.content-section {
    margin-bottom: 80px;
    scroll-margin-top: 120px;
}

.content-section h2 {
    font-size: 2.2rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff6b6b;
    margin-top: 10px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

/* Expert Note Component */
.expert-note {
    background: #f8fafc;
    border-left: 4px solid #1a365d;
    padding: 25px;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.expert-note h4 {
    color: #1a365d;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expert-note p {
    margin-bottom: 0;
    font-style: italic;
    font-size: 1rem;
}

.cancer-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.type-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.type-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    border-color: #1a365d;
}

.type-item i {
    font-size: 2rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
}

.type-item h3 {
    color: #1a365d;
    margin-bottom: 1rem;
}

/* FAQ Accordion - Mature Style */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 2rem;
}

.accordion-item {
    border: 1px solid #edf2f7;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: none;
    text-align: left;
    outline: none;
    transition: background 0.3s ease;
}

.accordion-header h3 {
    font-size: 1.1rem;
    color: #2d3748;
    margin: 0;
    font-weight: 600;
}

.accordion-header i {
    color: #1a365d;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
    background: #f8fafc;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #ffffff;
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* Adjust as needed */
    padding: 0 25px 25px;
}

.accordion-content p {
    margin: 0;
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}


/* Medical Calculators - Mature Hub */
.calculators-container {
    padding: 60px 0;
}

.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    border: 1px solid #edf2f7;
    background: white;
    color: #4a5568;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-btn:hover {
    border-color: #1a365d;
    color: #1a365d;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #1a365d;
    color: white;
    border-color: #1a365d;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

.calc-category {
    display: none;
}

.calc-category.active {
    display: block;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.calc-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 54, 93, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.calc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #ff6b6b;
}

.calc-header {
    margin-bottom: 25px;
    text-align: center;
}

.calc-header i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-bottom: 15px;
    display: block;
}

.calc-header h3 {
    font-size: 1.4rem;
    color: #1a365d;
    margin-bottom: 5px;
}

.calc-header p {
    font-size: 0.9rem;
    color: #718096;
}

.calc-body .input-group {
    margin-bottom: 20px;
}

.calc-body label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-body input, .calc-body select, .calc-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calc-body input:focus {
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.05);
    outline: none;
}

.calculate-btn {
    width: 100%;
    padding: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
}

.result-display {
    margin-top: 25px;
    padding: 20px;
    background: #1a365d;
    color: white;
    border-radius: 12px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.result-display::before {
    content: "CLINICAL RESULT";
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

