/* Global Reset & Cursor Fix */
html, body {
    cursor: auto !important;
}

a, button, .btn, .dot, .swiper-button-next, .swiper-button-prev, .filter-link, [role="button"], #scrollToTop {
    cursor: pointer !important;
}

/* Base Reset & Variables */
:root {
    --primary: #111111;
    --secondary: #f9f9f9;
    --accent: #00608b;
    /* Blue from the new logo */
    --text-main: #2d2d2d;
    --text-muted: #666666;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}




/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 12px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--primary);
    cursor: pointer;
    background: transparent;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    border-color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
    overflow: visible !important;
}

header.scrolled {
    background: var(--white);
    padding: 8px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible !important;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none;
    display: block;
    position: relative;
    transition: var(--transition);
}

header.scrolled .nav-links a {
    color: var(--primary);
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 45px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 15px 0;
    list-style: none;
    z-index: 10000;
    pointer-events: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown>a i {
    transition: transform 0.3s ease;
}

.dropdown-menu li a {
    color: var(--primary) !important;
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
    display: block;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--secondary);
    color: var(--accent) !important;
    padding-left: 30px;
}

.dropdown-menu li a::after {
    display: none;
}

header:not(.scrolled) .dropdown-menu {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

header:not(.scrolled) .dropdown-menu li a {
    color: var(--white) !important;
}

header:not(.scrolled) .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent) !important;
}

/* Modern Bold Asymmetrical Hero */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
}

.slider {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 10s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3vw;
}

.slide-info {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1) 0.5s;
}

.slide.active .slide-info {
    opacity: 1;
    transform: translateY(0);
}

.slide-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.meta-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.slide-meta span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 11px;
    font-weight: 600;
}

.slide h1 {
    font-size: clamp(48px, 8vw, 90px);
    line-height: 0.9;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -2px;
}

.slide p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 50px;
    max-width: 450px;
    font-weight: 300;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.nav-numbers {
    display: none;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: none;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border: 1px solid var(--white);
    border-radius: 50%;
    animation: pulseWave 2s infinite;
}

@keyframes pulseWave {
    0% {
        width: 10px;
        height: 10px;
        opacity: 0.8;
    }

    100% {
        width: 40px;
        height: 40px;
        opacity: 0;
    }
}

.hero-experience {
    position: absolute;
    bottom: 60px;
    right: 60px;
    background: #000;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.hero-experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.exp-number {
    font-size: 44px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.exp-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
    white-space: nowrap;
}

.counter-item h3 {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 5px;
}

.counter-item p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    padding: 50px 40px;
    background: var(--secondary);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--accent);
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
}

/* Featured Projects Grid - Modern Editorial Design */
.projects-filter {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.filter-link {
    text-decoration: none;
    color: #999;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 30px;
    /* Space for the line */
}

.filter-link:hover {
    color: var(--primary);
}

.filter-link.active {
    color: var(--primary);
}

.filter-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    /* Align with border-bottom of container */
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 2px;
    background: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.project-item {
    position: relative;
    cursor: pointer;
    background: #ffffff;
    padding: 15px;
    /* Frame padding */
    border: 1px solid #e0e0e0;
    /* Light architectural border */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 0;
    /* Sharp professional edges */
    overflow: visible;
}

.project-img-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f0f0f0;
    /* Fallback gray while loading */
    position: relative;
    border-radius: 4px;
}

.project-item img {
    position: absolute;
    /* Ensure it stays in the ratio box */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

/* Info Section below image within the frame */
.project-overlay {
    position: relative;
    inset: auto;
    background: transparent;
    padding: 0 5px;
    opacity: 1;
    display: block;
    text-align: left;
}

.project-overlay h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 4px 0;
    text-transform: none;
    letter-spacing: 0;
}

.project-overlay p {
    font-family: var(--font-body);
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    font-weight: 500;
}

/* Hover State */
.project-item:hover {
    border-color: var(--accent);
    /* Frame lights up */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.project-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Why Choose Globe33 - Agency Mosaic Design */
.why-choose-section {
    background: #ffffff;
    padding: 20px 0 0;
}

.why-choose-section .split-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* Left content, Right grid */
    gap: 60px;
    align-items: start;
    padding: 0 12px;
}

/* Header Styling */
.eyebrow-agency {
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: none;
    font-weight: 500;
    color: #888;
    margin-bottom: 25px;
}

.eyebrow-agency::before {
    content: '\27f6';
    /* Modern arrow symbol */
    font-size: 20px;
}

.agency-title {
    font-family: var(--font-heading);
    font-size: 52px !important;
    font-weight: 400;
    /* Matching the elegant Playfair weight of your site */
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 30px;
    color: var(--primary);
}

