@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
	--primary: #E91E63; /* Pink */
	--secondary: #00BCD4; /* Cyan */
	--dark: #111111;
	--gray: #666666;
	--light-bg: #f8f9fa;
	--border: #eeeeee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; position: relative; }
body { font-family: 'Outfit', sans-serif; color: var(--gray); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; color: var(--dark); line-height: 1.2; }
a { text-decoration: none; transition: 0.3s; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Buttons */
.btn-hp {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 28px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
	border-radius: 50px; cursor: pointer; transition: 0.3s;
	gap: 12px; line-height: 1;
}
.btn-hp i {
	border-radius: 50%; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; transition: 0.3s; flex-shrink: 0;
	margin: 0; line-height: 1;
}

.btn-white { background: #fff; color: var(--dark); }
.btn-white i { background: var(--dark); color: #fff; }
.btn-white:hover { background: var(--dark); color: #fff; }
.btn-white:hover i { background: #fff; color: var(--dark); }

.btn-black { background: #000; color: #fff; }
.btn-black i { background: #fff; color: #000; }
.btn-black:hover { background: var(--primary); color: #fff; }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark i { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary); color: #fff; }
.btn-dark:hover i { background: #fff; color: var(--primary); }

.btn-primary { background: var(--primary); color: #fff; border: none; }
.btn-primary i { background: #fff; color: var(--primary); }
.btn-primary:hover { background: var(--dark); }

/* Top Bar */
.top-bar { background: #1a1f1b; color: #fff; font-size: 11px; padding: 10px 0; letter-spacing: 0.5px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.top-bar .tb-left i { margin-right: 5px; color: #fff; }
.top-bar .sep { margin: 0 15px; color: #555; }
.top-bar .tb-center { font-weight: 500; }
.top-bar .tb-right { font-weight: 600; cursor: pointer; }

/* Header */
.header { position: absolute; top: 38px; left: 0; width: 100%; height: 90px; z-index: 100; padding: 0; background: transparent; transition: all 0.3s ease; }
.header.sticky { position: fixed; top: 0; background: #fff; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.header.sticky .nav-links a { color: var(--dark); }
.header.sticky .search-box { border-color: #eee; color: var(--dark); }
.header.sticky .menu-toggle { color: var(--dark); }

.header .container { display: flex; justify-content: space-between; align-items: center; position: relative; height: 100%; }
.logo { display: flex; align-items: center; justify-content: flex-start; height: 90px; width: 220px; overflow: hidden; }
.logo img { width: auto; height: 50px; object-fit: contain; filter: brightness(0) invert(1); transition: filter 0.3s; }
.header.sticky .logo img { filter: none; }

.nav-wrapper { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-left: 20px; }
.nav-links { flex: 1; display: flex; justify-content: center; list-style: none; margin: 0; }
.nav-links li { margin: 0 15px; position: relative; display: flex; align-items: center; height: 90px; }
.nav-links a { position: relative; color: #fff; font-weight: 800; font-size: 18px; letter-spacing: 0px; text-transform: capitalize; transition: color 0.3s; }
.nav-links a i { font-size: 12px; margin-left: 5px; }

/* The Pink Animated Underline */
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 3px; background: var(--primary); transition: width 0.3s ease; border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }

/* Transparent State Hover */
.nav-links a:hover { color: #fff; }

/* Sticky State Hover */
.header.sticky .nav-links a:hover { color: var(--primary); }

.dropdown-menu { position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); list-style: none; padding: 10px 0; min-width: 210px; opacity: 0; visibility: hidden; transition: all 0.3s ease; transform: translateY(10px); border-radius: 4px; z-index: 100; }
.nav-links li:hover > .dropdown-menu,
.nav-links li.active > .dropdown-menu,
.nav-links li:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { margin: 0; height: auto; }
.dropdown-menu a { color: var(--dark) !important; font-size: 15px; font-weight: 600; padding: 10px 25px; display: block; width: 100%; }
.dropdown-menu a:hover { background: #f8f9fa; color: var(--primary) !important; padding-left: 30px; }

.submenu-toggle {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px 6px;
    margin-left: 2px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, transform 0.3s;
}
.header.sticky .nav-links > li > .submenu-toggle { color: var(--dark); }
.dropdown-menu .submenu-toggle { color: var(--dark); padding: 8px 14px; }
.mobile-submenu-btn { display: none; }

.header-right { display: flex; align-items: center; gap: 20px; }
.header-right .btn-hp {
    padding: 12px 28px 12px 14px !important;
    gap: 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}
.header-right .btn-hp i {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #000 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    font-size: 12px !important;
    padding-left: 2px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    transition: 0.3s !important;
}
.header-right .btn-hp:hover i {
    background: #fff !important;
    color: var(--primary) !important;
}
.search-box { display: flex; align-items: center; border: 1px solid rgba(255,255,255,0.4); border-radius: 50px; padding: 10px 20px; color: #fff; font-size: 13px; font-weight: 500; transition: 0.3s; }
.search-box i { margin-right: 10px; font-size: 14px; }

.menu-toggle { display: none; width: 30px; height: 22px; position: relative; cursor: pointer; z-index: 101; }
.menu-toggle span { display: block; position: absolute; height: 2px; width: 100%; background: #fff; border-radius: 2px; opacity: 1; left: 0; transform: rotate(0deg); transition: .3s ease-in-out; }
.header.sticky .menu-toggle span { background: var(--dark); }
.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }
.menu-toggle.active span:nth-child(1) { top: 10px; transform: rotate(135deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; left: -20px; }
.menu-toggle.active span:nth-child(3) { top: 10px; transform: rotate(-135deg); }

/* Responsive adjustments for 320px */
@media (max-width: 1200px) {
    .nav-wrapper { margin-left: 20px; }
    .nav-links li { margin: 0 10px; }
}

/* Desktop Submenu Styles */
.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -10px;
}
.dropdown-submenu:hover > .dropdown-menu,
.dropdown-submenu.active > .dropdown-menu,
.dropdown-submenu:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-submenu > a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.mobile-icon { display: none !important; }
@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }

    .header { padding: 0; }
    .header.sticky { padding: 0; }
    .menu-toggle { display: block; }
    
    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        margin-left: 0;
    }
    .nav-wrapper.active { max-height: calc(100vh - 100px); padding: 20px; overflow-y: auto; }
    
    .nav-links { flex-direction: column; width: 100%; margin-bottom: 20px; }
    .nav-links li { margin: 8px 0; height: auto; width: 100%; }
    .nav-links li { opacity: 0; transform: translateY(15px); transition: all 0.4s ease; }
    .nav-wrapper.active .nav-links li { opacity: 1; transform: translateY(0); }
    .nav-wrapper.active .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-wrapper.active .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-wrapper.active .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-wrapper.active .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-wrapper.active .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links a { color: var(--dark); font-size: 16px; }
    /* Mobile Dropdown Fixes */
    .nav-links li.dropdown,
    .nav-links li.dropdown-submenu {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    .desktop-icon { display: none !important; }
    .mobile-icon { display: inline-block !important; }
    .nav-links li.dropdown > a,
    .nav-links li.dropdown-submenu > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex: 1;
        width: auto !important;
        padding-right: 10px;
    }
    .submenu-toggle,
    .mobile-submenu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border: none !important;
        border-radius: 0;
        color: var(--primary) !important;
        font-size: 18px;
        padding: 5px 10px !important;
        margin-right: -10px;
        flex-shrink: 0;
    }
    .submenu-toggle i {
        transition: transform 0.3s ease;
    }
    .nav-links li.dropdown > a i { padding: 5px 10px; margin-right: -10px; font-size: 18px; transition: transform 0.3s; color: var(--primary); }
    
    .dropdown-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 0 0 0 15px !important;
        margin-top: 0 !important;
        min-width: 100% !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        border-left: 2px solid rgba(233, 30, 99, 0.2);
        
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, margin-top 0.4s ease-in-out !important;
    }
    
    .nav-links li.dropdown.active > .dropdown-menu,
    .nav-links li.dropdown-submenu.active > .dropdown-menu {
        max-height: 1500px;
        margin-top: 10px !important;
        overflow-y: visible;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .nav-links li.dropdown.active > .dropdown-menu::-webkit-scrollbar,
    .nav-links li.dropdown-submenu.active > .dropdown-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-links li.dropdown.active > a i,
    .nav-links li.dropdown-submenu.active > a i,
    .nav-links li.dropdown.active > .submenu-toggle i,
    .nav-links li.dropdown-submenu.active > .submenu-toggle i {
        transform: rotate(180deg);
    }
    
    .header-right { flex-direction: column; width: 100%; align-items: flex-start; gap: 15px; }
    .header-right .btn-hp { width: 100% !important; justify-content: center !important; }
    .search-box { width: 100%; justify-content: space-between; border-color: #eee; color: var(--dark); }
    .btn-black { width: 100%; }

    /* Adjust Top Bar for Mobile */
    .top-bar-inner { flex-direction: column; gap: 10px; text-align: center; }
    .top-bar .sep { display: none; }
    .top-bar .tb-left i { margin-left: 10px; }

    /* Adjust Hero for Mobile */
    .hero-wrapper { height: 100vh; min-height: 600px; max-height: none; overflow: hidden; }
    .hero-slide { position: absolute; height: 100%; min-height: 600px; width: 100%; left: 0; top: 0; display: flex; align-items: center; justify-content: center; }
    .hero-content-inner { padding-bottom: 80px; padding: 100px 20px 0 !important; width: 100%; max-width: 100%; margin: 0 auto; text-align: center; }
    .hero-content-inner h1, .hero-content-inner h2 { font-size: 40px !important; text-align: center; word-wrap: break-word; color: #fff !important; }
    .hero-content-inner p { text-align: center; }
}

@media (max-width: 480px) {
    .header { top: 60px; }


    .logo h2 { font-size: 24px; }
    .logo h2 span { font-size: 24px !important; }
    .hero-content-inner h1, .hero-content-inner h2 { font-size: 32px !important; color: #fff !important; }
    .hero-content-inner p { font-size: 14px; }
}

/* Hero */
.hero-wrapper { position: relative; width: 100%; height: 100vh; max-height: none; min-height: 800px; overflow: hidden; background: var(--dark); }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity 0.8s ease-in-out, visibility 0.8s; }
.hero-slide.active { opacity: 1; visibility: visible; z-index: 5; }

.hero-content-inner { padding-bottom: 80px; max-width: 800px; padding: 100px 20px 0; text-align: center; margin: 0 auto; }
.hero-content-inner h1, .hero-content-inner h2 { color: #fff; font-size: 65px; margin-bottom: 25px; letter-spacing: -1px; line-height: 1.15; font-weight: 700; }
.hero-content-inner h1 span, .hero-content-inner h2 span { font-weight: 800; }
.hero-content-inner p { color: #fff; font-size: 18px; margin-bottom: 40px; line-height: 1.8; font-weight: 500; }
.hero-content-inner .btn-hp { margin: 0 auto; display: inline-block; }

.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 999; pointer-events: auto; }
.slider-dots span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: 0.3s; }
.slider-dots span.active { background: #fff; transform: scale(1.2); }

/* Ticker */
.ticker { background: var(--primary); color: #fff; padding: 15px 0; display: flex; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 15px; letter-spacing: 1px; width: 100%; }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 30s linear infinite; }
.ticker-track span { margin-right: 50px; display: flex; align-items: center; }
.ticker-track span i { margin-right: 10px; font-size: 14px; }
.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker-scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Section Titles & Utilities */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.sec-subtitle { color: var(--primary); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.sec-title { font-size: 45px; margin-bottom: 20px; letter-spacing: -1px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--dark); margin-bottom: 15px; line-height: 1.25; }
.section-subtitle { font-size: 17px; color: #555; line-height: 1.6; max-width: 700px; margin: 0 0 40px 0; }

/* About */
.about { padding: 100px 0; }
.about .container { display: flex; align-items: center; gap: 60px; }
.about-img { width: 50%; }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-text { width: 50%; }
.about-text p { margin-bottom: 20px; font-size: 17px; }
.about-list { list-style: none; margin-top: 30px; }
.about-list li { display: flex; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
.about-list li i { color: var(--primary); margin-right: 15px; font-size: 20px; }

/* Services */
.services { padding: 100px 0; background: var(--light-bg); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.srv-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; }
.srv-card:hover { transform: translateY(-10px); }
.srv-img { height: 300px; background-size: cover; background-position: center; }
.srv-body { padding: 30px; }
.srv-body h3 { font-size: 22px; margin-bottom: 15px; }
.srv-body p { margin-bottom: 20px; font-size: 17px; }
.srv-link { font-weight: 700; color: var(--dark); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; }
.srv-link i { color: var(--primary); margin-left: 5px; font-size: 18px; transition: 0.3s; }
.srv-link:hover { color: var(--primary); }
.srv-link:hover i { transform: translateX(5px); }

/* Features Split */
.feat-split { padding: 100px 0; }
.feat-container { display: flex; align-items: center; position: relative; max-width: 1400px; margin: 0 auto; }
.feat-img { width: 55%; height: 600px; background: url('assets/images/gen-4.jpg') center/cover; }
.feat-box { width: 45%; background: var(--secondary); color: #fff; padding: 80px 60px; margin-left: -5%; z-index: 2; position: relative; }
.feat-box h2 { color: #fff; font-size: 40px; margin-bottom: 25px; }
.feat-box p { font-size: 18px; margin-bottom: 40px; opacity: 0.9; }

/* Masonry */
.masonry { padding: 100px 0; text-align: center; background-color: rgba(233, 30, 99, 0.04); }
.masonry-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 20px; margin-top: 50px; }
.ms-item { border-radius: 4px; overflow: hidden; }
.ms-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.ms-item:hover img { transform: scale(1.05); }
.ms-tall { grid-row: span 2; }
.ms-wide { grid-column: span 2; }
.ms-box { grid-column: span 1; grid-row: span 1; }

/* Overlap */
.overlap { padding: 100px 0 50px 0; }
.overlap-container { position: relative; max-width: 1200px; margin: 0 auto; height: 500px; background: url('assets/images/gen-3.jpg') center/cover; border-radius: 4px; }
.overlap-box { position: absolute; bottom: -50px; left: 50px; background: var(--primary); color: #fff; padding: 50px; max-width: 450px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.overlap-box h3 { color: #fff; font-size: 32px; margin-bottom: 15px; }

/* Eco Friendly Section */
.eco-friendly { padding: 100px 0; }
.eco-container { display: flex; align-items: center; max-width: 1200px; margin: 0 auto; gap: 60px; padding: 0 15px; }
.eco-img { width: 50%; height: 500px; background: url('assets/images/gen-3.jpg') center/cover; border-radius: 4px; }
.eco-text { width: 50%; }
.eco-text p { font-size: 17px; margin-bottom: 30px; }
.eco-list { list-style: none; margin-bottom: 40px; }
.eco-list li { display: flex; align-items: center; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
.eco-list li i { color: var(--primary); margin-right: 15px; font-size: 20px; }

/* Quote Form */
.quote { padding: 100px 0; background: var(--light-bg); }
.quote-wrapper { display: flex; max-width: 1200px; margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.quote-left { width: 35%; background: var(--dark); padding: 60px 50px; color: #fff; }
.quote-left h3 { color: #fff; font-size: 36px; margin-bottom: 40px; }
.q-info { display: flex; align-items: flex-start; margin-bottom: 30px; }
.q-info i { color: var(--secondary); font-size: 24px; margin-right: 20px; margin-top: 5px; }
.q-info h5 { color: #fff; font-size: 16px; margin-bottom: 5px; }
.q-info p { margin: 0; color: #a0a0a0; }

.quote-right { width: 65%; background: url('assets/images/gen-3.jpg') center/cover; padding: 60px; position: relative; }
.quote-right::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(255,255,255,0.85); }
.quote-form { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.q-full { grid-column: span 2; }
.q-input { width: 100%; background: #fff; border: 1px solid #ddd; padding: 16px 20px; font-family: 'Outfit', sans-serif; font-size: 15px; border-radius: 4px; outline: none; transition: 0.3s; }
.q-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(233,30,99,0.1); }

/* Footer */
.footer { background: var(--dark); padding: 80px 0 30px; color: #a0a0a0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-logo { font-size: 28px; color: #fff; margin-bottom: 20px; font-weight: 800; }
.footer-logo span { color: var(--primary); }
.f-title { color: #fff; font-size: 18px; margin-bottom: 25px; }
.f-col h4 { color: #fff; font-size: 20px; margin-bottom: 25px; }
.f-links { list-style: none; }
.f-links li { margin-bottom: 12px; }
.f-links a { color: #a0a0a0; font-weight: 500; }
.f-links a:hover { color: var(--secondary); }
.f-contact { list-style: none; } .f-contact li { display: flex; margin-bottom: 15px; }
.f-contact i { color: var(--primary); margin-right: 15px; margin-top: 5px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 14px; }

/* Responsive */


@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }

	.hero { flex-direction: column; height: auto; }
	.hero-left, .hero-right { width: 100%; }
	.hero-left { padding: 80px 20px; }
	.hero-right { height: 400px; }
	.about .container { flex-direction: column; }
	.about-img, .about-text { width: 100%; }
	.services-grid { grid-template-columns: 1fr; }
	.feat-container { flex-direction: column; }
	.feat-img { width: 100%; height: 400px; }
	.feat-box { width: 100%; margin: 0; padding: 40px 20px; }
	.masonry-grid { grid-template-columns: repeat(2, 1fr); }
	.overlap-container { height: 400px; }
	.overlap-box { position: relative; bottom: 0; left: 0; max-width: 100%; box-shadow: none; }
	.eco-container { flex-direction: column; }
	.eco-img, .eco-text { width: 100%; }
	.quote-wrapper { flex-direction: column; }
	.quote-left, .quote-right { width: 100%; }
	.footer-grid { grid-template-columns: 1fr; }
}



/* Scroll Animations */
.animate-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; will-change: opacity, transform; }
.animate-fade { opacity: 0; transition: opacity 0.8s ease-out; will-change: opacity; }
.animate-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; will-change: opacity, transform; }
.animate-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; will-change: opacity, transform; }
.animate-up.in-view, .animate-fade.in-view, .animate-left.in-view, .animate-right.in-view { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Hero Slide Content Animations */
@keyframes heroFadeUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
.hero-slide h1, .hero-slide h2, .hero-slide p, .hero-slide .btn-hp { opacity: 0; }
.hero-slide.active h1, .hero-slide.active h2 { animation: heroFadeUp 0.8s ease forwards 0.2s; }
.hero-slide.active p { animation: heroFadeUp 0.8s ease forwards 0.4s; }
.hero-slide.active .btn-hp { animation: heroFadeUp 0.8s ease forwards 0.6s; }
.hero-slide:not(.active) h1, .hero-slide:not(.active) h2, .hero-slide:not(.active) p, .hero-slide:not(.active) .btn-hp { animation: none; opacity: 0; }


/* Page Banner */
.page-banner { padding: 150px 0 120px; background-size: cover; background-position: center; text-align: center; color: #fff; position: relative; }
.page-title { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: 15px; }
.breadcrumb { font-size: 16px; font-weight: 600; }
.breadcrumb a { color: #fff; transition: 0.3s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 10px; opacity: 0.7; }

/* Story Section */
.story-section { display: flex; flex-wrap: wrap; width: 100%; }
.story-img-col { width: 50%; background-image: url('assets/images/about-story.jpg'); background-size: cover; background-position: center; min-height: 650px; }
.story-text-col { width: 50%; background-color: #f9f7f1; padding: 100px 8%; display: flex; flex-direction: column; justify-content: center; }
.story-subtitle { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: #666; margin-bottom: 15px; }
.story-title { font-size: 42px; font-weight: 800; color: var(--dark); margin-bottom: 25px; line-height: 1.2; }
.story-title span { color: var(--primary); }
.story-text { font-size: 16px; color: #555; margin-bottom: 35px; line-height: 1.7; }
.story-list { list-style: none; margin-bottom: 0; }
.story-list li { margin-bottom: 18px; font-weight: 700; font-size: 16px; color: var(--dark); display: flex; align-items: center; }
.story-list li i { color: var(--primary); font-size: 20px; margin-right: 12px; }
.btn-story { background-color: var(--primary); color: #fff; display: inline-flex; align-items: center; padding: 10px 30px 10px 10px; border-radius: 50px; font-weight: 700; font-size: 13px; letter-spacing: 1px; align-self: flex-start; transition: 0.3s; }
.btn-story i { background: #fff; color: var(--primary); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; font-size: 16px; transition: 0.3s; }
.btn-story:hover { background-color: var(--dark); color: #fff; }
.btn-story:hover i { background: var(--primary); color: #fff; }


@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
 .story-img-col, .story-text-col { width: 100%; } .story-img-col { order: 2; } .story-text-col { order: 1; } .story-img-col { min-height: 400px; } .story-text-col { padding: 50px 20px 30px; } }






.about-ticker { background-color: var(--primary) !important; padding: 18px 0; font-size: 17px; font-weight: 700; }
.about-ticker .ticker-track span { margin-right: 40px; }
.about-ticker i { font-size: 14px; margin: 0; }


/* About Stats Section */
.about-stats-sec { padding: 100px 0; background: #fff; }
.as-top-row { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 40px; align-items: center; margin-bottom: 80px; }
.as-img { width: 100%; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.as-large-text { font-size: 28px; font-weight: 800; line-height: 1.4; color: var(--dark); text-align: right; padding-right: 20px; }
.as-large-text span { color: var(--primary); }
.as-story-sub { font-size: 11px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.as-story-title { font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 20px; line-height: 1.6; }
.as-story-p { font-size: 17px; color: #777; line-height: 1.6; margin-bottom: 25px; }
.btn-black-circle { background-color: var(--dark); color: #fff; display: inline-flex; align-items: center; padding: 6px 20px 6px 6px; border-radius: 50px; font-weight: 700; font-size: 11px; letter-spacing: 1px; transition: 0.3s; }
.btn-black-circle i { background: #fff; color: var(--dark); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 12px; font-size: 14px; transition: 0.3s; }
.btn-black-circle:hover { background-color: var(--primary); }
.as-bot-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1.8fr; gap: 40px; align-items: center; }
.as-stat { text-align: left; }
.as-stat h3 { font-size: 42px; font-weight: 800; color: var(--dark); margin-bottom: 5px; }
.as-stat p { font-size: 11px; font-weight: 700; color: #555; text-transform: uppercase; }
.as-review-box { background: var(--primary); padding: 30px; color: #fff; border-radius: 4px; }
.as-review-box h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.as-review-box p { font-size: 12px; color: rgba(255,255,255,0.9); margin-bottom: 25px; line-height: 1.6; }
.as-review-footer { display: flex; align-items: center; justify-content: space-between; }
.as-avatars { display: flex; }
.as-avatars img { width: 35px; height: 35px; border-radius: 50%; border: 2px solid var(--primary); margin-left: -12px; object-fit: cover; }
.as-avatars img:first-child { margin-left: 0; }
.as-rating { text-align: right; }
.as-rating .stars { color: #fff; font-size: 10px; margin-bottom: 3px; display: flex; gap: 2px; justify-content: flex-end; }
.as-rating span { font-size: 11px; font-weight: 700; color: #fff; }


@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
 .as-top-row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; } .as-large-text { text-align: left; padding-right: 0; font-size: 26px; } .as-bot-row { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 575px) { .as-bot-row { grid-template-columns: 1fr; } }

/* Testimonials Section */
.testi-section { background-color: #f9f7f1; padding: 100px 0; text-align: center; overflow: hidden; }
.testi-subtitle { font-size: 11px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.testi-title { font-size: 40px; font-weight: 800; color: var(--dark); margin-bottom: 25px; }
.testi-title span { color: var(--primary); }
.testi-p { font-size: 17px; color: #666; max-width: 600px; margin: 0 auto 50px; line-height: 1.7; }
.testi-scroll-wrap { position: relative; width: 100%; overflow-x: auto; padding: 20px 0 40px; scroll-behavior: smooth; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
.testi-scroll-wrap::-webkit-scrollbar { display: none; }
.testi-track { display: flex; gap: 30px; padding: 0 10px; }
.testi-card { background: #fff; width: 380px; padding: 35px; text-align: left; border-radius: 4px; box-shadow: 0 5px 20px rgba(0,0,0,0.04); scroll-snap-align: start; flex-shrink: 0; }
.testi-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.testi-stars { color: #ffd700; font-size: 12px; display: flex; gap: 4px; }
.testi-avatar { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.testi-card p { font-size: 16px; color: #666; line-height: 1.8; margin-bottom: 30px; min-height: 100px; }
.testi-author { font-size: 13px; color: var(--dark); font-weight: 800; }
.testi-author span { font-weight: 500; color: #888; }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.testi-dots span { width: 8px; height: 8px; background: #ccc; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.testi-dots span.active { background: var(--dark); }
@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .header { top: 60px; }
 .testi-card { width: 300px; padding: 25px; } .testi-title { font-size: 32px; } }



@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .header { top: 60px; }
  }

/* Partners Section */
.partners-section { display: flex; flex-wrap: wrap; width: 100%; background: #fff; }
.partners-text-col { width: 50%; padding: 100px 8% 100px 10%; display: flex; flex-direction: column; justify-content: center; }
.partners-img-col { width: 50%; background-image: url('assets/images/about-partners.jpg'); background-size: cover; background-position: center; min-height: 600px; }
.partners-subtitle { font-size: 11px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.partners-title { font-size: 40px; font-weight: 800; color: var(--dark); margin-bottom: 25px; line-height: 1.2; }
.partners-title span { color: var(--primary); }
.partners-p { font-size: 17px; color: #777; margin-bottom: 50px; line-height: 1.8; }
.partners-logos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px 20px; align-items: center; }
.partner-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--dark); letter-spacing: -0.5px; }
.partner-logo i { font-size: 26px; }
.brand-dulux i { color: #00BCD4; }
.brand-farrow i { color: #333; }
.brand-littlegreene i { color: #555; }
.brand-johnstones i { color: #00c853; }
.brand-crown i { color: #2962ff; }
.brand-zinsser i { color: #6200ea; }


@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
 .partners-text-col, .partners-img-col { width: 100%; } .partners-text-col { padding: 60px 20px; order: 2; } .partners-img-col { min-height: 400px; order: 1; } .partners-logos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
    .header { top: 60px; }

 .partners-logos { grid-template-columns: 1fr; gap: 25px; } .partners-title { font-size: 32px; } }


/* Services Slider */
.srv-slider-section { padding: 100px 0; background-color: #fdfdfd; background-image: radial-gradient(#e0e0e0 1px, transparent 1px); background-size: 30px 30px; text-align: center; overflow: hidden; }
.srv-subtitle { font-size: 11px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.srv-title { font-size: 40px; font-weight: 800; color: var(--dark); margin-bottom: 25px; line-height: 1.2; }
.srv-title span { color: var(--primary); }
.srv-p { font-size: 17px; color: #666; max-width: 600px; margin: 0 auto 60px; line-height: 1.7; }
.srv-slider { position: relative; height: 480px; width: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.srv-slide { position: absolute; width: 420px; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); opacity: 0; pointer-events: none; background: #fff; padding: 10px; border-radius: 4px; }
.srv-slide img { width: 100%; height: 300px; object-fit: cover; margin-bottom: 20px; transition: 0.3s; }
.srv-slide h4 { font-size: 16px; font-weight: 800; color: var(--dark); margin: 0 0 10px; }
.srv-slide.active { transform: translateX(0) scale(1.1); z-index: 3; opacity: 1; pointer-events: auto; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.srv-slide.active img { border: 2px solid var(--dark); }
.srv-slide.prev { transform: translateX(-450px) scale(0.85); z-index: 2; opacity: 1; pointer-events: auto; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.srv-slide.next { transform: translateX(450px) scale(0.85); z-index: 2; opacity: 1; pointer-events: auto; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }


@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
 .srv-slide.prev { transform: translateX(-240px) scale(0.8); } .srv-slide.next { transform: translateX(240px) scale(0.8); } }
@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .header { top: 60px; }
 .srv-slide.prev { transform: translateX(-160px) scale(0.75); opacity: 0.4; } .srv-slide.next { transform: translateX(160px) scale(0.75); opacity: 0.4; } .srv-slide { width: 280px; } .srv-slide img { height: 200px; } .srv-slider { height: 320px; } }



.footer p, .f-col p { font-size: 16px; line-height: 1.8; }


/* Service Features */
.srv-features-sec { padding: 100px 0; background: rgba(233, 30, 99, 0.04); }
.sf-header { text-align: center; margin-bottom: 70px; }
.sf-subtitle { font-size: 11px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.sf-title { font-size: 40px; font-weight: 800; color: var(--dark); margin-bottom: 0; line-height: 1.2; }
.sf-title span { color: var(--primary); }
.sf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 40px; }
.sf-item { display: flex; align-items: flex-start; gap: 20px; }
.sf-icon { width: 80px; height: 80px; background: #fff; box-shadow: 0 10px 25px rgba(233, 30, 99, 0.08); display: flex; justify-content: center; align-items: center; border-radius: 4px; flex-shrink: 0; transition: 0.3s; }
.sf-icon i { font-size: 36px; color: var(--dark); transition: 0.3s; }
.sf-item:hover .sf-icon { background: var(--primary); }
.sf-item:hover .sf-icon i { color: #fff; }
.sf-content h4 { font-size: 22px; font-weight: 800; color: var(--dark); margin: 0 0 10px; }
.sf-content p { font-size: 15px; color: #666; line-height: 1.8; margin: 0; }


@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
 .sf-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .header { top: 60px; }
 .sf-grid { grid-template-columns: 1fr; } .sf-title { font-size: 32px; } }


/* Service Details */
.service-details { padding: 100px 0; background: #fff; }
.sd-wrapper { max-width: 1050px; margin: 0 auto; }
.sd-main-img img { width: 100%; max-height: 500px; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin-bottom: 20px; }
.sd-meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.sd-meta i { color: var(--primary); margin-right: 5px; font-size: 14px; }
.sd-content h2 { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 25px; line-height: 1.4; }
.sd-content h2 span { color: var(--primary); }
.sd-content p { font-size: 17px; color: #666; line-height: 1.8; margin-bottom: 25px; }
.sd-content h3 { font-size: 24px; font-weight: 800; color: var(--dark); margin: 40px 0 20px; }
.sd-highlight { display: flex; align-items: center; gap: 30px; background: #fafafa; padding: 40px; border-radius: 4px; margin: 40px 0; border-left: 4px solid var(--primary); }
.sd-highlight i { font-size: 60px; color: #ddd; align-self: flex-start; line-height: 1; margin-top: -10px; }
.sd-highlight p { flex: 1; font-size: 16px; font-style: italic; color: #555; margin: 0; }
.sd-highlight img { width: 150px; height: 120px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .header { top: 60px; }
 .sd-highlight { flex-direction: column; text-align: center; } .sd-highlight i { align-self: center; margin-top: 0; margin-bottom: 10px; } .sd-meta { flex-direction: column; gap: 10px; text-align: center; } .sd-content h2 { font-size: 26px; } }


/* Service Details Continued */
.sd-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 40px 0; }
.sd-image-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.sd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 60px; padding-top: 50px; border-top: 1px solid #eee; }
.sd-nav-box { display: flex; align-items: center; gap: 20px; background: #f9f9f9; padding: 20px; border-radius: 4px; transition: 0.3s; border: 1px solid #eee; text-decoration: none; }
.sd-nav-box:hover { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--primary); }
.sd-nav-box img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
.sd-nav-text { flex: 1; }
.sd-nav-text h4 { font-size: 16px; font-weight: 800; color: var(--dark); margin: 0 0 5px; transition: 0.3s; }
.sd-nav-box:hover .sd-nav-text h4 { color: var(--primary); }
.sd-nav-text span { font-size: 12px; color: #888; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.text-right { text-align: right; }
@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .header { top: 60px; }
 .sd-image-grid { grid-template-columns: 1fr; gap: 20px; } .sd-image-grid img { height: 250px; } .sd-nav { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding-top: 40px; } }

/* Projects Page Gallery */
.pg-section { padding: 100px 0 120px; background: #fff; }
.pg-header { text-align: center; margin-bottom: 60px; }
.pg-subtitle { font-size: 11px; font-weight: 800; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.pg-title { font-size: 40px; font-weight: 800; color: var(--dark); margin-bottom: 0; line-height: 1.2; }
.pg-title span { color: var(--primary); }
.pg-masonry { column-count: 4; column-gap: 20px; }
.pg-item { break-inside: avoid; margin-bottom: 20px; border-radius: 4px; overflow: hidden; position: relative; cursor: pointer; }
.pg-item img { width: 100%; display: block; transition: 0.5s; object-fit: cover; }
.pg-item:hover img { transform: scale(1.05); }
.pg-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 60px; }
.pg-page { display: flex; justify-content: center; align-items: center; width: 35px; height: 35px; background: #f0f0f0; color: var(--dark); font-weight: 700; font-size: 14px; border-radius: 4px; text-decoration: none; transition: 0.3s; }
.pg-page:hover { background: #e0e0e0; }
.pg-page.active { background: var(--primary); color: #fff; }


@media (max-width: 991px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
 .pg-masonry { column-count: 3; } }
@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .header { top: 60px; }
 .pg-masonry { column-count: 2; } .pg-title { font-size: 32px; } }
@media (max-width: 480px) {
    .header { top: 60px; }

 .pg-masonry { column-count: 1; } }


.blog { padding: 100px 0; background: var(--light-bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.subscribe { background: var(--secondary); padding: 80px 0; }

/* Contact Page */
.contact-section { padding: 100px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1000px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-radius: 4px; overflow: hidden; }
.c-form-box { background: #f5f5f5; padding: 60px; }
.c-form-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.c-form-header i { font-size: 44px; color: #aaa; line-height: 1; margin-top: 5px; }
.c-form-header h2 { font-size: 26px; font-weight: 800; color: var(--dark); line-height: 1.3; margin: 0; }
.c-form { display: flex; flex-direction: column; gap: 20px; }
.c-form input, .c-form textarea { width: 100%; padding: 16px 20px; border: 1px solid #eaeaea; background: #fff; font-family: inherit; font-size: 14px; outline: none; transition: 0.3s; }
.c-form input:focus, .c-form textarea:focus { border-color: var(--primary); }
.c-form textarea { resize: vertical; }
.c-form button { align-self: flex-start; border: none; cursor: pointer; margin-top: 10px; }
.c-info-box { background: var(--primary); color: #fff; padding: 60px; }
.c-info-box h3 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 20px; }
.c-info-box p { font-size: 14px; color: rgba(255,255,255,0.9); margin-bottom: 30px; line-height: 1.7; }
.c-info-box img { width: 100%; height: 220px; object-fit: cover; margin-bottom: 30px; border-radius: 4px; }
.c-info-box h4 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 15px; }
.c-hours { list-style: none; padding: 0; margin: 0; }
.c-hours li { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 10px; }
@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .header { top: 60px; }
 .contact-grid { grid-template-columns: 1fr; } .c-form-box, .c-info-box { padding: 40px 20px; } }

/* Quote Page */
.quote-section { padding: 100px 0; background: #f9f9f9; }
.quote-wrapper { display: flex; max-width: 1050px; margin: 0 auto; box-shadow: 0 30px 60px rgba(0,0,0,0.08); border-radius: 4px; overflow: hidden; }
.q-info-box { width: 35%; background: #111; color: #fff; padding: 60px 40px; }
.q-subtitle { font-size: 11px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.q-title { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 50px; line-height: 1.2; }
.q-contact-list { display: flex; flex-direction: column; gap: 35px; }
.q-contact-item { display: flex; align-items: flex-start; gap: 20px; }
.q-contact-item i { color: var(--primary); font-size: 20px; margin-top: 2px; }
.q-contact-item h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.q-contact-item p { font-size: 13px; color: #aaa; margin: 0; line-height: 1.6; }
.q-form-box { width: 65%; padding: 60px; background: url('assets/images/gen-1.jpg') center/cover; position: relative; z-index: 1; }
.q-form-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.95); z-index: -1; }
.q-form { display: flex; flex-direction: column; gap: 20px; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.q-form input, .q-form select, .q-form textarea { width: 100%; padding: 15px 20px; border: 1px solid #ddd; background: #fff; font-family: inherit; font-size: 13px; color: #555; outline: none; border-radius: 4px; transition: 0.3s; }
.q-form input:focus, .q-form select:focus, .q-form textarea:focus { border-color: var(--primary); }
.q-form textarea { resize: vertical; height: 140px; }
.q-form button { margin-top: 20px; align-self: flex-start; border: none; cursor: pointer; }
.btn-primary-circle { background-color: var(--primary); color: #fff; display: inline-flex; align-items: center; padding: 6px 6px 6px 25px; border-radius: 50px; font-weight: 800; font-size: 11px; letter-spacing: 1px; transition: 0.3s; }
.btn-primary-circle i { background: #fff; color: var(--primary); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: 15px; font-size: 14px; transition: 0.3s; }
.btn-primary-circle:hover { background-color: var(--dark); }
@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .header { top: 60px; }
 .quote-wrapper { flex-direction: column; } .q-info-box, .q-form-box { width: 100%; padding: 40px 20px; } .q-row { grid-template-columns: 1fr; } }







@media (max-width: 767px) {
    /* Prevent iOS horizontal overflow from side animations */
    .animate-left, .animate-right { transform: translateY(30px) !important; }
    .animate-left.in-view, .animate-right.in-view { transform: translate(0) !important; }
    html, body { overflow-x: hidden !important; width: 100vw !important; max-width: 100% !important; }
    .quote-left, .quote-right { padding: 40px 20px !important; }
    .quote-form { grid-template-columns: 1fr !important; }
    .q-full { grid-column: span 1 !important; }

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

    .about, .services, .feat-split, .masonry, .eco-friendly, .quote, .about-stats-sec, .testi-section, .srv-slider-section, .srv-features-sec, .service-details, .pg-section, .contact-section, .quote-section, .blog {
        padding: 60px 0 !important;
    }
    .overlap { padding: 60px 0 30px 0 !important; }
    .subscribe { padding: 60px 0 !important; }
    .services-header, .sf-header, .about-text, .hero-left { margin-bottom: 40px !important; }
    .sec-title, .testi-title, .srv-title, .sf-title, .feat-box h2 { margin-bottom: 20px !important; }
}

/* Global Mobile 480px Overrides */
@media (max-width: 480px) {
    .header { top: 60px; }

    .header { height: 70px; }
    .logo { height: 70px; }
    .logo img { height: 40px; }
    .nav-wrapper { top: 70px; }
    .menu-toggle { width: 25px; height: 18px; }
    .menu-toggle span:nth-child(2) { top: 8px; }
    .menu-toggle span:nth-child(3) { top: 16px; }
    .menu-toggle.active span:nth-child(1) { top: 8px; }
    .menu-toggle.active span:nth-child(3) { top: 8px; }

    .hero-slide h1, .hero-slide h2 { font-size: 30px; line-height: 1.2; color: #fff !important; }
    .page-title { font-size: 28px; }
    .hero-slide p { font-size: 14px; }
    .about-text h2, .feat-box h2, .overlap-box h3, .as-stat h3, .q-title, .c-info-box h3, .pg-title, .sd-content h2, .sd-content h3 { font-size: 24px !important; }
    .sd-content h2 { line-height: 1.3; }
    .top-bar { font-size: 10px; padding: 10px; }
    .btn-hp { padding: 10px 20px; font-size: 12px; }
    .btn-hp i { margin-right: 8px; width: 24px; height: 24px; }
    .c-form-box, .c-info-box, .q-info-box, .q-form-box, .overlap-box, .feat-box, .as-review-box, .sd-highlight { padding: 30px 20px !important; }
    .q-contact-item i { font-size: 16px; }
    .q-contact-item h4 { font-size: 14px; }
    .sd-nav { padding-top: 30px; margin-top: 30px; }
    .sd-nav-box { padding: 10px; gap: 10px; flex-direction: column; text-align: center; }
    .sd-nav-box img { width: 100%; height: 100px; }
    .sd-highlight i { font-size: 40px; }
    .footer { padding: 50px 0 20px; }
    .about, .services, .feat-split, .masonry, .eco-friendly, .quote, .about-stats-sec, .testi-section, .srv-slider-section, .srv-features-sec, .service-details, .pg-section, .contact-section, .quote-section, .blog { padding: 50px 0 !important; }
    .overlap { padding: 50px 0 25px 0 !important; }
    .subscribe { padding: 50px 0 !important; }
    .footer-col h4 { font-size: 16px; margin-bottom: 20px; }
}













.hero-subtitle { font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; display: block; color: rgba(255,255,255,0.9); }
.hero-icons-row { display: flex; align-items: center; justify-content: center; gap: 30px; margin: 30px 0; padding: 20px 0; flex-wrap: wrap; }
.hero-icon-item { display: flex; align-items: center; gap: 15px; color: #fff; text-align: left; }
.hero-icon-item i { font-size: 35px; color: #fff; }
.hero-icon-item span { font-size: 15px; font-weight: 600; line-height: 1.3; }


@media (max-width: 991px) {
    .hide-on-mobile { display: none !important; }
}








.hero-icon-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.3); padding-right: 30px; }

.btn-outline { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--dark); }

/* Scrollable Gallery Slider */
.gallery-slider-wrapper { position: relative; width: 100%; max-width: 1200px; margin: 40px auto 0; }
.gallery-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(0,0,0,0.1);
}
.gallery-slider::-webkit-scrollbar { height: 6px; }
.gallery-slider::-webkit-scrollbar-track { background: rgba(0,0,0,0.1); border-radius: 10px; }
.gallery-slider::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

.gallery-item {
    flex: 0 0 85%;
    max-width: 85%;
    height: 450px;
    scroll-snap-align: center;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
@media (min-width: 768px) {
    .gallery-item { flex: 0 0 45%; max-width: 45%; height: 500px; }
}
@media (min-width: 992px) {
    .gallery-item { flex: 0 0 31.33%; max-width: 31.33%; height: 550px; }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}











/* Local SEO Page Styles */
.local-hero { padding: 200px 0 150px; position: relative; overflow: hidden; }
.local-hero-inner { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; justify-content: space-between; }
.local-hero-text { flex: 1.2; min-width: 300px; }
.local-hero-form { flex: 0.8; min-width: 320px; max-width: 450px; }
.trust-badge { display: inline-block; background: rgba(233, 30, 99, 0.15); color: var(--primary); padding: 8px 15px; border-radius: 30px; font-weight: 600; font-size: 14px; margin-bottom: 20px; border: 1px solid rgba(233, 30, 99, 0.3); }
.local-hero h1 { font-size: 52px; color: #fff; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.9); margin-bottom: 30px; line-height: 1.6; }
.hero-bullets { list-style: none; padding: 0; margin-bottom: 35px; }
.hero-bullets li { color: #fff; font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.hero-bullets li i { color: var(--primary); font-size: 18px; }
.hero-contact { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-outline-light { border: 2px solid rgba(255,255,255,0.3); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--dark) !important; }
.text-primary { color: var(--primary) !important; }

@media (max-width: 991px) {
    .local-hero { padding: 140px 0 60px !important; }
    .local-hero h1 { font-size: 40px; }
    .local-hero-inner, .local-hero-grid { flex-direction: column; text-align: center; }
    .hero-bullets li, .hero-checklist li { justify-content: center; }
    .hero-contact { justify-content: center; }
    .local-hero-form { max-width: 100%; width: 100%; }
}





.local-hero-form form { display: flex; flex-direction: column; gap: 20px; }

/* Local Services Section & Cards */
.local-services { padding: 80px 0; background: #fff; position: relative; text-align: center; }
.local-services .container { position: relative; text-align: center; }
.local-services .sec-subtitle {
    display: inline-block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.local-services .section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.local-services .section-subtitle,
.local-services p.section-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.l-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}
.l-card {
    padding: 40px 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.l-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.l-icon {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 18px;
}
.l-card h3, .l-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 700;
}
.l-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Horizontal Scroll for Service Cards on Mobile */
@media (max-width: 767px) {
    .section-title { font-size: 28px !important; }
    .section-subtitle { font-size: 15px !important; margin-bottom: 30px !important; }
    
    .local-services {
        padding: 50px 0 35px !important;
        overflow-x: hidden;
    }
    .local-services .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .l-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px !important;
        padding: 10px 15px 25px !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) rgba(0,0,0,0.08);
    }
    .l-grid::-webkit-scrollbar {
        height: 5px;
    }
    .l-grid::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.04);
        border-radius: 10px;
        margin: 0 15px;
    }
    .l-grid::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 10px;
    }
    .l-card {
        flex: 0 0 82% !important;
        max-width: 82% !important;
        min-width: 260px !important;
        scroll-snap-align: center;
        box-sizing: border-box;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* Mobile Conversion Bar */
.mobile-conversion-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 10px 5px;
}
.mcb-btn {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 5px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
}
.mcb-btn i { font-size: 18px; }
.mcb-call { background: var(--dark); margin: 0 5px; }
.mcb-whatsapp { background: #25D366; margin: 0 5px; }
.mcb-quote { background: var(--primary); margin: 0 5px; }

@media (max-width: 991px) {
    .mobile-conversion-bar { display: flex; }
    body { padding-bottom: 70px; } /* Prevent footer from hiding behind bar */
}

@media (max-width: 991px) { #cookie-banner { bottom: 85px !important; } }




@media (max-width: 991px) { .footer-bottom { padding-bottom: 20px; } }

/* Accessibility & Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animate-up, .animate-left, .animate-right, .animate-fade {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Standard Section Spacing Utilities */
.py-80 {
    padding: 80px 0;
}
@media (max-width: 768px) {
    .py-80 {
        padding: 50px 0 !important;
    }
}

/* Blog Cards & Full Article Page Styles */
.blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.blog-card-link:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.1);
    border-color: rgba(233, 30, 99, 0.25);
}
.blog-card-img {
    height: 220px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.blog-card-body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-card-cat {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.blog-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin: 10px 0 12px;
    line-height: 1.35;
    transition: color 0.3s ease;
}
.blog-card-link:hover .blog-card-title {
    color: var(--primary);
}
.blog-card-excerpt {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.65;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #888;
    padding-top: 15px;
    border-top: 1px solid #f2f2f2;
}
.blog-card-readmore {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-article-section {
    padding: 80px 0 100px;
    background: #fff;
}
.blog-article-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 50px;
    align-items: start;
}
.blog-article-main {
    min-width: 0;
}
.blog-article-cover {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.blog-article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #777;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee;
}
.blog-article-meta-bar .cat-badge {
    background: rgba(233, 30, 99, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}
.blog-article-content {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}
.blog-article-content h2 {
    font-size: 28px;
    color: var(--dark);
    margin: 38px 0 16px;
    line-height: 1.3;
}
.blog-article-content h3 {
    font-size: 22px;
    color: var(--dark);
    margin: 28px 0 12px;
    line-height: 1.35;
}
.blog-article-content p {
    margin-bottom: 20px;
}
.blog-article-content ul,
.blog-article-content ol {
    margin: 0 0 24px 22px;
}
.blog-article-content li {
    margin-bottom: 10px;
}
.blog-article-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}
.blog-article-content blockquote,
.blog-callout-box {
    background: #fdf8fa;
    border-left: 4px solid var(--primary);
    padding: 22px 26px;
    border-radius: 0 8px 8px 0;
    margin: 28px 0;
    font-size: 16px;
    color: var(--dark);
}
.blog-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.blog-sidebar-card {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
}
.blog-sidebar-cta {
    background: var(--dark);
    color: #fff;
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
@media (max-width: 991px) {
    .blog-article-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .blog-sidebar {
        position: static;
    }
}

@keyframes hpPopIn {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* === COMPREHENSIVE MULTI-DEVICE RESPONSIVE SYSTEM (DESKTOP, TABLET & MOBILE) === */

/* Global Box & Media Safety */
*, *::before, *::after {
    box-sizing: border-box;
}
img, svg, video, canvas, iframe {
    max-width: 100%;
    height: auto;
}
input, select, textarea, button {
    max-width: 100%;
}

/* Ensure Sticky Header Always Pins Cleanly to Top:0 Across All Viewports */
.header.sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

/* Laptop / Small Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    .nav-links li {
        margin: 0 10px;
    }
    .nav-links a {
        font-size: 16px;
    }
    .hero-content-inner h1,
    .hero-content-inner h2 {
        font-size: 52px;
    }
    .local-hero h1 {
        font-size: 42px;
    }
    .quote-left,
    .quote-right,
    .c-form-box,
    .c-info-box,
    .q-info-box,
    .q-form-box {
        padding: 45px 35px;
    }
    .blog-article-grid {
        grid-template-columns: 1fr 310px;
        gap: 35px;
    }
}

/* Tablet Portrait & Landscape (768px - 991px) */
@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }
    .top-bar {
        padding: 8px 0;
        font-size: 11px;
        line-height: 1.4;
    }
    .top-bar-inner {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    .header:not(.sticky) {
        top: 52px;
        height: 78px;
    }
    .header.sticky {
        height: 74px;
    }
    .logo {
        height: 74px;
        width: auto;
        max-width: 190px;
    }
    .logo img {
        height: 44px;
    }
    .page-banner {
        padding: 155px 0 80px !important;
    }
    .local-hero {
        padding: 155px 0 70px !important;
    }
    .local-hero-grid,
    .local-hero-inner,
    .trust-split {
        flex-direction: column !important;
        gap: 35px !important;
    }
    .local-hero-text,
    .local-hero-form,
    .trust-left,
    .trust-right {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }
    /* Tablet 2-Column Grids for Services & Footer */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }
    /* Stack Contact & Quote Containers on Tablet for Comfortable Form Width */
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 680px;
    }
    .quote-wrapper {
        flex-direction: column;
        max-width: 680px;
    }
    .q-info-box,
    .q-form-box,
    .quote-left,
    .quote-right,
    .c-form-box,
    .c-info-box {
        width: 100% !important;
        padding: 40px 32px !important;
    }
    /* Projects Page Scope Cards (.cs-card) */
    .cs-card {
        flex-direction: column !important;
    }
    .cs-card > div:first-child {
        min-height: 260px !important;
        width: 100% !important;
    }
    .cs-card > div:last-child {
        width: 100% !important;
        padding: 32px 28px !important;
    }
}

/* Mobile Landscape & Phablet (max-width: 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
    .header:not(.sticky) {
        top: 56px;
        height: 70px;
    }
    .header.sticky {
        height: 68px;
    }
    .logo {
        height: 68px;
        max-width: 170px;
    }
    .logo img {
        height: 40px;
    }
    .nav-wrapper {
        top: 100% !important;
    }
    .hero-wrapper {
        height: auto !important;
        min-height: 560px !important;
        padding: 135px 0 70px !important;
    }
    .hero-slide {
        padding: 120px 0 60px;
    }
    .hero-content-inner {
        padding: 20px 15px 40px !important;
    }
    .hero-content-inner h1,
    .hero-content-inner h2 {
        font-size: clamp(28px, 6.5vw, 38px) !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    .hero-content-inner p {
        font-size: 15px !important;
        line-height: 1.65 !important;
        margin-bottom: 25px !important;
    }
    .page-banner {
        padding: 145px 0 65px !important;
    }
    .page-title {
        font-size: clamp(26px, 6vw, 36px) !important;
        line-height: 1.25 !important;
    }
    .services-grid,
    .blog-grid,
    .sf-grid,
    .q-row,
    .quote-form {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .q-full {
        grid-column: span 1 !important;
    }
    .blog-article-section {
        padding: 50px 0 70px !important;
    }
    .blog-article-content {
        font-size: 16px;
        line-height: 1.75;
    }
    .blog-article-content h2 {
        font-size: 24px;
        margin: 28px 0 12px;
    }
    .blog-article-content h3 {
        font-size: 20px;
        margin: 22px 0 10px;
    }
}

/* Small Mobile Phones (320px - 575px) */
@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    .masonry-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 220px !important;
    }
    .ms-tall,
    .ms-wide,
    .ms-box {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    .form-card,
    .cs-card > div:last-child,
    .blog-sidebar-card,
    .blog-sidebar-cta,
    .c-form-box,
    .c-info-box,
    .q-info-box,
    .q-form-box,
    .quote-left,
    .quote-right,
    .cta-box {
        padding: 24px 18px !important;
    }
    .cs-card > div:first-child {
        min-height: 210px !important;
    }
    .cs-card .btn-hp,
    .hero-contact .btn-hp,
    .local-hero-text .btn-hp {
        width: 100%;
        justify-content: center;
    }
    .blog-card-body {
        padding: 22px 20px;
    }
    #cookie-banner {
        bottom: 72px !important;
        padding: 12px 15px !important;
        font-size: 13px !important;
        gap: 10px !important;
    }
    #cookie-banner > div:last-child {
        width: 100%;
        display: flex;
    }
    #cookie-banner button {
        flex: 1;
        text-align: center;
    }
}

