

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

/* 1. Set the base font for the whole site */
html, body {
    font-family: 'Open Sans', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Set the 'Designed' font for all headings */
h1, h2, h3, h4, .nav-links a, .btn {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 600;
}
body {
   
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth
}



.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1.5rem;
    overflow: hidden;
}

.section {
    padding: 1.5rem 0;
}

/* Making sure links jump to the right spot considering fixed 70px height navbar */
html {
  scroll-padding-top: 70px; /* An alternative that applies to the whole scroll container */
}
/* Or target the elements directly, which offers more control */
.section-anchor {
  scroll-margin-top: 70px; /* The offset to push the target below the navbar */
}

.bg-light { background: #f8edfb; }
.bg-dark { background: #333; color: #fff; }
.text-center { text-align: center; }

/* Navbar */
.navbar {
    background: #fff;
    height: 70px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: #6311b1;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #6311b1;
}

/* Hero Section */
.hero {
    background: url('images/hero.jpg') no-repeat center center/cover;
                 /*linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), */
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 4.4rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }

.btn {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover { background: #0056b3; }

/* Grid Layouts */
.grid-2{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* The 3-Column Container */
.grid-3-media {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/*container for facebook embed*/
.iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 100%; /* Aspect Ratio (height/width * 100) */
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* The Individual Column (Flexbox) */
.info-card {
    display: flex;
    align-items: flex-start; /* Aligns items to the top */
    gap: 1rem;
    padding: 1rem;
}

.card-image img {
    width: 60px; /* Adjust size as needed */
    height: 60px;
    border-radius: 50%; /* Optional: Makes the image a circle */
    object-fit: cover;
}

.card-content h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    color: #333;
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Responsive: Stack on mobile */
@media (max-width: 992px) {
    .grid-3-media {
        grid-template-columns: 1fr; /* Stacks columns vertically */
    }
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.gallery-item {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* Masonry Layout */
.masonry-gallery {
    column-count: 3; /* 3 columns on desktop */
    column-gap: 15px;
    width: 100%;
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.masonry-item img {
    width: 100%;
    height: auto; /* Keeps the original aspect ratio */
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

/* Purple Hover Effect */
.masonry-item:hover {
    transform: scale(1.03);
    border-color: var(--primary-purple);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.masonry-item:hover img {
    filter: grayscale(0%);
}

/* Responsive Columns */
@media (max-width: 992px) {
    .masonry-gallery {
        column-count: 2; /* 2 columns on tablets */
    }
}

@media (max-width: 600px) {
    .masonry-gallery {
        column-count: 1; /* 1 column on mobile */
    }
}


/* Feature Rows */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1rem;
}

/* This class flips the order */
.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    
    margin-bottom: 1rem;
    color: #333;
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .feature-row, 
    .feature-row.reverse {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 2rem;
        text-align: center;
        
    }
}
/* Footer */
footer {
    padding: 2rem;
    background: #222;
    color: #fff;
    text-align: center;
}

/* Responsive Breakdown */
@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 { font-size: 2.5rem;
}
  /* Mobile Menu Logic */
.menu-icon {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
}

.menu-icon span {
    height: 3px;
    width: 25px;
    background: #333;
    margin-bottom: 4px;
    border-radius: 2px;
    transition: 0.3s;
}

.icon-box {
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #007bff;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.icon-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.icon-box p {
    font-size: 0.95rem;
    color: #666;
}

/* Responsive adjustments for 4 columns */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
    }
}

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}
    
/* Main Feature Row (Zig-Zag) */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-image, .feature-text {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Inner 4-Column Grid (2x2) */
.inner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates two columns of text */
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.column h4 {
    color: #007bff;
    margin-bottom: 0.5rem;
}

.column p {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Handling */
@media (max-width: 992px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .inner-grid {
        text-align: left; /* Keeps text readable on mobile */
    }
}

@media (max-width: 500px) {
    .inner-grid {
        grid-template-columns: 1fr; /* Stacks the 4 small columns on tiny screens */
    }
}
    
/* 4-Column Feature Grid */
.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 20px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #007bff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-wrap {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 15px;
    opacity: 0.3;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7); /* Black background with opacity */
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

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

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.btn-sm {
    margin-top: 1rem;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #007bff;
    color: #007bff;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-sm:hover {
    background: #007bff;
    color: #fff;
}
/* Responsive Rules */
@media (max-width: 1024px) {
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columns */
    }
}

@media (max-width: 600px) {
    .grid-4-col {
        grid-template-columns: 1fr; /* Mobile: 1 column */
    }
    .hero {background: url('images/heromin.jpg') no-repeat center center/cover;}
}
/* Tablet & Mobile Styles */
@media (max-width: 768px) {
    .menu-icon {
        display: flex; /* Show icon on mobile */
    }

    .nav-links {
        display: none; /* Hide links by default */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        text-align: center;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex; /* Show links when "active" class is added */
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links li a {
        margin-left: 0;
        font-size: 1.2rem;
    }

    /* Animation for the X icon when open */
    .menu-icon.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-icon.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-icon.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
    /* Scroll to Top Button /
.scroll-btn {
    display: none; /* Hidden by default *
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    width: 50px;
    height: 50px;
    transition: opacity 0.3s, background-color 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}*/

.scroll-btn:hover {
    background-color: #0056b3;
}
    
    /* Google Maps Styles */
.map-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-container iframe {
    display: block; /* Removes bottom gap */
}
    /* Testimonials Slider */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    text-align: center;
    padding: 2rem;
    min-height: 200px;
}

.testimonial-slide {
    display: none; /* Hide all slides */
    animation: fadeIn 0.5s ease-in-out;
}

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

.quote {
    font-size: 1.4rem;
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.slider-nav {
    margin-top: 2rem;
}

.nav-arrow {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 10px;
    transition: background 0.3s;
}

.nav-arrow:hover {
    background: #0056b3;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
    /* Active Link Styling */
.nav-links li a.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}
    

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}}

/* Birds Slideshow container */
.slideshow-wrapper {
    max-width: 800px;
    position: relative;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Hide slides by default */
.mySlides {
    display: none;
}

/* Image styling */
.mySlides img {
    border-radius: 12px;
    object-fit: cover;
    height: auto; /* Fixed height for desktop */
}

/* Text Overlay */
.text-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #7f06b8;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #f6f6f6;
}

/* Responsive height for mobile 
@media (max-width: 900px) {
    .mySlides img { height: auto; }
    .text-overlay { 
        left: 10px; 
        bottom: 10px; 
        right: 10px; 
        max-width: 100%;
    }
}*/

/* PURPLE--------------------------*/
/* --- Purple Theme Variables --- */
:root {
    --primary-purple: #6c5ce7;    /* Vibrant Amethyst for Buttons/Links */
    --dark-purple: #2d3436;       /* Near-black with purple tint for text */
    --deep-purple: #4834d4;       /* Darker Purple for Hover states */
    --light-purple: #fcf7ff;      /* Very soft purple for section backgrounds */
    --accent-purple: #a29bfe;     /* Soft lilac for borders and dividers */
}

/* Update Buttons */
.btn, .btn-sm, .nav-arrow, .next-img, .prev-img, #scrollToTop {
    background-color: var(--primary-purple) !important;
    color: white !important;
    border: none;
    transition: background 0.3s ease;
}

.btn:hover, .btn-sm:hover, #scrollToTop:hover {
    background-color: var(--deep-purple) !important;
}

/* Update Navigation Active Link & Scroll Spy */
.nav-links li a.active {
    color: var(--primary-purple) !important;
    border-bottom: 2px solid var(--primary-purple) !important;
}

/* Update Icons and Numbers */
.icon-wrap, .column h4 {
    color: var(--primary-purple) !important;
}

/* Update Carousel/Slideshow Active Dots */
.dot.active {
    background-color: var(--primary-purple) !important;
}

/* Section Accents */
.bg-light {
    background-color: var(--light-purple) !important;
}

/* Feature Cards on Hover */
.feature-card:hover {
    border-color: var(--primary-purple) !important;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1) !important;
}


/* Navigation Buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px; /* Centers buttons vertically */
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.4);
  text-decoration: none;
}

.next {
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color: white;
}




.main-footer {
    width: 100%;
    background-color: #2b204c; /* Deep, dark purple/navy */
    color: #ffffff;
    padding: 20px 0 20px 0;
    margin-top: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: var(--accent-purple); /* Light lilac for headings */
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #d1d1d1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--primary-purple);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-socials a {
    color: white;
    font-size: 1.2rem;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.footer-socials a:hover {
    background: var(--primary-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
}