* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Clear Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.main-header {
    background-color: white;
    padding: 6px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff6f61;
}

.login-btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid #ff6f61;
    color: #ff6f61;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.login-btn:hover {
    background-color: #ff6f61;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ff6f61 0%, #ff6f61 100%);
    display: flex;
    align-items: center;
    min-height: 100px;
}

.hero-content {
    flex: 0 0 45%;
    padding: 40px 40px 40px 50px;
    color: black;
}

.hero-image {
    flex: 0 0 63%;
    height: 400px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 39px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.7px;
    margin-top: 27px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.5;
}

.search-bar {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-bar input {
    flex: 1;
    padding: 18px 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-bar button {
    padding: 18px 30px;
    background-color: #080808;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.search-bar button:hover {
    background-color: #e55a4e;
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ff6f61;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s;
    text-decoration: none;
}

.floating-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-contact svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Quick Action Cards */
.quick-actions {
    max-width: 1000px;
    margin: -30px auto 40px;
    padding: 0 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.action-card {
    background: white;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.phone-card { background-color: #E8F4FD; }
.order-card { background-color: #FFF0F5; }
.whatsapp-card { background-color: #E8F8F0; }

.action-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-card .action-icon-wrapper { background-color: #2196F3; }
.order-card .action-icon-wrapper { background-color: #FF6B9D; }
.whatsapp-card .action-icon-wrapper { background-color: #25D366; }

.action-icon-wrapper svg,
.action-icon-wrapper img {
    width: 24px;
    height: 24px;
}

.action-content { flex: 1; text-align: left; }

.action-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #333;
}

.phone-card h3 { color: #2196F3; }
.order-card h3 { color: #FF6B9D; }
.whatsapp-card h3 { color: #25D366; }

.action-card p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* Popular Tests */
.popular-tests {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 50px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.test-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
    scroll-margin-top: 150px;
    position: relative;
}

.test-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.test-card.hidden {
    display: none;
}

.test-card.highlight {
    animation: highlightPulse 1s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
    50% { box-shadow: 0 0 20px rgba(255, 111, 97, 0.6); transform: scale(1.02); }
}

/* Tooltip */
.test-tooltip {
    position: absolute;
    bottom: calc(100% + 14px);
    right: 0;
    width: 300px;
    max-width: min(300px, 85vw);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.20);
    padding: 16px 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 999;
    text-align: left;
}

.test-tooltip::before {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 24px;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.test-tooltip h5 {
    font-size: 14px;
    color: #FF6F61;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.test-tooltip ul {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
}

.test-tooltip ul li {
    font-size: 13px;
    color: #555;
    padding: 4px 0;
    line-height: 1.4;
}

.test-tooltip ul li::before {
    content: "✓ ";
    color: #4CAF50;
    font-weight: bold;
    margin-right: 4px;
}

.test-card:hover .test-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.test-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.test-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 24px;
    font-weight: bold;
    color: #ff6f61;
}

.original-price {
    font-size: 16px;
    text-decoration: line-through;
    color: #999;
}

.discount-badge {
    background-color: #4caf50;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.book-btn {
    width: 100%;
    padding: 12px;
    background-color: #ff6f61;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.book-btn:hover {
    background-color: #e55a4e;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
    display: none;
}

.no-results.show {
    display: block;
}

/* Features */
.features {
    background-color: white;
    padding: 60px 50px;
    margin: 50px 0;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.feature-item { text-align: center; }

.feature-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px;
    display: block;
}

.feature-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 50px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.footer h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.footer ul { list-style: none; }

.footer ul li { margin-bottom: 8px; }

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer a:hover { color: white; }

.footer-whatsapp-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 14px;
    color: #bdc3c7;
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.popup-overlay.hidden { display: none; }

.popup-modal {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 1;
}

.popup-close:hover { color: #333; }

.popup-content { padding: 40px 30px 30px; }

.popup-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.popup-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.popup-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

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

.popup-input {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.popup-input:focus { border-color: #ff6f61; }
.popup-input::placeholder { color: #aaa; }

.popup-submit {
    padding: 14px;
    background-color: #ff6f61;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.popup-submit:hover { background-color: #e55a4e; }

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 50px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #ff6f61;
}

.breadcrumb span {
    margin: 0 6px;
    color: #ccc;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

/* City coverage section */
.city-coverage {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 50px;
}

.city-coverage-box {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.city-coverage-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.city-coverage-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* FAQ */
.faq-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 50px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    padding: 5px 25px;
}

.faq-item summary {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    padding: 18px 0;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 18px;
    font-size: 22px;
    color: #ff6f61;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    padding: 0 0 20px;
}

/* Intro copy block (city pages) */
.intro-copy {
    padding: 15px 0 5px;
    max-width: 640px;
}

/* CTA strip */
.cta-strip {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 50px;
}

.cta-strip-box {
    background: linear-gradient(135deg, #ff6f61 0%, #ff6f61 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: white;
}

.cta-strip-box h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.cta-strip-box p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta-strip-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-btn-call {
    background-color: #080808;
    color: white;
}

.cta-btn-call:hover {
    background-color: #222;
}

.cta-btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.cta-btn-whatsapp:hover {
    background-color: #1fb855;
}

/* Internal links */
.internal-links {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 50px;
    font-size: 14px;
    color: #666;
}

.internal-links a {
    color: #ff6f61;
    text-decoration: none;
    margin-right: 15px;
}

.internal-links a:hover {
    text-decoration: underline;
}

/* Hub page region list */
.region-block {
    margin-bottom: 35px;
}

.region-block h3 {
    font-size: 18px;
    color: #ff6f61;
    margin-bottom: 15px;
}

.city-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.city-link-card {
    background: white;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    display: block;
}

.city-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    color: #ff6f61;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-header { padding: 15px 30px; justify-content: center; }
    .nav-menu { display: none; }
    .login-btn { display: none; }
    .hero { flex-direction: column; min-height: auto; }
    .hero-content { padding: 50px 30px; }
    .hero-image { width: 100%; height: 300px; }
    .hero h1 { font-size: 36px; }
    .quick-actions { padding: 0 30px; grid-template-columns: repeat(3, 1fr); gap: 15px; }
    .popular-tests { padding: 0 30px; }
    .test-grid { grid-template-columns: repeat(2, 1fr); }
    .features { padding: 50px 30px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer { padding: 40px 30px 20px; }
    .footer-content { grid-template-columns: repeat(3, 1fr); gap: 25px; }
    .breadcrumb { padding: 16px 30px; }
    .city-coverage { padding: 0 30px; }
    .faq-section { padding: 0 30px; }
    .cta-strip { padding: 0 30px; }
    .internal-links { padding: 0 30px; }
}

@media (max-width: 767px) {
    .main-header { padding: 15px 20px; flex-direction: column; gap: 0; justify-content: center; }
    .nav-menu { display: none; }
    .login-btn { display: none; }
    .hero-content { padding: 40px 20px; }
    .hero-image { width: 100%;
height: auto;
min-height: 220px;
max-height: 280px;
overflow: hidden;

display: flex;
align-items: center;
justify-content: center;}


    .hero-image img {
width: 100%;
height: 100%;

object-fit: cover;
object-position: center center;

display: block;
}
    .hero h1 { font-size: 28px; line-height: 1.3; }
    .hero p { font-size: 16px; }
    .search-bar { flex-direction: column; }
    .search-bar input { padding: 15px; }
    .search-bar button { padding: 15px; width: 100%; }
    .quick-actions { margin: -30px auto 30px; padding: 0 20px; grid-template-columns: 1fr; gap: 15px; }
    .popular-tests { padding: 0 20px; margin: 30px auto; }
    .section-title { font-size: 24px; margin-bottom: 20px; }
    .test-grid { grid-template-columns: 1fr; gap: 15px; }
    .features { padding: 40px 20px; }
    .features-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer { padding: 30px 20px 15px; }
    .footer-content { grid-template-columns: 1fr; gap: 20px; }
    .footer h4 { font-size: 15px; }
    .footer a { font-size: 13px; }
    .footer-bottom { font-size: 12px; padding-top: 15px; }
    .floating-contact { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .floating-contact svg { width: 25px; height: 25px; }
    .popup-content { padding: 35px 20px 25px; }
    .popup-content h2 { font-size: 20px; }
    .popup-content h3 { font-size: 18px; }
    .popup-content p { font-size: 14px; }
    .test-tooltip { left: 0; right: auto; width: calc(100vw - 60px); max-width: 320px; }
    .test-tooltip::before { left: 24px; right: auto; }
    .breadcrumb { padding: 12px 20px; font-size: 13px; }
    .city-coverage { padding: 0 20px; }
    .city-coverage-box { padding: 25px; }
    .faq-section { padding: 0 20px; }
    .cta-strip { padding: 0 20px; }
    .cta-strip-box { padding: 30px 20px; }
    .cta-strip-buttons { flex-direction: column; }
    .internal-links { padding: 0 20px; }
}

@media (max-width: 480px) {
    .logo img { height: 35px; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .action-card h3 { font-size: 14px; }
    .action-card p { font-size: 11px; }
    .section-title { font-size: 20px; }
    .current-price { font-size: 18px; }
    .popup-content h2 { font-size: 18px; }
    .popup-content h3 { font-size: 16px; }
}

@media (min-width: 1025px) {
    .nav-menu { display: flex; }
    .login-btn { display: block; }
}

@media (min-width: 1400px) {
    .hero-content { max-width: 700px; padding-left: calc((100% - 1400px) / 2 + 50px); }
    .popular-tests, .features-content, .footer-content { max-width: 1400px; }
    .quick-actions { max-width: 1400px; grid-template-columns: repeat(3, 1fr); gap: 30px; }
}
