/* 
* NailKnot - Carpentry & Woodworking Services
* Main Stylesheet - Exact Match to Original Template
*/

/* Fix for scrolling issues - ensure scrollbar is always visible */
html {
  overflow-y: scroll !important; /* Force scrollbar to always be visible */
  scrollbar-width: thin; /* For Firefox */
  scrollbar-gutter: stable; /* Reserves space for scrollbar */
  overflow-x: hidden;
  width: 100%;
  margin-right: 0 !important; /* Prevent margin adjustments when scrollbar appears */
}

body {
  overflow: auto;
  overflow-x: hidden;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Allow horizontal overflow when dropdown is active */
body.dropdown-active {
  overflow-x: visible !important;
}

html.dropdown-active {
  overflow-x: visible !important;
}

/* Reset any fixed positioning that might cause scrollbar issues */
.fixed-position {
  position: absolute !important;
}

/* Fix for video container */
.hero-video-container {
  overflow: hidden !important;
  height: 100%;
}

@media (max-width: 767px) {
  .hero-video-container {
    min-height: 600px; /* Ensure video container is tall enough on mobile */
  }
  
  .hero-video-container video {
    min-height: 600px; /* Ensure video is tall enough on mobile */
    object-fit: cover;
  }
}

/* Services Dropdown Styles - Matching index.html */
.dropdown {
    position: relative;
    display: inline-block;
}

.nav-menu .dropdown {
    position: relative;
    overflow: visible;
}

.nav-menu-container {
    position: relative;
    overflow: visible;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 180%;
    transform: translateX(-50%);
    width: 100vw;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    box-shadow: 0px 8px 32px 0px rgba(0,0,0,0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 1002;
    padding: 40px 0;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.dropdown-content.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%);
}

.dropdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.dropdown-item {
    flex: 1;
    max-width: 280px;
    min-height: 280px;
    border-radius: 25px;
    border: 2px solid rgba(128, 128, 128, 0.5);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.dropdown-item::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 28px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: 0;
}

.dropdown-content.show .dropdown-item:nth-child(1) { animation: slideInFromRight 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards; }
.dropdown-content.show .dropdown-item:nth-child(2) { animation: slideInFromRight 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards; }
.dropdown-content.show .dropdown-item:nth-child(3) { animation: slideInFromRight 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards; }
.dropdown-content.show .dropdown-item:nth-child(4) { animation: slideInFromRight 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards; }
.dropdown-content.show .dropdown-item:nth-child(5) { animation: slideInFromRight 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards; }

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    transition: background 0.3s ease;
    z-index: 1;
}

.dropdown-item:hover {
    border-color: rgba(199, 161, 122, 1);
}

.dropdown-item:hover::after {
    box-shadow: 0 0 25px rgba(199, 161, 122, 0.4);
}

.dropdown-item[style*="background-image"] {
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
}

.dropdown-item[style*="background-image"]::after {
    background-image: inherit;
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
}

