/* 
* BAAN BAAN CONSTRUCTION - Modern Website Style
* Theme: Modern Luxury Construction
*/

/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #d9a404; /* à¸ªà¸µà¸—à¸­à¸‡à¹€à¸«à¸¥à¸·à¸­à¸‡à¸­à¹ˆà¸­à¸™ - à¸ªà¸µà¸«à¸¥à¸±à¸à¸‚à¸­à¸‡ CI */
    --secondary-color: #1e3a5f; /* à¸ªà¸µà¸™à¹‰à¸³à¹€à¸‡à¸´à¸™à¹€à¸‚à¹‰à¸¡ - à¸ªà¸µà¸£à¸­à¸‡ */
    --accent-color: #c75146; /* à¸ªà¸µà¹à¸”à¸‡à¸­à¸´à¸ - à¸ªà¸µà¹€à¸™à¹‰à¸™ */
    --dark-color: #121212; /* à¸ªà¸µà¸”à¸³à¹€à¸‚à¹‰à¸¡ */
    --dark-blue: #0a1929; /* à¸ªà¸µà¸™à¹‰à¸³à¹€à¸‡à¸´à¸™à¹€à¸‚à¹‰à¸¡à¸¡à¸²à¸ */
    --light-color: #f5f5f5; /* à¸ªà¸µà¸‚à¸²à¸§à¸™à¸§à¸¥ */
    --gray-color: #777; /* à¸ªà¸µà¹€à¸—à¸² */
    --gray-dark: #222; /* à¸ªà¸µà¹€à¸—à¸²à¹€à¸‚à¹‰à¸¡ */
    --gray-light: #ddd; /* à¸ªà¸µà¹€à¸—à¸²à¸­à¹ˆà¸­à¸™ */
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* à¹€à¸‡à¸²à¸—à¸µà¹ˆà¸Šà¸±à¸”à¹€à¸ˆà¸™à¸‚à¸¶à¹‰à¸™ */
    --overlay-color: rgba(0, 0, 0, 0.4); /* à¸ªà¸µà¹‚à¸­à¹€à¸§à¸­à¸£à¹Œà¹€à¸¥à¸¢à¹Œà¸”à¸³à¹ƒà¸ªà¹à¸šà¸š minimal */
    --text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* à¹€à¸‡à¸²à¸‚à¹‰à¸­à¸„à¸§à¸²à¸¡ */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Transition à¹à¸šà¸š ease-out-quart */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #f3c04e); /* à¹„à¸¥à¹ˆà¸£à¸°à¸”à¸±à¸šà¸ªà¸µà¸—à¸­à¸‡ */
    --gradient-dark: linear-gradient(135deg, var(--dark-blue), var(--secondary-color)); /* à¹„à¸¥à¹ˆà¸£à¸°à¸”à¸±à¸šà¸ªà¸µà¸™à¹‰à¸³à¹€à¸‡à¸´à¸™ */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    /* background-color: var(--dark-blue); */
    overflow-x: hidden;
    background-image: url('https://baanbaanconstruction.co.th/Backoffice/assets/images/banner/cc0354ea28694f57ea11f557d897f2a0.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

body.service-page {
    background-color: #93b1d3;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.98;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

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

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

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(217, 164, 4, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 164, 4, 0.4);
    color: #000;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.btn-secondary:hover {
    color: #000;
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-secondary:hover::after {
    height: 100%;
}

.section-header {
    color:#fff;
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2 {
    text-shadow: var(--text-shadow);
    position: relative;
    color:#fff;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    color:#fff;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(217, 164, 4, 0.3);
}

.section-header p {
    color:#fff;
    font-size: 18px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(217, 164, 4, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

.navbar.sticky {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(217, 164, 4, 0.2);
    overflow: visible;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
}

.logo1 {
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px 10px;
    border-radius: 8px;
    /* background: rgba(245, 245, 245, 0.9); */
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(217, 164, 4, 0.2); */
    transition: all 0.3s ease;
}

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

.logo-img {
    height: 50px;
    transition: var(--transition);
    /* filter: drop-shadow(0 2px 8px rgba(217, 164, 4, 0.5)); */
}

.logo1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 5px;
    right: 5px;
    height: 3px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.logo1:hover::after {
    bottom: -5px;
    left: 0;
    right: 0;
}

.logo-img:hover {
    /* filter: drop-shadow(0 5px 15px rgba(217, 164, 4, 0.7)); */
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--light-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: var(--light-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(217, 164, 4, 0.3);
}

.nav-menu li a:hover:after,
.nav-menu li a.active:after {
    width: 100%;
}

.btn-contact {
    background: var(--gradient-primary);
    color: #000;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(217, 164, 4, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transition: var(--transition);
    z-index: -1;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 164, 4, 0.4);
    color: #000;
}

.btn-contact:hover::before {
    left: 100%;
}

/* Navigation Dropdown - Full Width Mega Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Create invisible bridge to prevent hover gap */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -200px;
    width: 600px;
    height: 20px;
    background: transparent;
    z-index: 1041;
    display: none;
}

.nav-dropdown:hover::before {
    display: block;
}

.nav-dropdown > a {
    color: var(--light-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.nav-dropdown > a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > a {
    color: var(--primary-color);
}

.nav-dropdown:hover > a i {
    transform: rotate(180deg);
}

/* Mega Dropdown Content - Full Width */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -200px;
    background-color: #ffffff;
    backdrop-filter: blur(15px);
    width: 600px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    z-index: 1041;
    margin-top: 20px;
    padding: 30px;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 220px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
}

.dropdown-content a {
    color: #000000 !important;
    padding: 15px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 800;
    transition: all 0.3s ease;
    border-radius: 10px;
    border-left: 4px solid transparent;
    gap: 12px;
    background: #f8f9fa;
    margin-bottom: 5px;
    border: 1px solid #e9ecef;
    text-shadow: none;
}

.dropdown-content a::before {
    content: 'â–¶';
    color: #d9a404 !important;
    font-size: 14px;
    opacity: 1;
    font-weight: 900;
}

.dropdown-content a:hover {
    background: #d9a404 !important;
    color: #ffffff !important;
    border-left-color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(217, 164, 4, 0.3);
}

.dropdown-content a:hover::before {
    color: #ffffff !important;
    transform: translateX(3px);
}

/* Show mega dropdown on hover - Fixed version */
.nav-dropdown:hover .dropdown-content {
    display: grid;
    animation: fadeInDown 0.4s ease;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add underline for nav-dropdown links */
.nav-dropdown > a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(217, 164, 4, 0.3);
}

.nav-dropdown:hover > a:after {
    width: 100%;
}

/* Mobile Responsive for Mega Dropdown */
@media (max-width: 768px) {
    .nav-dropdown > a {
        padding: 15px 20px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        margin: 5px 0;
        justify-content: space-between;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        left: 0;
        margin-top: 10px;
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .dropdown-content::before {
        display: none;
    }
    
    .dropdown-content a {
        padding: 12px 15px;
        font-size: 14px;
        border-radius: 8px;
        gap: 10px;
    }
    
    .dropdown-content a:hover {
        transform: none;
    }
    
    .nav-dropdown.mobile-active .dropdown-content {
        display: grid;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    transform: scale(1.05);
    animation: heroZoom 20s;
}

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

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.hero-scroll-down a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    background-color: rgba(217, 164, 4, 0.5);
    transition: all 0.3s ease;
}

.hero-scroll-down a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
  
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(3px);
    animation: fadeIn 1.5s ease-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: var(--text-shadow);
}

.hero-content .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 2px 10px rgba(217, 164, 4, 0.3);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
font-size: 14px;
opacity: 0.8;
text-transform: uppercase;
letter-spacing: 1px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
    text-shadow: var(--text-shadow);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: linear-gradient(to right, 
        #f8f6f0 0%, 
        #f6f3ed 50%, 
        #f2ede0 50%, 
        #fcf1da 100%
    );
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(217, 164, 4, 0.12) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(184, 134, 11, 0.08) 1.5px, transparent 1.5px),
        radial-gradient(circle at 50% 10%, rgba(217, 164, 4, 0.06) 3px, transparent 3px),
        radial-gradient(circle at 10% 90%, rgba(184, 134, 11, 0.1) 2.5px, transparent 2.5px),
        linear-gradient(30deg, rgba(217, 164, 4, 0.04) 1px, transparent 1px),
        linear-gradient(60deg, rgba(217, 164, 4, 0.03) 1px, transparent 1px),
        linear-gradient(-30deg, rgba(184, 134, 11, 0.02) 1px, transparent 1px);
    background-size: 
        80px 80px, 
        60px 60px, 
        120px 120px, 
        90px 90px,
        40px 40px,
        50px 50px,
        45px 45px;
    background-position: 
        0 0, 
        40px 40px, 
        20px 60px, 
        70px 20px,
        0 0,
        25px 25px,
        35px 35px;
    animation: subtleFloat 20s ease-in-out infinite;
    z-index: -1;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(217, 164, 4, 0.15) 10%, 
        rgba(217, 164, 4, 0.3) 30%, 
        rgba(217, 164, 4, 0.4) 50%, 
        rgba(217, 164, 4, 0.3) 70%, 
        rgba(217, 164, 4, 0.15) 90%, 
        transparent 100%
    );
    border-radius: 2px;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.feature {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(217, 164, 4, 0.2);
    backdrop-filter: blur(5px);
    transform: translateY(0);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(217, 164, 4, 0.4);
    background: rgba(255, 255, 255, 1);
}

.feature i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature:hover i {
    transform: scale(1.2) rotate(5deg);
}

.feature h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature p {
    color: var(--gray-color);
    font-size: 14px;
}

/* Vision, Mission, Key Strength Section */
.vision-mission-section {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.vision-box,
.mission-box,
.strength-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 164, 4, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vision-box::before,
.mission-box::before,
.strength-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(217, 164, 4, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.vision-box:hover::before,
.mission-box:hover::before,
.strength-box:hover::before {
    opacity: 1;
}

.vision-box:hover,
.mission-box:hover,
.strength-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(217, 164, 4, 0.15);
    border-color: rgba(217, 164, 4, 0.4);
}

.vision-icon,
.mission-icon,
.strength-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #f3c04e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.vision-box:hover .vision-icon,
.mission-box:hover .mission-icon,
.strength-box:hover .strength-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(217, 164, 4, 0.3);
}

.vision-icon i,
.mission-icon i,
.strength-icon i {
    font-size: 32px;
    color: white;
}

.vision-box h3,
.mission-box h3,
.strength-box h3 {
    font-size: 24px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.vision-box p {
    font-size: 16px;
    color: var(--gray-color);
    font-style: italic;
    font-weight: 500;
}

.mission-box ul,
.strength-box ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.mission-box li,
.strength-box li {
    padding: 8px 0;
    color: var(--gray-color);
    position: relative;
    padding-left: 25px;
}

.mission-box li::before,
.strength-box li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* About Text Enhancements */
.about-text .tagline {
    background: linear-gradient(135deg, rgba(217, 164, 4, 0.15), rgba(217, 164, 4, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    border-radius: 10px;
    margin: 30px 0;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(217, 164, 4, 0.1);
}

.about-text .tagline strong {
    color: var(--primary-color);
}

/* About Image Gallery Enhancements */
.about-image-gallery {
    position: relative;
}

.gallery-main {
    margin-bottom: 20px;
    margin-top:150px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.gallery-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-showcase {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.gallery-main:hover .portfolio-showcase {
    transform: scale(1.05);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(217, 164, 4, 0.2);
}

.gallery-thumb.active {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(217, 164, 4, 0.3);
}

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

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

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

/* Pulse animation class */
.pulse-animation {
    animation: pulse-animation 0.6s ease-in-out;
}

/* Smooth transitions for all interactive elements */
.about * {
    transition: all 0.3s ease;
}

/* Responsive Design for About Section */
@media (max-width: 1024px) {
    .vision-mission-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .strength-box {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image-gallery {
        order: -1;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vision-mission-section {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 50px;
    }
    
    .vision-box,
    .mission-box,
    .strength-box {
        padding: 30px 20px;
    }
    
    .vision-icon,
    .mission-icon,
    .strength-icon {
        width: 60px;
        height: 60px;
    }
    
    .vision-icon i,
    .mission-icon i,
    .strength-icon i {
        font-size: 24px;
    }
    
    .about-text h3 {
        font-size: 24px;
    }
    
    .about-text .tagline {
        font-size: 16px;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 40px 0;
    }
    
    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-thumb {
        height: 60px;
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    background-color: var(--dark-blue);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(217, 164, 4, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(30, 58, 95, 0.3);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(217, 164, 4, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover:before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    box-shadow: 0 5px 20px rgba(217, 164, 4, 0.3);
    transition: var(--transition);
}

.service-icon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: -5px;
    right: -5px;
    height: 3px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 30px;
    color: #000;
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    transform: rotate(360deg);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light-color);
}

.service-card p {
    color: var(--gray-color);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background-color: rgba(10, 25, 41, 0.8);
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/bg-pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* New Portfolio Showcase Grid */
.portfolio-showcase-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid transparent;
    padding: 10px 25px;
    margin: 0 10px 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Prompt', sans-serif;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.filter-btn.active,
.filter-btn:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: none;
    transform: translateY(0);
}

.filter-btn.active::after,
.filter-btn:hover::after {
    width: 80%;
}

/* Portfolio Showcase Grid Styles */
.portfolio-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.portfolio-row:last-child {
    margin-bottom: 0;
}

.portfolio-item-new {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.portfolio-img-new {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-img-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item-new:hover .portfolio-img-new img {
    transform: scale(1.08);
}

.portfolio-overlay-new {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.portfolio-info-new {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item-new:hover .portfolio-info-new {
    transform: translateY(0);
}

.portfolio-info-new h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.portfolio-info-new p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
    color: white;
}

.btn-view-new {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view-new:hover {
    background: #e67e22;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.portfolio-section .portfolio-grid {
    margin-bottom: 60px;
}

.portfolio-section .portfolio-grid .col-md-3 {
    padding: 15px;
}

.portfolio-section .portfolio-item.about {
    position: relative;
    overflow: hidden;
    background-color: #050d16;
}

.portfolio-section .portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #fff;
    transition: all 0.4s ease;
}

.portfolio-section .portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 10px;
}

.portfolio-img img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.9) contrast(1.05);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
    filter: saturate(1.1) contrast(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(0px);
}

.portfolio-info {
    text-align: center;
    padding: 25px;
    width: 85%;
    max-width: 320px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    transform: translateY(20px);
    transition: all 0.4s ease;
    opacity: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Prompt', sans-serif;
    position: relative;
    padding-bottom: 12px;
}

.portfolio-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.portfolio-info p {
    color: #555;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Prompt', sans-serif;
    line-height: 1.6;
}

.btn-view {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Prompt', sans-serif;
    box-shadow: 0 4px 10px rgba(217, 164, 4, 0.3);
}

.btn-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(217, 164, 4, 0.4);
}

.btn-view:hover::before {
    left: 100%;
}

.portfolio-item:hover .btn-view {
    opacity: 1;
}

.portfolio-more {
text-align: center;
margin-top: 40px;
}

.portfolio-more .btn {
padding: 12px 35px;
font-size: 16px;
letter-spacing: 1px;
}

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

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

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

.portfolio-more {
    text-align: center;
    margin-top: 50px;
}

/* ===== FEATURE SECTIONS ===== */
.feature-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.feature-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
    z-index: 0;
}

.feature-section.bg-light {
    background-color: #0a1929;
    color: #fff;
}

.feature-section.bg-light::before {
    background-image: linear-gradient(rgba(10, 25, 41, 0.92), rgba(10, 25, 41, 0.92));
}

.feature-section .container {
    position: relative;
    z-index: 1;
}

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

.feature-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.feature-section.bg-light .feature-content h2 {
    color: #fff;
}

.feature-content .lead {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-family: 'Prompt', sans-serif;
}

.feature-section.bg-light .feature-content .lead {
    color: var(--primary-color);
}

.feature-content p {
    margin-bottom: 25px;
    color: var(--gray-color);
    font-family: 'Prompt', sans-serif;
    line-height: 1.8;
}

.feature-section.bg-light .feature-content p {
    color: rgba(255, 255, 255, 0.8);
}

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

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    font-family: 'Prompt', sans-serif;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
}

.feature-section.bg-light .feature-list li {
    color: rgba(255, 255, 255, 0.9);
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(217, 164, 4, 0.1);
}

/* Feature Image Grid Style */
.feature-image-grid {
    position: relative;
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
}

.feature-image-grid .main-image,
.feature-image-grid .secondary-image {
cursor: pointer;
}

.feature-image-grid .main-image {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 12px;
transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
z-index: 1;
position: relative;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
transform: perspective(1000px) rotateY(0deg);
}

.feature-image-grid .secondary-image {
position: absolute;
height: auto;
border-radius: 8px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
z-index: 0;
transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
filter: saturate(0.9) contrast(1.05);
opacity: 1;
transform: perspective(1000px) rotateY(5deg);
}

.feature-image-grid .secondary-image.position-1 {
    /* bottom: -10%; */
    left: -10%;
    width: 50%;
    opacity: 1;
    z-index: 0;
    transform: perspective(1000px) rotateY(3deg) translateZ(-10px);
}

.feature-image-grid .secondary-image.position-2 {
    bottom: -5%;
    left: 20%;
    width: 40%;
    opacity: 1;
    z-index: 0;
    transform: perspective(1000px) rotateY(3deg) translateZ(-15px);
}

.feature-image-grid .secondary-image.position-3 {
    bottom: 5%;
    left: 45%;
    width: 35%;
    opacity: 1;
    z-index: 0;
    transform: perspective(1000px) rotateY(3deg) translateZ(-20px);
}

.feature-image-grid .secondary-image.position-4 {
    bottom: 10%;
    left: 65%;
    width: 30%;
    opacity: 1;
    z-index: 0;
    transform: perspective(1000px) rotateY(3deg) translateZ(-25px);
}

.feature-image-grid.reverse .secondary-image.position-1 {
    top: -10%;
    right: -10%;
    left: auto;
    bottom: auto;
    width: 50%;
    opacity: 1;
    z-index: 0;
    transform: perspective(1000px) rotateY(-3deg) translateZ(-10px);
}

.feature-image-grid.reverse .secondary-image.position-2 {
    top: -5%;
    right: 20%;
    left: auto;
    bottom: auto;
    width: 40%;
    opacity: 1;
    z-index: 0;
    transform: perspective(1000px) rotateY(-3deg) translateZ(-15px);
}

.feature-image-grid.reverse .secondary-image.position-3 {
    top: 5%;
    right: 45%;
    left: auto;
    bottom: auto;
    width: 35%;
    opacity: 1;
    z-index: 0;
    transform: perspective(1000px) rotateY(-3deg) translateZ(-20px);
}

.feature-image-grid.reverse .secondary-image.position-4 {
    top: 10%;
    right: 65%;
    left: auto;
    bottom: auto;
    width: 30%;
    opacity: 1;
    z-index: 0;
    transform: perspective(1000px) rotateY(-3deg) translateZ(-25px);
}

/* Image Navigation Controls */
.image-navigation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.feature-image-grid.reverse .image-navigation {
    bottom: auto;
    right: auto;
    top: 20px;
    left: 20px;
}

.image-navigation button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.image-navigation button:hover {
    background-color: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.image-navigation button i {
    font-size: 14px;
}

/* Hover effects for images */
.feature-image-grid .main-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    filter: saturate(1.1) contrast(1.1) brightness(1.05);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
}

.feature-image-grid .secondary-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateZ(0) scale(1.05);
    filter: saturate(1.1) contrast(1.1) brightness(1.05);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* Smooth transition for image swapping */
.feature-image-grid .image-transitioning {
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
}

.feature-image-grid img {
    transition: transform 0.3s ease-out, filter 0.3s ease-out, opacity 0.3s ease-out, box-shadow 0.3s ease-out;
}

/* Animation classes for swapping */
.feature-image-grid .swapping-to-main {
    z-index: 2;
    animation: swapToMain 0.8s forwards;
}

.feature-image-grid .swapping-to-secondary {
    z-index: 1;
    animation: swapToSecondary 0.8s forwards;
}

@keyframes swapToMain {
    0% {
        transform: perspective(1000px) rotateY(5deg) translateZ(-20px) scale(0.6);
        filter: saturate(0.9) contrast(1);
    }
    50% {
        transform: perspective(1000px) rotateY(2deg) translateZ(-10px) scale(0.8);
        filter: saturate(0.95) contrast(1.02);
    }
    100% {
        transform: perspective(1000px) rotateY(0deg) translateZ(0) scale(1);
        filter: saturate(1) contrast(1.05);
    }
}

@keyframes swapToSecondary {
    0% {
        transform: perspective(1000px) rotateY(0deg) translateZ(0) scale(1);
        filter: saturate(1) contrast(1.05);
    }
    50% {
        transform: perspective(1000px) rotateY(2deg) translateZ(-10px) scale(0.8);
        filter: saturate(0.95) contrast(1.02);
    }
    100% {
        transform: perspective(1000px) rotateY(5deg) translateZ(-20px) scale(0.6);
        filter: saturate(0.9) contrast(1);
        opacity: 0.8;
    }
}

.feature-image-grid .secondary-image {
    bottom: -15%;
    left: -15%;
}

.feature-image-grid.reverse .secondary-image {
    top: -15%;
    right: -15%;
    left: auto;
    bottom: auto;
}

.feature-highlight-box {
    position: absolute;
    bottom: -10%;
    right: -5%;
    background-color: var(--primary-color);
    color: #000;
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 3;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease 0.2s;
}

.feature-image-grid.reverse .feature-highlight-box {
    bottom: auto;
    right: auto;
    top: -10%;
    left: -5%;
}

.feature-highlight-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    font-family: 'Prompt', sans-serif;
    text-transform: uppercase;
}

.feature-image-grid:hover .main-image {
    transform: translateY(-10px);
    filter: saturate(1.1) contrast(1.1);
}

.feature-image-grid:hover .secondary-image {
    transform: translateY(10px);
    filter: saturate(1) contrast(1.1);
}

.feature-image-grid:hover .feature-highlight-box {
    transform: translateY(0);
    opacity: 1;
}

/* Legacy Feature Image Style - Keeping for compatibility */
.feature-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}

.feature-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.feature-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.6s ease;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-image:hover img {
    transform: scale(1.05);
}

.feature-image:hover::before {
    opacity: 1;
}

.feature-image:hover::after {
    opacity: 1;
    transform: scale(1);
}

.feature-content .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Prompt', sans-serif;
    box-shadow: 0 4px 15px rgba(217, 164, 4, 0.3);
    margin-top: 10px;
}

.feature-content .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transition: all 0.4s ease;
    z-index: -1;
}

.feature-content .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 164, 4, 0.4);
}

.feature-content .btn-primary:hover::before {
    left: 100%;
}

.feature-section.bg-light .feature-content .btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

/* ===== INTERIOR SECTION ===== */
.interior {
    background-color: #222;
    position: relative;
}

.interior-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.interior-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--light-color);
}

.interior-text p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.interior-features {
    margin-bottom: 30px;
}

.interior-features li {
    margin-bottom: 10px;
    color: var(--gray-color);
}

.interior-features li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.interior-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-item img {
    transition: var(--transition);
}

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

.about-image-gallery {
    flex: 1;
    margin-top:-350px;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-main {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease, filter 0.5s ease;
}

.gallery-main:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.gallery-main:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.gallery-thumb {
    width: calc(33.333% - 7px);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.portfolio-showcase {
    position: relative;
}

.portfolio-showcase::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background-color: var(--dark-color);
    position: relative;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: var(--gray-dark);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--gray-color);
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p:before {
    content: '"';
    font-size: 50px;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    left: 0;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--light-color);
}

.author-info p {
    color: var(--gray-color);
    font-size: 14px;
}

/* ===== BLOG SECTION ===== */
.blog {
    background-color: #222;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--gray-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img {
    position: relative;
    overflow: hidden;
}

.blog-img img {
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--light-color);
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

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

.read-more:hover i {
    transform: translateX(5px);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: #0a1929;
    background-image: linear-gradient(135deg, #0a1929 0%, #1a3a5f 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://baanbaanconstruction.co.th/Backoffice/assets/images/banner/cc0354ea28694f57ea11f557d897f2a0.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: #fff;
}

.contact-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--light-color);
}

