:root {
    --primary: #821537;
    --primary-light: rgba(130, 21, 55, 0.1);
    --secondary: #00f2ff;
    --logo-accent: #555;
    --text-main: #1d1d1f;
    --text-muted: #6b6b6b;
    --white: #ffffff;
    --bg-light: #fafafa;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.5);
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    transition: color 0.3s ease, background 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.top-bar {
    background: #000 !important;
    color: #fff !important;
    padding: 0 !important;
    font-size: 13px;
    width: 100%;
    display: block;
    position: relative;
    z-index: 1002;
    transition: all 0.4s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.header.scrolled .top-bar {
    padding: 10px 0 !important;
    max-height: 50px;
    opacity: 1;
    pointer-events: auto;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-socials a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, color 0.3s;
}

.top-bar-socials a:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-link {
    color: #dedede;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--primary);
}

.contact-icon {
    color: var(--primary);
}

.separator {
    color: #444;
    font-size: 14px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.header-content {
    padding: 15px 0;
    transition: padding 0.3s ease;
    width: 100%;
}

/* When scrolled, we can hide the top bar or just let it scroll up. But since it is inside .header which is fixed, it will stay. We'll leave it visible for now, or just let JS handle it if needed. */

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.text-primary {
    color: var(--primary);
}

.logo-accent {
    color: var(--logo-accent);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
}

.arrow {
    font-size: 10px;
    margin-left: 2px;
    transition: transform 0.2s;
}

.nav li {
    position: relative;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 20px;
    width: 100%;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-contact {
    padding: 10px 24px !important;
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 5px !important;
    border: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-contact:hover {
    background: #630c26 !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(130, 21, 55, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(at 0% 0%, rgba(130, 21, 55, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 242, 255, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(130, 21, 55, 0.03) 0px, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 84px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    display: inline-block;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--text-main);
}

.word {
    display: inline-block;
    white-space: nowrap;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.char.visible {
    opacity: 1;
    transform: translateY(0);
}

.char-icon {
    display: inline-flex !important;
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    vertical-align: middle;
}

.char-icon.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.square-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-left: 15px;
    vertical-align: middle;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.square-icon:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.6);
}

.hero-decoration {
    position: absolute;
    top: -20px;
    left: -40px;
    animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
    opacity: 0;
    z-index: 3;
}

.star-icon {
    display: inline-block;
    animation: zoomStar 4s infinite ease-in-out;
}

.star-icon svg {
    width: 80px;
    height: auto;
}

@keyframes zoomStar {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.6);
    }
}


/* Hero background image and glass effect */
.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    transform: scale(1.1);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn:hover {
    transform: translateY(-3px);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
    opacity: 0;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(130, 21, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(130, 21, 55, 0.35);
    background: #6f0e2b;
    /* Slightly darker */
    color: var(--white);
}



/* Floating Icons Styling */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.float-icon {
    position: absolute;
    color: var(--primary);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    opacity: 0.6;
    animation: floatMotion 20s infinite ease-in-out;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.float-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.icon-1 {
    top: 20%;
    left: 8%;
    animation-delay: 0s;
}

.icon-2 {
    top: 30%;
    right: 12%;
    animation-delay: -5s;
}

.icon-3 {
    bottom: 25%;
    left: 12%;
    animation-delay: -10s;
}

.icon-4 {
    bottom: 35%;
    right: 8%;
    animation-delay: -15s;
}

@keyframes floatMotion {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-30px, 20px) rotate(-10deg);
    }
}

/* Hero Bottom Section */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 50px;
    }

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
}

/* Services Section */
.services {
    padding: 120px 0;
    background: #ffffff;
}

.services-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 16px;
    color: #444;
    max-width: 100%;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: start;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    row-gap: 0;
}

.service-item {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    color: #111;
}

.service-item.active {
    color: var(--text-main);
}

.service-item:hover {
    color: var(--primary);
}

.arrow-right {
    font-size: 18px;
    font-weight: bold;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.service-item:hover .arrow-right,
.service-item.active .arrow-right {
    opacity: 1;
    color: var(--primary);
}

.service-preview {
    position: sticky;
    top: 140px;
}

.preview-card {
    background: #000;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1.1 / 1;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.preview-media {
    width: 100%;
    height: 100%;
    position: relative;
}

.preview-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95) 70%);
    color: var(--white);
    transform: translateY(0);
    transition: all 0.5s ease;
}

.preview-overlay h3 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.preview-overlay p {
    font-size: 18px;
    line-height: 1.5;
    opacity: 1;
    max-width: 95%;
    font-weight: 400;
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-item:nth-child(odd) {
        border-right: none;
    }
}

