/* ==========================================================================
   Builtup - Construction Company HTML5 Template
   Clean, Responsive, Modern HTML, CSS, and JS
   Based on Builtup WordPress Theme by AwaikenThemes
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Theme Configuration
   -------------------------------------------------------------------------- */
:root {
    --primary-color: #12223b;
    --primary-dark: #0a1424;
    --primary-light: #1a3154;
    --secondary-color: #e9f7fe;
    --secondary-light: #f4f9fd;
    --accent-color: #ffb703;
    --accent-hover: #e09f00;
    --text-color: #667282;
    --text-dark: #12223b;
    --text-muted: #8e9bae;
    --white: #ffffff;
    --border-color: rgba(18, 34, 59, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --card-shadow: 0 10px 30px rgba(18, 34, 59, 0.06);
    --hover-shadow: 0 20px 40px rgba(18, 34, 59, 0.12);
    --font-primary: 'Manrope', sans-serif;
    --font-text: 'DM Sans', sans-serif;
    --transition: all 0.3s ease-in-out;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-text);
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.65;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. Container & Utility Classes
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-padding {
    padding: 90px 0;
}

.bg-light {
    background-color: var(--secondary-light);
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.text-center {
    text-align: center;
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-header.text-center {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.section-badge::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-title {
    font-size: 2.6rem;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.bg-dark .section-title {
    color: var(--white);
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-color);
    max-width: 650px;
    margin: 0 auto;
}

.bg-dark .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   4. Buttons (Signature Builtup Button Style)
   -------------------------------------------------------------------------- */
.btn-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: capitalize;
    color: var(--white);
    background-color: var(--accent-color);
    border-radius: var(--radius-md);
    padding: 16px 56px 16px 28px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: 0.4s ease-in-out;
    text-decoration: none;
}

.btn-default::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 24px;
    height: 24px;
    background-image: url('../assets/images/arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
    transition: 0.3s ease-in-out;
}

.btn-default::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: var(--radius-md);
    transition: 0.4s ease-in-out;
    z-index: -1;
}

.btn-default:hover::after {
    width: 100%;
}

.btn-default:hover::before {
    transform: translate(4px, -50%);
}

.btn-default.btn-secondary {
    background-color: var(--primary-color);
}

.btn-default.btn-secondary::after {
    background-color: var(--accent-color);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   5. Top Bar
   -------------------------------------------------------------------------- */
.topbar {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
}

.topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar-item i {
    color: var(--accent-color);
}

.topbar-item a:hover {
    color: var(--accent-color);
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.topbar-social a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Main Header & Navigation (Integrated into Hero Card)
   -------------------------------------------------------------------------- */
.main-header {
    position: relative;
    width: 100%;
    padding: 28px 45px;
    z-index: 1000;
    transition: all 0.35s ease-in-out;
}

body > .main-header,
.main-header.header-solid {
    background-color: var(--primary-color);
}

.main-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(18, 34, 59, 0.96);
    backdrop-filter: blur(12px);
    padding: 14px 45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    animation: headerSlideDown 0.35s ease-out;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-brand img {
    height: 44px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.98rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.nav-link i.fa-angle-down {
    font-size: 0.72rem;
    opacity: 0.75;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover i.fa-angle-down {
    transform: rotate(180deg);
    opacity: 1;
}

/* Header Dropdowns */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: -15px;
    background-color: var(--primary-color);
    min-width: 220px;
    border-radius: var(--radius-sm);
    padding: 12px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    z-index: 1000;
    border: 1px solid var(--border-light);
    list-style: none;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown li a {
    display: block;
    padding: 10px 22px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.nav-dropdown li a:hover {
    background-color: rgba(255, 183, 3, 0.15);
    color: var(--accent-color);
    padding-left: 26px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--accent-color);
    border-radius: 12px;
    padding: 13px 28px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 183, 3, 0.3);
}

.btn-header-contact:hover {
    background-color: #e5a400;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 183, 3, 0.45);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.25rem;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.menu-toggle:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. Hero Section - Modern Framed Card Design (as in screenshot)
   -------------------------------------------------------------------------- */
.hero-card-wrapper {
    padding: 24px 32px 38px;
    background-color: #e8ecf1;
    position: relative;
}

.hero-card {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background-image:
        linear-gradient(180deg, rgba(18, 34, 59, 0.65) 0%, rgba(18, 34, 59, 0.45) 35%, rgba(18, 34, 59, 0.82) 100%),
        url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(18, 34, 59, 0.12);
}

.hero-content {
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    padding: 60px 24px 110px;
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-color);
    margin-bottom: 22px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero-desc {
    font-family: var(--font-text);
    font-size: 1.18rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 720px;
    margin: 0 auto 38px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--accent-color);
    border-radius: 12px;
    padding: 16px 36px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(255, 183, 3, 0.35);
}

.btn-get-started:hover {
    background-color: #e5a400;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(255, 183, 3, 0.5);
}

.btn-arrow-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-get-started:hover .btn-arrow-icon,
.btn-view-projects:hover .btn-arrow-icon {
    transform: translateX(4px);
}

.btn-view-projects {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 12px;
    padding: 15px 34px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.btn-view-projects:hover {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255, 183, 3, 0.35);
}

/* Hero Stats Bar - Modern Floating Overlap Design */
.hero-stats {
    position: relative;
    margin-top: -65px;
    margin-bottom: 0;
    z-index: 25;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: #ffffff;
    padding: 30px 28px;
    border-radius: 22px;
    box-shadow:
        0 24px 50px rgba(18, 34, 59, 0.13),
        0 8px 22px rgba(18, 34, 59, 0.06),
        0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stats-grid:hover {
    transform: translateY(-6px);
    box-shadow:
        0 32px 65px rgba(18, 34, 59, 0.2),
        0 12px 28px rgba(18, 34, 59, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 8px 16px;
    border-right: 1px solid rgba(18, 34, 59, 0.08);
    transition: transform 0.3s ease;
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 183, 3, 0.12);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 183, 3, 0.24);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(4deg);
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(255, 183, 3, 0.35);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   8. About Us Section
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-image img {
    transform: scale(1.03);
}

.about-experience-badge {
    position: absolute;
    bottom: -25px;
    right: 25px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 30px rgba(255, 183, 3, 0.35);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 260px;
}

.badge-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.badge-text strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text span {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-content .section-header {
    margin-bottom: 25px;
}

.about-lead {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 25px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 35px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.about-footer {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.about-support {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.support-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
}

.support-info a {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
}

.support-info a:hover {
    color: var(--accent-color);
}

/* --------------------------------------------------------------------------
   9. Services Section - Modern Full-Image Card with Hover Reveal
   -------------------------------------------------------------------------- */
.services-section {
    background-color: #e9f7fe;
    background-image: url('../assets/images/service-bg.png');
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 380px auto;
    position: relative;
    overflow: hidden;
}

.section-tagline-gold {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--accent-color);
    margin-bottom: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.services-page-grid {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 385px;
    background-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(18, 34, 59, 0.08);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.service-card:hover,
.service-card.active {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(18, 34, 59, 0.2);
}

.service-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.service-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-image-bg img,
.service-card.active .service-image-bg img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(18, 34, 59, 0) 30%, rgba(18, 34, 59, 0.5) 65%, rgba(18, 34, 59, 0.92) 100%);
    transition: background 0.45s ease;
}

.service-card:hover .service-overlay,
.service-card.active .service-overlay {
    background: linear-gradient(180deg, rgba(18, 34, 59, 0.2) 0%, rgba(18, 34, 59, 0.72) 42%, rgba(18, 34, 59, 0.95) 85%, rgba(18, 34, 59, 0.98) 100%);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px 22px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

.service-title {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-hover-details {
    max-height: 0;
    opacity: 0;
    transform: translateY(18px);
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s ease;
    margin-top: 0;
}

.service-card:hover .service-hover-details,
.service-card.active .service-hover-details {
    max-height: 180px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    margin-top: 14px;
}

.service-desc {
    font-family: var(--font-text);
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 16px;
}

.service-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
}

.service-view-more:hover {
    color: #e5a400;
    gap: 12px;
}

.service-arrow-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-view-more:hover .service-arrow-icon {
    transform: translateX(3px);
}

/* Services Footer & View All Button */
.services-footer {
    margin-top: 48px;
}

.btn-view-all-services {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--accent-color);
    border-radius: 12px;
    padding: 16px 36px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(255, 183, 3, 0.35);
    transition: var(--transition);
}

.btn-view-all-services:hover {
    background-color: #e5a400;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(255, 183, 3, 0.5);
    color: #ffffff;
}

.btn-view-all-services .btn-arrow-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-view-all-services:hover .btn-arrow-icon {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   10. Why Choose Us Section - Modern Alternating Checkerboard Grid
   -------------------------------------------------------------------------- */
.why-choose-section {
    background-color: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.why-card {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 28px;
    padding: 38px 30px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(18, 34, 59, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(18, 34, 59, 0.1);
    border-color: rgba(255, 183, 3, 0.45);
}

.why-card-top {
    display: flex;
    flex-direction: column;
}

.why-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 22px;
    color: var(--accent-color);
}

.why-icon svg {
    width: 42px;
    height: 42px;
    transition: transform 0.35s ease;
}

.why-card:hover .why-icon svg {
    transform: scale(1.1) rotate(4deg);
}

.why-title {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 14px;
    line-height: 1.25;
}

.why-desc {
    font-family: var(--font-text);
    font-size: 0.93rem;
    line-height: 1.6;
    color: #667282;
    margin-bottom: 26px;
}

.why-card-bottom {
    margin-top: auto;
}

.why-divider {
    height: 1px;
    background-color: #eef2f6;
    margin-bottom: 20px;
    width: 100%;
}

.why-stat {
    display: flex;
    flex-direction: column;
}

.why-number {
    font-family: var(--font-primary);
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.why-label {
    font-family: var(--font-text);
    font-size: 0.92rem;
    color: #667282;
    font-weight: 500;
}

/* Photo Cards in Checkerboard */
.why-photo-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    box-shadow: 0 10px 30px rgba(18, 34, 59, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(18, 34, 59, 0.16);
}

.why-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-photo-card:hover img {
    transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   11. Projects / Portfolio Section
   -------------------------------------------------------------------------- */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    background-color: var(--white);
}

.portfolio-item.hide {
    display: none;
}

.portfolio-thumb {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 34, 59, 0.9) 0%, rgba(18, 34, 59, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 24px;
    transition: var(--transition);
}

.portfolio-tag {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.portfolio-title {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 12px;
}

.portfolio-link {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-link {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-link:hover {
    color: var(--accent-color);
}

/* --------------------------------------------------------------------------
   12. Call to Action (CTA) Banner
   -------------------------------------------------------------------------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 700px;
}

.cta-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 18px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. FAQ Section
   -------------------------------------------------------------------------- */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: flex-start;
}

.faq-card-box {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    margin-top: 30px;
}

.faq-card-box h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.faq-card-box p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item.active {
    border-color: var(--accent-color);
    box-shadow: var(--card-shadow);
}

.accordion-header {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    user-select: none;
}

.accordion-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-item.active .accordion-title {
    color: var(--accent-color);
}

.accordion-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    background-color: var(--accent-color);
    color: var(--white);
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 28px;
}

.accordion-body p {
    padding-bottom: 22px;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   15. Blog Section
   -------------------------------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.blog-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.08);
}

.blog-date-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.blog-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-meta span i {
    color: var(--accent-color);
    margin-right: 5px;
}

.blog-title {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--primary-color);
    transition: var(--transition);
    flex-grow: 1;
}

.blog-card:hover .blog-title {
    color: var(--accent-color);
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-color);
    transition: var(--transition);
}

.blog-link i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-link {
    color: var(--accent-color);
}

.blog-card:hover .blog-link i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   16. Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background-color: var(--secondary-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.contact-text p,
.contact-text a {
    font-size: 0.95rem;
    color: var(--text-color);
}

.contact-text a:hover {
    color: var(--accent-color);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 45px 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--secondary-light);
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-alert {
    display: none;
    grid-column: 1 / -1;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
}

.form-alert.success {
    display: block;
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.form-alert.error {
    display: block;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.75);
    padding-top: 80px;
    border-top: 4px solid var(--accent-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-light);
}

.footer-widget .footer-logo {
    margin-bottom: 22px;
}

.footer-widget .footer-logo img {
    height: 48px;
    width: auto;
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--accent-color);
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* Newsletter form */
.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

.newsletter-form input {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-family: var(--font-text);
    font-size: 0.95rem;
    flex-grow: 1;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    border-color: var(--accent-color);
}

.newsletter-form button {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-hover);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* --------------------------------------------------------------------------
   18. Back to Top Button
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   19. Responsive Media Queries (Mobile, Tablet, Desktop)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        margin-top: -55px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 26px 22px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(18, 34, 59, 0.08);
        padding-bottom: 18px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: inline-flex;
        z-index: 10001;
        position: relative;
    }

    .main-header {
        padding: 18px 24px;
    }

    .main-header.scrolled {
        padding: 14px 24px;
    }

    /* Fullscreen mobile navigation drawer */
    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 34, 59, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 90px 24px 40px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease-in-out;
        max-height: 100vh;
        overflow-y: auto;
        z-index: 9999;
    }

    .navbar-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        max-width: 420px;
        text-align: center;
        gap: 8px;
        margin: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: 12px 18px;
        width: 100%;
        justify-content: center;
        border-radius: var(--radius-sm);
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    /* Mobile Dropdown sub-menu */
    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255, 255, 255, 0.06);
        border: none;
        box-shadow: none;
        border-radius: var(--radius-sm);
        margin-top: 6px;
        padding: 8px 0;
        display: none;
        width: 100%;
    }

    .nav-item.active-dropdown .nav-dropdown {
        display: block;
    }

    .nav-dropdown li a {
        text-align: center;
        padding: 9px 16px;
        font-size: 0.95rem;
    }

    .navbar-actions {
        margin-top: 25px;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .btn-header-contact {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1.05rem;
    }

    .hero-card-wrapper {
        padding: 16px 18px 32px;
    }

    .hero-card {
        border-radius: 30px;
        min-height: 680px;
    }

    .hero-stats {
        margin-top: -50px;
    }

    .hero-content {
        padding: 50px 20px 80px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-grid,
    .faq-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-experience-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 18px;
        max-width: 100%;
        width: 100%;
        justify-content: center;
        border-radius: var(--radius-md);
        padding: 16px 20px;
        box-shadow: 0 10px 25px rgba(255, 183, 3, 0.25);
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-section {
        background-size: 260px auto;
    }

    .portfolio-link {
        opacity: 1;
        transform: translateY(0);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-card-wrapper {
        padding: 12px 12px 24px;
    }

    .hero-card {
        border-radius: 24px;
        min-height: 560px;
    }

    .main-header {
        padding: 16px 16px;
    }

    .hero-content {
        padding: 35px 14px 75px;
    }

    .hero-tagline {
        font-size: 0.85rem;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .hero-title br {
        display: none;
    }

    .hero-desc {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 28px;
        padding: 0 4px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-get-started,
    .btn-view-projects {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 22px;
        font-size: 1rem;
    }

    /* Stats Grid Floating Overlap on Mobile */
    .hero-stats {
        margin-top: -40px;
        margin-bottom: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        padding: 18px 16px;
        gap: 12px;
        border-radius: 18px;
        box-shadow:
            0 14px 30px rgba(18, 34, 59, 0.12),
            0 4px 12px rgba(18, 34, 59, 0.05);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(18, 34, 59, 0.08);
        padding: 8px 4px 14px;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        border-radius: 14px;
    }

    .stat-number {
        font-size: 1.85rem;
    }

    .stat-label {
        font-size: 0.88rem;
    }

    /* About */
    .feature-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .about-footer .btn-default {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Services & Cards */
    .services-grid,
    .services-page-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
        gap: 20px;
    }

    .service-card {
        height: 350px;
        border-radius: 24px;
    }

    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: 20px;
    }

    .why-card {
        padding: 30px 24px 26px;
        border-radius: 24px;
    }

    .why-photo-card {
        min-height: 280px;
        border-radius: 24px;
    }

    .cta-title {
        font-size: 1.85rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .cta-actions .btn-default,
    .cta-actions .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .contact-card {
        padding: 18px 16px;
    }

    .contact-form-wrapper {
        padding: 26px 18px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-form .btn-default {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form button {
        width: 100%;
        padding: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .hero-card-wrapper {
        padding: 8px 8px 20px;
    }

    .hero-card {
        border-radius: 18px;
        min-height: 500px;
    }

    .hero-stats {
        margin-top: -32px;
    }

    .stats-grid {
        padding: 14px 12px;
        gap: 10px;
        border-radius: 16px;
    }

    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 1.65rem;
    }

    .stat-label {
        font-size: 0.88rem;
    }

    .navbar-brand img {
        height: 36px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .btn-get-started,
    .btn-view-projects {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .service-card {
        height: 330px;
        border-radius: 20px;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .btn-view-all-services {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1rem;
    }

    .why-card {
        padding: 26px 20px 22px;
        border-radius: 20px;
    }

    .why-photo-card {
        min-height: 240px;
        border-radius: 20px;
    }

    .why-number {
        font-size: 2rem;
    }

    .portfolio-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 7px 14px;
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   20. Inner Page Banner (Page Header & Breadcrumbs)
   ========================================================================== */
.page-header-wrapper {
    padding: 24px 32px 0;
    background-color: #e8ecf1;
}

.page-header-card {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(18, 34, 59, 0.75) 0%, rgba(18, 34, 59, 0.65) 50%, rgba(18, 34, 59, 0.88) 100%),
        url('../assets/images/hero-bg.jpg') center center / cover no-repeat;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(18, 34, 59, 0.1);
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px 100px;
}

.page-header-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.breadcrumb-trail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.08);
    padding: 8px 22px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.breadcrumb-trail a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.breadcrumb-trail a:hover {
    color: var(--accent-color);
}

.breadcrumb-trail .separator {
    color: var(--accent-color);
    font-size: 0.75rem;
}

.breadcrumb-trail .current-page {
    color: var(--accent-color);
}

/* ==========================================================================
   21. Process / How We Work Section
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.process-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--hover-shadow);
}

.process-number {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(18, 34, 59, 0.1);
    line-height: 1;
    margin-bottom: 20px;
    transition: var(--transition);
}

.process-card:hover .process-number {
    color: var(--accent-color);
}

.process-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--secondary-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.process-card:hover .process-icon {
    background-color: var(--accent-color);
    color: #ffffff;
}

.process-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.process-desc {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.65;
}

/* ==========================================================================
   22. Team Section
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.team-thumb {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.team-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-thumb img {
    transform: scale(1.08);
}

.team-social {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    background-color: rgba(18, 34, 59, 0.9);
    padding: 8px 16px;
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.team-card:hover .team-social {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.team-social a {
    color: #ffffff;
    font-size: 0.85rem;
    transition: var(--transition);
}

.team-social a:hover {
    color: var(--accent-color);
}

.team-info {
    padding: 24px 20px;
}

.team-name {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   23. Blog Layout & Sidebar
   ========================================================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-form input {
    flex-grow: 1;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--secondary-light);
    font-family: var(--font-text);
    font-size: 0.95rem;
    outline: none;
}

.search-form input:focus {
    border-color: var(--accent-color);
    background-color: #ffffff;
}

.search-form button {
    padding: 12px 20px;
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background-color: #e5a400;
}

.widget-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background-color: var(--secondary-light);
    transition: var(--transition);
}

.widget-categories li a:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

.widget-categories li a span {
    font-size: 0.85rem;
    opacity: 0.8;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-post-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.recent-post-thumb {
    width: 75px;
    height: 75px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h5 {
    font-size: 0.98rem;
    line-height: 1.4;
    margin-bottom: 6px;
}

.recent-post-info h5 a {
    color: var(--primary-color);
    transition: var(--transition);
}

.recent-post-info h5 a:hover {
    color: var(--accent-color);
}

.recent-post-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: var(--secondary-light);
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 45px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 700;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

@media (max-width: 992px) {

    .process-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .page-header-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 576px) {

    .process-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .page-header-title {
        font-size: 2.1rem;
    }
}