.contact-text p {
    color: var(--gray-color);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

.contact-form {
    background-color: var(--gray-dark);
    padding: 30px;
    border-radius: 10px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--light-color);
    font-family: 'Prompt', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0a1929;
    background-image: linear-gradient(180deg, #0a1929 0%, #0d2440 100%);
    padding: 80px 0 0;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    position: relative;
    width: 200px;
    border-radius: 10px;
   
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(217, 164, 4, 0.3);
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;

}


.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}



.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--light-color);
    position: relative;
    padding-bottom: 10px;
}

.footer h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links ul li a,
.footer-services ul li a {
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--gray-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(217, 164, 4, 0.1);
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #333;
    color: #fff;
}

/* Floating CTA Buttons */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}

.floating-cta a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-cta a i {
    margin-right: 8px;
    font-size: 18px;
}

.floating-cta a span {
    font-weight: 500;
    font-size: 14px;
}

.floating-cta .cta-call {
    background-color: #28a745;
}

.floating-cta .cta-line {
    background-color: #06C755;
}

.floating-cta .cta-contact {
    background-color: var(--primary-color);
}

.floating-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Map Container */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.map-container iframe {
    display: block;
}

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

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

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

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

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

/* ===== PARALLAX EFFECTS ===== */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: background-position 0.5s ease;
}

