/*
Theme Name: ITCS Custom Theme
Theme URI: https://www.itcs.co.uk/
Author: ITCS
*/

/* ===== BUTTON FIXES (ONLY CHANGES MADE) ===== */
/* Base button style that applies everywhere */
.btn.btn-primary {
    background-color: #638F40 !important;
    color: white !important;
    border: 2px solid #638F40 !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.btn.btn-primary:hover {
    background-color: #4a6b30 !important;
    border-color: #4a6b30 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

/* Hero slider button variation */
.modern-hero-slider .btn-primary {
    background: rgba(99, 143, 64, 0.9) !important;
    border-color: white !important;
}

.modern-hero-slider .btn-primary:hover {
    background: transparent !important;
    color: white !important;
}

/* Contact Form 7 button variation */
.wpcf7 .btn-primary {
    background: linear-gradient(45deg, #4a6b57, #305940) !important;
    border: none !important;
}

/* Dark background section buttons */
.form-bg-light .btn-primary {
    background-color: #323a45 !important;
    border-color: #323a45 !important;
}

.form-bg-light .btn-primary:hover {
    background-color: #1f242b !important;
}

/* Accommodation card buttons */
.acc-view-more {
    background: #638F40 !important;
    border: none !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.acc-view-more:hover {
    background: #4a6b30 !important;
    transform: translateY(-2px) !important;
}

/* ====== HERO SLIDER ====== */
/* ====== MODERN HERO SLIDER ====== */
/* ====== MODERN HERO SLIDER ====== */
.modern-hero-slider {
    position: relative;
    height: 100vh;
    max-height: 1080px;
    overflow: hidden;
}

.modern-hero-slider .swiper-container {
    width: 100%;
    height: 100%;
}
.banner-title{
    font-size: 2.5rem;
}
.modern-hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.modern-hero-slider .slide-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 8s ease-out;
    transform: scale(1);
}

.modern-hero-slider .swiper-slide-active .slide-bg {
    transform: scale(1.1);
}

.modern-hero-slider .slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.modern-hero-slider .slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 60px 0;
    color: #fff;
}

.modern-hero-slider .slide-content h1 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.3s;
}

.modern-hero-slider .slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.5s;
}

.modern-hero-slider .slide-content .btn {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.7s;
}

.modern-hero-slider .swiper-slide-active .slide-content h1,
.modern-hero-slider .swiper-slide-active .slide-content p,
.modern-hero-slider .swiper-slide-active .slide-content .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Arrows */
.modern-hero-slider .swiper-button-next,
.modern-hero-slider .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    color: white;
}

.modern-hero-slider .swiper-button-next:hover,
.modern-hero-slider .swiper-button-prev:hover {
    background: rgba(255,255,255,0.3);
}

.modern-hero-slider .swiper-button-next::after,
.modern-hero-slider .swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}

/* Pagination */
.modern-hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.modern-hero-slider .swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .modern-hero-slider .slide-content h1 {
        font-size: 3rem;
    }
    
    .modern-hero-slider .slide-content p {
        font-size: 1.25rem;
    }
    
    .modern-hero-slider {
        height: 80vh;
    }
}

@media (max-width: 768px) {
    .modern-hero-slider .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .modern-hero-slider .slide-content p {
        font-size: 1.1rem;
    }
    
    .modern-hero-slider .swiper-button-next,
    .modern-hero-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .modern-hero-slider .swiper-button-next::after,
    .modern-hero-slider .swiper-button-prev::after {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .modern-hero-slider .slide-content h1 {
        font-size: 2rem;
    }
    
    .modern-hero-slider .slide-content {
        text-align: center;
    }
    
    .modern-hero-slider .slide-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .modern-hero-slider {
        height: 70vh;
    }
}
/* ====== ABOUT SECTION ====== */
.about-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
   
}
a.btn.custom-btn {
    border: #638f40 2px solid;
}
/* ====== FEATURE BOXES ====== */
.feature-boxes {
    display: flex;
    gap: 30px;
 
}

.feature-box {
    flex: 1;
    padding: 30px;
    background: #638f40;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #fff;
}

.feature-box:hover {
    transform: translateY(-10px);
}

