/* Custom CSS for Website Name Website */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ===========================================
   NEWS DETAILS PAGE STYLES
   =========================================== */

/* Text Justification Styles */
.blog-details__content .text-justify,
.blog-details__content .text-justify p,
.blog-details__content .text-justify div,
.blog-details__content .text-justify span {
    text-align: justify !important;
    text-justify: inter-word;
}

/* Sidebar Widget Styles */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sidebar-widget .title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.sidebar-widget .title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #2c3e50;
    border-radius: 1px;
}

/* CTA Box Styles */
.cta-box {
    background: #ffffff;
    border: 1px solid #e9ecef;
    color: #333;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.cta-box:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cta-box .title {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-box .text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-buttons .btn-two,
.cta-buttons .btn-three {
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-bottom: 10px;
}

.cta-buttons .btn-two {
    background: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.cta-buttons .btn-two:hover {
    background: #34495e;
    border-color: #34495e;
    transform: translateY(-1px);
}

.cta-buttons .btn-three {
    background: transparent;
    color: #2c3e50;
    border-color: #2c3e50;
}

.cta-buttons .btn-three:hover {
    background: #2c3e50;
    color: white;
    transform: translateY(-1px);
}

/* Quick Contact Form Styles */
.sidebar-contact-form {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
}

.sidebar-contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: white;
}

.sidebar-contact-form .form-control:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15);
    outline: none;
}

.sidebar-contact-form .btn-two {
    background: #2c3e50;
    color: white;
    border: 1px solid #2c3e50;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-contact-form .btn-two:hover {
    background: #34495e;
    border-color: #34495e;
    transform: translateY(-1px);
}

/* Author Meta Styles */
.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

/* Article Meta Footer - End of Article */
.article-meta-footer {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.article-meta-footer .blog-details__meta {
    margin-bottom: 0;
}

.article-meta-footer .author-meta {
    margin-bottom: 8px;
}

.article-meta-footer .author-thumbnail {
    width: 45px;
    height: 45px;
    border: 2px solid #e9ecef;
}

.article-meta-footer .author-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.article-meta-footer .blog-details__meta li i {
    color: #666;
    margin-right: 8px;
}

.author-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e9ecef;
}

.author-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.author-designation {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Sidebar Styles */
.sidebar {
    position: relative;
}

.sidebar-contact-form {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    position: relative;
    z-index: 1;
}

/* Ensure floating buttons are always on top */
.floating-contact-icons {
    z-index: 9999 !important;
}

.floating-icon {
    z-index: 9999 !important;
}

/* ===========================================
   SERVICE DETAIL PAGE STYLES
   =========================================== */

/* Service Sidebar Styles */
.service-sidebar .sidebar-widget {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.service-sidebar .sidebar-widget:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.service-sidebar .sidebar-widget .title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.service-sidebar .sidebar-widget .title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #2c3e50;
    border-radius: 1px;
}

.sidebar-service-list .address {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-service-list .address li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.sidebar-service-list .address li:last-child {
    border-bottom: none;
}

.sidebar-service-list .address li i {
    color: #2c3e50;
    width: 20px;
    text-align: center;
}

.sidebar-service-list .address li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-service-list .address li a:hover {
    color: #2c3e50;
}

/* Text Justification Styles for Services */
.services-details__content .text-justify,
.services-details__content .text-justify p,
.services-details__content .text-justify div,
.services-details__content .text-justify span {
    text-align: justify !important;
    text-justify: inter-word;
}

/* ===========================================
   HEADER DROPDOWN STYLES
   =========================================== */

/* Increase dropdown width for better service names display */
.main-menu .navigation > li > ul {
    width: 350px !important;
    min-width: 380px;
}

.main-menu .navigation > li > ul > li > a {
    padding: 12px 20px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

/* Ensure dropdown doesn't break on smaller screens */
@media (max-width: 768px) {
    .main-menu .navigation > li > ul {
        width: 280px !important;
        min-width: 280px;
    }
}

/* ===========================================
   FLOATING CONTACT ICONS STYLES
   =========================================== */

/* Floating Contact Icons Styles */
.floating-contact-icons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
}

.floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.floating-icon:active {
    transform: scale(0.95);
}

/* Phone Icon */
.phone-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
    animation-delay: 0s;
}

.phone-icon:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}

/* WhatsApp Icon */
.whatsapp-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation-delay: 0.5s;
}