/* Extended Services Section */
.extra-services {
    padding: 120px 0;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.extra-services-header {
    text-align: center;
    margin-bottom: 100px;
}

.sub-title {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.extra-section-title {
    font-size: 64px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.extra-service-rows {
    max-width: 1200px;
    margin: 0 auto;
}

.extra-service-row {
    display: flex;
    align-items: center;
    padding: 80px 0;
    border-bottom: 2px solid #f9f9f9;
    position: relative;
    transition: all 0.4s ease;
}

.extra-service-row:first-child {
    border-top: 2px solid #f9f9f9;
}

.row-title {
    flex: 0 0 350px;
}

.row-title h3 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    transition: color 0.4s ease;
}

.row-content {
    flex: 1;
    padding-right: 50px;
}

.row-content p {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.6;
}

.row-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.row-content li {
    font-size: 18px;
    color: #444;
    font-weight: 500;
}

.row-action {
    flex: 0 0 200px;
    display: flex;
    justify-content: flex-end;
}

.btn-details {
    width: 140px;
    height: 140px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s ease;
    background: #fff;
}

.btn-details .arrow {
    font-size: 22px;
    margin-top: 5px;
    transition: transform 0.3s ease;
}

.floating-preview {
    position: absolute;
    right: 200px;
    top: 50%;
    transform: translateY(-50%) scale(0.8) rotate(5deg);
    width: 450px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 10;
}

.floating-preview img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

/* Hover States */
.extra-service-row:hover .row-title h3 {
    color: var(--primary);
}

.extra-service-row:hover .floating-preview {
    opacity: 1;
    transform: translateY(-50%) scale(1) rotate(-3deg);
    right: 150px;
}

.extra-service-row:hover .btn-details {
    background: #fff;
    border-color: #1a1a1a;
    transform: scale(1.05);
}

.extra-service-row:hover .btn-details .arrow {
    transform: translate(5px, -5px);
}

@media (max-width: 1100px) {
    .floating-preview {
        width: 350px;
        right: 150px;
    }
}

@media (max-width: 991px) {
    .extra-service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding: 60px 0;
    }

    .row-title {
        flex: none;
    }

    .row-action {
        width: 100%;
        justify-content: flex-start;
    }

    .floating-preview {
        display: none;
    }

    .top-bar {
        display: none;
        /* Hide top bar on mobile for space */
    }

    .header {
        position: fixed;
    }

    .header-content {
        padding: 15px 0;
    }

    .nav {
        position: fixed;
        top: 60px;
        justify-content: flex-start;
    }
}

/* Trusted By Section */
.trusted-by {
    padding: 100px 0;
    background: #fff;
    border-bottom: 2px solid #f9f9f9;
}

.trust-title {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 80px;
    letter-spacing: -0.01em;
}

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trust-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.trust-logo {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    height: 100%;
    width: auto;
    max-width: 200px;
}

.trust-rating {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.trust-divider {
    width: 2px;
    height: 100px;
    background: #f0f0f0;
    margin: 0 10px;
}

@media (max-width: 1100px) {
    .trust-title {
        font-size: 42px;
    }
}

@media (max-width: 991px) {
    .trust-bar {
        flex-wrap: wrap;
        gap: 60px 40px;
        justify-content: center;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        flex: 0 0 calc(33.33% - 40px);
    }
}

@media (max-width: 768px) {
    .trust-item {
        flex: 0 0 calc(50% - 40px);
    }
}

@media (max-width: 480px) {
    .trust-item {
        flex: 0 0 100%;
    }

    .trust-title {
        font-size: 32px;
    }
}

/* Why Choose Us Redesign */
.why-choose-us {
    background: #fce4d6;
    padding: 140px 0;
}

.redesign-title {
    font-size: 52px;
    max-width: 100%;
    margin: 0 auto 30px;
    color: var(--primary);
    text-align: center;
}

.redesign-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.why-redesign-grid {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-redesign-row {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.why-redesign-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    border: 1.5px solid rgba(130, 21, 55, 0.15);
    /* Using primary maroon instead of green */
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 0 1 calc(50% - 15px);
    transition: all 0.4s ease;
}

.centered-card {
    flex: 0 1 700px;
}

.why-redesign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(130, 21, 55, 0.08);
}

.redesign-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    /* Primary maroon circle */
    border-radius: 50%;
    flex: 0 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.redesign-icon svg {
    width: 35px;
    height: 35px;
}

.redesign-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.redesign-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

@media (max-width: 991px) {
    .why-redesign-row {
        flex-direction: column;
        align-items: center;
    }

    .why-redesign-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 700px;
    }
}



/* Value Propositions Grid Section */
.vortex-grid-section {
    position: relative;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 120px 0;
}

.vortex-grid-header {
    margin-bottom: 80px;
    position: relative;
}

.grid-header-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}