/* ====== TESTIMONIALS ====== */
.testimonials-section {
    background: #638F40;
    padding: 80px 0;
    color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

/* ====== CONTACT CTA ====== */
.contact-cta {
    text-align: center;
    padding: 80px 0;
    background: #f9f9f9;
}

.contact-cta .btn {
    margin-top: 20px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .about-section .container {
        flex-direction: column;
    }
    
    .feature-boxes {
        flex-direction: column;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== cotact form 7 ====== */
.wpcf7 input.form-control,
.wpcf7 textarea.form-control,
.wpcf7 select.form-control {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  box-shadow: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.wpcf7 input.form-control:focus,
.wpcf7 textarea.form-control:focus,
.wpcf7 select.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.1rem rgba(0,123,255,.25);
}

/* ===== Color Scheme ===== */
:root {
    --primary: #4A6B57;       /* Nature green */
    --primary-dark: #3A5545;
    --primary-light: #5B7F67;
    --secondary: #E3B04B;     /* Warm accent */
    --dark: #2C2C2C;
    --light: #F8F8F8;
    --white: #FFFFFF;
    --gray: #E8E8E8;
    --text: #333333;
}

/* ===== Hero Section ===== */
.acc-hero-section {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: url('https://via.placeholder.com/1920x600') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.acc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.acc-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.acc-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease;
}

.acc-hero-text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.3s both;
}

/* ===== Accommodation Listing ===== */
.acc-listing-section {
    padding: 80px 0;
    background: var(--light);
}

.acc-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.acc-card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.acc-card-body {
    padding: 20px;
}

.acc-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.acc-card-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ===== Pagination ===== */
.acc-pagination {
    margin-top: 40px;
    text-align: center;
}

.acc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.acc-pagination .page-numbers.current {
    background: var(--primary);
    color: var(--white);
}

.acc-pagination .page-numbers:hover {
    background: var(--primary-light);
    color: var(--white);
}

.acc-pagination .prev,
.acc-pagination .next {
    font-size: 1.2rem;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
    .acc-hero-title {
        font-size: 2.5rem;
    }

    .acc-hero-text {
        font-size: 1rem;
    }

    .acc-card-image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .acc-hero-section {
        height: 40vh;
        min-height: 300px;
    }

    .acc-hero-title {
        font-size: 2rem;
    }

    .acc-card-title {
        font-size: 1.25rem;
    }

    .acc-card-image {
        height: 180px;
    }
}

@media (max-width: 820px) {
.cutom-small{
padding-bottom: 30px;
}}
@media (max-width: 820px) {
.custom-bg-dark{ padding: 20px;}}



@media (max-width: 575px) {
    .acc-hero-title {
        font-size: 1.75rem;
    }

    .acc-listing-section {
        padding: 40px 0;
    }

    .acc-card {
        margin-bottom: 20px;
    }
}
.no-padding {
    padding: 0 !important;
    margin: 0 !important;
  }
  
/* Google Map Section */
.map-section.google-maps {
    width: 100%;
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
}

.custom-map-wrapper {
    width: 100%;
    height: 55vh; /* Using viewport height for responsive sizing */
    min-height: 500px; /* Minimum height */
    overflow: hidden;
    position: relative;
}

.custom-map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

.map-overlay-box {
    position: absolute;
    z-index: 10;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    min-width: 300px;
    max-width: 500px;
    padding: 40px 30px;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .map-overlay-box {
        width: 35%;
    }
}

@media (max-width: 992px) {
    .custom-map-wrapper {
        height: 60vh;
        min-height: 400px;
    }
    
    .map-overlay-box {
        width: 40%;
        padding: 30px 20px;
    }
}

@media (max-width: 700px) {
    .custom-map-wrapper {
        height: 50vh;
        min-height: 350px;
    }
    
    .map-overlay-box {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 25px 15px;
    }
}
.contact-info {
    color: white;
    font-size: 24px;
    line-height: 1.6;
  }
  
  .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
  }
  
  .contact-item i {
    margin-right: 12px;
    margin-top: 3px; /* Aligns icon with first line of text */
    flex-shrink: 0;
  }
  
  .contact-text {
    flex: 1;
  }

  .btn-custom {
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}
.custom-foo {
    list-style: none;       
    padding: 0;          
    margin: 0;          
  }
  
  .custom-foo a {
    color: inherit;       
    text-decoration: none; 
  }
  :root {
    --primary: #2a5d34;
    --primary-dark: #1e4527;
    --primary-light: #3a7d47;
    --secondary: #f8f9fa;
    --accent: #d4a017;
    --text: #333;
    --text-light: #777;
    --light: #f8f9fa;
    --dark: #343a40;
    --border: #e9ecef;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* ===== Base Styles ===== */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.container {
    max-width: 1200px;
}

/* ===== Professional Banner - Updated for Vertical Centering ===== */
.professional-banner {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    color: white;
    margin-bottom: 30px;
}

.banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

/* New wrapper for perfect centering */
.banner-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  background: rgba(26, 26, 26, 0.4); /* Semi-transparent dark */
  backdrop-filter: blur(12px); /* Apply blur to background behind */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2); /* Optional: subtle border for glass look */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Optional: soft shadow */
}
@media (max-width: 768px) {
  .banner-content {
    padding: 20px;
    max-width: 95%;
    font-size: 0.95rem; /* Optional: adjust text size if needed */
  }
}

