/* ==================== KIAAN MODULAR - CONSOLIDATED STYLESHEET ==================== */

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary: #5a5959;
    --primary-color: #5a5959;
    --secondary: #5a5959;
    --secondary-color: #e9dbcd;
    --accent: #5a5959;
    --light-bg: #e9dbcd4d;
    --dark-bg: #1a1a1a;
    --dark-color: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-light: #5a5959;
    --text-muted: #5a5959;
    --border-color: #5a5959;
    --border-light: #e9dbcd;
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --spacing: 1rem;
}
.container { 
    max-width: 1600px; 
    margin: 0 auto; 
    padding: 0 var(--spacing); 

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

html {
    scroll-behavior: smooth;
    min-height: 100%;
    overflow-y: scroll;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: white;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 100%;
    line-height: 1.6;
    margin: 0;
    position: relative;
}

/* ==================== NAVBAR & NOTIFICATION BAR ==================== */
.notification-bar {
    background: linear-gradient(90deg, #1a1a1a 0%, #1a1a1a 100%);
    color: white;
    padding: 12px 0;
    
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1030;
    border-bottom: 1px solid rgba(89, 89, 89, 0.3);
    animation: slideDown 0.5s ease-out;
    width: 100%;
    height: auto;
    min-height: 50px;
    box-sizing: border-box;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 15px;
}

.notification-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

.notification-text i {
    color: #e9dbcd;
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.notification-text span {
    color: #b8d4e8;
}

.notification-text strong {
    color: #e8544a;
    font-weight: 700;
}

/* Force transparent navbar until scroll - override Bootstrap .navbar-light */
.navbar-main.navbar-light,
#mainNavbar.navbar-main,
.navbar-main {
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    top: 0px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    z-index: 1025;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0px 0;
    margin: 0 !important;
    box-sizing: border-box;
    height: auto;
}

.navbar-main.scrolled {
    background: white !important;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
}

/* Transparent navbar: light text by default */
.navbar-main .nav-link,
.navbar-main .navbar-brand,
.navbar-main .brand-text { color: rgba(255, 255, 255, 0.95) !important; }
.navbar-main .nav-link:hover { color: #fff !important; }
.navbar-main .btn-quote { background: rgba(255,255,255,0.2); color: #fff !important; border-color: rgba(255,255,255,0.5); }
.navbar-main .btn-quote:hover { background: rgba(255,255,255,0.3); color: #fff !important; }
.navbar-main.scrolled .nav-link,
.navbar-main.scrolled .navbar-brand,
.navbar-main.scrolled .brand-text { color: var(--text-dark) !important; }
.navbar-main.scrolled .nav-link:hover { color: var(--primary) !important; }
.navbar-main.scrolled .btn-quote { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.navbar-main.scrolled .btn-quote:hover { background: var(--primary-dark); color: #fff !important; }
.navbar-main .navbar-toggler { border-color: rgba(255,255,255,0.5) !important; }
.navbar-main .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='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; }
.navbar-main.scrolled .navbar-toggler { border-color: rgba(0,0,0,0.2) !important; }
.navbar-main.scrolled .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='%235a5959' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; }

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 5px 0 !important;
    text-decoration: none !important;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e9dbcd 0%, #5a5959 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(89, 89, 89, 0.3);
    flex-shrink: 0;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #5a5959 0%, #e9dbcd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-menu {
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #5a5959 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    border-radius: 6px;
    text-decoration: none;
}

.nav-link i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #090909 !important;
    background: rgba(89, 89, 89, 0.08);
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #e9dbcd, #5a5959);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 32px);
}

.nav-link.active {
    color: #1c1c1c  !important;
}

.nav-link.active::after {
    width: calc(100% - 32px);
}

.navbar-cta {
    margin-left: auto !important;
}

.btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #595959 0%, #595959 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(89, 89, 89, 0.3);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(89, 89, 89, 0.4);
    color: white;
}

.btn-quote i {
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-quote:hover i {
    transform: rotate(20deg);
}

.navbar-toggler {
    transition: all 0.3s ease;
    border: 2px solid rgba(89, 89, 89, 0.2) !important;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
}

.navbar-toggler:hover {
    background: white;
    border-color: #e9dbcd !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(233, 219, 205, 0.3);
    outline: none;
    border-color: #e9dbcd !important;
}

.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='%235a5959' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* ==================== HERO SECTION ==================== */
/* Pull hero up so image shows behind transparent navbar (home page) */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    margin-top: -86px;
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, #0a1f2e 50%, var(--dark-bg) 100%);
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.4) 0%, rgba(10, 31, 46, 0.5) 100%);
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 157, 217, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 84, 74, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(10, 31, 46, 0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInDown 1s var(--transition) 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 300;
    margin-bottom: 30px;
    color: #b8d4e8;
    letter-spacing: 1px;
    animation: slideInUp 1s var(--transition) 0.4s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #a8c5db;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeIn 1s var(--transition) 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: slideInUp 1s var(--transition) 0.8s both;
}

.hero-btn {
    padding: 12px 40px;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #595959 0%, #595959 100%);
    
    color: white;
    box-shadow: 0 10px 40px rgba(232, 84, 74, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(232, 84, 74, 0.4);
    color: white;
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s var(--transition) infinite;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

/* ==================== PAGE HEADER ==================== */
/* Pull page-header up so image shows behind transparent navbar (~120px = notification + navbar) */
/* Color overlay on image for readability */
.page-header {
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.5) 0%, rgba(26, 37, 47, 0.55) 100%),
                url('../../img/9.jpg') center center / cover no-repeat;
    padding: 120px 0 50px; /* extra top padding so content sits below navbar */
    margin-top: -86px !important;    /* pull up so banner goes behind navbar */
    position: relative;
    overflow: hidden;
    color: white;
}

/* Per-page header image override: set $page_header_image in PHP then use .page-header.page-header-custom */
.page-header.page-header-custom {
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.85) 0%, rgba(26, 37, 47, 0.9) 100%),
                var(--page-header-bg) center center / cover no-repeat;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    transform: translate(100px, -100px);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 50%;
    transform: translate(-150px, 100px);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    animation: slideInDown 0.8s var(--transition) both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.breadcrumb {
    background: transparent;
    position: relative;
    z-index: 2;
    animation: slideInUp 0.8s var(--transition) 0.2s both;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
    transition: all 0.3s var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--secondary) !important;
}

.breadcrumb-item.active {
    color: white !important;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    padding: 50px 0;
    background: white;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 157, 217, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about-image-wrapper {
    position: relative;
    animation: slideInLeft 1s var(--transition) both;
}

.about-image-wrapper img {
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    transition: all 0.3s var(--transition);
}

.about-image-wrapper:hover img {
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.18);
}

/* About Collage */
.about-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    position: relative;
    animation: slideInLeft 1s var(--transition) both;
}

