/* Enhanced color palette with variables for better consistency */
:root {
    --primary: #5B3A29;
    --primary-dark: #3E2C1C;
    --primary-light: rgba(91, 58, 41, 0.15);
    --accent: #c99233;
    --accent-transparent: #c99233;
    --accent-light: #e2d2b4;
    --accent-dark: #d6b77e;
    --text-on-light: #5B3A29;
    --text-on-dark: #ffffff;
    --body-font: 'Nunito', 'Avenir', sans-serif;
    --heading-font: "HoofSans Blak SC W00 Regular", sans-serif;
    --mono-font: 'Courier New', Courier, monospace;
    --border-radius: 25px;
    --border-radius-sm: 10px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Global styles with improved typography */
body {
    padding-top: 100px;
    background-color: var(--accent);
    font-family: var(--body-font);
    color: var(--text-on-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

img {
    border-radius: var(--border-radius);
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.theme-radius {
    border-radius: var(--border-radius) !important;
}

/* Enhanced Navbar */
.navbar {
    background: var(--accent-transparent) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(91, 58, 41, 0.1);
    transition: var(--transition);
}

.navbar-brand img {
    
    border-radius: 0;
    transition: var(--transition);
}

.navbar-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    transform: translateX(-10%);
}

.navbar-nav .nav-link {
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 5px;
    color: var(--primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Improved Section Titles */

.section-title-x {
    font-family: var(--heading-font) !important;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary);
    padding: 20px 0;
    letter-spacing: 2px;
    text-align: left;
    position: relative;
}

.section-title {
    font-family: var(--heading-font) !important;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary);
    padding: 20px 0;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Adjust as needed */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}


/* Enhanced Cards */
.card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(91, 58, 41, 0.2);
}

.card-title {
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 2.9rem;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    gap: 20px;
    padding: 20px;
}

.card-desc {
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-on-light);
    text-align: left;
    line-height: 1.7;
    max-width: 80%;
    flex: 3;
}

.card-number {
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 4.5rem;
    color: var(--primary-dark);
    text-align: right;
    flex: 1;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Location badges and tags with improved styling */
.location-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    padding: 4px 12px;
    font-size: 0.75rem;
    margin-bottom: 10px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(91, 58, 41, 0.1);
    transition: var(--transition);
}

.location-badge:hover {
    background-color: rgba(91, 58, 41, 0.25);
    transform: translateY(-2px);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.tag {
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    padding: 2px 8px;
    font-size: 0.7rem;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary);
    color: white;
}

/* Enhanced carousel */
.carousel-inner {
    height: 90vh;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.carousel-item {
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

@media (min-width: 1024px) { 
    .carousel-item {
        max-height: 600px;
    }
}


.carousel-item .row {
    height: 100%;
    margin: 0;
}

.carousel-item .col-md-6 {
    height: 100%;
    padding: 15px;
}

.img-container-left {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.img-container-left img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.img-container-left:hover img {
    transform: scale(1.03);
}

.content-container-right {
    height: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.card-text-wrapper {
    flex-grow: 0;
    padding-bottom: 20px;
}

.bottom-image-container {
    flex-grow: a 0;
    margin-top: auto;
    height: 40%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.bottom-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.bottom-image-container:hover img {
    transform: scale(1.03);
}

/* Map section improvements */
.map-section {
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 30px 0;
}

.map-image {
    display: block;
    width: 100%;
    transition: transform 0.5s ease;
}

.map-section:hover .map-image {
    transform: scale(1.02);
}

.pin-colors-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20%;
    max-width: 150px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow);
}

/* Improved Join Us section */
.join-us-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    background-color: var(--accent);
}

.split-container {
    display: flex;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
    transition: var(--transition);
}

.form-side {
    flex: 1;
    padding: 60px;
    background: white;
}

.form-side h2 {
    font-family: 'Montserrat', var(--body-font);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

.form-side h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.form-side p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-container input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: var(--transition);
}

.form-container input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 58, 41, 0.1);
}

.form-container button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text-on-dark);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.form-container button::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: all 0.6s ease;
}

.form-container button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(91, 58, 41, 0.3);
}

.form-container button:hover::before {
    left: 100%;
}

.graphic-side {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 60px;
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
}

.graphic-side::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.graphic-side h1 {
    font-family: 'Montserrat', var(--body-font);
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: fadeIn 2s ease-in-out;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.footer-container {
    background-color: var(--accent);
    padding: 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
   
    color: var(--primary);
    position: relative;
    text-align: center; /* Ensure text elements are centered */
}


.footer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%; /* Move the starting point to the center */
    transform: translateX(-50%); /* Center the element */
    width: 90%; /* Adjust the width as needed */
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark), var(--primary));
}

.logo-section {
    display: flex;
    flex-direction: column; 
    justify-content: flex-end; /* Align items to the left */
}

.logo-link {
    margin-right: 20px; /* Add some space between the logo and contact info */
}

.contact-info {
    text-align: left; /* Ensure text inside contact-info is aligned to the left */
}

.logo {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
}

.logo span {
    display: block;
    font-style: italic;
    font-size: 38px;
    line-height: 0.8;
}