.dropdown-item:hover::before {
    background: linear-gradient(135deg, rgba(199, 161, 122, 0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.dropdown-item-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
    text-align: left;
    margin-left: -15px;
}

.dropdown-item-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-item:hover .dropdown-item-title {
    color: #C7A17A;
    transform: translateY(-2px);
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes smoothSlideUp {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.dropdown-content.exit {
    animation: smoothSlideUp 0.2s ease-out forwards;
    pointer-events: none;
}

/* Desktop and Laptop Media Queries for Services Dropdown */

/* Large Desktop Screens (1920px and above) */
@media (min-width: 1920px) {
    .dropdown-grid {
        max-width: 1600px;
        gap: 50px;
        padding: 0 40px;
    }
    
    .dropdown-item {
        max-width: 300px;
        min-height: 300px;
    }
}

/* Standard Desktop Screens (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .dropdown-grid {
        max-width: 1400px;
        gap: 40px;
        padding: 0 30px;
    }
    
    .dropdown-item {
        max-width: 280px;
        min-height: 280px;
    }
    
    .dropdown-item-title {
        font-size: 16px;
    }
}

/* Laptop Screens (1366px - 1439px) */
@media (min-width: 1366px) and (max-width: 1439px) {
    .dropdown-grid {
        max-width: 1300px;
        gap: 35px;
        padding: 0 25px;
    }
    
    .dropdown-item {
        max-width: 260px;
        min-height: 260px;
    }
    
    .dropdown-item-title {
        font-size: 13px;
    }
}

/* Standard Laptop Screens (1200px - 1365px) */
@media (min-width: 1200px) and (max-width: 1365px) {
    .dropdown-grid {
        max-width: 1150px;
        gap: 30px;
        padding: 0 20px;
    }
    
    .dropdown-item {
        max-width: 240px;
        min-height: 240px;
    }
    
    .dropdown-item-title {
        font-size: 15px;
    }
}

/* Small Laptop Screens (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .dropdown-grid {
        max-width: 1100px;
        gap: 30px;
        padding: 0 20px;
    }
    
    .dropdown-item {
        max-width: 220px;
        min-height: 220px;
    }
    
    .dropdown-item-title {
        font-size: 12px;
    }
}

/* Tablet responsive for dropdown */
@media (min-width: 992px) and (max-width: 1023px) {
    
    .dropdown-grid {
        max-width: 1000px;
        gap: 25px;
        padding: 0 20px;
    }
    
    .dropdown-item {
        max-width: 200px;
        min-height: 200px;
    }
    
    .dropdown-item-title {
        font-size: 15px;
    }
}

/* Mobile responsive for dropdown */
@media (max-width: 991px) {
    .dropdown-content {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        background: rgba(255, 255, 255, 0) !important;
        backdrop-filter: blur(20px) saturate(1.5) !important;
        -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
        border: none !important;
        box-shadow: 
            0 8px 32px rgba(31, 38, 135, 0.37),
            inset 0 1px 2px rgba(255, 255, 255, 0.15) !important;
        padding: 20px 0;
    }
    
    .dropdown-grid {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .dropdown-item {
        max-width: 100%;
        min-height: 200px;
    }
    
    .dropdown-item-content {
        padding: 20px;
    }
    
    .dropdown-item-title {
         font-size: 20px;
     }
 }
 
 /* Mobile Services Container - Advanced Grid Layout */
 .mobile-services-container {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(255, 255, 255, 0) !important;
     backdrop-filter: blur(20px) saturate(1.5) !important;
     -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
     border: none !important;
     box-shadow: 
         0 8px 32px rgba(31, 38, 135, 0.37),
         inset 0 1px 2px rgba(255, 255, 255, 0.15) !important;
     z-index: 10001;
     opacity: 0;
     transform: translateX(100%);
     transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
     padding: 15px;
     box-sizing: border-box;
     overflow-y: hidden;
     max-height: 650px;
 }
 
 .mobile-services-container.active {
     opacity: 1;
     transform: translateX(0);
 }
 
 .mobile-services-header {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 15px;
     padding-bottom: 12px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.2);
 }
 
 .mobile-services-content {
     width: 100%;
     padding-bottom: 30px;
     min-height: 620px;
     position: relative;
     z-index: 10001;
 }
 
 .mobile-services-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 12px;
     width: 100%;
     max-width: 380px;
     margin: 0 auto;
     min-height: 480px;
     position: relative;
     z-index: 10002;
     padding-bottom: 10px;
 }
 
 .mobile-services-grid .mobile-service-item:last-child {
     grid-column: 1 / -1;
     max-width: 200px;
     margin: 0 auto;
     width: 100%;
 }
 
 .mobile-service-item {
     display: block;
     position: relative;
     height: 160px;
     border-radius: 10px;
     overflow: hidden;
     text-decoration: none;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     box-shadow: 0 3px 12px rgba(0,0,0,0.1);
 }
 
 .mobile-service-bg {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     image-rendering: -webkit-optimize-contrast;
     image-rendering: high-quality;
     image-rendering: smooth;
     -webkit-filter: blur(0) contrast(1.05) brightness(1.02);
     filter: blur(0) contrast(1.05) brightness(1.02);
     -webkit-backface-visibility: hidden;
     backface-visibility: hidden;
     -webkit-transform: translateZ(0) scale(1.001);
     transform: translateZ(0) scale(1.001);
     will-change: transform;
     z-index: 1;
 }
 
 .mobile-service-item:hover {
     transform: translateY(-3px);
     text-decoration: none;
     box-shadow: 0 8px 25px rgba(0,0,0,0.2);
 }
 
 .mobile-service-item-content {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     background: linear-gradient(transparent, rgba(0,0,0,0.8));
     padding: 20px 12px 12px;
     color: white;
     z-index: 2;
 }
 
 .mobile-service-item-content h3 {
     margin: 0;
     font-size: 12px;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 0.6px;
     line-height: 1.2;
     text-align: center;
     color: white;
     text-shadow: 0 1px 3px rgba(0,0,0,0.6);
 }
 
 .mobile-services-back-btn {
     display: flex;
     align-items: center;
     padding: 0;
     color: white;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 1px;
     text-decoration: none;
     font-size: 14px;
     background: none;
     border: none;
     cursor: pointer;
 }
 
 .mobile-services-back-btn i {
     margin-right: 8px;
     font-size: 16px;
 }
 
 .mobile-services-back-btn:hover {
     color: #C7A17A;
     text-decoration: none;
 }
 
 .mobile-services-title {
     margin: 0;
     font-size: 18px;
     font-weight: 700;
     color: white;
     text-align: center;
     flex: 1;
 }
 
 /* Menu container animations */
 .mobile-menu-container {
     position: relative;
     overflow: visible;
     transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
     min-height: 300px;
 }
 
 .mobile-menu.services-expanded .mobile-menu-container {
     min-height: 650px;
     height: 650px;
     overflow: hidden;
 }
 
 .mobile-menu-content {
     transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
 }
 
 .mobile-menu-content.slide-left {
     transform: translateX(-100%);
     opacity: 0;
 }
 
 /* Header center logo styles */
.header-center {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-center a {
    display: inline-block;
}

.header-center img {
    max-height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Mobile Services Dropdown Styles - Legacy Support */
 .mobile-dropdown {
     position: relative;
 }
 
 .mobile-dropdown > a {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }
 
 .mobile-dropdown > a i {
     transition: transform 0.3s ease;
 }
 
 .mobile-dropdown.active > a i {
     transform: rotate(180deg);
 }
 
 .mobile-services-dropdown {
     display: none;
     background: rgba(255, 255, 255, 0) !important;
     backdrop-filter: blur(20px) saturate(1.5) !important;
     -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
     border: none !important;
     box-shadow: 
         0 8px 32px rgba(31, 38, 135, 0.37),
         inset 0 1px 2px rgba(255, 255, 255, 0.15) !important;
     padding: 10px 0;
     margin-top: 10px;
     border-radius: 8px;
 }
 
 .mobile-services-dropdown.show {
     display: block;
     animation: slideDown 0.3s ease;
 }
 
 .mobile-services-dropdown a {
     display: block;
     padding: 12px 20px;
     color: white;
     text-decoration: none;
     font-size: 14px;
     font-weight: 600;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     transition: all 0.3s ease;
     border-left: 3px solid transparent;
 }
 
 .mobile-services-dropdown a:hover {
     color: #C7A17A;
     background-color: rgba(199, 161, 122, 0.1);
     border-left-color: #C7A17A;
     padding-left: 25px;
 }
 
 @keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile header styles */
.mobile-header {
    display: none;
    background-color: transparent;
    padding: 10px 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-header.services-expanded {
    animation: headerExpand 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transform-origin: center top;
    transition: none; /* Disable transition during animation */
}

.mobile-header.services-shrinking {
    animation: headerShrink 0.3s ease-out forwards;
    transition: none; /* Disable transition during animation */
}

.mobile-header.services-expanded.services-shrinking {
    animation: headerShrink 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transition: none; /* Disable transition during animation */
}

.mobile-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

@keyframes headerExpand {
    0% {
        transform: scaleY(1);
    }
    30% {
        transform: scaleY(1.05);
    }
    100% {
        transform: scaleY(1);
    }
}

@keyframes headerShrink {
    0% {
        transform: scaleY(1);
    }
    100% {
        transform: scaleY(1);
    }
}

.mobile-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.mobile-logo img {
    max-height: 60px;
}

.mobile-menu-icon {
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-icon i {
    transition: transform 0.3s ease;
}

.mobile-menu-icon.active i {
    transform: rotate(90deg);
}

.mobile-cart-icon {
    color: white;
    font-size: 20px;
    margin-left: 15px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    box-shadow: 0px 8px 32px 0px rgba(0,0,0,0.15), 
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    padding: 10px 20px;
    border-bottom: 0px solid rgba(255, 255, 255, 0.1);
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.mobile-menu.active ul li {
    transform: translateX(0);
    opacity: 1;
}

/* Staggered animation delays */
.mobile-menu ul li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu ul li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu ul li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu ul li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu ul li:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu ul li:nth-child(6) { transition-delay: 0.6s; }
.mobile-menu ul li:nth-child(7) { transition-delay: 0.7s; }

.mobile-menu ul li a {
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    display: block;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .new-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
    }
    
    .hero-area {
        padding-top: 0;
        height: 700px; /* Reduced from 880px to 700px for mobile view */
    }
    
    .hero-content {
        margin-top: 80px; /* Increased from 30px to 80px to move content lower */
        text-align: center; /* Center text on mobile */
        padding: 0; /* Remove padding */
    }
    
    /* Center the hero buttons on mobile */
    .hero-btns {
        justify-content: center;
        margin-top: 20px;
        padding: 0; /* Remove padding */
    }
    
    /* Make the hero column take full width and center its content */
    .hero-area .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: center;
        padding: 0 15px; /* Reduce horizontal padding */
    }
    
    /* Reduce container padding */
    .hero-area .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Hide paragraphs in feature items for mobile view */
    .feature-content p {
        display: none;
    }
    
    /* Reduce spacing in feature items */
    .feature-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    /* Adjust heading spacing in feature items */
    .feature-content h3 {
        margin-bottom: 0;
    }
}

/* Original styles */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
  }
@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@700&family=Roboto:wght@400&display=swap');

/* ===== VARIABLES ===== */
:root {
    --primary-color: #9F8059;
    --secondary-color: #302418;
    --dark-color: #1C1007;
    --light-color: #F7F7F7;
    --body-color: #555555;
    --white-color: #FFFFFF;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --transition: all 0.3s ease-in-out;
}
/*header css*/

/* Container width for proper layout */
.custom-width {
  max-width: 1480px;
}
@media only screen and (min-width: 1200px) and (max-width: 1500px) {
  .custom-width {
    max-width: 1370px;
  }
}
.custom-width__2 {
  max-width: 1430px;
}
@media only screen and (min-width: 1200px) and (max-width: 1500px) {
  .custom-width__2 {
    max-width: 1370px;
  }
}

.custom-padding {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
@media (max-width: 575px) {
  .custom-padding {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}

/* Site header styles from main.css - prefixed to avoid conflicts */
.main-header .site-header {
  position: relative;
  z-index: 99;
}

.main-header .site-header__3 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

@media (max-width: 1199px) {
  .main-header .site-header__3 {
    position: relative;
  }
}

@media (max-width: 991px) {
  .main-header .site-header__3 {
    background-color: #1C1007;
  }
}

.main-header .site-header__3 .wrapper {
  position: relative;
}

.main-header .site-header__4 {
  position: relative;
}

@media (max-width: 1199px) {
  .main-header .site-header__4 {
    position: relative;
  }
}

/* Header top styles from main.css - prefixed to avoid conflicts */
.main-header .header-top {
  padding: 15px 0px;
  border-bottom: 1px solid #32323D;
}

@media (max-width: 1199px) {
  .main-header .header-top__left {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .main-header .header-top__left .logo {
    display: none;
  }
}

@media (max-width: 767px) {
  .main-header .header-top__right {
    margin-top: 10px;
    flex-direction: column;
    justify-content: center;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main-header .header-top__right {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

.main-header .header-top__right a {
  text-decoration: none;
}

.main-header .header-top__right .tel {
  color: #ffffff;
  font-size: 18px;
}

.main-header .header-top__right .tel i {
  color: #C7A17A;
  padding-right: 15px;
  font-size: 19px;
}

/* Header button styles */
.main-header .site-btn {
  font-size: 12px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 2px;
  background: #C7A17A;
  padding: 9.5px 34px;
  text-decoration: none;
  border-radius: 5px;
  position: relative;
  z-index: 1;
  display: inline-block;
  border: 1px solid #C7A17A;
  font-weight: 500;
}

@media (max-width: 767px) {
  .main-header .site-btn {
    padding: 9.5px 30px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main-header .site-btn {
    padding: 9.5px 34px;
  }
}

.main-header .header-top__right .site-btn {
  margin-left: 40px;
}

@media (max-width: 1199px) {
  .main-header .header-top__right .site-btn {
    margin-left: 20px;
  }
}

@media (max-width: 767px) {
  .main-header .header-top__right .site-btn {
    margin-left: 0px;
    margin-top: 20px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main-header .header-top__right .site-btn {
    margin-left: 40px;
    margin-top: 0px;
  }
}

@media (max-width: 1199px) {
  .main-header .header-top__right--2 {
    margin-top: 20px;
  }
}

.main-header .header-top__2 {
  border-color: #E2DFDD;
}

.main-header .header-top__2 .site-btn {
  margin-left: 100px;
}

@media (max-width: 1199px) {
  .main-header .header-top__2 .site-btn {
    margin-left: 50px;
  }
}

@media (max-width: 767px) {
  .main-header .header-top__2 .site-btn {
    margin-left: 0px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main-header .header-top__2 .site-btn {
    margin-left: 50px;
  }
}

.main-header .header-top__infos {
  padding-left: 75px;
}

@media (max-width: 991px) {
  .main-header .header-top__infos {
    padding-left: 55px;
  }
}

@media (max-width: 767px) {
  .main-header .header-top__infos {
    padding-left: 15px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main-header .header-top__infos {
    flex-direction: row;
    align-items: center;
  }
}

.main-header .header-top__infos li {
  display: flex;
  align-items: center;
  line-height: 1;
  color: #ffffff;
  font-weight: 400;
}

.main-header .header-top__infos li:not(:last-child) {
  margin-right: 40px;
}

@media (max-width: 767px) {
  .main-header .header-top__infos li:not(:last-child) {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main-header .header-top__infos li:not(:last-child) {
    margin-right: 20px;
    margin-bottom: 0;
  }
}

.main-header .header-top__infos li i {
  color: #C7A17A;
  padding-right: 5px;
  font-size: 19px;
}

.main-header .header-top__infos li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
}

.main-header .header-top__infos li a {
  color: #6c6c6c;
  text-decoration: none;
}

@media (max-width: 767px) {
  .main-header .header-top__infos li {
    margin-top: 10px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main-header .header-top__infos li {
    margin-top: 0px;
  }
}

.main-header .logo img {
  max-width: 230px;
}

.main-header .logo {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .main-header .header-top__right .site-btn {
    margin-top: -10px;
  }
}

/* Menu area styles from main.css - prefixed to avoid conflicts */
.main-header .menu-area {
  position: relative;
  z-index: 99;
}

@media (max-width: 991px) {
  .main-header .menu-area {
    padding-top: 15px;
  }
}

.main-header .menu-area__right .item {
  font-size: 19px;
  color: #ffffff;
}

.main-header .menu-area__right .item i {
  color: #ffffff;
}

.main-header .menu-area__right--2 .item {
  color: #000;
}

.main-header .menu-area__right--2 .item i {
  color: #000;
}

.main-header .menu-area__right--4 .item {
  color: #000;
}

.main-header .menu-area__right--4 .item i {
  color: #000;
}

@media (max-width: 991px) {
  .main-header .menu-area__3 {
    padding-top: 0px;
  }
}

.main-header .menu-area.sticky-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 99;
  background: #010103;
  -webkit-box-shadow: 0px 13px 25px -12px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 13px 25px -12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  .main-header .menu-area.sticky-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

.main-header .menu-area-2 {
  background-color: #ffffff;
}

.main-header .menu-area-2 .main-menu ul li a {
  color: #000;
  font-weight: 400;
}

.main-header .menu-area-2 .main-menu ul li a:hover {
  color: #C7A17A;
}

.main-header .menu-area-2 .main-menu ul .active > a {
  color: #C7A17A;
}

.main-header .menu-area.animated {
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
}

.main-header .mean-container .mean-nav ul li a:hover {
  color: #C7A17A;
}

/* Main menu styles from main.css - prefixed to avoid conflicts */
.main-header .main-menu ul {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.main-header .main-menu ul li {
  position: relative;
}

.main-header .main-menu ul li:not(:last-child) {
  margin-right: 44px;
}

@media only screen and (min-width: 1200px) and (max-width: 1500px) {
  .main-header .main-menu ul li:not(:last-child) {
    margin-right: 20px;
  }
}

@media (max-width: 1199px) {
  .main-header .main-menu ul li:not(:last-child) {
    margin-right: 11px;
  }
}

/* Navigation menu styles */
.main-header .main-menu ul li a {
  display: block;
  text-decoration: none;
  font-size: 15px;
  color: #ffffff;
  padding: 35px 19px;
  position: relative;
  text-transform: uppercase;
  line-height: 22px;
  font-weight: 400;
}

.main-header .main-menu ul li a::after {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 11px;
  height: 11px;
  background: #C7A17A;
  content: "";
  border-radius: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 0.3s cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0.42, 0, 0.58, 1);
}

.main-header .main-menu ul li a:hover::after {
  opacity: 1;
  visibility: visible;
  left: 0;
}

.main-header .main-menu ul li:hover > a {
  color: #C7A17A;
}

.main-header .main-menu ul li:hover > a::after {
  opacity: 1;
  visibility: visible;
  left: 0;
}

.main-header .main-menu ul li:hover a {
  color: #C7A17A;
}

.main-header .main-menu__2 ul li a {
  color: #000;
  font-weight: 400;
}

.main-header .main-menu ul .active > a {
  color: #C7A17A;
}

.main-header .main-menu ul .active > a::after {
  opacity: 1;
  visibility: visible;
  left: 0;
}

/* Social link css from main.css - prefixed to avoid conflicts */
.main-header .social-links a {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 4px;
  font-size: 13px;
  border: 1px solid #808080;
  text-align: center;
  line-height: 27px;
  color: #808080;
  text-decoration: none;
}

.main-header .social-links a:not(:last-child) {
  margin-right: 10px;
}

.main-header .social-links a:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.main-header .social-links__2 a {
  border-color: #E2DFDD;
}

.main-header .social-links__2 a:hover {
  border-color: #999999;
  color: #000;
}

/* Button css for header */
.main-header .site-btn::after {
  background: #32323D;
  width: 0%;
  height: 100%;
  border-radius: 5px;
  position: absolute;
  content: "";
  top: 0;
  -webkit-transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  z-index: -1;
  left: 0;
}

.main-header .site-btn:hover::after {
  width: 100%;
}

.main-header .site-btn:hover {
  color: #ffffff;
  border-color: #32323D;
}

.main-header .site-btn__borderd {
  background: transparent;
  border-color: #32323D;
}

.main-header .site-btn__borderd::after {
  background: #C7A17A;
}

.main-header .site-btn__borderd:hover {
  border-color: #C7A17A;
}

.main-header .site-btn__2 {
  background: transparent;
  border-color: #E2DFDD;
  margin-right: 20px;
  color: #010103;
}

.main-header .site-btn__2::after {
  background: #C7A17A;
}

.main-header .site-btn__2:hover {
  border-color: #C7A17A;
}

/* ===== RESET & GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--body-color);
    overflow-x: hidden;
    background-color: var(--white-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: uppercase;
}

h1 {
    font-size: 54px;
    letter-spacing: 1px;
}

h2 {
    font-size: 42px;
    letter-spacing: 0.5px;
}

h3 {
    font-size: 24px;
    letter-spacing: 0.5px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* Image fallback styles for broken images */
img {
    min-height: 50px;
    position: relative;
}

/* Show placeholder for broken images */
img:before {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #f0f0f0;
    border: 2px dotted #9F8059;
    border-radius: 5px;
}

/* Add text label to broken images */
img:after {
    content: attr(alt) ' - Image Missing';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-style: normal;
    color: #555;
    text-align: center;
}

/* Special handling for logo */
.logo img:after {
    content: 'NailKnot Logo';
}

/* Special handling for hero background */
.hero-area {
    padding-top: 150px;
    height: 100vh; /* Use viewport height instead of fixed height */
    max-height: 880px; /* Maximum height limit */
    position: relative;
    overflow: hidden; /* Prevent content from spilling out */
    width: 100%;
}

@media (max-width: 991px) {
    .hero-area {
        height: 100vh;
        max-height: 700px;
        padding-top: 100px;
    }
}

@media (max-width: 767px) {
    .hero-area {
        height: 100vh;
        max-height: 800px; /* Increased from default mobile height */
        min-height: 600px; /* Ensuring minimum height */
    }
}

/* Special handling for video */
video:not([src]),
video[src=""] {
    min-height: 100px;
    background-color: var(--dark-color);
    position: relative;
}

video:not([src]):after,
video[src=""]:after {
    content: 'Video Missing - Please generate a placeholder';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    text-align: center;
    width: 80%;
}

input,
button,
textarea {
    font-family: var(--body-font);
    font-size: 16px;
    transition: var(--transition);
}

input:focus,
button:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

.section-padding {
    padding: 30px 0;
}

@media (max-width: 991px) {
    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
}

.bg-light {
    background-color: var(--light-color);
}

.dark-bg {
    background-color: var(--dark-color);
}

.light-text h1, 
.light-text h2, 
.light-text h3, 
.light-text h4, 
.light-text h5, 
.light-text h6,
.light-text p,
.light-text span {
    color: var(--white-color);
}



/* ===== HERO AREA ===== */
.hero-area:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 25px;
    color: var(--white-color);
    font-size: 60px;
    line-height: 1.2;
}

.hero-content h1 .highlight-text {
    position: relative;
    display: inline-block;
    color: #C6A265;
    z-index: 1;
}

.hero-content h1 .highlight-text:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #C6A265;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease;
}

.hero-content h1 .highlight-text.animated:after {
    transform: scaleX(1);
}

.hero-content h1 .highlight-text:after {
    content: none;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--white-color);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    align-items: center;
}

.hero-counter {
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.counter-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    font-family: var(--heading-font);
}

.counter-text {
    font-size: 14px;
    color: var(--white-color);
    margin-top: 5px;
}

@media (max-width: 991px) {
    .hero-area {
        padding: 120px 0;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-counter {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero-area {
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
}

/* ===== FEATURES AREA ===== */
.features-area {
    position: relative;
    margin-top: -50px;
    z-index: 9;
}

.feature-item {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, background-color 0.3s ease !important;
    margin-bottom: 30px;
    text-align: center;
}

.feature-item:hover, 
.feature-item.active {
    background-color: var(--primary-color);
    transform: translateY(-10px) !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    color: var(--primary-color);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon,
.feature-item.active .feature-icon {
    background-color: var(--white-color);
}

.feature-content h3 {
    margin-bottom: 15px;
    transition: var(--transition);
    font-family: "Saira Condensed", sans-serif;
    font-size: 20.8px;
}

.feature-content p {
    margin-bottom: 0;
    transition: var(--transition);
    font-family: "Saira Condensed", sans-serif;
}

.feature-item:hover .feature-content h3,
.feature-item.active .feature-content h3,
.feature-item:hover .feature-content p,
.feature-item.active .feature-content p {
    color: var(--white-color);
}

/* Mobile view for feature items (2x2 grid) */
@media (max-width: 767px) {
    /* We're now handling the grid layout with inline CSS in the HTML */
    
    .feature-item {
        height: 160px;
        padding: 15px 10px;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-content h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .feature-content p {
        font-size: 13px;
        line-height: 1.3;
        display: none; /* Hide paragraph text on mobile to save space */
    }
}

/* ===== ABOUT AREA ===== */
.about-image {
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    right: -20px;
    bottom: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 20px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge .number {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.experience-badge .text {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.about-list {
    margin: 25px 0 30px;
}

.about-list ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.about-list ul li:last-child {
    margin-bottom: 0;
}

.about-list ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-size: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .about-image {
        margin-bottom: 50px;
    }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: var(--light-color);
    padding: 100px 0;
}

.service-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card .image {
    height: 250px;
    overflow: hidden;
}

.service-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .image img {
    transform: scale(1.1);
}

.service-card .content {
    padding: 30px;
    position: relative;
}

.service-card .icon {
    position: absolute;
    top: -30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 15px;
}

.service-card .read-more {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-color);
    transition: var(--transition);
}

.service-card .read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-card .read-more:hover {
    color: var(--primary-color);
}

.service-card .read-more:hover i {
    margin-left: 10px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
}

.cta-wrapper {
    background-color: var(--secondary-color);
    padding: 70px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cta-content h2 {
    color: var(--white-color);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 18px;
}

.cta-section .btn-secondary {
    background-color: var(--white-color);
    color: var(--secondary-color);
}

.cta-section .btn-secondary:before {
    background-color: var(--primary-color);
}

.cta-section .btn-secondary:hover {
    color: var(--white-color);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 100px 0;
}

.project-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 16px;
    color: var(--dark-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    margin: 0 5px 10px;
}

.filter-btn:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--primary-color);
}

.filter-btn.active:after,
.filter-btn:hover:after {
    transform: scaleX(1);
}

.project-card {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.project-card .image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.project-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .image img {
    transform: scale(1.1);
}

.project-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .overlay {
    opacity: 1;
}

.view-project {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .view-project {
    transform: translateY(0);
    opacity: 1;
}

.project-card .content {
    padding: 20px;
    background-color: var(--white-color);
}

.project-card .content h3 {
    margin-bottom: 5px;
}

.project-card .content span {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: var(--light-color);
    padding: 100px 0;
}

.testimonial-item {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 15px;
}

.testimonial-item .rating {
    margin-bottom: 20px;
}

.testimonial-item .rating i {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 3px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonial-text:before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 60px;
    font-family: Georgia, serif;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.3;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    margin-bottom: 5px;
}

.client-details span {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 100px 0;
}

.team-member {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-member .image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-member .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .image img {
    transform: scale(1.1);
}

.team-member .social-icons {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    transition: var(--transition);
}

.team-member:hover .social-icons {
    bottom: 0;
}

.team-member .social-icons a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: var(--transition);
}

.team-member .social-icons a:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.team-member .content {
    padding: 20px;
    text-align: center;
    background-color: var(--white-color);
}

.team-member .content h3 {
    margin-bottom: 5px;
}

.team-member .content span {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-info {
    padding-right: 50px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
}

.info-item .content h4 {
    margin-bottom: 5px;
}

.contact-form {
    background-color: var(--white-color);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

textarea.form-control {
    height: auto;
}

/* ===== FOOTER ===== */
/* Site Footer Styles - Copied from index.html's footer style */
.site-footer {
  border-top: 1px solid #32323D;
  background-color: #010103;
  position: relative;
  margin-top: 50px;
}

.site-footer .shape {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  top: -70px;
}

@media (max-width: 1199px) {
  .site-footer .pl-55 {
    padding-left: 15px;
  }
}

@media (max-width: 991px) {
  .site-footer .social-links {
    margin-top: 30px;
  }
}

.site-footer__3 {
  border: none;
}

.footer__widget .item {
  display: flex;
  align-items: center;
}

@media (max-width: 1199px) {
  .footer__widget .item {
    justify-content: center !important;
  }
}

.footer__widget .item img {
  margin-right: 15px;
  max-width: 23px;
  height: 30px;
  object-fit: contain;
}

.footer__widget .item span {
  color: #ffffff;
  text-transform: uppercase;
  padding-right: 7px;
}

.footer__widget .item a {
  color: #a7a7a7;
  text-decoration: none;
}

.footer__widget .item p {
  color: #a7a7a7;
  margin-bottom: 0;
  text-align: left;
}

.footer__widget .subscribe {
  position: relative;
}

.footer__widget .subscribe input {
  border: none;
  background: transparent;
  padding: 15px;
  padding-left: 20px;
  font-size: 14px;
  border-bottom: 1px solid #32323D;
  width: 100%;
  padding-top: 0px;
  color: #a7a7a7;
}

.footer__widget .subscribe input::-webkit-input-placeholder {
  color: #a7a7a7;
  opacity: 1;
}

.footer__widget .subscribe input::-moz-placeholder {
  color: #a7a7a7;
  opacity: 1;
}

.footer__widget .subscribe input:-ms-input-placeholder {
  color: #a7a7a7;
  opacity: 1;
}

.footer__widget .subscribe input:-moz-placeholder {
  color: #a7a7a7;
  opacity: 1;
}

.footer__widget .subscribe__btn {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  right: 20px;
  top: 0;
  background: transparent;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

.footer__widget .subscribe__btn i {
  padding-left: 7px;
}

.footer__logo--content p {
  color: #ffffff;
  font-size: 18px;
}

.footer__menu-area {
  padding-top: 30px;
  border-top: 1px solid #32323D;
}

.footer__menu ul {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  padding: 0px;
  margin: 0px;
}

@media (max-width: 991px) {
  .footer__menu ul {
    justify-content: center;
  }
}

.footer__menu ul li:not(:last-child) {
  margin-right: 55px;
}

@media (max-width: 991px) {
  .footer__menu ul li:not(:last-child) {
    margin-right: 25px;
  }
}

.footer__menu ul li a {
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 15px;
}

.footer__menu ul li a:hover {
  color: #C7A17A;
}

.footer__menu ul .active a {
  color: #C7A17A;
}

.footer__top {
  margin-bottom: 65px;
}

.footer__top--3 {
  border-top: 1px solid #32323D;
}

.footer__middle {
  margin-bottom: 30px;
}

/* Go Top Button Styling */
.go-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #ffffff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  position: relative;
  text-align: center;
  z-index: 2;
  font-size: 20px;
  border-radius: 0;
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease-out 0s;
  cursor: pointer;
}

.go-top span {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffffff;
}

.go-top span:hover {
  color: #C7A17A;
}

.go-top i {
  position: relative;
  top: 1px;
  left: 0;
  color: #ffffff;
  font-size: 20px;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  font-weight: 700;
}

.go-top i:hover {
  color: #C7A17A;
}

.go-top__bottom {
  width: auto;
  height: auto;
  line-height: 1;
}

@media (max-width: 991px) {
  .go-top__bottom {
    margin-top: 20px;
  }
}

.go-top__bottom span {
  margin-right: 10px;
}

.go-top__bottom i {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  margin-right: 5px;
}

.go-top__white i {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  position: relative;
  top: 3px;
  color: #ffffff;
}

.go-top__white i:hover {
  color: #C7A17A;
}

/* Social Links */
.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 4px;
  font-size: 13px;
  border: 1px solid #808080;
  line-height: 27px;
  color: #808080;
  text-decoration: none;
  margin-left: 10px;
}

.social-links a:hover {
  border-color: #ffffff;
  color: #ffffff;
}

/* Important spacing classes for footer */
.mt-65 {
  margin-top: 65px;
}

.mt-30 {
  margin-top: 30px;
}

.pb-90 {
  padding-bottom: 90px;
}

.pt-125 {
  padding-top: 20px;
}

.dark-bg {
  background: #010103;
}

/* Mobile view footer adjustments */
@media (max-width: 767px) {
  /* Center align all footer content */
  .site-footer {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Center all footer items */
  .footer__widget .item,
  .col-xl-3 .footer__widget .item,
  .col-xl-4 .footer__widget .item {
    justify-content: center !important;
    text-align: center;
  }
  
  /* Center text in footer */
  .footer__logo--content p {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Center the subscribe form */
  .footer__widget .subscribe {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Center navigation menu */
  .footer__menu ul {
    justify-content: center !important;
  }
  
  /* Fix spacing for menu items */
  .footer__menu ul li:not(:last-child) {
    margin-right: 20px;
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1199px) {
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero-area {
        padding: 120px 0;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-area {
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .cta-wrapper {
        padding: 50px 30px;
    }
    
    .cta-btn {
        margin-top: 20px;
        text-align: left !important;
    }
    
    .header-area {
        display: none !important;
    }
}

@media (max-width: 767px) {
    section {
        padding: 0 0; /* Fixed syntax error */
    }
    
    h1 {
        font-size: 30px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-area {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .cta-wrapper {
        padding: 40px 20px;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 15px;
    }
    
    .footer-bottom-links li {
        margin-left: 0;
        margin-right: 20px;
    }
    
    .footer-bottom-links li:before {
        left: auto;
        right: -10px;
    }
}

@media (max-width: 575px) {
    .about-features .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .about-features .feature i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item .icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }
    
    .footer-bottom-links li:first-child {
        margin-left: 0;
    }
}

/* Completely replacing the project overlay animation code */

/* Project image with fixed size */
.project-image {
  position: relative;
  overflow: hidden;
  width: 307.5px;
  height: 307.5px;
  max-width: 100%;
}

/* Project overlay for the animation control */
.project-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  background: none !important;
}

/* Text content slides UP on hover */
.project-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 5;
  color: #fff;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.project-item:hover .project-content {
  transform: translateY(-150%);
}

/* Title text with Saira Condensed font */
.project-title {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 19.2px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

/* Description text with Roboto font */
.project-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 14.4px;
  color: #ffffffd6;
  margin-top: 2px;
}

/* Shadow/gradient slides DOWN on hover */
.project-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  background: linear-gradient(0deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.0) 100%);
  z-index: 4;
  transition: opacity 0.3s cubic-bezier(.25,.46,.45,.94), transform 0.3s cubic-bezier(.25,.46,.45,.94);
  will-change: transform, opacity;
  transform: translateY(0);
  opacity: 1;
}

.project-item:hover .project-gradient {
  transform: translateY(100%) !important;
  opacity: 0 !important;
  transition-delay: 0s;
}

/* On mouse leave, shadow appears after text is almost back */
.project-item .project-gradient {
  transition-delay: 0.07s;
}

/* Remove border-radius for square corners */
.project-image, .project-item, .project-gradient {
  border-radius: 0 !important;
}

/* Text slides fully up, no fade */
.project-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  z-index: 5;
  color: #fff;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.project-item:hover .project-content {
  transform: translateY(-150%);
  /* No opacity change */
}

/* Shadow/gradient slides down, syncs with text */
.project-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  background: linear-gradient(0deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.0) 100%);
  z-index: 4;
  transition: opacity 0.3s cubic-bezier(.25,.46,.45,.94), transform 0.3s cubic-bezier(.25,.46,.45,.94);
  will-change: transform, opacity;
  transform: translateY(0);
  opacity: 1;
}

.project-item:hover .project-gradient {
  transform: translateY(100%) !important;
  opacity: 0 !important;
  transition-delay: 0s;
}

/* On mouse leave, shadow appears after text is almost back */
.project-item .project-gradient {
  transition-delay: 0s;
}

.projects-area .project-item:hover .project-content {
  transform: translateY(-150%) !important;
}

.project-gradient {
  transition-delay: 0s !important;
}

.and-many-more {
  font-family: 'Saira Condensed', 'Poppins', Arial, sans-serif;
  font-size: 20px;
  color: #fff;
  text-align: center;
  margin-top: 40px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

@media (max-width: 767px) {
  .project-image {
    width: 100% !important;
    max-width: 345px !important;
    height: 345px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    aspect-ratio: unset;
    margin: 0 auto;
  }
  .project-item {
    width: 100% !important;
    max-width: 345px !important;
    height: 345px !important;
    margin: 0 auto 24px auto;
    border-radius: 0 !important;
    display: flex;
    justify-content: center;
  }
  .project-image img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
  }
  .col-lg-3, .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 40px 0;
  justify-items: center;
}

.gallery-item {
  width: 307.5px;
  height: 307.5px;
  background: #222;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.0) 100%);
  color: #fff;
  text-align: center;
  padding: 18px 0 10px 0;
}

.gallery-title {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 19.2px;
  font-weight: 700;
  margin-bottom: 2px;
}

.gallery-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 14.4px;
  color: #ffffffd6;
}

/* Large laptop responsive breakpoint */
@media (max-width: 1400px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .gallery-item {
    width: 100%;
    max-width: 260px;
    height: 260px;
    margin: 0 auto;
  }
}

/* Tablet and smaller laptop responsive breakpoint */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .gallery-item {
    width: 100%;
    max-width: 280px;
    height: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .gallery-item {
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gallery-item {
    width: 100%;
    max-width: 345px;
    height: 345px;
    margin: 0 auto;
  }
}

/* Ensure project-item follows the same responsive pattern */
@media (max-width: 1400px) {
  .project-item {
    width: 100% !important;
    max-width: 260px !important;
    height: 260px !important;
    margin: 0 auto !important;
  }
  .project-image {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 1200px) {
  .project-item {
    width: 100% !important;
    max-width: 280px !important;
    height: 280px !important;
    margin: 0 auto !important;
  }
  .project-image {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 991px) {
  .project-item {
    width: 100% !important;
    max-width: 300px !important;
    height: 300px !important;
    margin: 0 auto !important;
  }
  .project-image {
    width: 100% !important;
    height: 100% !important;
  }
}

.passion-section {
  position: relative;
  background: #f4f0eb;
  padding: 0;
  z-index: 1;
  overflow-x: hidden;
}
.passion-bg {
    background-image: url('../assets/images/projects/banner2.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
  
    /* parallax effect */
    background-attachment: fixed;
  
    /* keep your layout rules */
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    padding-bottom: 0;
}

  
.passion-content {
  background: #1c1007;
  color: #fff;
  padding: 48px 48px 48px 48px;
  max-width: 480px;
  margin-left: 8vw;
  margin-bottom: -139px; /* Overlap into next section */
  text-align: left;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-radius: 0;
}
.passion-content h2 {
  color: #A18A6B;
  font-family: 'Saira Condensed', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.1;
}
.passion-content p {
  font-size: 17px;
  margin-bottom: 32px;
  color: #fff;
}
.passion-btn {
  background: #C7A17A;
  color: #fff;
  font-family: 'Saira Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 18px 0;
  width: 100%;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: none;
}

.passion-btn:hover {
  background: #836b55;
  color: #fff;
}

.passion-stats {
    display: flex;
    justify-content: flex-start;
    margin-top: 0; /* Remove the gap */
    padding-left: calc(8vw + 480px); /* aligns right of the brown card */
    max-width: 100%;
    position: relative;
    z-index: 1;
  }
  
  .passion-stats > div {
    flex: 0 0 220px;
    padding: 32px 24px;
    text-align: center;
    font-family: 'Saira Condensed', sans-serif;
  }
  
  .passion-stats > div:nth-child(1) {
    background-color: #f7f2eb;
  }
  
  .passion-stats > div:nth-child(2) {
    background-color: #d5c4a4;
  }
  
  .passion-stats > div:nth-child(3) {
    background-color: #c2ad8f;
  }
  
  .stat-number {
    font-size: 30px;
    font-weight: bold;
    color: #1c1007;
    margin-bottom: 4px;
  }
  
  .stat-label {
    font-size: 15px;
    font-weight: bold; /* <-- added bold */
    color: #1c1007;
    display: block; /* ensures it drops below number */
    margin-top: 2px;
    text-align: center;
  }
  
  
/* Tablet optimization for Passion Section - iPad Air (820px) and similar */
@media (min-width: 768px) and (max-width: 1024px) {
  .passion-section {
    overflow: hidden;
  }
  
  .passion-bg {
    min-height: 500px;
    background-attachment: scroll; /* Fix parallax issues on tablets */
  }
  
  .passion-content {
    max-width: 320px;
    margin-left: 3vw;
    margin-bottom: -120px;
    padding: 32px 24px 32px 24px;
  }
  
  .passion-content h2 {
    font-size: 28px;
    margin-bottom: 14px;
  }
  
  .passion-content p {
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.4;
  }
  
  .passion-btn {
    padding: 14px 0;
    font-size: 13px;
  }
  
  .passion-stats {
    padding-left: calc(3vw + 320px);
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .passion-stats > div {
    flex: 0 0 130px;
    padding: 20px 12px;
  }
  
  .passion-stats .stat-number {
    font-size: 24px;
  }
  
  .passion-stats .stat-label {
    font-size: 12px;
    line-height: 1.2;
  }
}

/* iPad Pro landscape and similar large tablets */
@media (min-width: 1025px) and (max-width: 1199px) {
  .passion-content {
    max-width: 460px;
    margin-left: 7vw;
    margin-bottom: -130px;
  }
  
  .passion-stats {
    padding-left: calc(7vw + 460px);
  }
  
  .passion-stats > div {
    flex: 0 0 200px;
  }
}

@media (max-width: 767px) {
  .passion-content {
    padding: 32px 18px 0 18px;
    max-width: 98vw;
    margin-left: 0;
    margin-bottom: -60px;
  }
  .passion-stats {
    gap: 24px;
    font-size: 16px;
    padding: 24px 0;
    top: 32px;
    margin-bottom: -32px;
    padding-left: 0;
    flex-direction: column;
  }
  .passion-stats > div {
    flex: 1;
    margin-bottom: 10px;
  }
  .passion-stats .stat-number {
    font-size: 28px;
  }
}
@media (max-width: 767px) {
    /* shrink the brown "passion" card */
    .passion-bg {
      height: auto;
      min-height: 400px;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      padding-top: 280px;
      padding-bottom: 0;
    }
  
    .passion-content {
      padding: 24px 16px;
      margin: 0 auto -40px;
      width: 90%;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
  
    /* stack stats vertically */
    .passion-stats {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap:0;
      padding: 0;
      margin: 0 auto;
      max-width: 480px;
      width: 100%;
      margin-bottom: 20px; /* Just enough space to prevent overlap */
    }
  
    /* each stat box */
    .passion-stats > div {
      width: 90vw;
      max-width: 480px;
      flex: none !important;
      height: 107px !important;
      padding: 12px 16px !important;
      overflow: hidden;
      box-sizing: border-box;
      margin: 0 auto !important;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      line-height: 1.2;
    }
  
    /* tweak the numbers and labels to fit */
    .stat-number {
      font-size: 22px;
    }
  
    .stat-label {
      font-size: 13px;
      margin-top: 4px;
    }

    /* Minimal space for process section */
    .process-section {
      padding-top: 0;
      margin-top: 0;
    }
  }
  
  
  
  

.process-section {
  background: #ede7df;
  padding: 80px 0 40px 0;
}
.process-header {
  text-align: center;
  margin-bottom: 48px;
}
.process-subtitle {
  color: #a18a6b;
  font-family: 'Saira Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}
.process-header h2 {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.1;
}
.process-header p {
  font-size: 18px;
  color: #4a4541;
  margin-bottom: 0;
}
.process-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.process-step {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 38px 32px 32px 32px;
  flex: 1 1 220px;
  max-width: 320px;
  min-width: 220px;
  text-align: center;
  position: relative;
  margin-bottom: 24px;
}
.step-label {
  position: absolute;
  top: 0;
  left: 0;
  background: #ede7df;
  color: #a18a6b;
  font-size: 13px;
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
  padding: 6px 18px 6px 10px;
  border-radius: 0 0 8px 0;
  letter-spacing: 0.04em;
  transform: translateY(-50%);
}
.step-icon {
  font-size: 38px;
  color: #a18a6b;
  margin-bottom: 18px;
}
.process-step h3 {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1c1007;
}
.process-step p {
  font-size: 15px;
  color: #4a4541;
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .process-steps {
    gap: 18px;
  }
  .process-step {
    padding: 28px 12px 22px 12px;
    max-width: 98vw;
  }
}
@media (max-width: 767px) {
  .process-section {
    padding: 40px 0 20px 0;
  }
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .process-step {
    min-width: 0;
    width: 100%;
    max-width: 98vw;
    margin-bottom: 12px;
  }
}

/* Passion Section: Overlapping Card from Image Row into Stats Row */

  
  .passion-card {
    color: white;
    max-width: 480px;
    flex: 1;
  }
  
  .passion-card h2 {
    font-family: 'Saira Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
    color: white;
  }
  
  .passion-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: white;
  }
  
  .passion-btn {
    background: #a18a6b;
    color: white;
    font-weight: bold;
    font-family: 'Saira Condensed', sans-serif;
    display: inline-block;
    padding: 16px;
    width: 100%;
    text-align: center;
    text-decoration: none;
  }
  
 
 
  
  
  /* Responsive */

  
/* Center passion section and stats horizontally on desktop */

  .passion-bg-placeholder {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
  }
  .passion-main-card.passion-overlap-card {
    margin: 0 auto;
    left: 0;
    right: 0;
    position: relative;
    transform: none;
  }
  .passion-stats-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-left: 0;
    padding-right: 0;
  }
  .passion-stats-widgets {
    margin: 0 auto;
    justify-content: center;
  }
  .passion-stats {
    background-color: #ede7df !important;
  }



/* put this at the very bottom of your main CSS file */
@media (max-width: 767.98px) {
    /* Mobile padding adjustment for why-choose-us */
    .why-choose-us .col-lg-7 {
      padding-top: 0;  /* removed top padding completely */
      padding-right: 15px;
      padding-left: 15px;
      padding-bottom: 32px; /* Remove bottom padding too */
    }
  }
  @media (min-width: 992px) {
    .why-choose-us .section-heading {
      padding-bottom: 8rem;
    }
  }
  .passion-section {
    overflow: hidden;
  }
  
/* Additional styles for service page buttons */
.theme-btn {
  font-family: 'Saira Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  background-color: #C7A17A;
  border: none;
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-align: center;
}

@media (max-width: 767px) {
  .theme-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

.theme-btn:hover {
  background-color: #836b55;
  color: #ffffff;
}

.theme-btn.btn-white {
  background: #ffffff;
  color: #1C1007;
  border-color: #ffffff;
}

.theme-btn.btn-white:hover {
  background-color: #C7A17A;
  color: #ffffff;
}

.theme-btn.no-hover {
  cursor: default;
}

.theme-btn.no-hover:hover {
  background-color: #C7A17A;
  color: #ffffff;
}

/* Menu area adjustment */
.main-header .menu-area.menu-area-2 {
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* Cart icon adjustment */
.main-header .menu-area__right .cart {
  font-size: 18px;
  margin-left: 15px;
  cursor: pointer;
}

/* Hamburger trigger adjustment */
.main-header .menu-area__right .hamburger-trigger {
  font-size: 18px;
  margin-left: 5px;
  cursor: pointer;
}

/* Fix active menu item for Home link */
.main-header .main-menu ul li.menu-item-has-children.active a {
  color: #C7A17A;
}

.main-header .main-menu ul li.menu-item-has-children.active a::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-header .center-logo {
  display: flex;
  justify-content: left;
  align-items: left;
}

.main-header .header-top__infos li {
  color: #6c6c6c;
  text-transform: uppercase;
  font-weight: 400;
}

.main-header .header-top__infos li:not(:last-child) {
  margin-right: 30px;
}

@media (max-width: 767px) {
  .main-header .header-top__infos li:not(:last-child) {
    margin-right: 0px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main-header .header-top__infos li:not(:last-child) {
    margin-right: 25px;
  }
}

.main-header .header-top__infos li a {
  color: #6c6c6c;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 400;
}

.main-header .header-top__infos li i {
  color: #C7A17A;
  padding-right: 5px;
  font-size: 19px;
}

/* Mobile menu styles */
.main-header .mean-container .mean-nav ul li a {
  font-weight: 400; /* Fix mobile menu font-weight */
}

@media (max-width: 767px) {
  .main-header .header-top__infos li i {
    padding-right: 5px; /* Reduced spacing for mobile view */
  }
  
  .main-header .header-top__infos li a {
    font-weight: 400; /* Ensure consistency in mobile view */
  }
}

/* Mobile menu styles for services page */
@media (max-width: 767px) {
  /* Full width container */
  .container-fluid.custom-width {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Header structure */
  .main-header .header-top {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .main-header .header-top__left {
    justify-content: center;
  }
  
  .main-header .header-top__left .logo {
    display: none;
  }
  
  .main-header .header-top__infos {
    padding-left: 0 !important;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  
  .main-header .header-top__infos li {
    justify-content: center;
    margin-bottom: 5px;
  }
  
  .main-header .header-top__infos li:not(:last-child) {
    margin-right: 0;
  }
  
  .main-header .header-top__right {
    margin-top: 10px;
    justify-content: center;
  }
  
  .main-header .header-top__right .site-btn {
    margin-left: 0;
    padding: 8px 25px;
  }
  
  /* Menu area */
  .main-header .menu-area {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .main-header .menu-area__right {
    align-items: center;
  }
  
  .main-header .logo.mm-only {
    display: block !important;
  }
  
  .main-header .logo.mm-only img {
    max-width: 160px;
  }
  
  /* Cart and hamburger icons */
  .main-header .cart {
    font-size: 18px;
    margin-left: 5px;
  }
  
  .hamburger-trigger {
    margin-right: 10px;
  }
  
  .main-header .menu-area__right > * {
    margin-left: 10px;
  }
  
  /* Mobile navigation menu */
  .mean-container .mean-bar {
    background: transparent;
    padding: 0;
  }
  
  .mean-container a.meanmenu-reveal {
    color: #C7A17A;
    margin-top: -41px;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-right: 0;
  }
  
  .mean-container a.meanmenu-reveal span {
    background: #C7A17A;
    height: 3px;
    width: 30px;
    margin-top: 5px;
  }
  
  .mean-container a.meanmenu-reveal span:first-child {
    margin-top: 0;
  }
  
  .mean-container .mean-nav {
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .mean-container .mean-nav ul li a {
    color: #000;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 400;
  }
  
  .mean-container .mean-nav ul li a:hover {
    color: #C7A17A;
    background: rgba(0, 0, 0, 0.03);
  }
}
  
section.projects-area {
    position: relative !important;
    background: url("../assets/images/gallery/wood-background.jpg") center center / cover no-repeat fixed !important;
    z-index: 1;
}
  
/* Mobile-specific adjustments that maintain the parallax feel */
@media (max-width: 767px) {
  /* Remove parallax completely from passion section and optimize for mobile */
  .passion-bg {
    height: auto;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-top: 280px;
    padding-bottom: 0;
    
    /* Completely disable parallax */
    background-attachment: scroll;
    background-size: cover; /* Changed from 100% auto to cover to prevent cropping */
    background-position: center; /* Changed from top center to center to show the best part */
  }
  
  /* Remove parallax and optimize projects area background */
  section.projects-area {
      /* Completely disable parallax */
      background-attachment: scroll !important;
      background-size: cover !important;
      background-position: 75% center !important; /* Changed from center to 75% to show more of the right side */
  }
}
  
/* Animation for elements entering viewport */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for items in the same container */
.fade-up-1 { transition-delay: 0.1s; }
.fade-up-2 { transition-delay: 0.2s; }
.fade-up-3 { transition-delay: 0.3s; }
.fade-up-4 { transition-delay: 0.4s; }

/* Shorter delays for mobile */
@media (max-width: 767px) {
  .fade-up {
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .fade-up-1 { transition-delay: 0.05s; }
  .fade-up-2 { transition-delay: 0.1s; }
  .fade-up-3 { transition-delay: 0.15s; }
  .fade-up-4 { transition-delay: 0.2s; }
}
  
/* Animation enhancements for project/gallery items */
.project-item {
  transition: transform 0.3s ease !important;
  will-change: transform, opacity;
  overflow: hidden;
}

/* Improved animations for gallery/project items */
.gallery-grid .project-item.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease !important;
}

.gallery-grid .project-item.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure staggered delays for gallery items */
.gallery-grid .project-item.fade-up-1 { transition-delay: 0.1s !important; }
.gallery-grid .project-item.fade-up-2 { transition-delay: 0.25s !important; }
.gallery-grid .project-item.fade-up-3 { transition-delay: 0.4s !important; }
.gallery-grid .project-item.fade-up-4 { transition-delay: 0.55s !important; }
  
/* About Us button - no hover effect */
#about-us-btn:hover {
  background-color: #C7A17A;
  color: #ffffff;
  cursor: pointer;
}
  
/* Font Awesome Light fixes for the arrow icon */
.fal {
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
}

.fal.fa-long-arrow-up:before {
  content: "\f176";
}

/* Make arrow visible in go-top button */
.go-top__white i {
  color: white;
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #a7a7a7;
  background-color: white;
}

/* Fix arrow color now that background is white */
.go-top__white i:after {
  border-left: 2px solid #000;
  border-top: 2px solid #000;
}

/* Fix for double arrow issue */
.go-top i:before,
.go-top i:after {
  content: "" !important;
  display: none !important;
}

/* Create CSS arrow for go-top button */
.go-top__white i:after {
  content: "" !important;
  display: block !important;
  width: 12px;
  height: 12px;
  border-left: 2px solid #000 !important;
  border-top: 2px solid #000 !important;
  transform: rotate(45deg);
  margin-top: 6px;
}

/* Hide Font Awesome icon completely */
.fal.fa-long-arrow-up {
  font-size: 0;
}

/* Ensure GO TOP text button has proper spacing */
.go-top__bottom span {
  margin-right: 10px;
  text-transform: uppercase;
  font-size: 13px;
}

/* Bottom go-top button styling */
.go-top__bottom i {
  background-image: none;
  transform: none;
  margin-right: 5px;
  border: none;
  width: auto;
  height: auto;
}

.go-top__bottom i:after {
  content: "↑" !important;
  display: inline !important;
  font-family: sans-serif;
  border: none;
  transform: none;
}

/* Ensure the go-top button appears in the right position */
.go-top {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
  
/* Mobile-specific adjustments for projects area background */
@media (max-width: 767px) {
    section.projects-area {
        /* Better fix for the background */
        background-attachment: scroll !important;
        background-size: cover !important; 
        background-position: 35% center !important;
        /* Ensure the overlay color is strong enough */
        position: relative !important;
    }
}
  
/* Mobile-specific adjustments to completely remove parallax effect */
@media (max-width: 767px) {
    /* Remove parallax completely from passion section and optimize for mobile */
    .passion-bg {
      height: auto;
      min-height: 400px;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      padding-top: 280px;
      padding-bottom: 0;
      
      /* Completely disable parallax */
      background-attachment: scroll;
      background-size: cover; /* Changed from 100% auto to cover to prevent cropping */
      background-position: center; /* Changed from top center to center to show the best part */
    }
    
    /* Remove parallax and optimize projects area background */
    section.projects-area {
        /* Completely disable parallax */
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: 35% center !important; /* Show more of the left side of the image */
    }
}
  
/* Safari-specific fix for parallax issues */
@supports (-webkit-touch-callout: none) {
  /* CSS specific to iOS/Safari devices */ 
  .passion-bg {
    /* Disable parallax for iOS Safari and use simple background */
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }
  
  section.projects-area {
    /* Disable parallax for iOS Safari and use simple background */
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: 35% center !important; /* Match the 35% value from the regular mobile styles */
  }
}