/* === GENERAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #88c9a1;
    /* Pastel green */
    --primary-dark: #5aaf78;
    /* Darker pastel green for hover states */
    --secondary-color: #ffcf96;
    /* Pastel orange/peach */
    --secondary-dark: #ffbd6f;
    /* Darker peach for hover states */
    --accent-color: #ffafcc;
    /* Pastel pink */
    --accent-dark: #ff8eb4;
    /* Darker pink for hover */
    --light-color: #fbf8ff;
    /* Very light lavender */
    --dark-color: #6d8b74;
    /* Muted forest green */
    --gray-color: #8e8e98;
    --white-color: #ffffff;
    --success-color: #a0e4b0;
    --warning-color: #ffe499;
    --error-color: #ffafaf;
    --light-purple: #bde0fe;
    /* Pastel light blue */
    --light-yellow: #fff2b2;
    /* Pastel light yellow */

    /* Font settings */
    --heading-font: 'Comic Sans MS', 'Marker Felt', cursive;
}

body {
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="2" fill="%23FFCF96" opacity="0.3"/><circle cx="50" cy="10" r="2" fill="%23FFAFCC" opacity="0.3"/><circle cx="90" cy="10" r="2" fill="%23BDE0FE" opacity="0.3"/><circle cx="10" cy="50" r="2" fill="%23BDE0FE" opacity="0.3"/><circle cx="50" cy="50" r="2" fill="%23FFCF96" opacity="0.3"/><circle cx="90" cy="50" r="2" fill="%23FFAFCC" opacity="0.3"/><circle cx="10" cy="90" r="2" fill="%23FFAFCC" opacity="0.3"/><circle cx="50" cy="90" r="2" fill="%23BDE0FE" opacity="0.3"/><circle cx="90" cy="90" r="2" fill="%23FFCF96" opacity="0.3"/></svg>');
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before {
    content: "";
    position: absolute;
    width: 40%;
    height: 10px;
    background: linear-gradient(90deg, var(--light-purple), var(--accent-color), var(--secondary-color));
    bottom: -10px;
    left: 30%;
    border-radius: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #664400;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 207, 150, 0.4);
    border: 2px solid var(--secondary-color);
    font-family: var(--heading-font);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 207, 150, 0.6);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: #004430;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(136, 201, 161, 0.4);
    border: 2px solid var(--primary-color);
    font-family: var(--heading-font);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(136, 201, 161, 0.6);
}

.link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

.link:hover {
    color: var(--dark-color);
}

.required {
    color: var(--error-color);
}

/* === HEADER === */
.header {
    background-color: var(--primary-color);
    color: #004430;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(136, 201, 161, 0.5);
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease-in-out;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    font-size: 1.7rem;
    margin: 0;
    font-family: var(--heading-font);
    color: #004430;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.navbar {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 25px;
}

.nav-list a {
    padding: 5px 0;
    position: relative;
    color: #004430;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: #002a1d;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 3px;
    width: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.mobile-menu-btn {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-yellow);
    padding: 15px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(255, 242, 178, 0.5);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    margin-bottom: 15px;
}

.mobile-nav-list a {
    display: block;
    padding: 10px 15px;
    color: #004430;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    color: #002a1d;
    background-color: rgba(255, 255, 255, 0.3);
}
/* Location Section Styles */
.location {
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

/* Map Styles - Mobile First Approach */
.map-placeholder {
    width: 100%;
    max-width: 600px;
}

.mapouter {
    position: relative;
    text-align: right;
    width: 100%;
    height: 300px; /* Reduced height for mobile */
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    width: 100%;
    height: 100%;
}

.gmap_iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 8px;
}

/* Address Styles */
.address {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    text-align: left;
}

.address i {
    color: #007bff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.address p {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .location-details {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }
    
    .map-placeholder {
        flex: 1;
    }
    
    .address {
        flex: 1;
        max-width: none;
    }
    
    .mapouter {
        height: 350px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .mapouter {
        height: 400px;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .mapouter {
        height: 250px;
    }
    
    .address {
        padding: 15px;
    }
    
    .address p {
        font-size: 1rem;
    }
}
/* === HERO SECTION === */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/home/miniature-highland-collage-banner.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* === FEATURES SECTION === */
.features {
    padding: 5%;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    background-color: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.7);
}

.feature-card:nth-child(1) {
    border-top: 5px solid var(--accent-color);
}

.feature-card:nth-child(2) {
    border-top: 5px solid var(--light-purple);
}

.feature-card:nth-child(3) {
    border-top: 5px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin: 20px 20px 10px;
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
}

.feature-card p {
    margin: 0 20px 20px;
    color: var(--gray-color);
}

.feature-card .link {
    margin: 0 20px 20px;
    display: inline-block;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-purple);
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,10 Q50,0 70,10 T100,30 Q110,50 100,70 T70,100 Q50,110 30,100 T0,70 Q-10,50 0,30 T30,10" stroke="%23FFFFFF" fill="none" stroke-width="2" opacity="0.2"/></svg>');
    background-size: 300px 300px;
    position: relative;
    overflow: hidden;
}

