/* ============================================
   CONSTRUCTION COMPANY LANDING PAGE STYLES
   Pixel-Perfect Replica
   ============================================ */

/* ===== GLOBAL VARIABLES ===== */
:root {
    --primary-color: #ff6600; /* Orange accent */
    --dark-bg: #2c3e50; /* Dark gray/blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-light: #f5f5f5;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* ===== HEADER CONTAINER (Boxed Content) ===== */
.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== TOP HEADER BAR (Overlaid on Hero) ===== */
.top-header-bar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    color: var(--text-light);
    padding: 10px 0;
    font-size: 14px;
    z-index: 1055;
}

.top-header-bar-overlay .header-container {
    position: relative;
    z-index: 1055;
}

/* Legacy class for compatibility */
.top-header-bar {
    background-color: #1a1a1a;
    color: var(--text-light);
    padding: 10px 0;
    font-size: 14px;
    width: 100%;
}

.top-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-header-phone {
    color: var(--text-light);
}

.top-header-email {
    color: var(--text-light);
}

.top-header-social {
    display: inline-flex;
    gap: 10px;
}

.social-icon {
    color: var(--text-light);
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.top-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-header-search {
    color: var(--text-light);
    font-size: 16px;
}

/* ===== MAIN NAVIGATION BAR (Overlaid on Hero) ===== */
.main-navbar-overlay {
    position: absolute;
    top: 43px; /* Below top header bar */
    left: 0;
    width: 100%;
    z-index: 1050;
    padding: 0;
}

.main-navbar-overlay .header-container {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
    position: relative;
    z-index: 1050;
}

/* Legacy class for compatibility */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 0;
}

.main-navbar .header-container {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
}

.navbar-brand .logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-dark);
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    padding: 8px 15px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 4px;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    padding-top: 120px; /* Space for overlaid header */
    overflow: visible;
}



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

.hero-section .header-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    width: 100%;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-cta-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 40px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
}

.hero-cta-btn:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    position: relative;
    margin-top: -100px;
    z-index: 10;
    padding: 40px 0 80px 0;
}

.services-carousel-wrapper {
    position: relative;
    width: 100%;
}

/* Desktop: Add padding for navigation arrows */
@media (min-width: 992px) {
    .services-carousel-wrapper {
        padding-right: 100px; /* Space for navigation arrows */
    }
}

.services-nav-group {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 20;
}

#servicesCarousel {
    position: relative;
}

#servicesCarousel .carousel-inner {
    overflow: visible;
}

#servicesCarousel .carousel-item .row {
    justify-content: center;
    align-items: stretch;
}

.service-carousel-item {
    display: block;
}

.service-card {
    background-color: var(--text-light);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    margin: 0 auto;
    max-width: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--text-dark);
}

.service-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.service-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.services-carousel-nav {
    width: 50px;
    height: 50px;
    background-color: var(--text-dark);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
    padding: 0;
}

.services-carousel-nav:hover {
    background-color: var(--primary-color);
    opacity: 1;
}

.services-carousel-nav i {
    font-size: 18px;
}

/* ===== ABOUT OUR COMPANY SECTION ===== */
.about-section {
    padding: 100px 0;
    background-color: var(--text-light);
}

.about-content {
    padding-right: 40px;
}

.about-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-btn {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 12px 35px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none !important;
}

.about-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-border {
    border: none;
    padding: 20px;
    border-radius: 8px;
}

.about-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 4px;
}

/* ===== FEATURED PROJECTS SECTION ===== */
.projects-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 50px;
}

/* Center Contact Us section title on desktop */
@media (min-width: 992px) {
    .contact-section .section-header {
        text-align: center;
    }
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
}

.projects-carousel-wrapper {
    position: relative;
    width: 100%;
}

.projects-nav-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px;
    color: var(--text-light);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.project-overlay-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-overlay-text {
    font-size: 14px;
    margin-bottom: 15px;
}

.project-overlay-arrow {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
}

.projects-carousel-nav {
    width: 50px;
    height: 50px;
    background-color: var(--text-dark);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
    padding: 0;
}

.projects-carousel-nav:hover {
    background-color: var(--primary-color);
    opacity: 1;
}

.projects-carousel-nav i {
    font-size: 18px;
}

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

.portfolio-carousel-wrapper {
    position: relative;
    width: 100%;
}

#portfolioCarousel {
    position: relative;
}

#portfolioCarousel .carousel-inner {
    overflow: visible;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-content {
    text-align: center;
    color: var(--text-light);
}

.portfolio-link {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    color: var(--text-light);
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
    transform: scale(1.1);
}