.banner-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInDown 1s ease;
    text-transform: uppercase;
}

.banner-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.banner-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Breadcrumb Navigation ===== */
.breadcrumb-nav {
    padding: 15px 0;
    background-color: var(--light);
    margin-bottom: 50px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* ===== Main Content ===== */
.professional-main {
    padding: 60px 0;
}

.content-section {
    margin-bottom: 60px;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-size: 2.2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

/* ===== Grid Gallery ===== */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.expand-btn {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* ===== Contact Form ===== */
.form-container {
    background: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

/* ===== Professional Sidebar ===== */
.professional-sidebar {
    position: sticky;
    top: 30px;
}

.info-card {
    background: white;
    border-radius: 6px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
}

.card-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 500;
}

.card-header i {
    margin-right: 10px;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.booking-widget {
    background: white;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    text-align: center;
}

.booking-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.sidebar-block {
    background: white;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.sidebar-block h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* ===== Booking Popup ===== */
.booking-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.booking-popup.show {
    display: flex;
}

.popup-container {
    background: white;
    border-radius: 8px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.popup-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.popup-header h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.popup-body {
    padding: 20px;
}

.booking-widget-container {
    min-height: 500px;
}

.booking-info {
    background: var(--light);
    border-radius: 6px;
    padding: 20px;
    height: 100%;
}

.info-header {
    position: relative;
    margin-bottom: 15px;
    text-align: center;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.2rem;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-popup:hover {
    color: var(--accent);
}

/* ===== Enhanced Lightbox Gallery ===== */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-lightbox.show {
    display: flex;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-container {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
    overflow: auto;
    margin-bottom: 15px;
    background: #000;
    border-radius: 6px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    cursor: move;
    transition: transform 0.3s ease;
}

.lightbox-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.lightbox-controls button {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-controls button:hover {
    background: var(--accent);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    max-width: 80%;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--accent);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Dragging state */
.lightbox-image.dragging {
    cursor: grabbing;
}

/* Fullscreen mode */
.gallery-lightbox.fullscreen .lightbox-image-container {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.gallery-lightbox.fullscreen .lightbox-image {
    max-width: 100vw;
    max-height: 100vh;
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
    .professional-banner {
        height: 70vh;
        min-height: 500px;
    }
    
    .banner-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 767px) {
    .professional-banner {
        height: 60vh;
        min-height: 400px;
    }
    
    .banner-title {
        font-size: 2.2rem;
    }
    
    .banner-text {
        font-size: 1rem;
    }
    
    .popup-body .col-md-4 {
        margin-top: 20px;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 575px) {
    .professional-banner {
        height: 70vh;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .grid-gallery {
        grid-template-columns: 1fr;
    }
    
    .popup-container {
        max-height: 95vh;
    }
    
    .lightbox-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .lightbox-controls button {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
.custom-bg-dark{
    background-color: #5f833b;
    padding: 30px;
}
.btn-group-lg>.btn, .btn-lg {
    padding: .5rem 1rem;
    font-size: 1 rem;
    line-height: 1.5;
    border-radius: .3rem;
}

/* Simplified Styling */
.social-icon-link i {
    color: rgba(42, 93, 52, 0.8);
    transition: color 0.3s ease;
}

.social-icon-link:hover i {
    color: rgba(42, 93, 52, 1); /* Slightly stronger on hover */
}



.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin: 50px 0;
}

.form-section,
.info-section {
    background: white;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header i {
    font-size: 2.5rem;
    color: #2a5d34;
    margin-bottom: 15px;
}

.info-card {
    margin-bottom: 30px;
    padding: 20px;
    border-left: 3px solid #d4a017;
}

.emergency-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.nature-map {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nature-hero {
        padding: 60px 0;
    }
}

.custom-foo {
    list-style: none;
   padding: 10px 0px;
    margin: 0;
}

.glide__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* Allow clicks only on buttons */
}

.glide__arrow {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.6rem 1rem;
      margin: 0 -1.4rem;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.3s ease, transform 0.2s ease;
}

.glide__arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.glide__arrow:active {
  transform: scale(0.95);
}

.glide__arrow span {
  display: inline-block;
  line-height: 1;
}
.custom-spacing {
padding: 50px 0px;
}
.cus-bg-dark{
    background-color: #5f833b;
    padding: 0px;
}
.social-icon-link i {
    color: rgba(42, 93, 52, 0.8);
    transition: color 0.3s ease;
}

.social-icon-link:hover i {
    color: rgba(42, 93, 52, 1);
    /* Slightly stronger on hover */
}


.nature-hero {
    background: linear-gradient(rgba(42, 93, 52, 0.8), rgba(42, 93, 52, 0.9)),
        url('<?php echo get_template_directory_uri(); ?>/assets/images/contact-bg.jpg');
    padding: 80px 0;
    text-align: center;
    color: white;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: #d4a017;
    margin: 20px auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin: 50px 0;
}

.form-section,
.info-section {
    background: white;
   padding: 20px 5px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header i {
    font-size: 2.5rem;
    color: #2a5d34;
    margin-bottom: 15px;
}

.info-card {
    margin-bottom: 30px;
    padding: 20px;
    border-left: 3px solid #d4a017;
}

.emergency-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.nature-map {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nature-hero {
        padding: 60px 0;
    }
}
.custom-foo a:hover {
  color: #ffd700; /* Gold color on hover */
}
/* Contact Items Styling */
.contact-item {
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-item i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
    display: inline-block;
    text-align: center;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 767px) {
    .contact-item {
        margin-bottom: 12px;
        font-size: 15px;
    }
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* allows wrapping on small screens */
    max-width: 100%;
}


.contact-item i {
  color: #ffffff; /* Optional: brand green */
  font-size: 1rem;
  min-width: 20px;
  margin-top: 4px;
}

.contact-item .contact-text {
  line-height: 1.6;
  
}

.contact-text {
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
}
.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-text a {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    word-wrap: break-word;
    text-decoration: none; /* optional: for cleaner look */
    color: inherit; /* optional: inherit color */
}
/* ===== Color Scheme ===== */

/* ===== Hero Section ===== */
.acc-hero-section {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: url('https://via.placeholder.com/1920x600') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.acc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.acc-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.acc-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease;
}

.acc-hero-text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.3s both;
}

/* ===== Accommodation Listing ===== */
.acc-listing-section {
    padding: 80px 0;
    background: var(--light);
}

.acc-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.acc-card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.acc-card-body {
    padding: 20px;
}

.acc-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.acc-card-text {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.acc-view-more {
    background: var(--primary);
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.acc-view-more:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== Pagination ===== */
.acc-pagination {
    margin-top: 40px;
    text-align: center;
}

.acc-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.acc-pagination .page-numbers.current {
    background: var(--primary);
    color: var(--white);
}

.acc-pagination .page-numbers:hover {
    background: var(--primary-light);
    color: var(--white);
}

.acc-pagination .prev,
.acc-pagination .next {
    font-size: 1.2rem;
}

/* Add this to your existing styles */
.acc-card-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 250px); /* Adjust based on your image height */
}

.acc-card-text {
    flex-grow: 1; /* Makes the text take up available space */
}

.acc-view-more {
    margin-top: auto; /* Pushes the button to the bottom */
    align-self: flex-start; /* Aligns button to the left */
}
/* ===== Animations ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Styles ===== */
@media (max-width: 991px) {
    .acc-hero-title {
        font-size: 2.5rem;
    }

    .acc-hero-text {
        font-size: 1rem;
    }

    .acc-card-image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .acc-hero-section {
        height: 40vh;
        min-height: 300px;
    }

    .acc-hero-title {
        font-size: 2rem;
    }

    .acc-card-title {
        font-size: 1.25rem;
    }

    .acc-card-image {
        height: 180px;
    }
}

@media (max-width: 575px) {
    .acc-hero-title {
        font-size: 1.75rem;
    }

    .acc-listing-section {
        padding: 40px 0;
    }

    .acc-card {
        margin-bottom: 20px;
    }
}
.nature-hero {
    background: linear-gradient(rgba(42, 93, 52, 0.8), rgba(42, 93, 52, 0.9)),
        url('http://heronstonelodges.itcscloud.co.uk/wp-content/themes/itcsweb/assets/images/contact-bg.jpg');
    padding: 80px 0;
    text-align: center;
    color: white;
}
.hero-divider {
    width: 60px;
    height: 2px;
    background: #d4a017;
    margin: 20px auto;
}

.banner-title {
    display: inline;
    color: #fff;
    background: linear-gradient(90deg, #638f40b3, #323a45ad);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 4px;
    line-height: 1.4;
}

@media (min-width: 1200px) {
    .custom-banner {
        padding-right: 17%;
    }
}

.fb-responsive-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* Adjust this for aspect ratio, e.g., 100% = square */
    height: 0;
    overflow: hidden;
}

.fb-responsive-wrapper .fb-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}