.testimonials::before,
.testimonials::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.testimonials::before {
    background-color: var(--accent-color);
    top: -50px;
    left: -50px;
}

.testimonials::after {
    background-color: var(--secondary-color);
    bottom: -50px;
    right: -50px;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.7);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 100px;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray-color);
    position: relative;
    padding-left: 25px;
}

.testimonial-card .quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--primary-color);
}

/* === NEWSLETTER SECTION === */
.newsletter {
    padding: 80px 0;
    background-color: var(--light-color);
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M20,50 C20,50 35,20 50,20 C65,20 80,50 80,50 C80,50 65,80 50,80 C35,80 20,50 20,50 Z" stroke="%23FFAFCC" fill="none" stroke-width="1" opacity="0.3"/><circle cx="50" cy="50" r="5" fill="%23FFAFCC" opacity="0.3"/></svg>');
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--gray-color);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    flex-direction: column;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 175, 204, 0.3);
}

.newsletter-form button {
    padding: 12px 24px;
}

.newsletter-form button i {
    margin-left: 8px;
}

/* === VALUES SECTION === */
.values {
    padding: 80px 0;
    background-color: #f5f9f5;
}

.value-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.7);
}

.value-card:nth-child(1) {
    background-color: rgba(255, 175, 204, 0.1);
}

.value-card:nth-child(2) {
    background-color: rgba(189, 224, 254, 0.1);
}

.value-card:nth-child(3) {
    background-color: rgba(255, 207, 150, 0.1);
}

.value-card::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    top: -75px;
    right: -75px;
    opacity: 0.1;
    z-index: 0;
}

.value-card:nth-child(1)::before {
    background-color: var(--accent-color);
}

.value-card:nth-child(2)::before {
    background-color: var(--light-purple);
}

.value-card:nth-child(3)::before {
    background-color: var(--secondary-color);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.value-card:nth-child(1) i {
    color: var(--accent-dark);
}

.value-card:nth-child(2) i {
    color: var(--primary-dark);
}

.value-card:nth-child(3) i {
    color: #d49344;
}

.value-card h3 {
    font-size: 1.5rem;
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.value-card p {
    color: var(--gray-color);
}

/* === LOCATION SECTION === */
.location {
    padding: 80px 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Map Section */
.map-section {
    position: relative;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.map-container {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 12px;
}

/* Overlay Card */
.map-overlay {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.hours-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.hours-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #555;
}

.day {
    font-weight: 600;
}

.time {
    font-style: italic;
}

.hours-note p {
    margin: 5px 0;
    font-size: 14px;
    color: #777;
    text-align: center;
}

.hours-btn {
    display: block;
    text-align: center;
    margin: 20px auto 0;
    padding: 10px 20px;
    background-color: #2e7d32;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hours-btn:hover {
    background-color: #1b5e20;
}

/* Responsive */
@media (max-width: 768px) {
    .hours-grid {
        grid-template-columns: 1fr;
    }

    .hours-card {
        padding: 20px;
    }
}

.address {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.address i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* === CONTACT FORM === */
.contact-cta {
    padding: 80px 0;
    background-color: #f5f9f5;
}

.contact-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--gray-color);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--light-purple);
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 175, 204, 0.3);
    background-color: #fff;
}

.form-note {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--gray-color);
}

.contact-form button {
    width: 100%;
}

/* === FOOTER === */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0 20px;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,20 C40,10 60,10 70,20 C80,30 80,50 70,60 C60,70 40,70 30,60 C20,50 20,30 30,20 Z" stroke="%23FFFFFF" fill="none" stroke-width="1" opacity="0.1"/></svg>');
    background-size: 150px 150px;
    position: relative;
    border-top: 5px solid var(--primary-color);
}

.footer::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 5px solid var(--white-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-about p {
    margin: 15px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 50%;
    z-index: -1;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover {
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover::before {
    transform: scale(1);
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -8px;
    left: 0;
    border-radius: 3px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-hours p {
    margin-bottom: 10px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* === MEDIA QUERIES === */
@media (min-width: 768px) {
    .navbar {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.5rem;
    }

    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* .newsletter-form {
        flex-direction: row;
    } */

    .newsletter-form input {
        margin-bottom: 0;
        margin-right: 10px;
        border-radius: 4px 0 0 4px;
    }

    .newsletter-form button {
        border-radius: 0 4px 4px 0;
    }

    .value-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero {
        height: 70vh;
    }
}