/* ==========================================
   WESTSIDE VETERINARY CLINIC
   WEBSITE 1 - SAGE GREEN THEME
   BOOTSTRAP 5.3.8
   ========================================== */


/* ==========================================
   COLOR VARIABLES
   ========================================== */

:root {

    /* Top Contact Bar */
    --prenav-color-1: #e6eee3;
    --prenav-color-2: #cdddc8;
    --prenav-color-3: #abc1a7;

    --prenav-text: #2e4a38;
    --prenav-height: 50px;

    /* Main Navbar */
    --navbar-bg: #405c49;
    --navbar-text: #ffffff;
    --navbar-hover: #d8e6d2;

    --navbar-logo-width: 220px;

    /* Main Theme Colors */
    --primary: #405c49;
    --secondary: #77977b;
    --accent: #afc5ab;

    /* Keep existing variable names for compatibility */
    --light-blue: #d8e6d2;
    --background-blue: #e9f0e6;

    /* Background Colors */
    --background: #fffefa;
    --background-light: #f6f8f2;

    /* Text Colors */
    --text-dark: #2c4434;
    --text-body: #526356;
    --text-white: #ffffff;

    /* Borders */
    --border-color: #dfe8dc;

    /* Footer */
    --footer-bg: #253b2f;
    --footer-text: #d8e6d2;

}


/* ==========================================
   GENERAL WEBSITE STYLING
   ========================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--text-body);
    background-color: var(--background);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 20px;
}

a {
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
}

section {
    position: relative;
}

.section-padding {
    padding: 95px 0;
}

.section-light {
    background-color: var(--background-light);
}

.section-blue {
    background-color: var(--background-blue);
}

.section-label {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 25px;
}

.section-description {
    font-size: 17px;
    line-height: 1.9;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading p {
    font-size: 17px;
}


/* ==========================================
   TOP CONTACT BAR
   ========================================== */

.prenavrow {
    margin: 0;
}

.prenavcol1 {
    background-color: var(--prenav-color-1);
}

.prenavcol2 {
    background-color: var(--prenav-color-2);
}

.prenavcol3 {
    background-color: var(--prenav-color-3);
}

.prenavcol1,
.prenavcol2,
.prenavcol3 {
    min-height: var(--prenav-height);
    gap: 5px;
    color: var(--prenav-text);
    font-size: 14px;
    padding: 10px;
}

.prenavrow a {
    color: var(--prenav-text);
    text-decoration: none;
    font-weight: 600;
}

.prenavrow a:hover {
    color: var(--primary);
    text-decoration: underline;
}


/* ==========================================
   MAIN NAVIGATION BAR
   ========================================== */

.navse {
    background-color: var(--navbar-bg);
    padding: 15px 0;
}

.navse .nav-link {
    color: var(--navbar-text);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navse .nav-link:hover,
.navse .nav-link:focus {
    color: var(--navbar-hover);
}

.navse .nav-link.active {
    color: var(--navbar-hover);
}

.nav-side {
    flex: 1;
}

.clinic-logo img {
    width: var(--navbar-logo-width);
    height: auto;
}

.navse .navbar-brand {
    margin-right: 0;
}


/* ==========================================
   BUTTONS
   ========================================== */

.btn-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background-color: var(--primary);
    color: white;

    padding: 15px 32px;

    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;

    border: 2px solid var(--primary);
    border-radius: 5px;

    text-decoration: none;

    transition: all 0.3s ease;
}

.btn-site:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(64, 92, 73, 0.15);
}

.btn-site-outline {
    background-color: transparent;
    color: var(--primary);
}

.btn-site-outline:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-site-light {
    background-color: white;
    border-color: white;
    color: var(--primary);
}

.btn-site-light:hover {
    background-color: var(--light-blue);
    border-color: var(--light-blue);
    color: var(--primary);
}


/* ==========================================
   HOMEPAGE HERO SECTION
   ========================================== */

.home-hero {
    background: linear-gradient(
        135deg,
        #f6f8f2 0%,
        #e9f0e6 100%
    );

    overflow: hidden;
}

.home-hero .container {
    max-width: 1250px;
}

.hero-content {
    padding: 100px 0;
}

.hero-small-title {
    font-size: 25px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-title {
    font-size: clamp(38px, 5vw, 65px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.12;
    margin-bottom: 30px;
    color: var(--primary);
}

.hero-content p {
    font-size: 18px;
    max-width: 540px;
    margin-bottom: 35px;
    color: var(--text-body);
}

.hero-image {
    width: 100%;
    height: 580px;

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

    border-radius: 0 0 0 90px;
}


/* ==========================================
   HOMEPAGE FEATURE CARDS
   ========================================== */

.feature-section {
    padding: 80px 0;
    background-color: var(--background);
}

.feature-card {
    height: 100%;

    background-color: var(--background-light);

    text-align: center;
    overflow: hidden;

    border-radius: 8px;

    border: 1px solid var(--border-color);

    transition: all 0.3s ease;
}

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

    box-shadow: 0 12px 30px rgba(64, 92, 73, 0.10);
}

.feature-card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
}