.grid-main-title {
    flex: 1;
    font-size: 50px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-size: 56px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    max-width: 100%;
}

.pill-arrow-wrap {
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.pill-arrow {
    flex: 0 0 100px;
    width: 100px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 44px;
    border: 1px solid #333;
    border-radius: 30px;
    color: #333;
}

.pill-arrow svg {
    width: 30px;
}

.orange-accent {
    display: inline-block;
    width: 70px;
    height: 40px;
    vertical-align: middle;
    margin-left: 10px;
}

.proposition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e0e0e0;
}

.grid-item {
    padding: 60px 40px;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.grid-item:nth-child(3n) {
    border-right: none;
}

.grid-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.grid-item p {
    font-size: 16px;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.6;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.grid-footer {
    text-align: center;
    margin-top: 80px;
}

.btn-consultation {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 35px;
    border: 1.5px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-consultation:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-3px);
}

.arrow-up-right {
    font-size: 22px;
}

@media (max-width: 1100px) {
    .proposition-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item:nth-child(2n) {
        border-right: none;
    }

    .grid-item:nth-child(3n) {
        border-right: 1px solid #e0e0e0;
    }

    .grid-main-title {
        flex: 1;
        font-size: 50px;
        line-height: 1.05;
        letter-spacing: -0.02em;
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .proposition-grid {
        grid-template-columns: 1fr;
    }

    .grid-item {
        border-right: none;
        padding: 40px 20px;
    }

    .grid-main-title {
        flex: 1;
        font-size: 50px;
        line-height: 1.05;
        letter-spacing: -0.02em;
        font-size: 32px;
    }
}

.text-center {
    text-align: center;
}







/* Industries Carousel Section */
.industries-carousel {
    background: #ffffff;
    padding: 120px 0;
    overflow: hidden;
}

.industries-header {
    margin-bottom: 60px;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
}

.carousel-track {
    position: relative;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-image {
    flex: 0 0 500px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(-30px);
    transition: transform 0.8s ease;
}

.carousel-slide.active .slide-image {
    transform: translateX(0);
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    flex: 1;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.carousel-slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.content-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 40px;
}

.industry-name {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.industry-desc {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 40px;
}

.explore-link {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1.5px solid #1a1a1a;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.explore-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(5px);
}

.carousel-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a1a;
}

.nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 991px) {
    .carousel-track {
        height: auto;
    }

    .carousel-slide {
        position: relative;
        flex-direction: column;
        gap: 30px;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .carousel-slide.active {
        display: flex;
    }

    .slide-image {
        flex: 0 0 350px;
        width: 100%;
    }

    .carousel-nav {
        position: relative;
        margin-top: 40px;
        justify-content: center;
        right: auto;
    }
}

/* =========================================
   PORTFOLIO SECTION
   ========================================= */
.portfolio-section {
    background: #fafafa;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #000;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
    opacity: 0.8;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-content {
    color: #fff;
}

.portfolio-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.portfolio-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.portfolio-link:hover {
    transform: scale(1.1) rotate(-45deg);
}

/* =========================================
   NEWS & BLOGS SECTION
   ========================================= */
.news-section {
    background: #ffffff;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.news-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(130, 21, 55, 0.3);
}

.news-date .day {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-bottom: 15px;
}

.meta-dot {
    color: var(--primary);
}

.news-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.news-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary);
}

.news-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

/* =========================================
   RESPONSIVE LAYOUTS
   ========================================= */
@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        aspect-ratio: 16/10;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-header .btn-consultation {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    background: #fafafa;
    padding-bottom: 80px;
}

.faq-container {
    max-width: 100%;
}

.faq-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.faq-accordion {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #eaeaea;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding-right: 20px;
    transition: color 0.3s ease;
}

.faq-icon {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-item.active .faq-question {
    background: #fdfdfd;
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-item.active .faq-icon {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: #fdfdfd;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    background: #ffffff;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.contact-info {
    flex: 1;
    min-width: 350px;
}

.contact-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: rgba(130, 21, 55, 0.05);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.info-item p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.contact-form-container {
    flex: 1.2;
    background: #fafafa;
    padding: 40px;
    border-radius: 16px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: #333;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(130, 21, 55, 0.1);
}

.w-100 {
    width: 100%;
}

@media (max-width: 991px) {
    .contact-wrapper {
        flex-direction: column;
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.site-footer {
    background: #111;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col {
    padding-right: 40px;
}

.footer-logo {
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-bio {
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.newsletter-col p {
    color: #a0a0a0;
    font-size: 15px;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 5px;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #6a102c;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a0a0a0;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .brand-col {
        padding-right: 0;
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .brand-col {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   PORTFOLIO PAGE SECTION
   ========================================= */

/* Filters */
.filters-section {
    padding-bottom: 40px;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #eaeaea;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.filter-btn:hover {
    border-color: #ccc;
    color: #1a1a1a;
}

.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 15px rgba(255, 62, 108, 0.2);
}

/* Portfolio Grid Container */
.portfolio-grid-section {
    padding-top: 0;
}

.portfolio-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* New Portfolio Cards */
.portfolio-new-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-new-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: #f4f4f4;
}

.card-image img {
    transition: transform 0.5s ease;
}

.portfolio-new-card:hover .card-image img {
    transform: scale(1.05);
}

/* Brand specific backgrounds based on screenshot */
.bg-pine-labs {
    background-color: #0d5436;
    /* Dark green for Pine Labs */
}

.bg-qwikcilver {
    background-color: #f0f0f0;
}

/* Card Content Area */
.card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fafafa;
}

.category-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #fbe9ed;
    /* light pinkish as seen in the img */
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.card-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
    font-weight: 500;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .portfolio-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-page-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 12px;
    }
}

/* =========================================
   SERVICES PAGE OVERLAP LAYOUT
   ========================================= */

.service-about-overlap {
    background: #fdfdfd;
    overflow-x: hidden;
    /* Prevent horizontal scroll from absolute elements */
}

.overlap-layout-wrapper {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    padding-left: 240px;
    /* Room for left decorative graphic */
    margin-bottom: 140px;
    /* Room for bottom overlap card */
}

.overlap-decorative {
    position: absolute;
    left: 40px;
    top: 100px;
    z-index: 0;
}

.overlap-main-box {
    position: relative;
    z-index: 1;
}

.overlap-image-wrapper {
    width: 100%;
    /* Create the sharp massive curve on the bottom right */
    border-radius: 0 0 500px 0;
    overflow: hidden;
    /* Soft shadow on image itself */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.overlap-main-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.overlap-text-card {
    position: absolute;
    left: -160px;
    bottom: -80px;
    background: #fdfdfd;
    padding: 40px 50px;
    border-radius: 12px;
    width: 85%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.overlap-text-card p {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.overlap-text-card p:last-child {
    margin-bottom: 0;
}

/* =========================================
   SERVICES WE OFFER GRID
   ========================================= */

.services-offer-grid-section {
    padding-bottom: 80px;
    background: #fff;
}

.services-offer-grid-section .text-center h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.services-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-grid-card {
    padding: 30px 40px 60px 40px;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease;
    background: #fff;
}

.service-grid-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-grid-card.right-col {
    border-right: none;
}

.service-grid-card.bottom-row {
    border-bottom: none;
}

.service-icon {
    margin-bottom: 25px;
}

.service-grid-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.offer-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.offer-list li {
    font-size: 13.5px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

/* Custom Arrow Bullet */
.offer-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0px;
    font-size: 14px;
    color: #444;
}

.offer-list li:last-child {
    margin-bottom: 0;
}

.text-highlight {
    color: #ff3e6c;
}

/* Responsiveness for Services Grid */
@media (max-width: 992px) {
    .services-offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .services-offer-grid,
    .types-grid {
        grid-template-columns: 1fr;
    }
}

/* Different Types of Web Design */
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.type-card {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.type-icon {
    margin-bottom: 20px;
}

.type-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.type-card p {
    font-size: 14.5px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.overlap-float-card {
    position: absolute;
    right: -40px;
    bottom: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

/* Responsive adjustments for overlapping layout */
@media (max-width: 992px) {
    .overlap-layout-wrapper {
        padding-left: 0;
    }

    .overlap-decorative {
        display: none;
    }

    .overlap-text-card {
        left: 0;
        width: 85%;
        bottom: -100px;
    }

    .overlap-float-card {
        right: 0px;
        bottom: -50px;
        /* Move below text card physically in flow or adjust positioning */
        width: 300px;
    }
}

@media (max-width: 768px) {
    .overlap-image-wrapper {
        border-radius: 0 0 150px 0;
    }

    .overlap-main-img {
        height: 350px;
    }

    .overlap-text-card,
    .overlap-float-card {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
        padding: 20px;
    }

    .overlap-layout-wrapper {
        margin-bottom: 0;
    }
}

/* Mobile Navigation & Global Responsiveness */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Active state for hamburger to X */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 30px;
        transition: right 0.3s ease;
        flex-direction: column;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 0;
    }

    .nav a {
        padding: 15px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: none;
        padding-left: 15px;
        display: none;
        border: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .nav-contact {
        text-align: center;
        margin-top: 20px;
        border: 1px solid var(--primary);
        color: var(--primary) !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .services-grid,
    .portfolio-grid,
    .footer-grid,
    .why-choose-us-grid,
    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .trust-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .trust-item {
        width: 45%;
        margin-bottom: 15px;
    }

    .features-list {
        flex-direction: column;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }
}