.parallax-slow {
    transform: translateZ(-1px) scale(2);
}

.parallax-medium {
    transform: translateZ(-0.5px) scale(1.5);
}

.parallax-fast {
    transform: translateZ(0) scale(1);
}

/* ===== CALL TO ACTION BUTTONS ===== */
.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transition: all 0.6s ease;
    z-index: -1;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-primary {
    background: linear-gradient(135deg, #f5c518, #e67e22);
    color: #000;
    border: none;
}

.cta-secondary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    border: none;
}

.cta-accent {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: #fff;
    border: none;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://baanbaanconstruction.co.th/Backoffice/assets/images/banner/cc0354ea28694f57ea11f557d897f2a0.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.cta-content p {
    font-size: 18px;
    color: #f5f5f5;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

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

.pulse {
    animation: pulse 2s infinite;
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 991px) {
    .section-header h2 {
        font-size: 32px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0 0 20px 0;
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        font-size: 18px;
    }

    .about-content,
    .interior-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    /* Responsive Portfolio Showcase - Tablet: 2 columns */
    .portfolio-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .portfolio-img-new {
        max-width: 600px;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 60px 0;
    }

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

    .section-header h2 {
        font-size: 28px;
    }

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

    .hero p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .interior-gallery {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Portfolio Showcase - Keep single column */
    .portfolio-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .portfolio-img-new {
        max-width: 500px;
    }

    .portfolio-info-new {
        padding: 15px;
    }

    .portfolio-info-new h3 {
        font-size: 16px;
    }

    .portfolio-info-new p {
        font-size: 13px;
    }
}

@media screen and (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Small Mobile Portfolio Showcase - Single column */
    .portfolio-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }

    .portfolio-showcase-grid {
        padding: 0 10px;
    }
    
    .portfolio-img-new {
        max-width: 400px;
    }

    .portfolio-info-new {
        padding: 20px;
    }

    .portfolio-info-new h3 {
        font-size: 18px;
    }

    .portfolio-info-new p {
        font-size: 14px;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Vision, Mission, Strength Section */
.vision-mission-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.vision-box, .mission-box, .strength-box {
    background-color: rgba(30, 58, 95, 0.4);
    padding: 30px;
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(217, 164, 4, 0.1);
    height: 100%;
    backdrop-filter: blur(5px);
    transform: translateY(0);
}

.vision-box:hover, .mission-box:hover, .strength-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(217, 164, 4, 0.3);
}

.vision-icon, .mission-icon, .strength-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.vision-box h3, .mission-box h3, .strength-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--light-color);
}