.feature-card-content {
    padding: 30px 25px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-card p {
    font-size: 15px;
}

.feature-link {
    display: inline-block;

    color: var(--primary);

    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;

    font-size: 13px;
    letter-spacing: 1px;
}

.feature-link:hover {
    color: var(--secondary);
}


/* ==========================================
   WELCOME SECTION
   ========================================== */

.welcome-section {
    padding: 100px 0;
    background-color: var(--background);
}

.welcome-text {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.welcome-text p {
    font-size: 17px;
    line-height: 1.9;
}

.welcome-image {
    width: 100%;
    height: 430px;

    object-fit: cover;

    border-radius: 8px;
}


/* ==========================================
   SPLIT CONTENT SECTIONS
   ========================================== */

.split-image {
    width: 100%;
    height: 450px;

    object-fit: cover;

    border-radius: 8px;
}

.split-content {
    padding: 20px 0;
}

.split-content p {
    font-size: 16px;
    line-height: 1.9;
}


/* ==========================================
   SERVICES PREVIEW
   ========================================== */

.services-preview {
    background-color: var(--background-light);
    padding: 95px 0;
}

.service-preview-card {
    background-color: var(--background);

    padding: 35px 25px;

    text-align: center;

    border: 1px solid var(--border-color);

    height: 100%;

    border-radius: 8px;

    transition: all 0.3s ease;
}

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

    box-shadow: 0 12px 30px rgba(64, 92, 73, 0.10);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 80px;
    height: 80px;

    border-radius: 50%;

    background-color: var(--background-blue);
    color: var(--primary);

    font-size: 34px;

    margin: 0 auto 25px;
}

.service-preview-card h3 {
    font-size: 19px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-preview-card p {
    font-size: 15px;
    margin-bottom: 0;
}


/* ==========================================
   INNER PAGE HERO
   ========================================== */

.page-hero {
    background: linear-gradient(
        135deg,
        #f6f8f2 0%,
        #e9f0e6 100%
    );

    padding: 70px 0;
    overflow: hidden;
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--primary);
}

.page-hero p {
    font-size: 17px;
    max-width: 580px;
}

.page-hero-image {
    width: 100%;
    height: 310px;

    object-fit: cover;

    border-radius: 8px;
}


/* ==========================================
   ABOUT PAGE
   ========================================== */

.about-value {
    background-color: var(--background);

    padding: 35px 30px;

    border: 1px solid var(--border-color);
    border-radius: 8px;

    height: 100%;

    text-align: center;

    transition: all 0.3s ease;
}

.about-value:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(64, 92, 73, 0.10);
}

.about-value i {
    display: block;

    font-size: 42px;
    color: var(--secondary);

    margin-bottom: 20px;
}

.about-value h3 {
    font-size: 21px;
    margin-bottom: 15px;
    color: var(--primary);
}


/* ==========================================
   SERVICES PAGE
   ========================================== */

.service-detail-card {
    background-color: var(--background);

    border: 1px solid var(--border-color);
    border-radius: 8px;

    padding: 40px 30px;

    text-align: center;

    height: 100%;

    transition: all 0.3s ease;
}

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

    box-shadow: 0 12px 30px rgba(64, 92, 73, 0.10);
}

.service-detail-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 85px;
    height: 85px;

    border-radius: 50%;

    background-color: var(--background-blue);
    color: var(--primary);

    font-size: 37px;

    margin-bottom: 25px;
}

.service-detail-card h3 {
    font-size: 21px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-detail-card p {
    font-size: 15px;
    margin-bottom: 20px;
}


/* ==========================================
   FAQ PAGE
   ========================================== */

.faq-section {
    padding: 95px 0;
    background-color: var(--background);
}

.faq-container {
    max-width: 920px;
    margin: auto;
}

.accordion-item {
    border: 1px solid var(--border-color);

    margin-bottom: 15px;

    border-radius: 6px !important;
    overflow: hidden;

    background-color: var(--background);
}

.accordion-button {
    font-size: 17px;
    font-weight: 700;

    color: var(--primary);

    background-color: var(--background);

    padding: 22px 25px;

    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--background-blue);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--secondary);
}

.accordion-button::after {
    filter: grayscale(1);
}

.accordion-body {
    padding: 25px;

    font-size: 16px;
    line-height: 1.9;

    color: var(--text-body);
    background-color: var(--background);
}

.accordion-body a {
    color: var(--primary);
    font-weight: 600;
}

.accordion-body a:hover {
    color: var(--secondary);
}


/* ==========================================
   CONTACT PAGE
   ========================================== */

.contact-section {
    padding: 95px 0;
    background-color: var(--background);
}

.contact-info-card {
    background-color: var(--background-light);

    padding: 40px;

    border-radius: 8px;

    border: 1px solid var(--border-color);

    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 20px;

    align-items: flex-start;

    margin-bottom: 30px;
}