.collage-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s var(--transition);
}

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

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

.collage-main {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 16/9;
}

.collage-sm {
    aspect-ratio: 1;
}

.collage-wide {
    grid-column: 1 / -1;
    aspect-ratio: 2.5/1;
}

.about-content {
    animation: slideInRight 1s var(--transition) both;
}

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

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

.welcome-section {
    padding: 80px 0;
    background: #fff;
}

.welcome-content {
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.welcome-image {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.welcome-image img {
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.welcome-image img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.story-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
}

.story-section p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* ==================== SECTION TITLES ==================== */
.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 46%;
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-description
 {
    text-transform: none !important;
    color: var(--text-light) !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    letter-spacing: normal !important;
    margin-top: -20px !important;
    margin-bottom: 30px !important;
}

.portfolio-empty {
    grid-column: 1/-1;
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
    font-size: 1.1rem;
}

.testimonial-empty {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
    font-size: 1.1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.8;
}
/* ==================== SERVICES SECTION ==================== */
.services-section {
    padding: 50px 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -300px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 84, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* Section Header - centered, smaller width */
.section-header {
    text-align: center;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
   
   
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s var(--transition) forwards;
    opacity: 0;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--transition);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto 25px;
    transition: all 0.3s var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

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

.service-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: auto;
}

.btn-service-popup,
.btn-service-interior {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-service-popup {
    background: linear-gradient(135deg, #595959 0%, #595959 100%);
    color: white;
}

.btn-service-popup:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(89, 89, 89, 0.35);
}

.btn-service-interior {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-service-interior:hover {
    background: linear-gradient(135deg, #595959 0%, #595959 100%);
    color: white;
    border-color: #595959;
    transform: translateY(-2px);
}

.service-detail-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.service-detail-btns .btn-service-popup,
.service-detail-btns .btn-service-interior {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Portfolio Tabs */
.portfolio-tabs-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.portfolio-tab {
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s var(--transition);
}

.portfolio-tab:hover,
.portfolio-tab.active {
    background: linear-gradient(135deg, #595959 0%, #595959 100%);
    color: white;
    border-color: #595959;
}

/* Scroll popup modal */
.scroll-popup-content .modal-body { position: relative; }
.scroll-popup-close { position: absolute; top: 15px; right: 15px; }

/* Section Intro */
.section-intro {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s var(--transition) 0.1s both;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.8px;
    position: relative;
    display: inline-block;
    padding-bottom: 25px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.7;
    font-weight: 500;
}

/* Services Container - Main Grid */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 45px;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
}

/* Service Detail Card */
.service-detail-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--transition);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.8s var(--transition) forwards;
    opacity: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    z-index: 1;
}

.service-detail-card:nth-child(1) { animation-delay: 0.1s; }
.service-detail-card:nth-child(2) { animation-delay: 0.2s; }
.service-detail-card:nth-child(3) { animation-delay: 0.3s; }
.service-detail-card:nth-child(4) { animation-delay: 0.4s; }
.service-detail-card:nth-child(5) { animation-delay: 0.5s; }
.service-detail-card:nth-child(6) { animation-delay: 0.6s; }

.service-detail-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary);
}

/* Card Image */
.service-detail-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s var(--transition);
    display: block;
}

.service-detail-card:hover img {
    transform: scale(1.08);
}

/* Card Body */
.card-body {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Card Title */
.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.card-title i {
    color: white;
    font-size: 1.4rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s var(--transition);
}

.service-detail-card:hover .card-title i {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(232, 84, 74, 0.3);
}

/* Card Text */
.card-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    flex: 1;
    font-weight: 500;
}

/* Service Features List */
.service-detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-detail-card li {
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.3s var(--transition);
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 8px 0;
    border-left: 3px solid transparent;
    padding-left: 12px;
}

.service-detail-card li:hover {
    color: var(--secondary);
    transform: translateX(5px);
    border-left-color: var(--secondary);
}

.service-detail-card i.fa-check {
    color: white;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 3px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Service enquiry modal */
.service-enquiry-modal .modal-body .form-label { font-weight: 600; color: var(--text-dark); }
.service-enquiry-modal .form-control { border-radius: 8px; }

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-top: 80px;
    box-shadow: 0 20px 60px rgba(232, 84, 74, 0.3);
    animation: fadeInUp 0.8s var(--transition) 0.3s both;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.cta-box p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 14px 40px;
    background: white;
    color: var(--secondary);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s var(--transition);
    position: relative;
    z-index: 1;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: transparent;
    color: white;
}

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

@media (max-width: 1200px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
        gap: 35px;
    }

    .card-body {
        padding: 35px;
    }

    .card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 30px;
    }

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

    .service-detail-card img {
        height: 280px;
    }

    .card-body {
        padding: 30px;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .cta-box h3 {
        font-size: 1.7rem;
    }
}

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

    .services-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .service-detail-card {
        border-radius: 10px;
    }

    .service-detail-card img {
        height: 250px;
    }

    .card-body {
        padding: 25px;
    }

    .card-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
        gap: 10px;
    }

    .card-title i {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .card-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .service-detail-card ul {
        gap: 10px;
    }

    .service-detail-card li {
        font-size: 0.85rem;
        gap: 10px;
        padding: 6px 0;
        padding-left: 10px;
    }

    .cta-box {
        padding: 40px 20px;
        margin-top: 60px;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 120px 20px 60px;
        margin-top: -120px;
    }

    .page-title {
        font-size: 2rem;
    }

    .services-section {
        padding: 40px 0;
    }

    .services-container {
        gap: 20px;
    }

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

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-detail-card {
        border-radius: 8px;
    }

    .service-detail-card img {
        height: 200px;
    }

    .card-body {
        padding: 20px;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .card-title i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.6;
    }

    .service-detail-card li {
        font-size: 0.8rem;
    }

    .service-detail-card i.fa-check {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    .cta-box {
        padding: 30px 15px;
    }

    .cta-box h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .cta-box p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==================== PORTFOLIO SECTION ==================== */
.portfolio-section {
    padding: 50px 0;
    background: white;
    position: relative;
    overflow: visible;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s var(--transition);
    aspect-ratio: 4/5;
    animation: fadeInUp 0.8s var(--transition) forwards;
    opacity: 0;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:nth-child(1) { animation-delay: 0.1s; }
.portfolio-card:nth-child(2) { animation-delay: 0.2s; }
.portfolio-card:nth-child(3) { animation-delay: 0.3s; }
.portfolio-card:nth-child(4) { animation-delay: 0.4s; }
.portfolio-card:nth-child(5) { animation-delay: 0.5s; }
.portfolio-card:nth-child(6) { animation-delay: 0.6s; }

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-bg), #e8f0f8);
    flex: 1;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s var(--transition);
    display: block;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.12);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.95) 0%, rgba(232, 84, 74, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s var(--transition);
    padding: 30px;
    z-index: 2;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.98) 0%, rgba(232, 84, 74, 0.90) 100%);
}

