/* style.css */

html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}

/* Color Palette */
:root {
    --primary-dark: #3d348b;
    --secondary-light: #f7b801;
    --secondary-dark: #f18701;
    --accent: #f35b04;
    --text-dark: #333;
    --text-light: #fff;
    --background-light: #f4f4f4;
    --background-white: #fff;
    --rating-green: #28a745;
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

/* Header Styles */
header {
    background-color: var(--background-white);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 100px;
}

nav.main-nav ul { /* Be more specific with the nav selector */
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav.main-nav li { /* Be more specific with the nav selector */
    margin-left: 20px;
}

nav.main-nav a { /* Be more specific with the nav selector */
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: bold;
    transition: color 0.3s ease;
}

nav.main-nav a:hover { /* Be more specific with the nav selector */
    color: var(--secondary-light);
}

.call-to-action .button {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.call-to-action .button:hover {
    background-color: darken(var(--secondary-light), 10%);
    color: var(--primary-dark);
}

/* >>> HAMBURGER BUTTON STYLES <<< */
.hamburger {
    display: none; /* Hide by default on larger screens */
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
    z-index: 110; /* Ensure it's above the navigation */
}

.hamburger:focus {
    outline: none;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .header-container {
        display: flex; /* Use flexbox for mobile layout */
        justify-content: space-between; /* Space out logo and hamburger */
        align-items: center;
        flex-wrap: wrap; /* Allow wrapping if needed */
        position: relative; /* For absolute positioning of the nav */
        padding-left: 15px; /* Add some left padding */
        padding-right: 15px; /* Add some right padding */
    }

    .logo {
        flex-basis: auto;
        margin-bottom: 0; /* Remove potential bottom margin on mobile */
        order: 1; /* Keep logo visually first */
    }

    nav.main-nav {
        display: none; /* Hide the main navigation on mobile by default */
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        width: 100%;
        background-color: var(--background-white);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 105; /* Ensure it's above other content */
    }

    nav.main-nav.open {
        display: block; /* Show the navigation when the 'open' class is added */
    }

    nav.main-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    nav.main-nav li {
        margin: 10px 0;
    }

    nav.main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 1.1em;
    }

    .hamburger {
        display: block; /* Show the hamburger button on mobile */
        order: 2; /* Position it after the logo */
        margin-left: auto; /* Push it to the right */
    }

    .call-to-action {
        /* You might want to hide or reposition the call-to-action on small screens */
        display: none; /* Example: Hide it */
        /*
        order: 3;
        flex-basis: 100%;
        text-align: center;
        margin-top: 20px;
        */
    }

    .container {
        padding-left: 15px; /* Add some left padding to the main container on mobile */
        padding-right: 15px; /* Add some right padding to the main container on mobile */
    }
}

/* Desktop Navigation Styles (Show on larger screens) */
@media (min-width: 769px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap; /* Prevent wrapping on desktop */
        position: static; /* Reset positioning */
        padding-left: 0; /* Reset header padding on desktop */
        padding-right: 0; /* Reset header padding on desktop */
    }

    .logo {
        order: 0; /* Reset order */
        margin-bottom: 0; /* Reset margin */
    }

    nav.main-nav {
        display: flex !important; /* Ensure main nav is visible on desktop */
        position: static;
        width: auto;
        background-color: transparent;
        box-shadow: none;
    }

    nav.main-nav ul {
        flex-direction: row;
        align-items: center;
        padding: 0;
    }

    .hamburger {
        display: none !important; /* Ensure hamburger is hidden on desktop */
    }

    .call-to-action {
        display: block; /* Ensure call-to-action is visible on desktop */
        order: 0; /* Reset order */
        margin-left: 20px; /* Add spacing from the navigation */
        margin-top: 0; /* Reset margin */
    }

    .container { /* Reset container padding on desktop */
        padding-left: 20px;
        padding-right: 20px;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section Redesign Styles */
.hero-redesign {
    padding: 60px 0;
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.hero-redesign-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-left {
    flex: 1;
    padding-right: 40px;
}

.hero-left h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero-left p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.contact-info .phone-button {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.contact-info .phone-button i {
    margin-right: 10px;
}

.contact-info .phone-button:hover {
    background-color: darken(var(--secondary-light), 10%);
    color: var(--primary-dark);
}

/* Care Info Section Styles */
.care-info {
    padding: 60px 0;
    background-color: var(--background-white);
    color: var(--text-dark);
    text-align: center;
}

.care-info-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.care-info h2 {
    font-size: 2em;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.care-info p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Exceptional Care Section Styles */
.exceptional-care {
    padding: 60px 0;
    background-color: var(--primary-dark); /* Dark purple background */
    text-align: center;
    color: var(--text-light);
}

.exceptional-care-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.exceptional-care h2 {
    font-size: 2em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.exceptional-care p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.care-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.care-card {
    background-color: var(--background-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-icon {
    font-size: 2em; /* Adjust size of the icons */
    margin-bottom: 15px;
    color: var(--secondary-light); /* Set a consistent icon color */
}

.care-card h3 {
    font-size: 1.3em;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.care-card p {
    color: var(--text-dark);
    font-size: 0.95em;
    margin-bottom: 15px;
}

.care-card .button.secondary {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.care-card .button.secondary:hover {
    background-color: darken(var(--secondary-light), 10%);
    color: var(--primary-dark);
}

/* Premium Services Section Styles */
.premium-services {
    padding: 60px 0;
    background-color: var(--background-white); /* White background */
}

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

.premium-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.premium-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.premium-details h2.centered-title { /* Style for the centered title */
    font-size: 2em;
    color: #3d348b; /* Changed title color */
    margin-bottom: 15px;
    text-align: center; /* Center the title */
}

.premium-details p {
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.premium-details h4 {
    font-size: 1.2em;
    color: var(--primary-dark);
    margin-top: 25px;
    margin-bottom: 10px;
}

.premium-services-list {
    list-style: none;
    padding-left: 0;
}

.premium-services-list li {
    margin-bottom: 10px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

.premium-services-list li i {
    margin-right: 10px;
    color: var(--secondary-light);
    font-size: 1.1em;
    width: 20px; /* Adjust width for alignment */
    text-align: center;
}

/* Why Choose Us Section Styles */
.why-choose-us {
    padding: 60px 0;
    background-color: var(--primary-dark); /* Dark purple background */
    color: var(--text-light);
    text-align: center;
}

.why-choose-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.why-choose-us h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.why-choose-us-intro {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-light);
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.why-choose-us-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.why-choose-us-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--secondary-light);
}

.why-choose-us-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.why-choose-us-item p {
    font-size: 0.95em;
    line-height: 1.6;
}

.why-choose-us-contact {
    margin-top: 40px;
}

.why-choose-us-contact p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.why-choose-us-contact .button {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.why-choose-us-contact .button:hover {
    background-color: darken(var(--secondary-light), 10%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-choose-us-grid {
        grid-template-columns: 1fr;
    }
    .why-choose-us-item {
        padding: 20px;
    }
}
/* style.css */

/* Add these styles to your existing style.css */

.testimonials {
    padding: 60px 0;
    background-color: var(--background-white); /* White background */
    text-align: center;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials h2 {
    font-size: 2em;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.testimonial-highlight {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    position: relative;
}

.quote-icon {
    font-size: 2em;
    color: var(--secondary-light);
}

.testimonial-highlight p {
    font-size: 1.1em;
    line-height: 1.8;
    margin: 15px 0;
    color: var(--text-dark);
}

.testimonial-author {
    font-style: italic;
    color: var(--primary-dark);
}

.other-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.review-card {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.rating {
    color: var(--secondary-light);
    margin-bottom: 10px;
}

.rating i {
    margin-right: 5px;
}

.review-card p {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.reviewer {
    font-size: 0.85em;
    color: var(--primary-light);
    font-style: italic;
}

.view-more-reviews {
    font-size: 0.9em;
    color: var(--primary-dark);
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .other-reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* style.css */

/* Add these styles to your existing style.css */

.care-home-comparison {
    padding: 60px 0;
    background-color: var(--primary-dark); /* Dark purple background */
    color: var(--text-light);
    text-align: center;
}

.care-home-comparison-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.care-home-comparison h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.care-home-comparison-intro {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
}

.care-home-details {
    text-align: left;
    margin-bottom: 30px;
}

.care-home-details p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.comparison-table {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    width: 90%; /* Reduced table width */
    margin-left: auto;
    margin-right: auto;
}

.comparison-table h3 {
    font-size: 1.3em;
    padding: 15px; /* Reduced padding */
    text-align: center;
    background-color: rgba(255, 255, 255, 0.2);
    margin-top: 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th

,
.comparison-table td {
    padding: 10px 15px; /* Reduced padding */
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em; /* Reduced font size */
}

.comparison-table th {
    font-weight: bold;
    text-align: center;
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    font-weight: bold;
}

.tick svg {
    fill: var(--rating-green);
    display: block;
    margin: 0 auto;
    width: 20px; /* Reduced icon size */
    height: 20px;
}

.cross svg {
    fill: var(--accent);
    display: block;
    margin: 0 auto;
    width: 20px; /* Reduced icon size */
    height: 20px;
}

.maybe svg {
    fill: var(--secondary-light);
    display: block;
    margin: 0 auto;
    width: 20px; /* Reduced icon size */
    height: 20px;
}

.care-home-comparison-contact .button {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
    padding: 10px 20px; /* Reduced button padding */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.care-home-comparison-contact .button svg {
    width: 18px; /* Reduced icon size */
    height: 18px;
}

/* Responsive adjustments for smaller tables */
@media (max-width: 600px) {
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
        font-size: 0.8em;
    }
}


/* style.css */

/* Add these styles to your existing style.css */

.personal-approach {
    padding: 60px 0;
    background-color: var(--background-white); /* White background */
    color: var(--text-dark); /* Dark text for white background */
}

.personal-approach-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.personal-approach-image {
    flex: 1 0 40%;
    margin-right: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.personal-approach-image img {
    width: 100%;
    height: auto;
    display: block;
}

.personal-approach-text {
    flex: 1 0 50%;
}

.personal-approach-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--primary-dark); /* Dark heading for white background */
}

.personal-approach-text p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-dark); /* Dark paragraph text */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .personal-approach-container {
        flex-direction: column;
    }
    .personal-approach-image {
        width: 80%;
        margin: 0 auto 30px;
    }
    .personal-approach-text {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }
}

/* style.css */

/* Add these styles to your existing style.css */

.faq {
    padding: 60px 0;
    background-color: var(--primary-dark); /* Dark purple background */
    color: var(--text-light);
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 15px 0;
    font-size: 1em;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question svg {
    transition: transform 0.3s ease-in-out;
}

.faq-question.open svg {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 15px 0;
    font-size: 0.95em;
    line-height: 1.6;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-contact {
    margin-top: 30px;
}

.faq-contact .button {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.faq-contact .button:hover {
    background-color: darken(var(--secondary-light), 10%);
}

/* JavaScript to handle FAQ toggling (add this to your script file or a <script> tag) */
const faqQuestions = document.querySelectorAll('.faq-question');

faqQuestions.forEach(question => {
    question.addEventListener('click', () => {
        question.classList.toggle('open');
        const answer = question.nextElementSibling;
        answer.style.maxHeight = answer.style.maxHeight ? null : answer.scrollHeight + 'px';
    });
});


/* style.css */

/* Add these styles to your existing style.css */

footer {
    background-color: var(--background-white); /* White background */
    color: var(--text-dark); /* Dark text */
    padding: 40px 0;
    border-top: 1px solid var(--border-light); /* Light top border */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top in each row */
}

.footer-logo {
    display: none;  
    flex: 1 0 20%;
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 150%;
    height: auto;
}

.footer-navigation {
    flex: 2 0 40%;
    display: flex;
    justify-content: flex-start;
}

.footer-column {
    flex: 1 0 auto; /* Distribute columns evenly */
    min-width: 120px;
    margin-right: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--primary-dark); /* Dark heading */
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-column ul li a {
    color: var(--text-dark); /* Dark link text */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.footer-column ul li a:hover {
    color: var(--secondary-light); /* Highlight on hover */
}

.footer-contact {
    flex: 1 0 30%;
    min-width: 200px;
    margin-bottom: 20px;
    text-align: left;
}

.footer-contact h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--primary-dark); /* Dark heading */
}

.footer-contact p {
    margin-bottom: 6px;
    font-size: 0.95em;
}

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

.footer-contact a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid var(--border-light); /* Light border */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
}

.footer-bottom p {
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--secondary-light);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-logo {
        margin-bottom: 100px;
        text-align: center;
    }
    .footer-navigation {
        width: 80%;
        margin-bottom: 30px;
        justify-content: space-around;
    }
    .footer-column {
        flex: 1 0 auto;
        min-width: auto;
        margin-right: 15px;
        text-align: center;
    }
    .footer-contact {
        width: 80%;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .footer-navigation {
        flex-direction: column;
        align-items: center;
    }
    .footer-column {
        margin-right: 0;
    }
}