.contact-info-item > i {
    font-size: 29px;
    color: var(--secondary);
}

.contact-info-item h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--primary);
}

.contact-info-item p {
    margin-bottom: 0;
}

.contact-info-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-item a:hover {
    color: var(--secondary);
    text-decoration: underline;
}


/* ==========================================
   CONTACT FORM
   ========================================== */

.contact-form {
    background-color: var(--background);

    border: 1px solid var(--border-color);
    border-radius: 8px;

    padding: 40px;
}

.contact-form h2 {
    font-size: 30px;
    margin-bottom: 15px;
    color: var(--primary);
}

.form-label {
    font-weight: 600;
    color: var(--primary);
}

.form-control,
.form-select {
    padding: 13px 15px;

    border: 1px solid var(--border-color);
    border-radius: 5px;

    background-color: white;
    color: var(--text-body);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);

    box-shadow: 0 0 0 3px rgba(119, 151, 123, 0.15);
}

.form-control::placeholder {
    color: #839387;
}


/* ==========================================
   GOOGLE MAPS
   ========================================== */

.map-container {
    width: 100%;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 430px;

    display: block;

    border: 0;
}


/* ==========================================
   CALL TO ACTION
   ========================================== */

.cta-section {
    background: linear-gradient(
        135deg,
        #405c49 0%,
        #304c3a 100%
    );

    color: white;

    padding: 80px 0;

    text-align: center;
}

.cta-section h2 {
    color: white;

    font-size: clamp(30px, 4vw, 42px);

    margin-bottom: 20px;
}

.cta-section p {
    color: var(--light-blue);

    font-size: 18px;

    margin-bottom: 30px;
}

.cta-section .btn-site-light {
    background-color: #f6f8f2;
    border-color: #f6f8f2;
    color: var(--primary);
}

.cta-section .btn-site-light:hover {
    background-color: #d8e6d2;
    border-color: #d8e6d2;
    color: var(--primary);
}


/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);

    padding: 70px 0 0;
}

.footer-logo {
    width: 230px;
    max-width: 100%;

    margin-bottom: 25px;
}

.site-footer h3 {
    color: white;

    font-size: 20px;

    margin-bottom: 25px;
}

.site-footer p {
    color: var(--footer-text);

    font-size: 15px;
    line-height: 1.9;
}

.site-footer a {
    color: var(--footer-text);
    text-decoration: none;
}

.site-footer a:hover {
    color: white;
}

.footer-info {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 15px;
}

.footer-info i {
    color: var(--accent);
    font-size: 18px;
}

.site-footer .btn-site-light {
    background-color: var(--background-light);
    border-color: var(--background-light);
    color: var(--primary);
}

.site-footer .btn-site-light:hover {
    background-color: var(--light-blue);
    border-color: var(--light-blue);
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);

    padding: 25px 0;
    margin-top: 55px;

    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 13px;
}


/* ===================================== */
/* FOOTER GOOGLE MAP */
/* ===================================== */

.footer-map-wrapper {
    width: 100%;
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 15px;
    margin-bottom: 18px;
}

.footer-map {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* Address Below Map */

.footer-map-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.7;
}

.footer-map-address i {
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-map-address a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-map-address a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.btn-site:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 4px;
}


/* ==========================================
   MOBILE RESPONSIVENESS
   ========================================== */

@media (max-width: 991px) {

    .navse {
        padding: 10px 0;
    }

    .navse .nav-link {
        padding: 10px;
        font-size: 16px;
    }

    .navse .navbar-brand img {
        max-width: 120px;
        height: auto;
    }

    .nav-side {
        padding: 10px 0;
    }

    .hero-content {
        padding: 65px 0;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        height: 400px;
        border-radius: 8px 8px 0 0;
    }

    .page-hero {
        text-align: center;
    }

    .page-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .page-hero-image {
        margin-top: 35px;
    }

    .split-content {
        padding: 0;
    }

}


@media (max-width: 767px) {

    .section-padding,
    .welcome-section,
    .services-preview,
    .faq-section,
    .contact-section {
        padding: 65px 0;
    }

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

    .hero-small-title {
        font-size: 21px;
    }

    .hero-image {
        height: 320px;
    }

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

    .feature-section {
        padding: 60px 0;
    }

    .feature-card img {
        height: 210px;
    }

    .split-image {
        height: 310px;
    }

    .contact-info-card,
    .contact-form {
        padding: 25px;
    }

    .cta-section {
        padding: 65px 0;
    }

    .btn-site {
        padding: 13px 22px;
    }

    .site-footer {
        padding-top: 55px;
    }

}


@media (max-width: 575px) {

    .prenavcol1,
    .prenavcol2,
    .prenavcol3 {
        font-size: 12px;
        min-height: 40px;
    }

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

    .hero-content p {
        font-size: 16px;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .page-hero-image {
        height: 230px;
    }

    .accordion-button {
        font-size: 15px;
        padding: 18px;
    }

}


@media (max-width: 767.98px) {

    .footer-map-wrapper {
        height: 220px;
    }

}