/* Features Styling */
.agency-features {
    display: flex;
    flex-direction: column;
}

.agency-features .why-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 15px;
    /* Added some padding for the background effect */
    margin: 0 -20px;
    /* Compensate for padding to keep alignment */
    border-top: 1px solid #f0f0f0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.agency-features .why-feature-item:hover {
    background: #fcfcfc;
}

.agency-features .why-feature-item:last-child {
    border-bottom: 1px solid #f0f0f0;
}

.agency-features .feature-icon {
    width: 60px;
    height: 60px;
    background: #f4f7f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.agency-features .why-feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(5deg) scale(1.05);
}

.agency-features .feature-text h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 10px;
    transition: all 0.4s ease;
}

.agency-features .why-feature-item:hover h4 {
    color: var(--accent);
    transform: translateX(5px);
}

.agency-features .feature-text p {
    font-family: var(--font-body);
    font-size: 15px;
    color: #777;
    line-height: 1.6;
    max-width: 450px;
}

/* Mosaic Image Grid (Right) */
.agency-mosaic {
    padding-top: 20px;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    grid-template-rows: 240px 360px;
    gap: 20px;
}

.mosaic-grid.dual-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 180px);
}

.mosaic-item {
    overflow: hidden;
    border-radius: 4px;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.mosaic-item:hover img {
    transform: scale(1.1);
}

.m-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.m-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.m-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.m-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

@media (max-width: 1024px) {
    .why-choose-section .split-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .agency-title {
        font-size: 42px !important;
    }

    .mosaic-grid {
        grid-template-rows: 250px 350px;
    }
}

/* Logos & Footer Fixes */
.logo-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(1);
    margin-bottom: 60px;
}

.logo-bar img {
    height: 40px;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-col p,
.footer-col li {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 52px;
    }

    .services-grid,
    .projects-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .services-grid,
    .projects-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* About Section Styles (New Design) */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 600px;
    width: 100%;
}

.img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 85%;
    overflow: hidden;
    z-index: 1;
}

.img-main img,
.img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-images:hover .img-main img,
.about-images:hover .img-secondary img {
    transform: scale(1.05);
}

.img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    overflow: hidden;
    z-index: 2;
    border: 10px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    top: 10%;
    right: 15%;
    background: var(--accent);
    color: var(--white);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
    border: 5px solid var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
}

.exp-num {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
}

.exp-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.about-content .sub-heading {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 11px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 50px;
}

.about-content .sub-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.about-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.intro-text {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    line-height: 1.8;
}

.features-list {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 96, 139, 0.08);
    /* Faded accent */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-body);
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--primary);
}

.feature-text p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.founder-signature {
    margin-top: 30px;
    font-family: 'Playfair Display', serif;
    /* Or a handwritten font if available */
    font-size: 36px;
    color: var(--primary);
    opacity: 0.8;
}

.actions {
    margin-top: 40px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 500px;
        margin-bottom: 60px;
    }

    .about-content h2 {
        font-size: 36px;
    }
}


/* About Section (Editorial Design) */
.about-editorial {
    background-color: var(--secondary);
    /* Subtle distinction from white sections */
}



.eyebrow {
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--accent);
    font-weight: 700;
}

.editorial-content h2 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 30px;
}

.divider-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 35px;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-main);
    margin-bottom: 25px;
    line-height: 1.6;
}

.editorial-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

.stats-row {
    display: flex;
    gap: 50px;
    margin-top: 45px;
    padding-top: 45px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    line-height: 1.4;
}

.editorial-image {
    position: relative;
    height: 650px;
    border-radius: 4px;
    /* Ensure card is visible */
    z-index: 1;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}



.quote-icon {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.3;
}

.card-quote {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.card-author {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .editorial-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .editorial-image {
        height: 500px;
        /* Image is first in HTML now */
    }

    .floating-card {
        left: 20px;
        bottom: -20px;
        /* Slight overlap on bottom */
        right: 20px;
        max-width: none;
        width: auto;
    }

    .stats-row {
        gap: 30px;
        flex-wrap: wrap;
    }
}

.editorial-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 120px;
    align-items: center;
}

.floating-card {
    position: absolute;
    bottom: 50px;
    right: -60px;
    left: auto;
    background: var(--white);
    padding: 35px 30px;
    max-width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--accent);
    z-index: 2;
}

.editorial-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-numbers a {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary);
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.contact-numbers a:hover {
    color: var(--accent);
}

/* About Section - Modern Box Layout */
.about-modern-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.modern-image-wrap {
    position: relative;
    z-index: 1;
}