.portfolio-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s var(--transition);
    width: 100%;
    z-index: 3;
    position: relative;
    padding: 20px;
    opacity: 0;
}

.portfolio-card:hover .portfolio-content {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-content h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.portfolio-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: white !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.portfolio-content p.mb-2 {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    margin: 10px 0 15px 0;
    font-weight: 600;
    font-size: 0.85rem;
}

.portfolio-content .small {
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0.9;
}

.portfolio-item {
    animation: fadeInScale 0.6s var(--transition) forwards;
    opacity: 0;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
    animation: slideInUp 0.8s var(--transition) both;
}

.portfolio-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.portfolio-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px;
}

.portfolio-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 15px;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    animation: slideInUp 0.8s var(--transition) 0.2s both;
}

.portfolio-filters .btn {
    padding: 12px 30px;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-dark);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    position: relative;
    overflow: hidden;
}

.portfolio-filters .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    z-index: -1;
    transition: left 0.3s var(--transition);
}

.portfolio-filters .btn:hover {
    border-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(232, 84, 74, 0.2);
}

.portfolio-filters .btn:hover::before {
    left: 0;
}

.portfolio-filters .btn.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(232, 84, 74, 0.3);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
    animation: slideInUp 0.8s var(--transition) both;
}

.empty-state i {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .portfolio-filters {
        gap: 10px;
    }

    .portfolio-filters .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-section {
        padding: 60px 0;
    }

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

    .portfolio-content h5 {
        font-size: 1.2rem;
    }
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 50px 0;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
}


