* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
}

body {
    /* display: flex; */
    font-family: "Lexend", sans-serif;
}
   /* FAQ Filter Styles */
   .faq-filter-container {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search-input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 16px;
    font-family: 'Lexend', sans-serif;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.faq-search-input:focus {
    border-color: #23939e;
    box-shadow: 0 0 0 3px rgba(35, 147, 158, 0.1);
}

.faq-search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.faq-search-icon {
    position: absolute;
    right: 16px;
    color: #6b7280;
    pointer-events: none;
}

.faq-search-icon i {
    font-size: 16px;
}

.faq-no-results {
    text-align: center;
    /* padding: 2rem; */
    color: #6b7280;
    font-style: italic;
}

.faq-no-results p {
    margin: 0;
    font-size: 16px;
}

/* FAQ Item Animation for Filter */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item.hidden {
    display: none;
}

/* Highlight matching text */
.highlight {
    background-color: #87aa44;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}
/* Layout Utilities */
.firstai-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    margin-bottom: 50px;
}

.firstai-flex {
    display: flex;
}

.firstai-flex-col {
    flex-direction: column;
}

.firstai-items-center {
    align-items: center;
}

.firstai-items-start {
    align-items: flex-start;
}

.firstai-justify-center {
    justify-content: center;
}

.firstai-justify-between {
    justify-content: space-between;
}

.firstai-flex-1 {
    flex: 1;
}

.firstai-flex-shrink-0 {
    flex-shrink: 0;
}

.firstai-grid {
    display: grid;
}

.firstai-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.firstai-gap-4 {
    gap: 1rem;
}

.firstai-gap-8 {
    gap: 2rem;
}

.firstai-space-x-3>*+* {
    margin-left: 0.75rem;
}

.firstai-space-x-4>*+* {
    margin-left: 1rem;
}

.firstai-space-x-8>*+* {
    margin-left: 2rem;
}

/* Sizing */
.firstai-w-4 {
    width: 1rem;
}

.firstai-w-5 {
    width: 1.25rem;
}

.firstai-w-6 {
    width: 1.5rem;
}

.firstai-w-10 {
    width: 2.5rem;
}

.firstai-w-12 {
    width: 3rem;
}

.firstai-h-4 {
    height: 1rem;
}

.firstai-h-5 {
    height: 1.25rem;
}

.firstai-h-6 {
    height: 1.5rem;
}

.firstai-h-10 {
    height: 2.5rem;
}

.firstai-h-12 {
    height: 3rem;
}

.firstai-min-h-screen {
    min-height: 450px;
    height: 450px;
}

/* Spacing */
.firstai-p-6 {
    padding: 1.5rem;
}

.firstai-p-8 {
    padding: 2rem;
}

.firstai-p-12 {
    padding: 3rem;
}

.firstai-px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.firstai-px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.firstai-px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.firstai-py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.firstai-py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.firstai-py-12 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.firstai-py-20 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.firstai-mb-2 {
    margin-bottom: 0.5rem;
}

.firstai-mb-3 {
    margin-bottom: 0.75rem;
}

.firstai-mb-4 {
    margin-bottom: 1rem;
}

.firstai-mb-6 {
    margin-bottom: 1.5rem;
}

.firstai-mb-8 {
    margin-bottom: 2rem;
}

.firstai-mb-12 {
    margin-bottom: 3rem;
}

.firstai-mb-16 {
    margin-bottom: 20PX;
}

.firstai-mb-20 {
    margin-bottom: 5rem;
}

.firstai-mr-2 {
    margin-right: 0.5rem;
}

.firstai-ml-2 {
    margin-left: 0.5rem;
}

/* Typography */
.firstai-text-sm {
    font-size: 0.875rem;
}

.firstai-text-lg {
    font-size: 1.125rem;
}

.firstai-text-xl {
    font-size: 1.25rem;
}

.firstai-text-2xl {
    font-size: 1.5rem;
}

.firstai-text-3xl {
    font-size: 1.875rem;
}

.firstai-text-4xl {
    font-size: 2.25rem;
}

.firstai-text-5xl {
    font-size: 3rem;
}

.firstai-font-medium {
    font-weight: 500;
}

.firstai-font-semibold {
    font-weight: 600;
}

.firstai-font-bold {
    font-weight: 700;
}

.firstai-text-center {
    text-align: center;
}

.firstai-leading-tight {
    line-height: 1.25;
}

.firstai-leading-relaxed {
    line-height: 1.625;
}

/* Colors */
.firstai-text-white {
    color: #ffffff;
}

.firstai-text-gray-400 {
    color: #9ca3af;
}

.firstai-text-gray-500 {
    color: #6b7280;
}

.firstai-text-gray-600 {
    color: #4b5563;
}

.firstai-text-gray-900 {
    color: #111827;
}

.firstai-text-blue-600 {
    color: #2563eb;
}

.firstai-text-blue-700 {
    color: #1d4ed8;
}

.firstai-text-green-500 {
    color: #10b981;
}

.firstai-bg-white {
    background-color: #ffffff;
}

.firstai-bg-gray-900 {
    background-color: #111827;
}

/* Gradients */
.firstai-bg-gradient-main {
    background: linear-gradient(135deg, #dbeafe 0%, #ffffff 50%, #d1fae5 100%);
    border-radius: 35px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    margin: 50px auto;
}

.firstai-bg-gradient-logo {
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
}

.firstai-bg-gradient-text {
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.firstai-bg-gradient-text-hero {
    background: linear-gradient(90deg, #23939e 0%, #87aa44 50%, #23939e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.firstai-bg-gradient-badge {
    background: linear-gradient(90deg, #dbeafe 0%, #d1fae5 100%);
}

.firstai-bg-gradient-button {
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
}

.firstai-bg-gradient-button:hover {
    background: linear-gradient(90deg, #2563eb 0%, #059669 100%);
}

.firstai-bg-gradient-cta {
    background: linear-gradient(90deg, #3b82f6 0%, #7c3aed 50%, #10b981 100%);
}

.firstai-bg-white-50 {
    background-color: rgba(255, 255, 255, 0.5);
}

.firstai-bg-black-10 {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Border & Radius */
.firstai-border {
    border: 1px solid #e5e7eb;
}

.firstai-border-blue-200 {
    border-color: #bfdbfe;
}

.firstai-border-white {
    border-color: #ffffff;
}

.firstai-border-2 {
    border-width: 2px;
}

.firstai-rounded-lg {
    border-radius: 0.5rem;
}

.firstai-rounded-xl {
    border-radius: 0.75rem;
}

.firstai-rounded-3xl {
    border-radius: 1.5rem;
}

.firstai-rounded-full {
    border-radius: 9999px;
}

/* Shadows & Effects */
.firstai-shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.firstai-shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.firstai-backdrop-blur {
    backdrop-filter: blur(8px);
}

.firstai-opacity-90 {
    opacity: 0.9;
}

/* Transitions */
.firstai-transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.firstai-transition-all {
    transition: all 0.3s ease-in-out;
}

.firstai-transition-transform {
    transition: transform 0.3s ease-in-out;
}

/* Positioning */
.firstai-relative {
    position: relative;
}

.firstai-absolute {
    position: absolute;
}

.firstai-inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.firstai-z-10 {
    z-index: 10;
}

.firstai-overflow-hidden {
    overflow: hidden;
}

/* Buttons */
.firstai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease-in-out;
}

.firstai-btn-primary {
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    color: white;
}

.firstai-btn-primary:hover {
    background: linear-gradient(90deg, #2563eb 0%, #059669 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.firstai-btn-outline {
    border: 1px solid #bfdbfe;
    color: #2563eb;
    background: transparent;
}

.firstai-btn-outline:hover {
    background-color: #eff6ff;
}

.firstai-btn-white {
    background: white;
    color: #2563eb;
}

.firstai-btn-white:hover {
    background: #f3f4f6;
}

.firstai-btn-white-outline {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.firstai-btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Cards */
.firstai-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border: none;
}

.firstai-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.firstai-card .icon-container {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease-in-out;
}

.firstai-card:hover .icon-container {
    transform: scale(1.1);
}

/* Navigation */
.firstai-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.firstai-nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.firstai-nav-link {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.firstai-nav-link:hover {
    color: #2563eb;
}

/* Badge */
.firstai-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #dbeafe 0%, #d1fae5 100%);
    color: #23939e;
    border: 1px solid #bfdbfe;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Stats Grid */
.firstai-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 20PX;
}

.firstai-stat-item {
    text-align: center;
}

.firstai-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.firstai-stat-label {
    color: #4b5563;
    font-weight: 500;
}

/* Features Grid */
.firstai-features-grid {
    display: grid;
    gap: 2rem;
}

/* CTA Section */
.firstai-cta-section {
    background: linear-gradient(90deg, #3b82f6 0%, #7c3aed 50%, #10b981 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.firstai-cta-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.1);
}

.firstai-cta-content {
    position: relative;
    z-index: 10;
}

/* Responsive Design */
@media (min-width: 640px) {
    .firstai-sm-flex-row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .firstai-md-flex {
        display: flex;
    }

    .firstai-md-grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .firstai-md-grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .firstai-md-text-2xl {
        font-size: 1.5rem;
    }

    .firstai-md-text-4xl {
        font-size: 2.25rem;
    }

    .firstai-md-text-5xl {
        font-size: 3rem;
    }

    .firstai-md-text-7xl {
        font-size: 4.5rem;
    }

    .firstai-nav-links {
        display: flex;
    }

    .firstai-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .firstai-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .firstai-container {
        padding: 0 1rem;
    }

    .firstai-text-5xl {
        font-size: 2.5rem;
    }

    .firstai-py-20 {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .firstai-p-12 {
        padding: 2rem;
    }
}

/* Max width utilities */
.firstai-max-w-2xl {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.firstai-max-w-3xl {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.firstai-max-w-4xl {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

/* Hero title responsive */
.firstai-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .firstai-hero-title {
        font-size: 45PX;
    }
}

/* Subtitle responsive */
.firstai-hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 20PX;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .firstai-hero-subtitle {
        font-size: 17PX;
        WIDTH: 80%;

    }
}

/* Section title responsive */
.firstai-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .firstai-section-title {
        font-size: 3rem;
    }
}

/* --- Top Hero Slider (Hero + AI) --- */
.top-hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.top-hero-slider-track {
    display: flex;
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.top-hero-slide {
    flex: 0 0 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

.top-hero-slider-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.top-hero-slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.top-hero-slider-dots button.active {
    background: #23939e;
    transform: scale(1.15);
}
.heroslider-mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.heroslider-slideshow-container {
max-width: 1400px;
position: relative;
margin: auto;
overflow: hidden;
}

/* The dots/bullets/indicators */
.heroslider-dot {
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
cursor: pointer;
}

.heroslider-active {
background-color: #717171;
}

/* Sliding animation */
.heroslider-slide {
animation-name: heroslider-slideIn;
animation-duration: 1s;
}

@keyframes heroslider-slideIn {
from {
transform: translateX(100%);
opacity: 0.5;
}
to {
transform: translateX(0);
opacity: 1;
}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.text {font-size: 11px}
}
/* Comprehensive Responsive Font Sizes for All Devices */

/* Large Desktop (≥1400px) */
@media (min-width: 1400px) {
.firstai-hero-title {
  font-size: 48px;
}

.firstai-hero-subtitle {
  font-size: 18px;
}

.firstai-badge {
  font-size: 16px;
}

.firstai-stat-value {
  font-size: 2.5rem;
}

.firstai-stat-label {
  font-size: 16px;
}

.firstai-btn {
  font-size: 18px;
}
}

/* Desktop (≥1200px) */
@media (min-width: 1200px) and (max-width: 1399px) {
.firstai-hero-title {
  font-size: 45px;
}

.firstai-hero-subtitle {
  font-size: 17px;
}

.firstai-badge {
  font-size: 15px;
}

.firstai-stat-value {
  font-size: 2.25rem;
}

.firstai-stat-label {
  font-size: 15px;
}

.firstai-btn {
  font-size: 17px;
}
}

/* Tablet Landscape (≥1024px) */
@media (min-width: 1024px) and (max-width: 1199px) {
.firstai-hero-title {
  font-size: 42px;
}

.firstai-hero-subtitle {
  font-size: 16px;
}

.firstai-badge {
  font-size: 14px;
}

.firstai-stat-value {
  font-size: 2rem;
}

.firstai-stat-label {
  font-size: 14px;
}

.firstai-btn {
  font-size: 16px;
}
}

/* Tablet Portrait (≥768px) */
@media (min-width: 768px) and (max-width: 1023px) {
.firstai-bg-gradient-main {
background: linear-gradient(135deg, #dbeafe 0%, #ffffff 50%, #d1fae5 100%);
border-radius: 35px;
box-shadow: none;
margin: 0px auto;
}
.firstai-hero-title {
  font-size: 45px;
}

.firstai-hero-subtitle {
  font-size: 15px;
}

.firstai-badge {
  font-size: 13px;
}

.firstai-stat-value {
  font-size: 1.875rem;
}

.firstai-stat-label {
  font-size: 13px;
}
.menu-container {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 12px;
}
.menu-item {
    position: relative;
    display: flex
;
    align-items: center;
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px !important;
    cursor: pointer;
    transition: color 0.3s;
}
.firstai-btn {
  font-size: 15px;
}
}

/* Mobile Large (≥480px) */
@media (min-width: 480px) and (max-width: 767px) {
.firstai-bg-gradient-main {
background: linear-gradient(135deg, #dbeafe 0%, #ffffff 50%, #d1fae5 100%);
border-radius: 35px;
box-shadow: none;
margin: 0px auto;
}
.firstai-min-h-screen {
min-height: 400px;
height: 440px;
}
.firstai-hero-title {
  font-size: 25px;
  margin-bottom: 10px;
}
.firstai-stats-grid {
display: grid
;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
margin-bottom: 10PX;
}
.firstai-hero-subtitle {
  font-size: 14px;
}

.firstai-badge {
  font-size: 12px;
  margin-bottom: 10px;
}

.firstai-stat-value {
  font-size: 1.5rem;
}

.firstai-stat-label {
  font-size: 12px;
}

.firstai-btn {
  font-size: 14px;
}
}

/* Mobile Small (≥320px) */
@media (min-width: 320px) and (max-width: 479px) {
.firstai-bg-gradient-main {
background: linear-gradient(135deg, #dbeafe 0%, #ffffff 50%, #d1fae5 100%);
border-radius: 20px;
margin: 0px auto;
}
.firstai-min-h-screen {
/* min-height: 397px; */
height: auto;
margin-bottom: 0PX !important;
}
.firstai-hero-title {
  font-size: 28px;
  margin-bottom: 5px;
}

.firstai-hero-subtitle {
  font-size: 13px;
  margin-bottom: 10PX;
}

.firstai-badge {
  font-size: 11px;
  margin-bottom: 10px;
}

.firstai-stat-value {
  font-size: 1.25rem;
}

.firstai-stat-label {
  font-size: 11px;
}

.firstai-btn {
  font-size: 13px;
}
}

/* Extra Small Mobile (≤319px) */
@media (max-width: 319px) {
.firstai-hero-title {
  font-size: 24px;
}

.firstai-hero-subtitle {
  font-size: 12px;
}

.firstai-badge {
  font-size: 10px;
}

.firstai-stat-value {
  font-size: 1rem;
}

.firstai-stat-label {
  font-size: 10px;
}

.firstai-btn {
  font-size: 12px;
}
}

/* Responsive Font Sizes for First Slide (Hero Container) */

/* Large Desktop (≥1400px) */
@media (min-width: 1400px) {
.hero-title {
  font-size: 44px;
}

.hero-subtitle {
  font-size: 24px;
}

.search-button {
  font-size: 20px;
}

.location-input input,
.search-input input {
  font-size: 18px;
}
}

/* Desktop (≥1200px) */
@media (min-width: 1200px) and (max-width: 1399px) {
.hero-title {
  font-size: 42px;
}

.hero-subtitle {
  font-size: 22px;
}

.search-button {
  font-size: 18px;
}

.location-input input,
.search-input input {
  font-size: 16px;
}
}

/* Tablet Landscape (≥1024px) */
@media (min-width: 1024px) and (max-width: 1199px) {
.hero-title {
  font-size: 38px;
}

.hero-subtitle {
  font-size: 20px;
}

.search-button {
  font-size: 17px;
}

.location-input input,
.search-input input {
  font-size: 15px;
}
}

/* Tablet Portrait (≥768px) */
@media (min-width: 768px) and (max-width: 1023px) {
.hero-title {
  font-size: 35px;
}

.hero-subtitle {
  font-size: 18px;
}

.search-button {
  font-size: 16px;
}

.location-input input,
.search-input input {
  font-size: 14px;
}
}

/* Mobile Large (≥480px) */
@media (min-width: 480px) and (max-width: 767px) {
.hero-title {
  font-size: 30px;
}

.hero-subtitle {
  font-size: 16px;
}

.search-button {
  font-size: 15px;
}

.location-input input,
.search-input input {
  font-size: 13px;
}
}

/* Mobile Small (≥320px) */
@media (min-width: 320px) and (max-width: 479px) {
.hero-title {
  font-size: 26px;
}

.hero-subtitle {
  font-size: 14px;
}

.search-button {
  font-size: 14px;
}

.location-input input,
.search-input input {
  font-size: 12px;
}
}

/* Extra Small Mobile (≤319px) */
@media (max-width: 319px) {
.hero-title {
  font-size: 22px;
}

.hero-subtitle {
  font-size: 12px;
}

.search-button {
  font-size: 13px;
}

.location-input input,
.search-input input {
  font-size: 11px;
}
}

.Nsection-container {
    width: 100%;
    max-width: 1400px;
    position: relative;
    /* background-image: url(../photos/5243.jpg); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    margin: 50px auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #d5e9f0;

}

.Nsection-content-overlay {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgb(34 145 154);
}

.Nsection-main-heading {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.Nsection-content-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.Nsection-block {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.Nsection-block:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.3);
}

.Nsection-block-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Nsection-icon-svg {
    width: 60px;
    height: 60px;
    fill: #fff;
    stroke: #fff;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.Nsection-block-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.Nsection-block-text {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .Nsection-container {
        padding: 30px;
        min-height: 500px;
    }
    .Nsection-content-overlay {
        padding: 20px;
    }
    .Nsection-main-heading {
        font-size: 2rem;
    }
    .Nsection-content-blocks {
        grid-template-columns: 1fr;
    }
}
.background {
    justify-content: center;
    padding: 80px 80px;
}

@media screen and (max-width: 768px) {
    .background {
        justify-content: center;
        padding: 10px 20px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .background {
        justify-content: center;
        padding: 10px 20px;
    }
}


/* hero section */
.hero-container {
    width: 100%;
    max-width: 1400px;
    height: 450px;
    background-color: #22919A;
    border-radius: 30px;
    position: relative;
    /* overflow: hidden; */
    margin: 0px auto;
    box-sizing: border-box;
}

.content-wrapper {
    display: flex;
    height: 100%;
}

.left-content {
    width: 50%;
    padding: 80px 0px 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1;
}

.right-content {
    width: 50%;
    position: relative;
}

.hero-title {
    color: white;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: "Lexend", sans-serif;
}

.hero-subtitle {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
    font-family: "Lexend", sans-serif;
}

.search-container {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

.location-input {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 10px 0 0 10px;
    padding: 0 15px;
    width: 35%;
    border-right: 1px solid #ddd;
}

.location-input svg {
    margin-right: 10px;
    fill: #000;
}

.location-input input {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 16px;
}

.search-input {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 0 15px;
    width: 65%;
    border-radius: 0px 8px 8px 0px;
}

.search-input svg {
    margin-right: 10px;
    fill: #000;
}

.search-input input {
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    font-size: 16px;
}

.search-button {
    background-color: #0D656C;
    color: white;
    border: none;
    border-radius: 8px;
    height: 50px;
    padding: 0 30px;
    font-size: 18px;
    margin-left: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: "Lexend", sans-serif;
}

.search-button:hover {
    background-color: #0a4f54;
}

.doctor-image {
    position: absolute;
    bottom: 0;
    right: 40px;
    height: 90%;
}

.circle-background {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    right: -100px;
    bottom: -100px;
    z-index: 10;
}

.inner-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    right: -50px;
    bottom: -50px;
    z-index: 15;
}

/* Tablet View (≤1024px) */
@media screen and (max-width: 1024px) {
    .hero-container {
        height: 450px;
        margin: 30px auto;
    }

    .left-content {
        padding: 40px 0px 40px 30px;
    }

    .hero-title {
        font-size: 35px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .search-container {
        width: 500px;
    }

    .location-input,
    .search-input {
        height: 50px;
    }

    .search-button {
        height: 50px;
        padding: 0 20px;
        font-size: 16px;
    }

    .doctor-image {
        height: 80%;
        right: 0px;
        top: 0;
    }

    .circle-background {
        width: 500px;
        height: 500px;
        right: -80px;
        bottom: -80px;
    }

    .inner-circle {
        width: 400px;
        height: 400px;
        right: -40px;
        bottom: -40px;
    }
}

/* Mobile View (≤768px) */
@media screen and (max-width: 768px) {
    .hero-container {
        height: auto;
        border-radius: 20px;
        margin: 20px auto;
        padding-bottom: 20px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .left-content {
        width: 100%;
        padding: 30px 20px;
        align-items: center;
        text-align: center;
    }

    .right-content {
        /* width: 100%; */
        /* height: 200px; */
        /* position: relative; */
        visibility: hidden;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .search-container {
        flex-direction: column;
        max-width: 100%;
        gap: 10px;
    }

    .location-input {
        width: 100%;
        border-radius: 8px;
        border-right: none;
        height: 45px;
    }

    .search-input {
        width: 100%;
        border-radius: 8px;
        height: 45px;
    }

    .search-button {
        width: 100%;
        height: 45px;
        font-size: 16px;
        margin-left: 0px;
        border-radius: 8px;
    }

    .doctor-image {
        height: 100%;
        right: 0;
        left: 0;
        margin: 0 auto;
        max-width: 80%;
    }

    .circle-background {
        width: 300px;
        height: 300px;
        right: -50px;
        bottom: -50px;
    }

    .inner-circle {
        width: 250px;
        height: 250px;
        right: -25px;
        bottom: -25px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .hero-container {
        margin: 15px 0px;
        border-radius: 15px;
    }

    .left-content {
        padding: 20px 15px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .location-input input,
    .search-input input {
        font-size: 14px;
    }

    .search-button {
        font-size: 14px;
        margin-left: 0px;
    }

    .right-content {
        height: 0px;
    }

    .doctor-image {
        max-width: 90%;
    }

    .circle-background {
        width: 200px;
        height: 200px;
        right: -30px;
        bottom: -30px;
    }

    .inner-circle {
        width: 150px;
        height: 150px;
        right: -15px;
        bottom: -15px;
    }
}

/* hero section */

/* call to Action */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.card {
    width: 100%;
    max-width: 380px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    padding-bottom: 25px;
    transition: transform 0.3s;
}

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

.card-image {
    width: 100%;
    height: 250px;
    /* object-fit: cover; */
    border-radius: 12px 12px 0 0;
}

.card-content {
    padding: 10px 25px;
}

.card-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    font-family: "Lexend", sans-serif;
}

.card-title {
    color: #222;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.3;
    font-family: "Lexend", sans-serif;
}

.card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
    height: auto;
    font-family: "Lexend", sans-serif;
}

.card-button {
    background-color: #008080;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-left: 25px;
    transition: background-color 0.2s;
    font-family: "Lexend", sans-serif;
}

.card-button:hover {
    background-color: #006666;
}

/* Tablet View (≤1024px) */
@media screen and (max-width: 1024px) {
    .cards-container {
        gap: 20px;
        padding: 0 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        max-width: 400px;
        flex-basis: calc(50% - 10px);
    }

    .card-image {
        height: 200px;

    }

    .card-title {
        font-size: 20px;
    }

    .card-description {
        font-size: 13px;
        height: auto;
    }

    .card-button {
        padding: 10px 20px;
        font-size: 14px;
        margin-left: 20px;
    }
}

/* Mobile View (≤768px) */
@media screen and (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 10px;
    }

    .card {
        max-width: 100%;
        width: 90%;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 10px 20px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-description {
        font-size: 12px;
        height: auto;
    }

    .card-button {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 10px;
        font-size: 14px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .cards-container {
        padding: 0 5px;
    }

    .card {
        width: 95%;
    }

    .card-image {
        height: 160px;
        /* object-fit: scale-down; */

    }

    .card-content {
        padding: 8px 15px;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .card-label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .card-description {
        font-size: 11px;
        height: auto;
        margin-bottom: 20px;
    }

    .card-button {
        width: calc(100% - 30px);
        margin: 0 15px;
        padding: 8px;
        font-size: 12px;
    }
}

/* call to Action */


/* department section */
.heading {
    font-size: 32px;
    font-weight: bold;
    color: #0e1e50;
    margin: 50px 0px;
    text-align: center;
    font-family: "Lexend", sans-serif;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    padding: 0x 0px;
    box-sizing: border-box;
}

.slider {
    width: calc(100% - 120px);
    overflow: hidden;
}

.slides-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 calc((100% - 60px) / 3);
    background-color: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.slide-image {
    width: 100%;
    height: 220px;
    /* object-fit: cover; */
}

.slide-content {
    padding: 25px 25px 30px;
}

.slide-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    font-family: "Lexend", sans-serif;
}

.slide-description {
    font-size: 14px;
    color: #666;
    height: auto;
    font-family: "Lexend", sans-serif;
}

.learn-more {
    display: flex;
    align-items: center;
    color: #003366;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
    font-family: "Lexend", sans-serif;
}

.learn-more:hover {
    color: #008080;
}

.learn-more svg {
    margin-left: 5px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s;
}

.arrow:hover {
    opacity: 0.8;
}

.arrow svg {
    width: 30px;
    height: 30px;
    fill: #008080;
}

.prev-arrow {
    left: -60px;
}

.next-arrow {
    right: -60px;
}

/* Tablet View (≤1024px) */
@media screen and (max-width: 1024px) {
    .heading {
        font-size: 30px;
        margin: 40px 0;
    }

    .slider-container {
        max-width: 900px;
        padding: 0 15px;
    }

    .slider {
        width: calc(100% - 80px);
    }

    .slide {
        flex: 0 0 calc((100% - 30px) / 2);
    }

    .slide-image {
        height: 180px;
    }

    .slide-title {
        font-size: 20px;
    }

    .slide-description {
        font-size: 14px;
        height: 100px;
    }

    .learn-more {
        font-size: 14px;
    }

    .arrow {
        width: 40px;
        height: 40px;
    }

    .arrow svg {
        width: 25px;
        height: 25px;
    }

    .prev-arrow {
        left: -40px;
    }

    .next-arrow {
        right: -40px;
    }
}

/* Mobile View (≤768px) */
@media screen and (max-width: 768px) {
    .heading {
        font-size: 24px;
        margin: 30px 0;
    }

    .slider-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .slider {
        width: calc(100% - 60px);
    }

    .slides-track {
        gap: 15px;
    }

    .slide {
        flex: 0 0 calc(100% - 15px);
    }

    .slide-image {
        height: 230px;
    }

    .slide-content {
        padding: 15px 20px 20px;
    }

    .slide-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .slide-description {
        font-size: 13px;
        height: auto;
        margin-bottom: 15px;
    }

    .learn-more {
        font-size: 13px;
    }

    .arrow {
        width: 30px;
        height: 30px;
    }

    .arrow svg {
        width: 20px;
        height: 20px;
    }

    .prev-arrow {
        left: -5px;
    }

    .next-arrow {
        right: -5px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .heading {
        font-size: 20px;
        margin: 20px 0;
    }

    .slider-container {
        padding: 0 5px;
    }

    .slider {
        width: calc(100% - 40px);
    }

    .slides-track {
        gap: 10px;
    }

    .slide {
        flex: 0 0 calc(100% - 10px);
    }

    .slide-image {
        height: 180px;
    }

    .slide-content {
        padding: 10px 15px 15px;
    }

    .slide-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .slide-description {
        font-size: 12px;
        height: 60px;
        margin-bottom: 10px;
    }

    .learn-more {
        font-size: 12px;
    }

    .learn-more svg {
        width: 16px;
        height: 16px;
    }

    .arrow {
        width: 30px;
        height: 30px;
    }

    .arrow svg {
        width: 16px;
        height: 16px;
    }

    .prev-arrow {
        left: -20px;
    }

    .next-arrow {
        right: -20px;
    }
}

/* department section */

/* Talk to Ai */
.mainai {
    background-image: url('../photos/aiban.webp');
    background-repeat: no-repeat;
    border-radius: 32px;
    background-size: cover;
    background-position: center;
    margin: 20px auto;
    max-width: 1400px;
    width: calc(100% - 40px);
}

.medical-ai-wrapper {
    position: relative;
    width: 100%;
    background: rgba(34, 145, 154, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    overflow: hidden;
    height: 420px;
    border-radius: 32px;
}

.primary-content-zone {
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.messaging-block {
    color: white;
}

.main-headline {
    font-size: clamp(2.5rem, 5vw, 2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    font-family: "Lexend", sans-serif;
}

.subtitle-container {
    margin-bottom: 2.5rem;
}

.primary-subtitle,
.secondary-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    font-weight: 400;
    font-family: "Lexend", sans-serif;
}

.action-btn1 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #26a69a;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-family: "Lexend", sans-serif;
}

.action-btn1:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.visual-showcase {
    position: relative;
    flex: 1;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.portrait-outline {
    width: clamp(300px, 40vw, 500px);
    height: clamp(400px, 50vh, 600px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 200px 200px 150px 150px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portrait-outline::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 20%;
    width: 15%;
    height: 8%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: 40px 0 0 rgba(255, 255, 255, 0.15);
}

.portrait-outline::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 3%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.decorative-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: drift 6s ease-in-out infinite;
}

.circle-alpha {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.circle-beta {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.circle-gamma {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 5%;
    animation-delay: 4s;
}

.circle-delta {
    width: 70px;
    height: 70px;
    bottom: 30%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes drift {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .mainai {
        margin: 15px auto;
        /* Adjust vertical margin for tablets */
        width: calc(100% - 30px);
        /* Adjust width */
    }

    .medical-ai-wrapper {
        flex-direction: column;
        height: auto;
        /* Allow height to adjust to content */
        padding-top: 40px;
        padding-bottom: 40px;
        text-align: center;
        /* Center inline or inline-block children */
    }

    .primary-content-zone {
        max-width: 100%;
        /* Allow text content to take full width */
        padding-right: 0;
        /* Remove desktop-specific padding */
        padding-bottom: 40px;
        /* Add space between text and visual showcase */
        text-align: center;
        /* Center text content and button */
    }

    .messaging-block {
        /* Text alignment will be handled by .primary-content-zone or .medical-ai-wrapper */
    }

    .main-headline {
        /* Original: clamp(2.5rem, 5vw, 2rem) effectively 2.5rem. Adjust for tablets. */
        font-size: clamp(2rem, 6vw, 2.5rem);
        /* Min 2rem, ideal 6vw, max 2.5rem */
    }

    .primary-subtitle,
    .secondary-subtitle {
        /* Original: clamp(1.1rem, 2vw, 1.25rem). Adjust for tablets if needed. */
        font-size: clamp(1rem, 2.5vw, 1.15rem);
    }

    .action-btn1 {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .visual-showcase {
        flex: none;
        /* Remove flex-grow behavior */
        width: 100%;
        max-width: 500px;
        /* Max width for the visual showcase area */
        margin-left: auto;
        margin-right: auto;
        height: auto;
        /* Let content (portrait-outline) define its height */
        /* visual-showcase specific height: 100vh is removed for stacked layout */
        /* display:flex, align-items:center, justify-content:center are still good */
    }

    .portrait-outline {
        /* Adjust clamp for tablets if the desktop one is too large */
        /* Original: width: clamp(300px, 40vw, 500px); height: clamp(400px, 50vh, 600px); */
        /* This might still be okay, or slightly smaller: */
        width: clamp(280px, 50vw, 450px);
        height: clamp(380px, 55vh, 500px);
        margin: 0 auto;
        /* Ensure it's centered if visual-showcase is wider */
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .mainai {
        margin: 10px auto;
        /* Adjust vertical margin for phones */
        width: calc(100% - 20px);
        /* Adjust width */
    }

    .medical-ai-wrapper {
        padding-left: 4%;
        /* Slightly adjust side padding */
        padding-right: 4%;
    }

    .main-headline {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        /* Smaller for mobile */
        margin-bottom: 1.5rem;
    }

    .subtitle-container {
        margin-bottom: 2rem;
    }

    .primary-subtitle,
    .secondary-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    }

    .action-btn1 {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .portrait-outline {
        width: clamp(240px, 65vw, 350px);
        height: clamp(320px, 70vh, 420px);
        /* vh might be tricky, using vw or fixed could be safer for consistency */
        /* Alternative height based on vw or aspect ratio might be more stable: */
        /* height: clamp(300px, 80vw, 400px); */
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .mainai {
        border-radius: 24px;
        /* Slightly smaller border radius for smaller screens */
        margin: 8px auto;
        /* Adjust vertical margin for small phones */
        width: calc(100% - 16px);
        /* Adjust width */
    }

    .medical-ai-wrapper {
        border-radius: 24px;
        /* Apply border-radius here as well */
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .primary-content-zone {
        padding-bottom: 30px;
    }

    .main-headline {
        font-size: clamp(1.7rem, 8vw, 2rem);
    }

    .primary-subtitle,
    .secondary-subtitle {
        font-size: clamp(0.9rem, 4vw, 1rem);
    }

    .action-btn1 {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: auto;
        /* Ensure it doesn't go full width unless intended */
        max-width: 90%;
        /* Prevent button from being overly wide */
    }

    .action-btn1 i {
        font-size: 0.9em;
        /* Scale icon slightly with button font size */
    }

    .portrait-outline {
        width: clamp(200px, 70vw, 280px);
        height: clamp(280px, 85vw, 360px);
        /* Adjusted for very small screens */
        border-radius: 120px 120px 80px 80px;
        /* Adjust border radius if proportions change significantly */
    }

    /* Optional: Scale down or hide decorative circles on very small screens if cluttered */
    .decorative-circle {
        transform: scale(0.8);
        /* Example: make them smaller */
        /* animation: none; /* Optionally disable animation for performance/simplicity */
    }

    .circle-alpha {
        width: 50px;
        height: 50px;
    }

    .circle-beta {
        width: 35px;
        height: 35px;
    }

    .circle-gamma {
        width: 60px;
        height: 60px;
    }

    .circle-delta {
        width: 40px;
        height: 40px;
    }
}

/* Talk to Ai */


/* popup ai */
.ai-chat-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.25); /* Darker overlay for better contrast */
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.modal-content {
    background-color: #151B2B; /* Keep background color */
    padding: 0;
    border-radius: 20px; /* Keep border radius */
    width: 350px; /* Fixed width */
    height: 600px; /* Fixed height for chat */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85); /* Adjusted shadow */
    position: relative; /* Changed from fixed to relative */
    display: flex;
    flex-direction: column;
    font-family: "Lexend", sans-serif; /* Use the site's font */
    overflow: hidden;
    color: #ffffff; /* Default text color */
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .modal-container {
        padding-right: 15px;
    }
    .modal-content {
        width: 320px; /* Slightly smaller on tablets */
    }
}

@media screen and (max-width: 480px) {
    .modal-container {
        padding-right: 10px;
    }
    .modal-content {
        width: 300px; /* Even smaller on mobile */
    }
}

.modal-header {
    background: #151B2B; /* Keep gradient */
    color: white;
    padding: 20px 18px; /* Further decreased padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-bottom: 0px;
    text-align: right;
    position: relative; /* Added for close button positioning */
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 2;
}

.close-button:hover {
    transform: scale(1.1);
    color: #ff4444;
}

.modal-logo {
    height: 28px; /* Further decreased logo size */
    vertical-align: middle;
    margin: 0 auto; /* Align with text/icon */
}

.modal-body {
    padding: 0px 20px; /* Further decreased padding inside the body */
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Lexend', sans-serif; /* Use the site's font */
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    width: 100%;
    padding: 10px 0;
    display: none; /* Hidden initially */
    overflow-y: scroll; /* Add the ability to scroll */
}
.chat-messages::-webkit-scrollbar{
    display: none;

}
.welcome-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.modal-avatar-container {
    display: flex;
    justify-content: center;
    gap: 15px; /* Further decreased space between avatars */
    margin-bottom: 15px; /* Further decreased space below avatars */
}

.modal-avatar {
    border-radius: 50%; /* Make it circular */
    background: linear-gradient(to bottom right, #8d76f5, #6ef0ff); /* Keep gradient background for avatars */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Further decreased padding inside avatar circle */
    box-shadow: 0 4px 8px rgba(0,0,0,0.4); /* Adjusted shadow on avatars */
    width: 40px;
    height: 40px;
}

.modal-avatar img {
    width: 100%; /* Image takes full width of container */
    height: 100%; /* Image takes full height of container */
    object-fit: contain; /* Ensure image fits without stretching */
}

.user-avatar {
    background: linear-gradient(135deg, #7FFFD4 0%, #565CFE 50%, #7DF6FF 100%);
}

.chat-avatar {
    background: #273457; /* Chat avatar gradient (reversed for contrast) */
    color: #84CEED;
}

.modal-title {
    font-size: 17px; /* Further decreased title font size */
    margin-bottom: 12px; /* Adjusted space below title */
    color: #ffffff; /* White color */
    font-weight: 700; /* Bold */
}

.modal-subtitle {
    font-size: 12px; /* Further decreased subtitle font size */
    color: #d0d0d0; /* Keep lighter gray color */
    margin-bottom: 25px; /* Further decreased space below subtitle */
    line-height: 1.5; /* Adjusted line height */
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Further decreased space between buttons */
    width: 100%; /* Buttons take full width */
    margin-bottom: 10px; /* Further decreased space below buttons */
}

.symptom-button {
    padding: 10px; /* Further decreased padding inside buttons */
    border: none; /* No border */
    border-radius: 10px; /* Further decreased rounded corners */
    background-color: #1e1e35; /* Keep darker button background */
    color: #ffffff; /* White text */
    cursor: pointer;
    text-align: left;
    font-size: 12px; /* Keep button text size */
    display: flex;
    align-items: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3); /* Adjusted shadow on buttons */
}

.symptom-button i {
    margin-right: 12px; /* Further decreased space between icon and text */
    color: #00ffff; /* Cyan icon color */
    font-size: 20px; /* Further decreased icon size */
}

.symptom-button b {
    font-weight: 700; /* Bold symptom text */
}

.symptom-button:hover {
    background-color: #2e2e48; /* Darker hover effect */
}

.modal-input-area {
    display: flex;
    gap: 12px; /* Further decreased space between input and button */
    width: 100%; /* Input area takes full width */
    align-items: center;
    padding: 10px 0;
}

.input-container {
    display: flex;
    gap: 8px;
    flex-grow: 1;
    align-items: center;
}

.modal-input-area input[type="text"] {
    flex-grow: 1; /* Input takes available space */
    padding: 8px; /* Further decreased padding inside input */
    border: none; /* No border */
    border-radius: 8px; /* Adjusted rounded corners */
    background-color: #2a2a44; /* Keep darker input background */
    color: #ffffff; /* White text */
    font-size: 12px; /* Keep input text size */
    outline: none; /* Remove default outline */
}

.modal-input-area input[type="text"]::placeholder {
    color: #b0b0b0; /* Keep placeholder text color */
}

.attachment-btn {
    padding: 8px;
    background: #2a2a44;
    color: #b0b0b0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 32px;
    height: 32px;
}

.attachment-btn:hover {
    background: #3a3a54;
    color: #00ffff;
    transform: scale(1.05);
}

.attachment-btn i {
    font-size: 14px;
}

.attachment-selected {
    background: rgba(0, 224, 255, 0.1);
    border: 2px solid #00ffff;
    padding: 8px 12px;
    border-radius: 8px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #ffffff;
}

.remove-attachment {
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-left: 8px;
}

.remove-attachment:hover {
    background: #ff6666;
}

.attachment-preview {
    max-width: 100%;
    border-radius: 8px;
    margin: 8px 0;
    cursor: pointer;
}

.attachment-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.attachment-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #ffffff;
}

.error-message {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    padding: 8px 12px;
    border-radius: 8px;
    margin: 8px 0;
    font-size: 11px;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.send-button {
    padding: 5px 18px; /* Further decreased padding inside send button */
    background: linear-gradient(to right, #5a5ae5, #00e0ff); /* Keep gradient */
    color: white;
    border: none;
    border-radius: 8px; /* Adjusted rounded corners */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3); /* Adjusted shadow on button */
}

.send-button i {
    font-size: 20px; /* Further decreased send icon size */
}

.send-button:hover {
    opacity: 0.9; /* Slight opacity change on hover */
}

.modal-footer {
    font-size: 12px; /* Further decreased footer text size */
    color: #888888; /* Keep color */
    text-align: center;
    padding: 5px; /* Further decreased padding around footer text */
    border-top: 1px solid #2a2a44; /* Keep border top color */
}

/* Chat message styles */
.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 12px;
    line-height: 1.4;
    position: relative;
}

.message.bot .message-content {
    background: #2a2a44;
    border: 1px solid #3a3a54;
    color: #ffffff;
    border-bottom-left-radius: 6px;
}

.message.user .message-content {
    background: linear-gradient(135deg, #5a5ae5, #00e0ff);
    color: white;
    border-bottom-right-radius: 6px;
}

.doctor-card {
    background: #1e1e35;
    border: 1px solid #3a3a54;
    border-radius: 12px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.doctor-name {
    font-weight: bold;
    color: #00ffff;
    font-size: 14px;
    margin-bottom: 5px;
}

.doctor-specialty {
    color: #d0d0d0;
    font-size: 12px;
    margin-bottom: 8px;
}

.doctor-details {
    font-size: 11px;
    color: #b0b0b0;
}

.book-btn {
    background: linear-gradient(135deg, #5a5ae5, #00e0ff);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 90, 229, 0.3);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #2a2a44;
    border: 1px solid #3a3a54;
    border-radius: 18px;
    border-bottom-left-radius: 6px;
    max-width: 80%;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #00ffff;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.back-button {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 2;
}

.back-button:hover {
    transform: scale(1.1);
    color: #00ffff;
}

/* Show back button when in chat mode */
.chat-mode .back-button {
    display: flex;
}
/* popup ai */


/* specialist slider */
.med-showcase {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 500px;
    margin: 0 auto;
}

.med-wrapper {
    position: relative;
    width: 100%;
    height: 86%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.med-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.med-item {
    position: absolute;
    width: 400px;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.med-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Center item (active) */
.med-item.active {
    z-index: 5;
    transform: translateX(0) scale(1);
    filter: blur(0px) brightness(1);
    width: 810px;
    height: 380px;
    object-fit: contain;
}

.med-item.active img {
    filter: blur(0px) brightness(1);
}

/* Left side items */
.med-item.left-1 {
    z-index: 4;
    transform: translateX(-320px) scale(0.8);
    filter: blur(2px);
}

.med-item.left-2 {
    z-index: 3;
    transform: translateX(-400px) scale(0.6);
    filter: blur(4px);
    opacity: 0.7;
}

/* Right side items */
.med-item.right-1 {
    z-index: 4;
    transform: translateX(320px) scale(0.8);
    filter: blur(2px);
}

.med-item.right-2 {
    z-index: 3;
    transform: translateX(400px) scale(0.6);
    filter: blur(4px);
    opacity: 0.7;
}

/* Hidden items */
.med-item.hidden {
    z-index: 1;
    transform: translateX(700px) scale(0.4);
    filter: blur(6px) brightness(0.2);
    opacity: 0;
}

/* Item content overlay */
.med-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.med-title {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

/* New: Container for navigation buttons and dots */
.med-navigation-group {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    bottom: 20px;}

/* Navigation arrows - modified */
.med-nav {
    /* Removed absolute positioning relative to carousel sides */
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    /* z-index is handled by med-navigation-group */
}

.med-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    /* Adjusted hover transform */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* .med-nav.prev and .med-nav.next no longer need left/right positioning */
/* Their order is handled by the flex container .med-navigation-group */

/* Dots navigation - modified */
.med-indicators {
    /* Removed absolute positioning, now a flex item within med-navigation-group */
    display: flex;
    gap: 10px;
    /* z-index is handled by med-navigation-group */
}

.med-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.med-dot.active {
    background: #007681;
    transform: scale(1.3);
}

.faq-section {
    font-family: 'Poppins', sans-serif;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 26px;
    position: relative;
    margin-top: 40px;
}

.faq-container {
    max-width: 90%;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    text-align: left;
    background-color: #22919A;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #1e7d87;
}

.faq-chevron {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(90deg);
}

.faq-answer {
    background-color: #fff;
    color: #000;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    display: none;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    display: block;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px;
    }

    .faq-answer {
        font-size: 15px;
        padding: 16px;
    }

    .faq-chevron {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 22px;
    }

    .faq-question {
        flex-direction: row;
        align-items: center;
        font-size: 15px;
        padding: 14px 16px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 14px 16px;
    }

    .faq-chevron {
        font-size: 18px;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .med-showcase {
        height: 200px;
        /* Keep original height change */
        padding-bottom: 60px;
        /* Adjust if needed for smaller nav */
    }

    .med-item {
        width: 280px;
        height: 160px;
    }

    .med-item.left-1 {
        /* Keep original transform */
        transform: translateX(-200px) scale(0.7);
    }

    .med-item.right-1 {
        /* Keep original transform */
        transform: translateX(200px) scale(0.7);
    }

    .med-item.left-2 {
        /* Keep original transform */
        transform: translateX(-320px) scale(0.5);
    }

    .med-item.right-2 {
        /* Keep original transform */
        transform: translateX(320px) scale(0.5);
    }

    .med-nav {
        /* Keep original size change */
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* .med-nav.prev and .med-nav.next no longer need left/right changes */

    .med-navigation-group {
        gap: 10px;
        /* Optionally reduce gap on mobile */
        /* bottom: -50px; /* Optionally adjust bottom position if elements overlap */
    }
}

/* specialist slider */


/* blog section */
.blogs-section {
    width: 100%;
    padding: 10px 80px;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    color: #00205B;
    margin-bottom: 40px;
    font-family: "Lexend", sans-serif;
}

.blogs-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    width: 337px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.blog-image-container {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 0px;
    background-color: #00205B;
    color: white;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    font-family: "Lexend", sans-serif;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 14px;
    color: #001A55;
    margin-bottom: 10px;
    font-weight: bold;
    font-family: "Lexend", sans-serif;
}

.blog-title {
    font-size: 14px;
    color: #001A55;
    margin-bottom: 10px;
    font-family: "Lexend", sans-serif;
}

.blog-text {
    font-size: 14px;
    color: #001A55;
    margin-bottom: 20px;
    line-height: 1.5;
    font-family: "Lexend", sans-serif;
}

.blog-link {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
    font-family: "Lexend", sans-serif;
}

.blog-link:hover {
    color: #008080;
}

.arrow-icon {
    margin-left: 8px;
    font-size: 14px;
}

/* Tablet View (≤1024px) */
@media screen and (max-width: 1024px) {
    .blogs-section {
        padding: 10px 40px;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .blogs-container {
        gap: 20px;
    }

    .blog-card {
        width: 300px;
    }

    .blog-image-container {
        height: 160px;
    }

    .blog-category {
        font-size: 13px;
        padding: 5px 12px;
    }

    .blog-content {
        padding: 15px;
    }

    .blog-date {
        font-size: 13px;
    }

    .blog-title {
        font-size: 15px;
    }

    .blog-text {
        font-size: 13px;
    }

    .blog-link {
        font-size: 13px;
    }
}

/* New Media Query for 900px */
@media screen and (max-width: 950px) {
    .blogs-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .blog-card {
        width: calc(50% - 10px);
        max-width: 400px;
    }

    .blog-card:last-child {
        width: 100%;
        max-width: 400px;
    }
}

/* Mobile View (≤768px) */
@media screen and (max-width: 768px) {
    .blogs-section {
        padding: 10px 20px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .blogs-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .blog-card {
        width: 90%;
        max-width: 400px;
        margin-bottom: 15px;
    }

    .blog-image-container {
        height: 140px;
    }

    .blog-category {
        font-size: 12px;
        padding: 4px 10px;
        top: 10px;
    }

    .blog-content {
        padding: 12px;
    }

    .blog-date {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .blog-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .blog-text {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .blog-link {
        font-size: 12px;
    }

    .arrow-icon {
        font-size: 16px;
    }
}

/* Small Mobile View (≤480px) */
@media screen and (max-width: 480px) {
    .blogs-section {
        padding: 10px 10px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .blogs-container {
        gap: 10px;
    }

    .blog-card {
        width: 95%;
        max-width: 350px;
    }

    .blog-image-container {
        height: 120px;
    }

    .blog-category {
        font-size: 11px;
        padding: 3px 8px;
        top: 8px;
    }

    .blog-content {
        padding: 10px;
    }

    .blog-date {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .blog-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .blog-text {
        font-size: 11px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .blog-link {
        font-size: 11px;
    }

    .arrow-icon {
        font-size: 14px;
        margin-left: 6px;
    }
}

/* blog section */

/* Large Screen Styles (above 1400px) */
@media screen and (min-width: 1401px) {
    .modal-content {
        width: 400px;
        /* Increased width for large screens */
    }

    .modal-header {
        padding: 25px 22px;
        padding-bottom: 90px;
    }

    .modal-logo {
        height: 32px;
    }

    .modal-avatar-container {
        gap: 20px;
        margin-bottom: 20px;
    }

    .modal-avatar {
        width: 50px;
        height: 50px;
        padding: 12px;
    }

    .modal-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .modal-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .modal-buttons {
        gap: 15px;
        margin-bottom: 25px;
    }

    .symptom-button {
        padding: 15px;
        font-size: 14px;
    }

    .symptom-button i {
        font-size: 22px;
        margin-right: 15px;
    }

    .modal-input-area {
        gap: 15px;
    }

    .modal-input-area input[type="text"] {
        padding: 12px;
        font-size: 14px;
    }

    .send-button {
        padding: 12px 22px;
    }

    .send-button i {
        font-size: 22px;
    }

    .modal-footer {
        font-size: 14px;
        padding: 8px;
    }

    .close-button {
        font-size: 24px;
        top: 20px;
        right: 20px;
    }
}

/* Extra Large Screens (above 1920px) */
@media screen and (min-width: 1921px) {
    .modal-content {
        width: 450px;
    }

    .modal-header {
        padding: 30px 25px;
        padding-bottom: 100px;
    }

    .modal-logo {
        height: 38px;
    }

    .modal-avatar-container {
        gap: 25px;
        margin-bottom: 25px;
    }

    .modal-avatar {
        width: 60px;
        height: 60px;
        padding: 15px;
    }

    .modal-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .modal-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .modal-buttons {
        gap: 20px;
        margin-bottom: 30px;
    }

    .symptom-button {
        padding: 18px;
        font-size: 16px;
    }

    .symptom-button i {
        font-size: 26px;
        margin-right: 18px;
    }

    .modal-input-area {
        gap: 18px;
    }

    .modal-input-area input[type="text"] {
        padding: 15px;
        font-size: 16px;
    }

    .send-button {
        padding: 15px 25px;
    }

    .send-button i {
        font-size: 26px;
    }

    .modal-footer {
        font-size: 16px;
        padding: 10px;
    }

    .close-button {
        font-size: 28px;
        top: 25px;
        right: 25px;
    }
}

/* Large Screens (1400px - 1920px) */
@media screen and (min-width: 1401px) and (max-width: 1920px) {
    .modal-content {
        width: 400px;
    }

    .modal-header {
        padding: 25px 22px;
        padding-bottom: 90px;
    }

    .modal-logo {
        height: 32px;
    }

    .modal-avatar-container {
        gap: 20px;
        margin-bottom: 20px;
    }

    .modal-avatar {
        width: 50px;
        height: 50px;
        padding: 12px;
    }

    .modal-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .modal-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .modal-buttons {
        gap: 15px;
        margin-bottom: 25px;
    }

    .symptom-button {
        padding: 15px;
        font-size: 14px;
    }

    .symptom-button i {
        font-size: 22px;
        margin-right: 15px;
    }

    .modal-input-area {
        gap: 15px;
    }

    .modal-input-area input[type="text"] {
        padding: 12px;
        font-size: 14px;
    }

    .send-button {
        padding: 12px 22px;
    }

    .send-button i {
        font-size: 22px;
    }

    .modal-footer {
        font-size: 14px;
        padding: 8px;
    }

    .close-button {
        font-size: 24px;
        top: 20px;
        right: 20px;
    }
}

/* Medium Screens (1024px - 1400px) */
@media screen and (min-width: 1024px) and (max-width: 1400px) {
    .modal-content {
        width: 370px;
    }

    .modal-header {
        padding: 20px 20px;
        padding-bottom: 80px;
    }

    .modal-logo {
        height: 35px;
    }

    .modal-avatar-container {
        gap: 15px;
        margin-bottom: 15px;
    }

    .modal-avatar {

        padding: 10px;
    }

    .modal-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .modal-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .modal-buttons {
        gap: 12px;
        margin-bottom: 20px;
    }

    .symptom-button {
        padding: 12px;
        font-size: 13px;
    }

    .symptom-button i {
        font-size: 20px;
        margin-right: 12px;
    }

    .modal-input-area {
        gap: 12px;
    }

    .modal-input-area input[type="text"] {
        padding: 10px;
        font-size: 13px;
    }

    .send-button {
        padding: 10px 20px;
    }

    .send-button i {
        font-size: 20px;
    }

    .modal-footer {
        font-size: 13px;
        padding: 6px;
    }

    .close-button {
        font-size: 22px;
        top: 15px;
        right: 15px;
    }
}

/* Tablet Screens (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .modal-content {
        width: 320px;
    }

    .modal-header {
        padding: 18px 18px;
        padding-bottom: 70px;
    }

    .modal-logo {
        height: 26px;
    }

    .modal-avatar-container {
        gap: 12px;
        margin-bottom: 12px;
    }

    .modal-avatar {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .modal-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .modal-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .modal-buttons {
        gap: 10px;
        margin-bottom: 18px;
    }

    .symptom-button {
        padding: 10px;
        font-size: 12px;
    }

    .symptom-button i {
        font-size: 18px;
        margin-right: 10px;
    }

    .modal-input-area {
        gap: 10px;
    }

    .modal-input-area input[type="text"] {
        padding: 8px;
        font-size: 12px;
    }

    .send-button {
        padding: 8px 18px;
    }

    .send-button i {
        font-size: 18px;
    }

    .modal-footer {
        font-size: 12px;
        padding: 5px;
    }

    .close-button {
        font-size: 20px;
        top: 12px;
        right: 12px;
    }
}

/* Mobile Screens (below 768px) */
@media screen and (max-width: 767px) {
    .modal-content {
        width: 300px;
    }

    .modal-header {
        padding: 15px 15px;
        padding-bottom: 60px;
    }

    .modal-logo {
        height: 24px;
    }

    .modal-avatar-container {
        gap: 10px;
        margin-bottom: 10px;
    }

    .modal-avatar {
        width: 35px;
        height: 35px;
        padding: 7px;
    }

    .modal-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .modal-subtitle {
        font-size: 11px;
        margin-bottom: 15px;
    }

    .modal-buttons {
        gap: 8px;
        margin-bottom: 15px;
    }

    .symptom-button {
        padding: 8px;
        font-size: 11px;
    }

    .symptom-button i {
        font-size: 16px;
        margin-right: 8px;
    }

    .modal-input-area {
        gap: 8px;
    }

    .modal-input-area input[type="text"] {
        padding: 7px;
        font-size: 11px;
    }

    .send-button {
        padding: 7px 15px;
    }

    .send-button i {
        font-size: 16px;
    }

    .modal-footer {
        font-size: 11px;
        padding: 4px;
    }

    .close-button {
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
}

.faq-section {
    font-family: 'Poppins', sans-serif;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 26px;
    position: relative;
    margin-top: 40px;
}

.faq-container {
    max-width: 90%;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.faq-question {
    width: 100%;
    text-align: left;
    background-color: #22919A;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #1e7d87;
}

.faq-chevron {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(90deg);
}

.faq-answer {
    background-color: #fff;
    color: #000;
    padding: 20px;
    font-size: 16px;
    line-height: 1.6;
    display: none;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    display: block;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .faq-question {
        font-size: 16px;
        padding: 16px;
    }
    .faq-answer {
        font-size: 15px;
        padding: 16px;
    }

    .faq-chevron {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .faq-title {
        font-size: 22px;
    }

    .faq-question {
        flex-direction: row;
        align-items: center;
        font-size: 15px;
        padding: 14px 16px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 14px 16px;
    }

    .faq-chevron {
        font-size: 18px;
    }
}