.modern-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.about-modern-grid:hover .modern-image {
    filter: grayscale(0%);
}

.modern-content {
    padding-left: 20px;
}

.modern-contact-box {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-left: 5px solid var(--accent);
}

.box-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    opacity: 0.7;
}

.box-numbers {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.box-numbers a {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

.box-icon {
    font-size: 32px;
    color: var(--accent);
}

@media (max-width: 992px) {
    .about-modern-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .modern-content {
        padding-left: 0;
    }

    .modern-contact-box {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* About Section - Artisan Layout */
.artisan-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.artisan-content h2 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 25px;
}

.artisan-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
}

.artisan-image-wrap {
    position: relative;
    padding: 20px;
    /* Space for the border offset */
}

.artisan-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.artisan-image-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    z-index: 1;
    transform: translate(20px, -20px);
}

.artisan-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 45px;
}

.contact-card-simple {
    background: var(--secondary);
    padding: 25px;
    border-left: 3px solid var(--accent);
    transition: transform 0.3s ease;
    text-decoration: none;
    display: block;
}

.contact-card-simple:hover {
    transform: translateY(-5px);
    background: #f0f0f0;
}

.cc-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    font-weight: 600;
}

.cc-number {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: block;
}

@media (max-width: 992px) {
    .artisan-grid {
        grid-template-columns: 1fr;
    }

    .artisan-image-wrap {
        order: -1;
        margin-bottom: 50px;
    }

    .artisan-contact {
        grid-template-columns: 1fr;
    }
}

/* About Section - Arch Layout */
.arch-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.arch-image-wrap {
    height: 600px;
    width: 100%;
    position: relative;
}

.arch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    /* Rectangle Shape */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.arch-content {
    padding-right: 20px;
}

.arch-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: -1px;
}

.arch-accent {
    color: var(--accent);
    font-style: italic;
    font-family: var(--font-heading);
}

.eyebrow-arch {
    margin-bottom: 25px;
    display: block;
}

.lead-arch {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 30px;
}

.text-muted-arch {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.btn-arch-wrapper {
    margin-bottom: 30px;
    display: inline-block;
}

.arch-contact-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.ac-item {
    display: flex;
    flex-direction: column;
}

.ac-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ac-number {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.ac-number:hover {
    color: var(--accent);
}

@media (max-width: 992px) {
    .arch-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .arch-image-wrap {
        height: 450px;
        order: -1;
        /* Image Top */
    }

    .arch-contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

#about {
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 50%;
    background-image: url('assests/img/section-bg-shape-1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

/* Services Section - Vertical Cards */
.services-section {
    position: relative;
    background: var(--white);
    padding: 30px 0;
}

.services-vertical-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* Improved Services - Glassmorphism Design */
.service-card-v {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
    background: #000;
}

.service-img-box {
    width: 100%;
    aspect-ratio: 3/4;
    /* Standard portrait */
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    border: none;
}

.service-img-box::after {
    display: none;
}

.service-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card-v:hover .service-img-box img {
    transform: scale(1.1);
}

.service-title-v {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    /* Glass Effect */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding: 20px 25px;

    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);

    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    z-index: 2;
    box-shadow: none;
    /* Reset */
    border-radius: 0;
    /* Reset */
}

.service-title-v::before {
    display: none;
}

.service-title-v::after {
    content: '\f178';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: var(--white);

    /* Reset icon styles */
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;

    opacity: 0.7;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.service-card-v:hover {
    transform: none;
    /* No card lift */
}

.service-card-v:hover .service-title-v {
    background: rgba(255, 255, 255, 0.15);
    /* Lightens on hover */
    color: var(--white);
    transform: none;
    /* No title lift */
}

.service-card-v:hover .service-title-v::after {
    opacity: 1;
    color: var(--accent);
    transform: translateX(5px);
    background: transparent;
    /* Ensure no circle */
}

@media (max-width: 1200px) {
    .services-vertical-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 768px) {
    .services-vertical-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }
}

/* Swiper Navigation Customization - Solid Minimalist */
.swiper-button-next,
.swiper-button-prev {
    color: var(--white) !important;
    background: var(--primary);
    /* Solid dark background */
    width: 60px !important;
    /* Larger touch target */
    height: 60px !important;
    border: none;
    border-radius: 50%;
    /* Perfect Circle */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Soft bounce */
    top: 50% !important;
    transform: translateY(-50%) scale(0.9);
    margin-top: 0 !important;
    z-index: 10;
}

.swiper-button-next {
    right: -70px !important;
}

.swiper-button-prev {
    left: -70px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent);
    transform: translateY(-50%) scale(1.1);
    /* Grow effect */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Clients / Partners Section - Infinite Slider */
.clients-section {
    padding: 10px 0;
    background: var(--white);
    overflow: hidden;
}

.logo-scroller {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

/* Gradient fades for the edges */
.logo-scroller::before,
.logo-scroller::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.logo-scroller::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.logo-scroller::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.logo-track {
    display: flex;
    gap: 100px;
    width: max-content;
    animation: logo-slide 30s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.4;
    filter: grayscale(1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.client-logo img {
    width: 100%;
    height: 80px;
    object-fit: contain;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

@keyframes logo-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-380px * 6));
        /* 280px width + 100px gap = 380px */
    }
}

.logo-scroller:hover .logo-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .logo-track {
        gap: 60px;
    }

    .client-logo {
        width: 180px;
    }

    @keyframes logo-slide {
        100% {
            transform: translateX(calc(-240px * 6));
            /* 180px + 60px = 240px */
        }
    }
}

/* Testimonials Section - Glass Editorial Split */
.testimonials-glass-section {
    background: #ffffff;
    color: var(--primary);
    padding: 0;
    overflow: hidden;
    position: relative;
}

.glass-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    align-items: stretch;
}

.glass-slide.reverse .glass-img {
    order: 2;
}

.glass-slide.reverse .glass-content-box {
    order: 1;
}

.glass-img {
    height: 100%;
    width: 100%;
    background: #f4f4f4;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.glass-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 15;
}

.glass-content-box {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #ffffff;
    z-index: 10;
}

.glass-card {
    background: rgba(244, 247, 246, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 25px 20px;
    max-width: 550px;
    width: 100%;
    position: relative;
    z-index: 20;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.03);
}

.g-quote {
    font-size: 150px;
    font-family: serif;
    color: var(--accent);
    opacity: 0.1;
    position: absolute;
    top: -20px;
    left: 40px;
    line-height: 1;
}

.g-text {
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 30px;
    color: var(--primary);
}

.g-client {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
}

.g-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary);
}