.contact-form-wrapper {
    background: #fff;
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    animation: slideUpForm 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e9dbcd, #5a5959, #5a5959);
}

.form-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.form-group {
    margin-bottom: 30px;
    animation: fadeIn 0.6s ease-out backwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.15s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.25s; }
.form-group:nth-child(5) { animation-delay: 0.3s; }
.form-group:nth-child(6) { animation-delay: 0.35s; }

.form-label {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.form-control {
    border: 2px solid #5a5959;
    border-radius: 3px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #e9dbcd;
}

.form-control:focus {
    background: #fff;
    border-color: #e9dbcd;
    box-shadow: 0 0 0 3px rgba(233, 219, 205, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #5a5959;
}

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

.submit-btn {
    background: linear-gradient(135deg, #595959 0%, #595959 100%);
    color: #fff;
    border: none;
    padding: 16px 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 135, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

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

.info-card {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    animation: slideInRight 0.8s ease-out;
    position: relative;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af87, #b8956f);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af87, #b8956f);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.5rem;
}

.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c2c2c;
    font-weight: 600;
}

.info-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.8;
    font-size: 0.95rem;
}

.info-card a {
    color: #d4af87;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.info-card a:hover {
    color: #b8956f;
}

.alert {
    border-radius: 3px;
    border: none;
    margin-bottom: 40px;
    padding: 20px 30px;
    animation: slideDown 0.5s ease-out;
    font-size: 0.95rem;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-danger {
    background: #ffebee;
    color: #c62828;
}

.alert-warning {
    background: #fff3e0;
    color: #e65100;
}

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

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

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 80px 0;
    background: #fff;
}

.feature-box {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    height: 100%;
    animation: fadeInScaleUp 0.8s ease-out forwards;
}

.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.2s; }
.feature-box:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInScaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.feature-box:hover {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 15px 50px rgba(52, 152, 219, 0.15);
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
}

.feature-box h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.why-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.why-list {
    list-style: none;
}

.why-list li {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 5px solid var(--secondary);
    transition: var(--transition);
    animation: slideInUp 0.8s ease-out forwards;
}

.why-list li:nth-child(1) { animation-delay: 0.1s; }
.why-list li:nth-child(2) { animation-delay: 0.2s; }
.why-list li:nth-child(3) { animation-delay: 0.3s; }
.why-list li:nth-child(4) { animation-delay: 0.4s; }
.why-list li:nth-child(5) { animation-delay: 0.5s; }

.why-list li:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.15);
    border-left-color: var(--accent);
    transform: translateX(10px);
}