.portfolio-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.portfolio-category {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-nav-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.portfolio-carousel-nav {
    width: 50px;
    height: 50px;
    background-color: var(--text-dark);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
    padding: 0;
}

.portfolio-carousel-nav:hover {
    background-color: var(--primary-color);
    opacity: 1;
}

.portfolio-carousel-nav i {
    font-size: 18px;
}

/* ===== WORK PROCESS SECTION ===== */
.work-process-section {
    padding: 100px 0;
    background-color: var(--text-light);
}

.work-process-content {
    padding-right: 40px;
}

.work-process-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.work-process-btn {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 12px 35px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
}

.work-process-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.work-process-item {
    background-color: var(--bg-light);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.work-process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.work-process-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.work-process-item-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.work-process-item-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

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

.products-carousel-wrapper {
    position: relative;
    width: 100%;
}

#productsCarousel {
    position: relative;
}

#productsCarousel .carousel-inner {
    overflow: visible;
}

.product-card {
    background-color: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 10px;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
    white-space: nowrap;
}

.product-tags {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.product-badge-category {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.product-badge-brand {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.product-badge-branch {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.product-branches {
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.product-branches small {
    font-size: 12px;
    display: block;
    margin-bottom: 5px;
}

.product-btn {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
    width: 100%;
    cursor: pointer;
}

.product-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.product-show-more-btn {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.product-show-more-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.products-nav-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.products-carousel-nav {
    width: 50px;
    height: 50px;
    background-color: var(--text-dark);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
    padding: 0;
}

.products-carousel-nav:hover {
    background-color: var(--primary-color);
    opacity: 1;
}

.products-carousel-nav i {
    font-size: 18px;
}

/* Product Images Modal */
#productImagesSlider {
    position: relative;
}

#productImagesSlider .carousel-control-prev,
#productImagesSlider .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#productImagesSlider .carousel-control-prev {
    left: 15px;
}

#productImagesSlider .carousel-control-next {
    right: 15px;
}

#productImagesSlider .carousel-control-prev:hover,
#productImagesSlider .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

#productImagesSlider .carousel-control-prev-icon,
#productImagesSlider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
    padding: 100px 0;
    position: relative;
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: 500px;
}

.why-choose-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(245, 245, 245, 0.95) 0%, rgba(245, 245, 245, 0.85) 40%, rgba(245, 245, 245, 0.3) 60%, transparent 100%);
    z-index: 1;
}

.why-choose-section .header-container {
    position: relative;
    z-index: 2;
}

.why-choose-content {
    padding-right: 40px;
}

.why-choose-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.why-choose-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.why-choose-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.why-choose-item {
    background-color: var(--text-light);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.why-choose-item-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-choose-item-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--text-dark);
}

.why-choose-item-title {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-dark);
}


/* ===== OUR EXPERT STAFF SECTION ===== */
.staff-section {
    padding: 100px 0;
    background-color: var(--text-light);
}

.staff-carousel-wrapper {
    position: relative;
    width: 100%;
}

#staffCarousel {
    position: relative;
}

#staffCarousel .carousel-inner {
    overflow: visible;
}

.staff-card {
    background-color: var(--text-light);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.staff-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--text-dark);
}

.staff-info {
    margin-bottom: 15px;
}

.staff-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.staff-role {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 0;
}

.staff-status-badge {
    background-color: var(--primary-color);
    padding: 12px 20px;
    margin: 0 auto;
    border-radius: 4px;
    display: inline-block;
    width: 100%;
    max-width: 200px;
}

.staff-status-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.staff-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.staff-social-icon {
    width: 30px;
    height: 30px;
    background-color: var(--text-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.staff-social-icon:hover {
    background-color: var(--text-dark);
    color: var(--text-light);
    transform: scale(1.1);
}

.staff-nav-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.staff-carousel-nav {
    width: 50px;
    height: 50px;
    background-color: var(--text-dark);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.9;
    padding: 0;
}

.staff-carousel-nav:hover {
    background-color: var(--primary-color);
    opacity: 1;
}

.staff-carousel-nav i {
    font-size: 18px;
}

/* ===== COUNTER SECTION ===== */
.counter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: var(--text-light);
}

.counter-item {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-10px);
}

.counter-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.counter-icon i {
    display: inline-block;
}

.counter-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.2;
}