.g-info span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.g-stars {
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 3px;
}

/* Glass Nav Styling - Centered Sides */
.glass-prev,
.glass-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 60px !important;
    height: 60px !important;
    background: #ffffff !important;
    color: var(--primary) !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 50% !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    z-index: 100 !important;
    margin: 0 !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.glass-prev {
    left: 40px !important;
}

.glass-next {
    right: 40px !important;
}

.glass-prev:after,
.glass-next:after {
    font-size: 18px !important;
    font-weight: bold;
}

.glass-prev:hover,
.glass-next:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Pagination Track (Bottom Left) */
.glass-nav {
    position: absolute;
    bottom: 50px;
    left: 100px;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.glass-pagination {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-muted);
}

.current-slide {
    color: var(--primary);
}

.progress-bar {
    width: 120px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent);
    width: 33.33%;
    transition: width 0.4s ease;
}

@media (max-width: 1200px) {
    .glass-content-box {
        padding: 60px;
    }

    .glass-nav {
        left: 60px;
    }
}

@media (max-width: 1024px) {
    .glass-slide {
        grid-template-columns: 1fr;
    }

    .glass-slide.reverse {
        direction: ltr;
    }

    .glass-img {
        height: 400px;
    }

    .glass-content-box {
        padding: 40px 20px;
    }

    .glass-card {
        margin-top: -100px;
    }

    .glass-nav {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }

    .glass-prev,
    .glass-next {
        width: 45px !important;
        height: 45px !important;
    }

    .glass-prev {
        left: 15px !important;
    }

    .glass-next {
        right: 15px !important;
    }
}

@media (max-width: 768px) {
    .g-text {
        font-size: 24px;
    }

    .glass-card {
        padding: 40px 30px;
    }
}

/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent); /* Brand blue accent */
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    box-shadow: 0 15px 35px rgba(0, 96, 139, 0.4);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    /* Always visible to ensure user can find it */
    opacity: 1;
    visibility: visible;
}

#scrollToTop i {
    display: block;
    font-size: 1.5rem;
}

#scrollToTop:hover {
    background: var(--primary);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    #scrollToTop {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
/* Shared Inner Banner Styling */
.inner-banner { position: relative; min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding-top: 80px; }
.inner-banner-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.inner-banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 0; }
.inner-banner-content { position: relative; z-index: 1; color: var(--white); width: 100%; }
.inner-banner-content h1 { font-size: 3.2rem; margin-bottom: 0.5rem; letter-spacing: -1px; font-family: var(--font-heading); font-weight: 700; }
.inner-banner-content .eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; font-weight: 600; display: block; }