.vision-box p {
    text-align: center;
    font-size: 18px;
    font-style: italic;
    color: var(--primary-color);
}

.mission-box ul, .strength-box ul {
    padding-left: 20px;
}

.mission-box li, .strength-box li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
    list-style-type: none;
}

.mission-box li:before, .strength-box li:before {
    content: '\2022';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 16px;
}

.tagline {
    font-size: 18px;
    color: var(--primary-color);
    text-align: center;
    margin: 20px 0;
    font-style: italic;
}

/* Responsive styles for vision, mission, strength section */
@media screen and (max-width: 992px) {
    .vision-mission-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .vision-mission-section {
        grid-template-columns: 1fr;
    }
}

/* ===== SERVICES SECTION STYLING ===== */

/* Service Hero Section */
.service-hero {
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 93px;
    margin-left: 50px;
    margin-right: 50px;
    padding: 120px 0 80px;
    border-radius: 20px;
    overflow: hidden;
}

/* Different backgrounds for each service */
.service-hero.house-construction {
    background-image: url('../images/services/construction-hero/service1.png');
}

.service-hero.interior-design {
    background-image: url('../images/services/interior/banner.png');
}

.service-hero.architecture-design {
    background-image: url('../images/services/architecture-design/portfolio/c1/1\ \(7\)_0.png');
}

