/* Color structure */
:root {
    --primary-blue: #1456a0;
    --secondary-blue: #2e7bcf;
    --white: #fff;
    --gray: #f5f5f5;
    --accent: #1e3a5c;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--gray); /* Base color */
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0, 0, 0, 0.02) 10px,
        rgba(0, 0, 0, 0.02) 20px /* Subtle diagonal pinstripes */
    );
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    box-shadow: none;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background-color: var(--primary-blue);
    background-image: url('images/paws.svg');
    background-size: 300px 100px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.navbar-logo {
    flex: 0 0 auto;
    padding: 8px;
}

.navbar-logo img {
    height: 60px;
    width: auto;
    border-radius: 8px;
    background: var(--white);
    padding: 4px;
}

.navbar-content {
    display: flex;
    align-items: center;
    /* margin-left: auto; */
    gap: 6rem;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar-links li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-links li a:hover {
    color: var(--secondary-blue);
}

.navbar-cta {
    margin-left: 2rem;
    position: relative;
}

.appointment-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(20,86,160,0.1);
    margin-top: 10px;
}

.appointment-btn:hover {
    background: var(--secondary-blue);
}

.appointment-btn-link {
    text-decoration: none;
    display: inline-block;
    margin-top: 0px;
}

.cat-sleep {
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%) rotate(0deg);
    width: 110px;
    height: auto;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-content {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-left: 0;
    }
    .navbar-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .navbar-cta {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width: 700px) {
    .navbar {
        padding: 0.5rem 0.7rem;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .navbar-content {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
        padding: 0 0.5rem;
    }
    .navbar-logo {
        flex: 0 0 auto;
        padding: 0;
    }
    .navbar-logo img {
        height: 40px;
        width: auto;
    }
    .navbar-toggle {
        display: flex !important;
        position: static;
        z-index: 1200;
        background-color: var(--white);
        padding: 0px;
        border-radius: 4px;
        border: 1px solid var(--gray);
        margin-right: 30px;
        margin-left: 0;
    }
    .navbar-toggle .bar {
        width: 30px;
        height: 6px;
        background: var(--accent) !important;
        margin: 3px 0;
        border-radius: 3px;
        transition: 0.3s;
        display: block !important;
    }
    .navbar-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: rgba(255,255,255,0.98);
        box-shadow: 0 8px 32px rgba(20,86,160,0.13);
        border-radius: 0 0 16px 16px;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 1.2rem 0 1.2rem 0;
        display: none;
        z-index: 1100;
    }
    .navbar-links.open {
        display: flex;
    }
    .navbar-links li {
        width: 100%;
        text-align: center;
    }
    .navbar-links li a {
        color: var(--primary-blue);
        font-size: 1.2rem;
        padding: 1rem 0;
        width: 100%;
        border-radius: 0;
        transition: background 0.2s;
        display: block;
    }
    .navbar-links li a:hover {
        background: var(--gray);
        color: var(--secondary-blue);
    }
    .cat-sleep {
        display: none;
    }
    .home-hero {
        min-height: 60vh;
        padding-top: 70px;
    }
    .home-content h1 {
        font-size: 1.5rem;
    }
    .home-content p {
        font-size: 1rem;
    }
    .hero-btn {
        font-size: 1rem;
        padding: 0.7rem 1.3rem;
    }
    .about-section {
        padding: 30px 0 20px 0;
    }
    .about-section h2 {
        font-size: 1.3rem;
    }
    .doctor-tiles {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
    }
    .doctor-tile {
        width: 95vw;
        max-width: 340px;
    }
    .doctor-img {
        height: 160px;
    }
    .doctor-info {
        padding: 0.8rem 0.7rem 1.1rem 0.7rem;
    }
    .doctor-info h3 {
        font-size: 1.05rem;
    }
    .doctor-info p {
        font-size: 0.95rem;
    }
    .navbar-cta {
        display: none !important;
    }
    .service-tile {
        min-width: 85vw;
        max-width: 85vw;
        flex-basis: 85vw;
        min-height: 320px;
        height: 320px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .service-tile h3 {
        font-size: 1rem;
        margin: 0.8rem 0.8rem 0.4rem 0.8rem;
        word-break: break-word;
    }
    .service-tile p {
        font-size: 0.8rem;
        padding: 0 0.8rem;
        margin: 0.5rem 0.8rem 1rem 0.8rem;
        word-break: break-word;
        flex-grow: 1;
    }
    .service-img {
        height: 50%;
        min-height: 90px;
        max-height: none;
    }
}

.home-hero {
    position: relative;
    min-height: 70vh;
    background: url('images/2024-pet-banner.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    color: var(--white);
    z-index: 1;
    margin-top: 0;
    padding: 120px 20px 80px;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.home-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.home-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.home-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-btn {
    background: var(--secondary-blue);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.about-section {
    background: #ffffff;
    padding: 80px 20px 60px;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--secondary-blue);
    border-radius: 2.5px;
}

.about-content-wrapper {
    max-width: 900px;
    margin: 0 auto 4rem auto;
    text-align: left;
    padding: 0 1rem;
}

.about-content-wrapper p {
    font-size: 1.18rem;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 1.8rem;
    text-align: justify;
}

.about-content-wrapper p:last-child {
    margin-bottom: 0;
}

.doctor-tiles {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.doctor-tile {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(20,86,160,0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-tile:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 25px rgba(20,86,160,0.15);
}

.doctor-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.doctor-info {
    padding: 1.5rem 1.2rem;
}

.doctor-info h3 {
    margin: 0 0 0.6rem 0;
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 600;
}

.doctor-info p {
    margin: 0.25rem 0;
    color: #555;
    font-size: 1.05rem;
}

.visiting {
    font-size: 0.98em;
    color: #dd8a28;
    font-weight: 500;
    display: block;
    margin-top: 0.3rem;
}

@media (max-width: 1000px) {
    .doctor-tiles {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .doctor-tile {
        width: 90vw;
        max-width: 350px;
    }
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.navbar-toggle .bar {
    width: 28px;
    height: 5px;
    background: var(--accent);
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.services-section {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.services-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}
.services-slider-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.services-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.services-slider::-webkit-scrollbar {
    display: none;
}
.service-tile {
    background: #f7fafc;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(20,86,160,0.08);
    overflow: hidden;
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 320px;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 340px;
    height: 340px;
}
.service-tile:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 32px rgba(20,86,160,0.18);
}
.service-img {
    width: 100%;
    height: 50%;
    min-height: 110px;
    max-height: none;
    background-size: cover;
    background-position: center;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.service-tile h3, .service-tile p {
    text-align: center;
}
.service-tile h3 {
    margin: 1rem 1rem 0.5rem 1rem;
    font-size: 1.15rem;
    color: var(--accent);
    font-weight: 600;
}
.service-tile p {
    margin: 0.5rem 1rem 1rem 1rem;
    color: #444;
    font-size: 1rem;
    padding: 0 1rem;
    flex-grow: 1;
}
.slider-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: background 0.2s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(20,86,160,0.10);
}
.slider-btn:hover {
    background: var(--secondary-blue);
}
@media (max-width: 1100px) {
    .services-slider-wrapper {
        max-width: 98vw;
    }
    .service-tile, .services-slider {
        min-width: 270px;
        max-width: 270px;
        flex-basis: 270px;
    }
}
@media (max-width: 700px) {
    .services-section {
        padding: 30px 0 20px 0;
    }
    .services-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    .services-slider-wrapper {
        flex-direction: row;
        max-width: 100vw;
        padding: 0 0.2rem;
        align-items: center;
    }
    .services-slider {
        gap: 1rem;
        padding: 0.5rem 0.2rem;
        align-items: center;
    }
    .service-tile {
        min-width: 85vw;
        max-width: 85vw;
        flex-basis: 85vw;
        min-height: 320px;
        height: 320px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .service-img {
        height: 50%;
        min-height: 90px;
        max-height: none;
    }
    .service-tile h3 {
        font-size: 1rem;
        margin: 0.8rem 0.8rem 0.4rem 0.8rem;
        word-break: break-word;
    }
    .service-tile p {
        font-size: 0.8rem;
        padding: 0 0.8rem;
        margin: 0.5rem 0.8rem 1rem 0.8rem;
        word-break: break-word;
        flex-grow: 1;
    }
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    .slider-btn.prev {
        left: 0;
    }
    .slider-btn.next {
        right: 0;
    }
    .services-slider-wrapper {
        position: relative;
    }
}

.gallery-section {
    background: #f7fafc;
    padding: 60px 0 40px 0;
    text-align: center;
}
.gallery-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 18px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}
.gallery-item,
.gallery-item-large,
.gallery-item-tall,
.gallery-item-wide {
    min-height: 260px;
}
.gallery-item img,
.gallery-item video {
    width:  100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 14px;
}
.gallery-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(20,86,160,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-item-tall {
    grid-row: span 2;
}
.gallery-item-wide {
    grid-column: span 2;
}
.gallery-item-video {
    box-shadow: 0 6px 32px rgba(20,86,160,0.18), 0 0 0 4px var(--primary-blue);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-item-video:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 48px rgba(20,86,160,0.22), 0 0 0 6px var(--secondary-blue);
    z-index: 2;
}
.gallery-item-video video {
    background: #222;
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
@media (max-width: 1100px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .gallery-item,
    .gallery-item-large,
    .gallery-item-tall,
    .gallery-item-wide {
        min-height: 200px;
    }
    .gallery-item img,
    .gallery-item video {
        min-height: 200px;
    }
    .gallery-item-video {
        grid-column: span 2;
        grid-row: span 1;
    }
}
@media (max-width: 700px) {
    .gallery-section {
        padding: 30px 0 20px 0;
    }
    .gallery-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
        gap: 10px;
        padding: 0 0.2rem;
    }
    .gallery-item,
    .gallery-item-large,
    .gallery-item-tall,
    .gallery-item-wide {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 200px;
    }
    .gallery-item img,
    .gallery-item video {
        min-height: 200px;
    }
    .gallery-item-video {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 200px;
        box-shadow: 0 2px 12px rgba(20,86,160,0.07);
        border-radius: 14px;
    }
}

/* Gallery View More Functionality */
.gallery-more-item {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-more-item.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.gallery-view-more {
    text-align: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

.view-more-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20,86,160,0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20,86,160,0.3);
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
}

.view-more-btn:active {
    transform: translateY(-1px);
}

.view-more-btn .btn-icon {
    transition: transform 0.3s ease;
}

.view-more-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.view-more-btn:hover::before {
    left: 100%;
}

@media (max-width: 700px) {
    .gallery-view-more {
        margin-top: 1.5rem;
    }
    
    .view-more-btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        gap: 0.6rem;
    }
}

/* Pet Care Section */
.pet-care-section {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.pet-care-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}
.pet-care-slider-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pet-care-slider {
    display: flex;
    gap: 1rem; /* Reduced gap for images */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pet-care-slider::-webkit-scrollbar {
    display: none;
}
.pet-care-tile {
    background: #f7fafc;
    border-radius: 14px;
    overflow: hidden;
    min-width: 300px;
    max-width: 400px;
    flex: 0 0 auto;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    box-shadow: 0 2px 12px rgba(20,86,160,0.07);
    aspect-ratio: 4/3;
}
.pet-care-tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 32px rgba(20,86,160,0.18);
}
.pet-care-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
}
.slider-btn.prev-pet-care,
.slider-btn.next-pet-care {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: background 0.2s;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(20,86,160,0.10);
}
.slider-btn.prev-pet-care:hover,
.slider-btn.next-pet-care:hover {
    background: var(--secondary-blue);
}

@media (max-width: 1100px) {
    .pet-care-slider-wrapper {
        max-width: 98vw;
    }
    .pet-care-tile {
        min-width: 250px;
        max-width: 350px;
        height: auto;
    }
}

@media (max-width: 700px) {
    .pet-care-section {
        padding: 30px 0 20px 0;
    }
    .pet-care-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    .pet-care-slider-wrapper {
        flex-direction: row;
        max-width: 100vw;
        padding: 0 0.2rem;
        align-items: center;
    }
    .pet-care-slider {
        gap: 0.5rem;
        padding: 0.5rem 0.2rem;
        align-items: center;
    }
    .pet-care-tile {
        min-width: 80vw;
        max-width: 90vw;
        height: auto;
        aspect-ratio: 4/3;
    }
    .pet-care-tile img {
        padding: 4px;
    }
    .slider-btn.prev-pet-care,
    .slider-btn.next-pet-care {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    .slider-btn.prev-pet-care {
        left: 0;
    }
    .slider-btn.next-pet-care {
        right: 0;
    }
    .pet-care-slider-wrapper {
        position: relative;
    }
}

/* Contact Section */
.contact-section {
    background: #f7fafc;
    padding: 60px 0 40px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
    align-items: end;
}

.contact-info {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(20,86,160,0.07);
}

.info-item h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-item p {
    color: #444;
    margin: 0.5rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.landmark {
    color: #666;
    font-style: italic;
    margin-top: 0.8rem;
}

.timing-title {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.8rem !important;
}

.timing-note {
    color: #666;
    margin-top: 1rem !important;
    font-weight: 500;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.contact-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 300px;
}

.contact-btn img {
    width: 24px;
    height: 24px;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.call-btn {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(20, 86, 160, 0.2);
}

.email-btn {
    background: #EA4335;
    color: white;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.2);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(20, 86, 160, 0.25);
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
        align-items: stretch;
    }

    .contact-info {
        width: 100%;
    }

    .contact-actions {
        width: 100%;
        min-height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }

    .contact-btn {
        max-width: 100%;
    }

    .contact-info-block {
        margin-top: 1.5rem;
    }
}

@media (max-width: 700px) {
    .contact-section {
        padding: 30px 0 20px 0;
    }

    .contact-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .contact-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .info-item {
        padding: 1.2rem;
    }

    .info-item h3 {
        font-size: 1.1rem;
    }

    .info-item p {
        font-size: 1rem;
    }

    .contact-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    .timing-title {
        font-size: 1rem;
    }

    .timing-note {
        font-size: 0.95rem;
    }
    .contact-info-block {
         margin-top: 1rem;
    }
}

/* FAQs Section */
.faqs-section {
    background: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}

.faqs-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.faqs-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

.faq-item {
    background: #f7fafc;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(20,86,160,0.05);
    transition: box-shadow 0.2s;
}

.faq-item:hover {
     box-shadow: 0 4px 16px rgba(20,86,160,0.1);
}

.faq-question {
    background: var(--white);
    color: var(--accent);
    padding: 1.2rem 1.5rem;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.faq-question.active::after {
    content: '-';
    transform: rotate(180deg); /* Optional: subtle rotation */
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq-answer p {
    margin: 1.5rem 0;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    max-height: 300px; /* Adjust as needed, should be larger than content */
    padding: 1.2rem 1.5rem;
}

@media (max-width: 700px) {
    .faqs-section {
        padding: 30px 0 20px 0;
    }

    .faqs-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .faqs-container {
        padding: 0 0.5rem;
    }

    .faq-item {
        margin-bottom: 0.8rem;
    }

    .faq-question {
        padding: 1rem 1.2rem;
        font-size: 1.1rem;
    }

    .faq-question::after {
        font-size: 1.3rem;
    }

    .faq-answer {
        padding: 0 1.2rem;
    }

    .faq-answer p {
        margin: 1rem 0;
        font-size: 1rem;
    }

     .faq-item.open .faq-answer {
        padding: 1rem 1.2rem;
    }
}

/* Footer */
footer {
    background: var(--accent);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.social-icon img {
    width: 24px;
    height: 24px;
    filter: invert(1) brightness(0.8);
    transition: filter 0.2s;
}

.social-icon:hover img {
    filter: invert(1) brightness(1);
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.footer-nav ul li a:hover {
    color: var(--white);
}

@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-nav ul {
        gap: 1rem;
    }
}

@media (max-width: 700px) {
    footer {
        padding: 30px 0;
    }

    .footer-container {
        padding: 0 1rem;
    }

    .footer-copyright p,
    .footer-nav ul li a {
        font-size: 0.9rem;
    }

    .social-icon img {
        width: 20px;
        height: 20px;
    }
}

/* Adjust size for Font Awesome icons */
.contact-btn .fa-brands,
.contact-btn .fa-solid {
    width: 24px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon .fa-brands {
     width: 24px; /* Adjust size as needed */
     height: 24px; /* Adjust size as needed */
     display: flex;
     align-items: center;
     justify-content: center;
     color: rgba(255, 255, 255, 0.8); /* Match initial text color */
     transition: color 0.2s;
}

.social-icon:hover .fa-brands {
    color: var(--white); /* Match hover text color */
}

@media (max-width: 700px) {
    .contact-btn .fa-brands,
    .contact-btn .fa-solid {
        width: 20px; /* Adjust size for mobile */
        height: 20px; /* Adjust size for mobile */
    }

     .social-icon .fa-brands {
        width: 20px; /* Adjust size for mobile */
        height: 20px; /* Adjust size for mobile */
    }
}

/* Add styles for the new logo classes */
.logo {
    display: inline-block;
}

/* Diagnostics Section */
.diagnostics-section {
    background: var(--white); /* Or var(--gray) to match body bg if preferred */
    padding: 60px 20px;
    text-align: center;
}

.diagnostics-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.diagnostics-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--secondary-blue);
    border-radius: 2.5px;
}

.diagnostics-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 3rem; /* Space between diagnostic items */
}

.diagnostic-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: #f9f9f9; /* Light background for each item */
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added transition for hover */
}

.diagnostic-item:hover {
    transform: translateY(-8px); /* Lift item on hover */
    box-shadow: 0 10px 25px rgba(20,86,160,0.12); /* Enhanced shadow on hover */
}

.diagnostic-item-rtl {
    flex-direction: row-reverse;
}

.diagnostic-image {
    flex: 1 1 40%; /* Image container takes up to 40% of the space */
    max-width: 400px; /* Max width for the image */
    border-radius: 8px;
    overflow: hidden;
}

.diagnostic-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.diagnostic-content {
    flex: 1 1 60%; /* Content takes up to 60% of the space */
    text-align: left;
}

.diagnostic-content h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.diagnostic-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive adjustments for Diagnostics section */
@media (max-width: 900px) {
    .diagnostic-item {
        flex-direction: column !important; /* Stack image and text on smaller screens */
        text-align: center;
    }
    .diagnostic-image {
        max-width: 100%; /* Allow image to take full width in column layout */
        margin-bottom: 1.5rem;
    }
    .diagnostic-content {
        text-align: center;
    }
    .diagnostic-content h3 {
        font-size: 1.6rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--accent); /* Dark background from your color scheme */
    color: var(--white);
    padding: 80px 20px;
    overflow: hidden; /* To contain AOS animations if they go outside bounds */
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.testimonial-heading {
    flex: 1 1 40%;
}

.testimonial-heading h2 {
    font-size: 3.5rem; /* Large heading */
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
}

.testimonial-card-wrapper {
    flex: 1 1 60%;
    position: relative; /* For absolute positioning of nav-dots if needed, or just to contain them */
}

.testimonial-card {
    background-color: #2a4a6c; /* Slightly lighter than --accent, adjust as needed */
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    display: none; /* Hide all cards by default */
    animation: fadeEffect 0.8s; /* Simple fade-in effect for active card */
}

.testimonial-card.active {
    display: block; /* Show only the active card */
}

/* Basic fade-in animation */
@keyframes fadeEffect {
    from {opacity: 0.4; transform: translateY(10px);}
    to {opacity: 1; transform: translateY(0);}
}

.testimonial-quote-icon {
    position: absolute;
    top: -25px; /* Position above the card */
    left: 30px;
}

.testimonial-quote-icon i {
    font-size: 3rem;
    color: var(--secondary-blue); /* Accent color for the quote icon */
    opacity: 0.8;
}

.testimonial-author {
    margin-top: 1.5rem; /* Space below quote icon */
    margin-bottom: 1rem;
}

.testimonial-author h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.3rem 0;
}

.testimonial-author p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.testimonial-nav-dots {
    display: flex;
    justify-content: flex-start; /* Align to the left as in image */
    gap: 8px;
    margin-top: 1.5rem; /* This should place it below the card content */
    /* If cards have varying heights, absolute positioning might be better for dots: */
    /* position: absolute; */
    /* bottom: -30px; /* Adjust as needed */
    /* left: 50%; */
    /* transform: translateX(-50%); */
}

.testimonial-nav-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer; /* If you plan to make them interactive */
    transition: background-color 0.3s ease;
}

.testimonial-nav-dots .dot.active {
    background-color: #4CAF50; /* Greenish color from image for active dot */
}

/* Responsive adjustments for Testimonials section */
@media (max-width: 900px) {
    .testimonials-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .testimonial-heading h2 {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }
    .testimonial-quote-icon {
        left: 50%;
        transform: translateX(-50%);
    }
    .testimonial-card {
        padding: 2rem;
    }
    .testimonial-author,
    .testimonial-text {
        text-align: center;
    }
    .testimonial-nav-dots {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    .testimonial-heading h2 {
        font-size: 2.2rem;
    }
    .testimonial-card {
        padding: 1.5rem;
    }
    .testimonial-author h3 {
        font-size: 1.3rem;
    }
    .testimonial-text p {
        font-size: 1rem;
    }
}

/* Hero Button Group */
.hero-btn-group {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.hero-btn-group .hero-btn {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.phone-hero-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    padding: 1rem 2.5rem;
}
.phone-hero-btn:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.phone-hero-btn i {
    margin-right: 0.5rem;
    font-size: 1.1em;
}
@media (max-width: 700px) {
    .hero-btn-group {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1.2rem;
    }
    .hero-btn-group .hero-btn, .phone-hero-btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
    }
    .phone-hero-btn i {
        margin-right: 0.4rem;
    }
}
