:root {
    --primary: #4a5568;
    --primary-light: #667eea;
    --secondary: #48bb78;
    --accent: #f6ad55;
    --bg: #f7fafc;
    --surface: #ffffff;
    --text: #2d3748;
    --text-light: #718096;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 1.75rem;
    width: auto;
    max-width: 2.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    z-index: 2;
    min-width: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Carousel - Static Text Rows */
.carousel-container {
    margin-top: 1.25rem;
    width: 100%;
}

.carousel-row {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Mobile Services Section */
.mobile-services {
    padding: 2rem 0;
    background: #f7fafc;
    display: none;
}

.mobile-services h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    display: none;
}

.mobile-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.mobile-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.mobile-service-item:hover {
    transform: translateY(-2px);
}

.mobile-service-item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    max-width: 100%;
    display: block;
}

.mobile-service-item .medscheme-img,
.mobile-service-item .postural-img {
    object-fit: contain;
    background: #f7fafc;
    padding: 4px;
    box-sizing: border-box;
}

.mobile-service-item p {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

/* About Section */
.about {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(72, 187, 120, 0.05));
}

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

.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: var(--shadow);
    width: 280px;
    height: 280px;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.credentials {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.65rem;
    grid-column: 1 / -1;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--surface);
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
    font-size: 0.9rem;
}

.credential-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.service-image-header {
    width: calc(100% + 4rem);
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    margin: -2rem -2rem 1.5rem -2rem;
}

.service-image-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medscheme-img {
    object-fit: contain !important;
    background: #f7fafc;
    padding: 10px;
}

.postural-img {
    object-fit: contain !important;
    background: #f7fafc;
    padding: 10px;
}

.service-image-img {
    padding: 0;
    background: #f7fafc !important;
}

.service-image-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Booking Section */
.booking {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(72, 187, 120, 0.1));
}

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

.booking-cta {
    text-align: center;
    background: var(--surface);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.booking-cta p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.booking-cta .btn {
    margin: 1.5rem 0;
}

.booking-support {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.booking-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 500;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.info-list {
    list-style: none;
    margin-bottom: 2rem;
}

.info-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.info-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.contact-info h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-light);
    font-weight: 600;
}

/* Reviews */
.reviews {
    padding: 5rem 2rem;
    background: var(--bg);
}

.reviews-grid {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
}

.reviews-grid::-webkit-scrollbar {
    height: 6px;
}

.reviews-grid::-webkit-scrollbar-track {
    background: var(--border);
    border-radius: 10px;
}

.reviews-grid::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.review-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.review-stars {
    color: #f6ad55;
    font-size: 0.85rem;
    letter-spacing: 1px;
    line-height: 1;
}

.review-text {
    color: var(--text);
    font-size: 0.75rem;
    line-height: 1.3;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.review-text.empty {
    display: none;
}

.review-read-more {
    color: var(--primary-light);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 0.2rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}

.review-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.review-author-info strong {
    display: block;
    font-size: 0.7rem;
    color: var(--text);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-author-info span {
    font-size: 0.65rem;
    color: var(--text-light);
    line-height: 1;
}

.reviews-overall {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.reviews-overall strong {
    color: var(--text);
}

@media (max-width: 768px) {
    .review-card {
        width: 150px;
        height: 150px;
        padding: 0.6rem;
    }
    
    .review-text {
        font-size: 0.7rem;
    }
    
    .review-modal-content {
        padding: 1.5rem;
    }
}

.reviews-loading {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

/* Modal Styles */
.review-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.review-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.review-modal-content {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s;
}

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

.review-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal-close:hover {
    color: var(--text);
}

.review-modal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
    padding-right: 2rem;
}

.review-modal-stars {
    color: #f6ad55;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-modal-name {
    flex: 1;
}

.review-modal-name strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
}

.review-modal-name span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-modal-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f0f7 100%);
    border-top: 3px solid var(--primary-light);
    color: var(--text);
    padding: 3rem 2rem 1rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

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

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(74, 85, 104, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 1.5rem;
        max-width: 2rem;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: 1px solid var(--border);
        display: none;
        z-index: 99;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
        gap: 5px;
        flex-direction: column;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        margin-right: -0.5rem;
    }

    .nav-toggle span {
        width: 24px;
        height: 3px;
        background: var(--text);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
}

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

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }

    .mobile-services {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 250px;
    }

    .btn-large {
        width: 100%;
    }

    .about {
        padding: 3rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-image {
        order: 2;
        width: 200px;
        height: 200px;
    }

    .about-content {
        order: 1;
    }

    .about-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .about-content p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .about-grid .credentials {
        order: 3;
    }

    .services {
        padding: 3rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .booking {
        padding: 3rem 0;
    }

    .booking-cta {
        padding: 2rem 1.5rem;
    }

    .booking-cta p {
        font-size: 1rem;
    }

    .booking-contacts {
        gap: 0.75rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .footer-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-section {
        flex: 1 1 45%;
        text-align: center;
    }

    .footer-section:first-child {
        display: none;
    }

    .footer-section:nth-child(2) {
        order: 3;
        flex-basis: 100%;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .carousel-row {
        font-size: 0.75rem;
        text-align: center;
    }

    .carousel-container {
        margin-top: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1rem; }

    p {
        font-size: 0.95rem;
    }

    .mobile-services {
        display: block;
    }

    .hero {
        padding: 0;
        gap: 0;
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        height: 350px;
        min-height: auto;
    }

    .hero-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem 1rem;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.3) 100%);
    }

    .hero-title {
        font-size: 1.6rem;
        color: white;
        background: none;
        -webkit-text-fill-color: white;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .hero-tagline {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

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

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .about {
        padding: 2rem 0;
    }

    .about-grid {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
        align-items: flex-start;
    }

    .about-image {
        width: 100px;
        height: 100px;
        order: 0;
    }

    .about-content {
        order: 0;
    }

    .about-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .about-content p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .about-grid .credentials {
        order: 3;
    }

    .about-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .about-content p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .services {
        padding: 2rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .booking {
        padding: 2rem 0;
    }

    .credentials {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .credential-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .credential-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-image {
        width: 100px;
        height: 100px;
        margin: 0 auto 1rem;
    }

    .footer {
        padding: 2rem 1rem 0.5rem;
    }

    .footer-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-section {
        flex: 1 1 45%;
    }

    .footer-section:first-child {
        display: none;
    }

    .footer-section:nth-child(2) {
        order: 3;
        flex-basis: 100%;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    .carousel-row {
        font-size: 0.7rem;
        text-align: center;
        visibility: hidden;
    }

    .carousel-container {
        margin-top: 0.75rem;
    }

    .credentials {
        grid-template-columns: 1fr;
    }
}