.contact-info {
    margin-top: 20px;
    font-size: 15px;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.contact-info p:hover {
    transform: translateX(5px);
}

.contact-info i {
    margin-right: 15px;
    width: 20px;
    color: var(--primary);
}

.contact-info .phone {
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
    color: var(--primary-dark);
}

.social-icons {
    display: flex;
    margin-top: 20px;
    gap: 15px;
}

.social-icons i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    font-size: 18px;
    transition: var(--transition);
}

.social-icons i:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.links-section, .support-section  {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
}

.links-list, .support-list  {
    list-style: none;
    text-align: center;
    padding: 0;
}

.links-list li, .support-list li {
    margin-bottom: 12px;
    transition: var(--transition);
    display: block;
}

.links-list li:hover, .support-list li:hover {
    transform: translateX(5px);
}

.links-list a, .support-list a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.links-list a::after, .support-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.links-list a:hover, .support-list a:hover {
    color: var(--primary-dark);
}

.links-list a:hover::after, .support-list a:hover::after {
    width: 100%;
}

.newsletter-section {
    flex: 1;
    min-width: 250px;
    padding: 0 20px;
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    background-color: rgba(94, 72, 48, 0.1);
    color: var(--primary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(94, 72, 48, 0.6);
}

.newsletter-form input:focus {
    background-color: rgba(94, 72, 48, 0.15);
    outline: none;
    box-shadow: 0 0 0 3px rgba(94, 72, 48, 0.1);
}

.newsletter-form button {
    width: 100%;
    padding: 15px;
    background-color: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.newsletter-form button::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: all 0.6s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(91, 58, 41, 0.3);
}

.newsletter-form button:hover::before {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        transform: translateX(0);
        gap: 15px;
    }
    
    .carousel-inner {
        height: auto;
    }
    
    .card-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-number {
        text-align: left;
        margin-top: 10px;
    }
    
    .card-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .graphic-side {
        order: -1;
        padding: 40px;
    }

    .graphic-side h1 {
        font-size: 3rem;
    }

    .form-side {
        padding: 40px;
    }
    
    .footer-container {
        padding: 40px 10px;
    }
    
    .logo-section, .links-section, .support-section, .newsletter-section {
        min-width: 100%;
        padding: 0 10px 20px 10px;
    }
}

/* Animation enhancements */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-custom {
    border: 2px solid var(--primary);
    padding: 12px 24px;
    font-weight: bold;
    color: var(--primary);
    background-color: transparent;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.btn-custom:hover {
    color: white;
}

.btn-custom:hover::before {
    transform: scaleX(1);
}

.hero-section {
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.section-divider-line {
    width: 50%;
    align-self: center;
    height: 2px; /* Adjust thickness of the line */
    background-color: wheat; /* Adjust color to match your design */
    margin: 40px auto; /* Adjust spacing above and below the line */
}



.footer-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centering */
    gap: 200px; /* Space between sections */
}

@media (max-width: 768px) { /* Mobile view */
    .footer-links-container {
        flex-direction: row; /* Force them in one row */
        justify-content: space-between;
         /* Space between the lists */
         gap: 20px !important;
    }

    .links-section, .support-section {
        flex: 1;
        min-width: 150px; /* Adjust to fit smaller screens */
        margin-bottom: 10px;
    }
}





/* Base styles for all screen sizes */
.navbar-nav-container {
    width: 100%;
  }
  
  .navbar-nav {
    margin: 0 auto;
  }
  
  /* Mobile specific styles */
  @media (max-width: 991px) {
    .navbar-brand img {
      width: 100px;
    }
    
    .nav-link {
      font-size: 0.9rem;
      padding: 0.25rem 0.5rem;
    }
  }
  
  /* PC specific styles */
  @media (min-width: 992px) {
    .nav-link {
      padding: 0.5rem 1rem;
    }
  }
    
    
.mapview{


    height: 400px; border-radius: 10px;  

}

@media (max-width: 991px) { /* Apply only to mobile view */
    .navbar {
        transition: transform 0.3s ease-in-out;
    }
}

@media (min-width: 1024px) {

    .mapview{


margin: 10%;  

}

}
.marker {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }
  
  .marker::before,
  .marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: pulse 2s infinite; /* Slower animation duration */
  }
  
  .marker::after {
    animation-delay: 1s; /* Offset for a more dynamic effect */
  }
  
  .marker-purple::before {

    background-color: rgba(	128, 0, 128, 0.2);
  }
  
  .marker-purple::after {

    background-color: rgba(	128, 0, 128, 0.5);
  }
  
  .marker-pink::before {
    background-color: rgba(233, 30, 99, 0.2);
  }
  
  .marker-pink::after {
    background-color: rgba(233, 30, 99, 0.5);
  }
  
  .marker-yellow::before {
    background-color: rgba(253, 223, 1, 0.2);
  }
  
  .marker-yellow::after {
   
    background-color: rgba(253, 223, 1, 0.5);
  }
  .marker-green::before {
background-color: rgba(76, 175, 80, 0.2); /* Light green */
}

.marker-green::after {
background-color: rgba(76, 175, 80, 0.5); /* Darker green */
}

  .marker-blue::before {

    background-color: rgba(134, 182,1, 0.2);
  }
  
  .marker-blue::after {
    background-color: rgba(134, 182,1, 0.5);
  }
  
  @keyframes pulse {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
    }
    100% {
      transform: translate(-50%, -50%) scale(2.5);
      opacity: 0;
    }
  }