.counter-title {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.contact-form-card {
    background-color: var(--text-light);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-control {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.contact-submit-btn {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 12px 40px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-submit-btn:hover {
    background-color: var(--primary-color);
}

.contact-illustrations {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 0 20px;
}

.contact-illustration {
    width: 150px;
    height: auto;
}

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

.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
}

#testimonialsCarousel {
    position: relative;
}

#testimonialsCarousel .carousel-inner {
    overflow: visible;
}

.testimonial-card {
    background-color: var(--text-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

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

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-occupation {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 0;
}

.testimonials-nav-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.testimonials-carousel-nav {
    width: 50px;
    height: 50px;
    background-color: var(--text-dark);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-carousel-nav:hover {
    background-color: var(--primary-color);
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: #1a1a1a;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    margin-bottom: 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
    text-transform: uppercase;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.instagram-item {
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.newsletter-form .input-group {
    display: flex;
}

.newsletter-form .form-control {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 4px 0 0 4px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 12px 25px;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--primary-color);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet (≥768px and <1200px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    
    /* Tablet: Show 2 cards per slide - hide third card */
    #servicesCarousel .carousel-item .service-carousel-item:nth-child(3) {
        display: none;
    }
    
    #servicesCarousel .carousel-item .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .why-choose-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .why-choose-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-process-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    /* Tablet: Show 2 staff cards per slide (matching portfolio) */
    #staffCarousel .carousel-item .col-md-4:nth-child(3) {
        display: none;
    }

    /* Tablet: Show 2 portfolios per slide */
    #portfolioCarousel .carousel-item .col-md-6:nth-child(3) {
        display: none;
    }

    /* Tablet: Show 2 products per slide */
    #productsCarousel .carousel-item .col-md-6:nth-child(3) {
        display: none;
    }

    /* Tablet: Show 2 testimonials per slide */
    #testimonialsCarousel .carousel-item .col-md-6:nth-child(3) {
        display: none;
    }

}

/* Navbar collapse styling for overlay navbar - desktop */
.main-navbar-overlay .navbar-collapse {
    flex-grow: 1;
    align-items: center;
}

/* Mobile (<768px) */
@media (max-width: 767px) {
    /* Remove padding from services carousel wrapper on mobile */
    .services-carousel-wrapper {
        padding-right: 0 !important;
    }
    
    /* Top header bar responsive */
    .top-header-bar-overlay .row {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .top-header-bar-overlay .col-lg-6,
    .top-header-bar-overlay .col-md-6 {
        width: 100%;
        margin-bottom: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .top-header-bar-overlay .col-lg-6:last-child,
    .top-header-bar-overlay .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .top-header-bar-overlay .text-end {
        text-align: center !important;
        justify-content: center !important;
    }
    
    .top-header-left {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
    }

    .top-header-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .top-header-email {
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .top-header-right {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
    }

    .top-header-social {
        display: inline-flex;
        gap: 10px;
        margin-left: 0 !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Main navbar overlay responsive */
    .main-navbar-overlay .header-container {
        flex-wrap: wrap;
        position: relative;
        margin-top: 30px;
    }
    
    .main-navbar-overlay .navbar-brand {
        order: 1;
    }
    
    .main-navbar-overlay .navbar-toggler {
        order: 2;
    }
    
    .main-navbar-overlay .navbar-collapse {
        order: 3;
        width: 100% !important;
        flex-basis: 100% !important;
        flex-grow: 1 !important;
        margin-top: 15px;
        /* padding-top: 15px; */
        border-top: 1px solid #e9ecef;
        display: none;
        position: relative;
        z-index: 1051;
        background-color: var(--text-light);
    }
    
    .main-navbar-overlay .navbar-collapse.show {
        display: block !important;
    }
    
    .main-navbar-overlay .navbar-nav {
        width: 100%;
        flex-direction: column;
    }
    
    .main-navbar-overlay .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .main-navbar-overlay .navbar-nav .nav-link {
        width: 100%;
        padding: 10px 15px;
        margin: 5px 0;
        display: block;
    }
    
    /* Legacy main-navbar responsive */
    .main-navbar .header-container {
        flex-wrap: wrap;
        position: relative;
    }
    
    .main-navbar .navbar-brand {
        order: 1;
    }
    
    .main-navbar .navbar-toggler {
        order: 2;
    }
    
    .main-navbar .navbar-collapse {
        order: 3;
        width: 100% !important;
        flex-basis: 100% !important;
        flex-grow: 1 !important;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e9ecef;
        display: none;
    }
    
    .main-navbar .navbar-collapse.show {
        display: block !important;
    }
    
    .main-navbar .navbar-nav {
        width: 100%;
        flex-direction: column;
    }
    
    .main-navbar .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .main-navbar .navbar-nav .nav-link {
        width: 100%;
        padding: 10px 15px;
        margin: 5px 0;
        display: block;
    }

    .hero-section {
        min-height: 500px;
        padding-top: 180px !important; /* Extra space for header on mobile */
    }

    .hero-content {
        text-align: center;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 14px;
        max-width: 100%;
    }

    .services-section {
        margin-top: -50px;
        padding-bottom: 60px;
    }

    .services-nav-group {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 20px;
        justify-content: flex-end;
    }
    
    .services-carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    /* Mobile: Show 1 card per slide */
    #servicesCarousel .carousel-item .row {
        justify-content: center;
    }
    
    #servicesCarousel .carousel-item .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    /* Hide extra cards on mobile */
    #servicesCarousel .carousel-item .service-carousel-item:not(:first-child) {
        display: none;
    }
    
    #servicesCarousel .carousel-item .service-carousel-item {
        margin: 0 auto;
    }

    .about-section,
    .counter-section,
    .work-process-section,
    .projects-section,
    .why-choose-section,
    .staff-section,
    .contact-section,
    .testimonials-section {
        padding: 60px 0;
    }

    .counter-number {
        font-size: 36px;
    }

    .counter-icon {
        font-size: 40px;
    }

    .counter-title {
        font-size: 16px;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .work-process-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .about-title,
    .section-title,
    .why-choose-title {
        font-size: 28px;
    }

    .why-choose-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .why-choose-items {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Mobile: Show 1 staff card per slide - exactly like portfolio carousel */
    #staffCarousel .carousel-item .row {
        justify-content: center;
    }
    
    #staffCarousel .carousel-item .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        /* display: flex; */
        justify-content: center;
    }
    
    #staffCarousel .carousel-item .col-12:not(:first-child) {
        display: none;
    }
    
    #staffCarousel .carousel-item .col-12:first-child {
        margin: 0 auto;
    }
    
    .staff-nav-group {
        margin-top: 20px;
    }
    
    .staff-carousel-nav {
        width: 40px;
        height: 40px;
    }

    .projects-nav-group {
        margin-top: 20px;
    }
    
    .projects-carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    /* Mobile: Show 1 project per slide */
    #projectsCarousel .carousel-item .row {
        justify-content: center;
    }
    
    #projectsCarousel .carousel-item .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    #projectsCarousel .carousel-item .col-12:not(:first-child) {
        display: none;
    }
    
    #projectsCarousel .carousel-item .col-12:first-child {
        margin: 0 auto;
    }

    /* Mobile: Show 1 portfolio per slide */
    /* Mobile: Show 1 portfolio per slide */
    #portfolioCarousel .carousel-item .row {
        justify-content: center;
    }
    
    #portfolioCarousel .carousel-item .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    #portfolioCarousel .carousel-item .col-12:not(:first-child) {
        display: none;
    }
    
    #portfolioCarousel .carousel-item .col-12:first-child {
        margin: 0 auto;
    }
    
    .portfolio-nav-group {
        margin-top: 20px;
    }
    
    .portfolio-carousel-nav {
        width: 40px;
        height: 40px;
    }

    /* Mobile: Show 1 product per slide */
    /* #productsCarousel .carousel-item .row {
        justify-content: center;
    }
    
    #productsCarousel .carousel-item .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    } */
    
    #productsCarousel .carousel-item .col-12:not(:first-child) {
        display: none;
    }
    
    /* #productsCarousel .carousel-item .col-12:first-child {
        margin: 0 auto;
    } */
    
    .products-nav-group {
        margin-top: 20px;
    }
    
    .products-carousel-nav {
        width: 40px;
        height: 40px;
    }

    .product-title-price {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-price {
        margin-top: 5px;
    }

    /* Mobile: Show 1 testimonial per slide */
    #testimonialsCarousel .carousel-item .col-12:not(:first-child) {
        display: none;
    }
    
    .testimonials-nav-group {
        margin-top: 20px;
    }
    
    .testimonials-carousel-nav {
        width: 40px;
        height: 40px;
    }

    .contact-form-card {
        padding: 30px 20px;
    }

    .contact-illustrations {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-illustration {
        width: 120px;
    }

    .footer-content {
        margin-bottom: 30px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .form-control {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .newsletter-btn {
        border-radius: 4px;
        width: 100%;
    }
}

/* Extra Small Mobile (<576px) */
@media (max-width: 575px) {
    /* Top header bar extra small screens */
    .top-header-left {
        gap: 10px;
    }

    .top-header-phone {
        font-size: 12px;
    }

    .top-header-social {
        gap: 8px;
    }

    .top-header-social .social-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .top-header-right {
        gap: 10px;
    }

    .top-header-email {
        font-size: 12px;
    }

    .hero-title {
        font-size: 24px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .contact-form-card {
        padding: 20px 15px;
    }
}