.service-hero.renovation {
    background-image: url('../images/services/renovation-hero/renovation-main.jpg');
}

/* Default fallback if no specific class */
.service-hero:not(.house-construction):not(.interior-design):not(.architecture-design):not(.renovation) {
    background-image: url('../images/services/construction-hero/service1.png');
}

/* Dark overlay on background image */
.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero-content {
    padding-right: 30px;
    position: relative;
    z-index: 2;
}

.service-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.service-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.service-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 18px;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
}

.feature-item span {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.service-cta {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: 'Prompt', sans-serif;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.service-hero-image {
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-height: 400px;
    object-fit: cover;
}

.service-hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-height: 400px;
    object-fit: cover;
}

/* Service Details Section */
.service-details {
    padding: 80px 0;
    background: white;
}

.service-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.service-content .lead {
    font-size: 1.2rem;
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Service Grid */
.service-grid {
    margin: 50px 0;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(217, 164, 4, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    color: white;
    font-size: 24px;
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 15px;
}

/* Service Sidebar */
.service-sidebar {
    padding-left: 30px;
}

.contact-card {
    background: var(--gradient-primary);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-card .btn {
    background: white;
    color: var(--primary-color);
    border: none;
}

.contact-card .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.services-list {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
}

.services-list h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 20px;
}

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

.services-list li {
    margin-bottom: 10px;
}

.services-list a {
    color: var(--gray-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.services-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.services-list i {
    color: var(--primary-color);
    width: 16px;
}

/* Service Gallery (non-PhotoSwipe) */
.service-gallery:not(.photoswipe-gallery) {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color:#fff;
}

.gallery-item:not(.gallery-grid .gallery-item) {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:not(.gallery-grid .gallery-item):hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:not(.gallery-grid .gallery-item) img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:not(.gallery-grid .gallery-item):hover img {
    transform: scale(1.05);
}

.gallery-overlay:not(.gallery-grid .gallery-overlay) {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:not(.gallery-grid .gallery-item):hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay:not(.gallery-grid .gallery-overlay) h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay:not(.gallery-grid .gallery-overlay) p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Mobile Responsive for Service Pages */
@media (max-width: 768px) {
    .service-title {
        font-size: 2.5rem;
    }
    
    .service-hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .service-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .service-sidebar {
        padding-left: 0;
        margin-top: 50px;
    }
    
    .gallery-item {
        margin-bottom: 30px;
    }
}

/* ===== PHOTOSWIPE GALLERY STYLING ===== */

/* Service Gallery Section */
.service-gallery {
    padding: 80px 0;
    background: var(--dark-blue);
}

.service-gallery .section-header {
    margin-bottom: 60px;
}

.service-gallery .section-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-gallery .section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 200px);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Gallery Item Sizes */
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

/* Gallery Item Styling */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item a {
    display: block;
    height: 100%;
    text-decoration: none;
}

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

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

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(198, 167, 115, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.gallery-info {
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.gallery-info h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gallery-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.gallery-icon i {
    color: #ffffff;
    font-size: 1.2rem;
}

.gallery-item:hover .gallery-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid {
        max-width: 900px;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
    
    .gallery-item.medium {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
        gap: 10px;
    }
    
    .gallery-item.large,
    .gallery-item.medium {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 200px);
    }
    
    .gallery-item.large,
    .gallery-item.medium,
    .gallery-item.small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .service-gallery {
        padding: 60px 0;
    }
}

/* View More Button */
.service-gallery .btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4a574 100%);
    border: none;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(198, 167, 115, 0.3);
}

.service-gallery .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(198, 167, 115, 0.4);
    color: #ffffff;
}

/* Mobile Responsive for Service Pages */
@media (max-width: 768px) {
    .service-title {
        font-size: 2.5rem;
    }
    
    .service-hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .service-cta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .service-sidebar {
        padding-left: 0;
        margin-top: 50px;
    }
    
    .gallery-item {
        margin-bottom: 30px;
    }
}

/* ===== CONSTRUCTION TIMELINE STYLING ===== */

/* Process Section Header */
.process-section {
    padding: 60px 0;
    background: transparent;
}

.process-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.process-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

/* Construction Timeline */
.construction-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 20px;
}

/* Timeline Steps */
.timeline-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.timeline-step:nth-child(odd) {
    animation-delay: 0.1s;
}

.timeline-step:nth-child(even) {
    animation-delay: 0.2s;
}

/* Step Icon */
.step-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4a574 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 30px;
    box-shadow: 0 10px 30px rgba(198, 167, 115, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(198, 167, 115, 0.4);
}

.step-icon i {
    color: #ffffff;
    font-size: 1.8rem;
}

/* Step Content */
.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.step-content:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(198, 167, 115, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.step-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.step-content:hover::before {
    border-right-color: rgba(255, 255, 255, 0.08);
}

/* Step Number */
.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Step Title */
.step-title {
    color: #000;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 10px;
}

/* Step Description */
.step-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Step Features */
.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.step-features span {
    background: rgba(198, 167, 115, 0.2);
    border: 1px solid rgba(198, 167, 115, 0.3);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.step-features span:hover {
    background: rgba(198, 167, 115, 0.3);
    transform: translateY(-2px);
}

.step-features span i {
    margin-right: 8px;
    font-size: 0.8rem;
}

/* Timeline Connector */
.timeline-connector {
    position: absolute;
    left: 60px;
    top: -25px;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, 
        rgba(198, 167, 115, 0.8) 0%, 
        rgba(198, 167, 115, 0.4) 50%,
        rgba(198, 167, 115, 0.8) 100%
    );
    z-index: 1;
}

.timeline-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(198, 167, 115, 0.5);
}

/* Animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .construction-timeline {
        padding: 0 10px;
    }
    
    .timeline-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 20px;
        width: 70px;
        height: 70px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
    
    .step-content {
        margin-top: 0;
        max-width: 400px;
    }
    
    .step-content::before {
        display: none;
    }
    
    .timeline-connector {
        left: 50%;
        transform: translateX(-50%);
        top: -20px;
        height: 40px;
    }
    
    .process-title {
        font-size: 2rem;
    }
    
    .step-features {
        justify-content: center;
    }
}

/* Client Section Styling */
.client-section {
    margin-bottom: 80px;
}

.client-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.client-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #d4a574 100%);
    border-radius: 2px;
}