.why-list i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-right: 12px;
}

.why-list strong {
    color: var(--primary);
    font-weight: 600;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark-bg) 100%);
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 84, 74, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 157, 217, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.cta-content {
    position: relative;
    z-index: 1;
    animation: slideInUp 1s var(--transition) both;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    padding: 16px 50px;
    font-size: 1.05rem;
    font-weight: 600;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    display: inline-block;
}

.cta-btn:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 12px;
    padding: 80px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 120px;
    animation: fadeInUp 0.8s var(--transition) 0.7s both;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.cta-box::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(45, 90, 123, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.cta-box h3 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    color: white;
    letter-spacing: -1px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

/* Home page portfolio: 4 images per row, 2 rows on All tab, button below */
.portfolio-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 0;
}
.portfolio-grid-home .portfolio-item-home {
    min-height: 0;
}
@media (max-width: 992px) {
    .portfolio-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Mobile: Header menu bar - solid background and dark text for readability */
    .navbar-main {
        background: #fff !important;
        background-color: #fff !important;
        border-bottom: 1px solid #eee;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }
    .navbar-main .navbar-brand,
    .navbar-main .brand-text,
    .navbar-main .nav-link {
        color: #1a1a1a !important;
    }
    .navbar-main .nav-link:hover {
        color: var(--primary) !important;
    }
    .navbar-main .btn-quote {
        background: var(--primary) !important;
        color: #fff !important;
        border-color: var(--primary);
    }
    .navbar-main .navbar-toggler {
        border-color: rgba(0,0,0,0.2) !important;
    }
    .navbar-main .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='%231a1a1a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}
@media (max-width: 576px) {
    .portfolio-grid-home {
        grid-template-columns: 1fr;
    }
}
.portfolio-section .view-all-btn {
    margin-top: 32px;
    padding-top: 8px;
    text-align: center;
}
.view-all-btn{
    text-align: center;
}

.btn-primary-custom {
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 6px;
    background: linear-gradient(135deg, #595959 0%, #595959 100%);
    color: white;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s var(--transition);
    margin-top: 20px;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(232, 84, 74, 0.3);
    color: white;
}
/* ==================== FOOTER ==================== */
.footer {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    margin-top: 0px;
    padding: 60px 0 20px;
    position: relative;
    z-index: 2;
}
li a{
    text-decoration: none !important;
}

/* Footer mobile: smaller + accordion (accordion visible via d-lg-none in HTML) */
@media (max-width: 991px) {
    .footer {
        padding: 20px 0 12px;
    }
    .footer-mobile-brand img {
        max-width: 80px;
    }
    .footer-mobile-brand .footer-description {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    .footer-mobile-accordion {
        padding: 0 12px;
    }
    .footer-accordion {
        padding: 0 4px;
    }
    .footer-accordion .accordion-item {
        background: transparent;
        border-color: rgba(255,255,255,0.1);
        border-bottom-width: 1px;
        margin-bottom: 10px;
    }
    .footer-accordion .accordion-item:last-child {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 0;
    }
    .footer-accordion-btn {
        background: rgba(255,255,255,0.06) !important;
        color: #fff !important;
        font-size: 0.95rem;
        font-weight: 600;
        padding: 12px 0;
        border: none;
        box-shadow: none;
    }
    .footer-accordion-btn::after {
        filter: invert(1);
    }
    .footer-accordion-btn:not(.collapsed) {
        background: rgba(255,255,255,0.1) !important;
    }
    .footer-accordion .accordion-body {
        background: rgba(0,0,0,0.2);
        color: rgba(255,255,255,0.9);
        font-size: 0.9rem;
    }
    .footer-accordion .footer-links a {
        font-size: 0.9rem;
        color: #ccc !important;
    }
    .footer-accordion .footer-links a:hover {
        color: #fff !important;
    }
    .footer-accordion .contact-text,
    .footer-accordion .contact-link {
        font-size: 0.85rem;
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .footer {
        padding: 16px 0 10px;
    }
    .footer-mobile-accordion .accordion-body {
        font-size: 0.85rem;
    }

    .footer-brand {
        font-size: 16px;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 1rem !important;
    }

    .col-12 {
        margin-bottom: 1.5rem;
    }

    .footer-links a {
        font-size: 16px;
    }

    .contact-details {
        font-size: 16px;
    }
}

.footer-brand {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    color: #fff;
}

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

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: #999 !important;
}

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links a {
    font-size: 16px;
    transition: color 0.3s ease;
    color: #999 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    width: 16px;
    color: #d4a574;
}

.footer-links a:hover {
    color: #fff !important;
    padding-left: 5px;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    transition: var(--transition);
}

.footer a:hover {
    color: white !important;
}

/* Contact Details Styling */
.contact-details {
    font-size: 16px;
    line-height: 1.8;
}

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

.contact-icon {
    color: #d4a574;
    min-width: 18px;
    margin-top: 3px;
    font-size: 16px;
}

.contact-text {
    color: #999 !important;
    margin: 0;
    flex: 1;
    word-wrap: break-word;
}

.contact-link {
    color: #999 !important;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: #fff !important;
    padding-left: 5px;
}

.contact-details a {
    color: #999 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #fff !important;
}

.text-muted {
    --bs-text-opacity: 1;
    color: rgb(233 219 205) !important;
}

/* Responsive gap adjustment */
@media (max-width: 576px) {
    .row.g-md-5 {
        gap: 1rem !important;
    }

    .contact-item {
        gap: 10px;
    }

    .footer-links a {
        gap: 6px;
        font-size: 13px;
    }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer {
        padding: 50px 0 20px;
    }

    .row.g-md-5 {
        gap: 2rem !important;
    }
}

/* ==================== LEGAL CONTENT ==================== */
.legal-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.legal-content h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.legal-content h4 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, #595959 0%, #595959 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #595959 0%, #595959 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(89, 89, 89, 0.4);
}

.btn-outline-primary {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

/* ==================== UTILITY CLASSES ==================== */
/* Bootstrap container is used, but we add custom spacing if needed */

.row {
    margin: 0;
}

[class*='col-'] {
    padding: 0 15px;
}

.g-4 > [class*='col-'],
.g-5 > [class*='col-'] {
    padding: var(--spacing);
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.align-items-center {
    align-items: center;
}

.min-vh-100 {
    min-height: 100vh;
}

.py-5 {
    padding: 3rem 0;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .service-detail-card {
        flex-direction: column !important;
    }

    .service-detail-card img {
        min-width: auto !important;
        max-width: none !important;
        height: 250px !important;
        width: 100% !important;
    }

    .card-body {
        width: 100% !important;
        padding: 35px !important;
    }

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

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

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 120px 0 40px;
        margin-top: -120px;
    }

    .hero-img {
        object-position: center top;
    }

    .hero-background-image::before {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(10, 31, 46, 0.6) 100%);
    }

    .page-header {
        padding: 120px 0 50px;
        margin-top: -120px;
        margin-bottom: 50px;
    }

    .about-section {
        padding: 60px 0;
    }

    .services-section {
        padding: 60px 0;
    }

    .services-section .section-header {
        margin-bottom: 0px;
    }

    .portfolio-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .section-title::after {
        width: 60px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 30px;
    }

    .portfolio-grid {
        gap: 20px;
    }

    .portfolio-card {
        aspect-ratio: auto;
        height: 250px;
    }

    .portfolio-overlay {
        padding: 20px;
    }

    .portfolio-content {
        padding: 15px;
    }

    .portfolio-content h5 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .portfolio-content p {
        font-size: 0.85rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .navbar-main {
        padding: 10px 0;
    }

    .notification-text {
        font-size: 0.85rem;
    }

    .notification-text span {
        display: none;
    }

    .notification-text strong {
        display: none;
    }

    .notification-text::after {
        content: '📍 Special Offer!';
        color: #e9dbcd;
    }

    .nav-menu {
        padding-top: 15px;
        border-top: 1px solid #5a5959;
        margin-top: 15px;
    }

    .nav-link {
        padding: 12px 16px !important;
        border-radius: 6px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        background: rgba(89, 89, 89, 0.1);
    }

    .navbar-cta {
        margin-left: 0 !important;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #5a5959;
    }

    .btn-quote {
        width: 100%;
        justify-content: center;
    }

    .welcome-section {
        padding: 50px 0;
    }

    .features-section {
        padding: 50px 0;
    }

    .feature-box {
        margin-bottom: 30px;
        padding: 30px 20px;
    }

    .why-section {
        padding: 50px 0;
    }

    .why-list li {
        padding: 15px;
        margin-bottom: 15px;
    }

    .contact-section {
        padding: 60px 0;
    }

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

    .contact-info-sidebar {
        gap: 25px;
    }

    .info-card {
        padding: 30px;
    }

    .form-section-title {
        font-size: 1.4rem;
    }

    .submit-btn {
        width: 100%;
        padding: 14px;
        font-size: 0.9rem;
    }

    .portfolio-filters {
        gap: 10px;
    }

    .portfolio-filters .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 12px 30px;
        width: 100%;
    }

    .cta-box {
        padding: 50px 30px;
        margin-top: 80px;
    }

    .cta-box h3 {
        font-size: 2rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .footer {
        padding: 30px 0 !important;
    }

    .footer-brand {
        font-size: 16px;
    }

    .footer-heading {
        font-size: 15px;
        margin-top: 20px;
    }

    .footer-description {
        font-size: 13px;
    }

    .footer .row {
        text-align: center;
    }

    .col-md-6.text-end {
        text-align: center !important;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-img {
        object-position: center center;
    }

    .hero-background-image::before {
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(10, 31, 46, 0.7) 100%);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

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

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

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

    .service-card {
        padding: 25px;
    }

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

    .portfolio-card {
        height: 200px;
    }

    .portfolio-overlay {
        padding: 15px;
    }

    .portfolio-content {
        padding: 10px;
    }

    .portfolio-content h5 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .portfolio-content p {
        font-size: 0.8rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
        width: 100%;
    }

    .page-title {
        font-size: 2rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .notification-bar {
        padding: 10px 0;
        min-height: 45px;
    }

    .notification-content {
        flex-direction: column;
        gap: 10px;
        padding: 0 10px;
    }

    .notification-text {
        font-size: 0.8rem;
        justify-content: center;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .brand-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    /* Mobile Menu - Overlay (hero/content niche move nahi hoga) */
    .navbar-main {
        position: relative;
    }
    .navbar-main .navbar-brand,
    .navbar-main .navbar-toggler {
        position: relative;
        z-index: 1050;
    }
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 100vh;
        overflow-y: auto;
        margin: 0 !important;
        padding: 120px 20px 24px 20px !important;
        background: white !important;
        border-radius: 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: none !important;
        border-bottom: 1px solid #eee !important;
        z-index: 1040;
    }
    .navbar-collapse.collapsing {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1040;
    }
    .navbar-collapse.show {
        background: white !important;
    }

    .nav-link {
        color: #5a5959 !important;
        background: transparent;
        border-radius: 8px;
        margin-bottom: 8px;
        padding: 12px 15px !important;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(89, 89, 89, 0.1) !important;
        color: #040404 !important;
        transform: translateX(5px);
    }

    .nav-link i {
        font-size: 1.3rem !important;
        color: #5a5959 !important;
        width: 24px;
        text-align: center;
        transition: all 0.3s ease;
    }

    .nav-link:hover i {
        color: #e9dbcd !important;
        transform: scale(1.1);
    }

    .nav-link span {
        display: inline-block !important;
        font-size: 0.95rem;
        font-weight: 600;
        color: inherit;
    }

    .nav-link.active {
        background: linear-gradient(135deg, rgba(233, 219, 205, 0.2) 0%, rgba(89, 89, 89, 0.1) 100%) !important;
        color: #e9dbcd !important;
        border-left: 4px solid #e9dbcd;
    }

    .nav-link.active i {
        color: #e9dbcd !important;
    }

    .nav-link.active span {
        color: #e9dbcd !important;
    }

    .navbar-cta {
        padding-top: 15px !important;
        margin-top: 15px;
        border-top: 1px solid #f0f0f0;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .btn-quote {
        width: 100% !important;
        justify-content: center;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        display: flex !important;
        align-items: center;
        gap: 8px;
    }

    .brand-logo {
        gap: 6px;
    }

   
    .page-header {
        padding: 120px 0 60px;
        margin-top: -120px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

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

    .info-card {
        padding: 25px 20px;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

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

    .lead {
        font-size: 1.1rem;
    }

    .feature-box {
        padding: 25px 15px;
    }

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

    .portfolio-header h2 {
        font-size: 1.8rem;
    }

    .portfolio-header h2::after {
        width: 80px;
    }

    .portfolio-image {
        height: 220px;
    }

    .card-body {
        padding: 25px !important;
    }

    .card-title {
        font-size: 1.3rem;
        gap: 8px;
    }

    .card-title i {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }

    .card-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .service-detail-card li {
        font-size: 0.9rem;
    }

    .cta-box {
        padding: 35px 20px;
    }

    .cta-box h3 {
        font-size: 1.6rem;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .hero-section,
    .scroll-indicator,
    .cta-btn,
    nav,
    footer,
    .page-header,
    .cta-box {
        display: none;
    }
}

/* ==================== WHY CHOOSE US SECTION ==================== */
.why-choose-section {
    padding: 50px 0;
    background: var(--light-bg);
    position: relative;
    z-index: 1;
    visibility: visible;
}

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

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

.choose-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--transition);
    border: 1px solid transparent;
    text-align: center;
    animation: fadeInUp 0.8s var(--transition) forwards;
    opacity: 0;
}

.choose-card:nth-child(1) { animation-delay: 0.1s; }
.choose-card:nth-child(2) { animation-delay: 0.2s; }
.choose-card:nth-child(3) { animation-delay: 0.3s; }
.choose-card:nth-child(4) { animation-delay: 0.4s; }
.choose-card:nth-child(5) { animation-delay: 0.5s; }
.choose-card:nth-child(6) { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
    .choose-card,
    .portfolio-card { opacity: 1; animation: none; }
}

.choose-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.choose-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.3s var(--transition);
}

.choose-card:hover .choose-icon {
    transform: scale(1.1) rotate(-5deg);
}

.choose-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.choose-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* ==================== RANKED SECTION ==================== */
.ranked-section {
    padding: 80px 0;
    background: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ranked-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.ranked-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-item {
    opacity: 0.6;
    transition: all 0.3s var(--transition);
    filter: grayscale(100%);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.logo-item img {
    max-width: 150px;
    height: auto;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: 30px 0;
    background: var(--light-bg);
    position: relative;
    z-index: 1;
}

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

.testimonials-swiper {
    padding: 40px 0 60px;
    overflow: hidden;
    position: relative;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--transition);
}

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

.testimonial-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Swiper Custom Styles */
.testimonials-swiper {
    position: relative;
}

.swiper-navigation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    position: relative;
}

.custom-prev,
.custom-next {
    color: var(--primary) !important;
    background: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s var(--transition) !important;
    position: relative !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    flex-shrink: 0;
}

.custom-prev:hover,
.custom-next:hover {
    background: var(--secondary) !important;
    color: white !important;
    transform: scale(1.1) !important;
}

.custom-prev::after,
.custom-next::after {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.custom-pagination {
    position: relative !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
}

.custom-pagination .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: var(--primary) !important;
    opacity: 0.3 !important;
    transition: all 0.3s var(--transition) !important;
    margin: 0 5px !important;
}

.custom-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: var(--secondary) !important;
    transform: scale(1.2) !important;
}

/* ==================== RESPONSIVE FOR NEW SECTIONS ==================== */
@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

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

    .ranked-section {
        padding: 60px 0;
    }

    .ranked-logos {
        gap: 30px;
    }

    .logo-item img {
        max-width: 120px;
    }

    .testimonials-section {
        padding: 60px 0;
    }

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

    .testimonial-text {
        font-size: 1rem;
    }

    .swiper-navigation-wrapper {
        gap: 20px;
        margin-top: 30px;
    }

    .custom-prev,
    .custom-next {
        width: 45px !important;
        height: 45px !important;
    }
}

@media (max-width: 576px) {
    .why-choose-grid {
        gap: 15px;
    }

    .choose-card {
        padding: 25px 15px;
    }

    .choose-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .choose-card h4 {
        font-size: 1.2rem;
    }

    .ranked-logos {
        gap: 20px;
    }

    .logo-item img {
        max-width: 100px;
    }

    .testimonial-card {
        padding: 25px 15px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .swiper-navigation-wrapper {
        gap: 15px;
        margin-top: 25px;
    }

    .custom-prev,
    .custom-next {
        width: 40px !important;
        height: 40px !important;
    }

    .custom-prev::after,
    .custom-next::after {
        font-size: 14px !important;
    }
}

/* ==================== SCROLLBAR STYLING ==================== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}