.whatsapp-icon:hover {
    background: linear-gradient(135deg, #128c7e, #0f7a6b);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
.floating-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Tooltip */
.floating-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.floating-icon:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Ripple Effect */
.floating-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-icon:active::after {
    width: 100px;
    height: 100px;
}

/* Ripple Effect Animation */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced hover effects */
.floating-icon:hover {
    animation-play-state: paused;
}

.floating-icon:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Smooth transitions */
.floating-contact-icons {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Bounce Animation on Load */
.floating-icon {
    animation: float 3s ease-in-out infinite, bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(90deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Staggered Animation */
.phone-icon {
    animation-delay: 0s;
}

.whatsapp-icon {
    animation-delay: 0.3s;
}

/* ===========================================
   RECAPTCHA STYLES
   =========================================== */

/* reCAPTCHA Widget Styling */
.g-recaptcha {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

/* reCAPTCHA Error Styling */
.g-recaptcha + .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* reCAPTCHA Container Styling */
.type-feild .g-recaptcha {
    margin: 0;
    justify-content: flex-start;
}

.form-group .g-recaptcha {
    margin: 0;
    justify-content: flex-start;
}

/* reCAPTCHA Label Styling */
.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

/* reCAPTCHA Error State */
.is-invalid + .g-recaptcha {
    border: 1px solid #dc3545;
    border-radius: 4px;
    padding: 10px;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* General Responsive */
@media (max-width: 991px) {
    .sidebar-widget {
        margin-bottom: 20px;
    }
    
    .cta-box {
        padding: 20px;
    }
    
    .sidebar-contact-form {
        padding: 20px;
        position: static; /* Disable sticky on mobile */
    }
}

/* Mobile Author Meta Layout */
@media (max-width: 768px) {
    .article-meta-footer {
        padding: 15px;
        margin-top: 20px;
    }
    
    .article-meta-footer .blog-details__meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
    
    .article-meta-footer .blog-details__meta li {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 8px !important;
    }
    
    .article-meta-footer .author-meta {
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 0 !important;
    }
    
    .article-meta-footer .author-thumbnail {
        width: 35px !important;
        height: 35px !important;
        flex-shrink: 0 !important;
    }
    
    .article-meta-footer .author-details {
        flex: 1 !important;
    }
    
    .article-meta-footer .author-name {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    
    .article-meta-footer .blog-details__meta li i {
        margin-right: 8px !important;
        color: #666 !important;
    }
}

/* Floating Icons Responsive */
@media (max-width: 768px) {
    .floating-contact-icons {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-tooltip {
        right: 60px;
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .floating-icon:hover .floating-tooltip {
        right: 65px;
    }
    
    .floating-icon:active {
        transform: scale(0.9);
    }
    
    .floating-icon:hover {
        transform: scale(1.05);
    }
}

/* Statistics Section Styles */
.stats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stat-item {
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

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

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-text {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* Custom car icon styling */
.car-icon {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Logo background styling */
.logo-bg {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Navigation hover effects */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #FCD34D;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active navigation link */
.nav-link.active {
    color: #FCD34D;
}

.nav-link.active::after {
    width: 100%;
}

/* Button hover effects */
.btn-primary {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Service card hover effects */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #FCD34D;
}

/* Mobile menu animation */
.mobile-menu {
    transition: all 0.3s ease;
}

/* Footer social icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: #FCD34D;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F59E0B;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hero section background */
.hero-bg {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 50%, #D97706 100%);
}

/* Text shadow for better readability */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Custom focus styles */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.5);
}

/* Responsive typography */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseSlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

.animate-slide-in-up {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
    opacity: 0;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulseSlow 2s ease-in-out infinite;
}

.animate-fade-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-right {
    animation: slideInRight 0.8s ease-out forwards;
    opacity: 0;
}

/* Animation Delays */
.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-500 {
    animation-delay: 0.5s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

.animation-delay-800 {
    animation-delay: 0.8s;
}

/* Intersection Observer Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

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

/* Smooth Transitions */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Gallery Styles */
.masonry-grid {
    column-count: 4;
    column-gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.gallery-image:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Filter Buttons */
.filter-btn.active {
    background-color: #FCD34D !important;
    color: #000 !important;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #FCD34D;
}

#lightbox-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.lightbox-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    pointer-events: auto;
    transition: background-color 0.3s ease;
}

.lightbox-btn:hover {
    background-color: rgba(252, 211, 77, 0.8);
}

.lightbox-caption {
    text-align: center;
    color: white;
    padding: 20px 0;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 15px;
    }
    
    .lightbox-content {
        width: 95%;
    }
    
    .lightbox-close {
        font-size: 30px;
        top: -30px;
    }
    
    .lightbox-btn {
        font-size: 20px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        column-count: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Gallery Overlay Styles */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

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

.gallery-content {
    color: white;
    width: 100%;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.gallery-description {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
    margin: 0;
}

/* Footer Logo Styling */
.footer .logo img {
    background-color: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.footer .logo img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Background Image Styles */
.hero-with-bg-image {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Override the existing background color */
.hero-with-bg-image .banner-slider {
    background-color: transparent !important;
    min-height: 100vh;
}

.hero-with-bg-image .banner-slider .banner-slide {
    min-height: 100vh;
}

/* Hide the existing pseudo-elements that might interfere */
.hero-with-bg-image .banner-slider .banner-slide:before,
.hero-with-bg-image .banner-slider .banner-slide:after {
    display: none !important;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-color: #2d5a5a; /* Fallback color */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 100, 96, 0.7) 0%, rgba(0, 100, 96, 0.5) 50%, rgba(0, 100, 96, 0.3) 100%);
    z-index: 1;
}

/* Ensure content is above the background */
.hero-with-bg-image .banner-slider .banner-slide .outer-box {
    position: relative;
    z-index: 2;
}

/* Adjust existing banner styles for better visibility over background */
.hero-with-bg-image .banner-section-six .banner-slider .banner-slide .outer-box .stroke-title {
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hero-with-bg-image .banner-section-six .banner-slider .content-column .content-info .title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-with-bg-image .banner-section-six .banner-slider .info-column .text2 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-background-image {
        background-position: center right;
    }
}

@media (max-width: 767.98px) {
    .hero-background-image {
        background-position: center;
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(0, 100, 96, 0.8) 0%, rgba(0, 100, 96, 0.6) 50%, rgba(0, 100, 96, 0.4) 100%);
    }
}
