/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Thin Scrollbar Styles */
/* For Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* For Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Global Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes backgroundPan {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }

    25% {
        transform: scale(1.08) translateX(-1%) translateY(-1%);
    }

    50% {
        transform: scale(1.15) translateX(-2%) translateY(-2%);
    }

    75% {
        transform: scale(1.08) translateX(1%) translateY(1%);
    }

    100% {
        transform: scale(1) translateX(0) translateY(0);
    }
}

@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.1);
    }

    50% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.3);
    }
}

@keyframes buttonBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

@keyframes buttonSlide {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes buttonShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes buttonGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes buttonScale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes buttonFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes buttonBorderGlow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0), inset 0 0 0 rgba(255, 255, 255, 0);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
}

@keyframes buttonWave {
    0% {
        transform: translateX(-100%) translateY(-50%);
    }

    100% {
        transform: translateX(100%) translateY(-50%);
    }
}

@keyframes buttonRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(2deg) scale(1.02);
    }

    50% {
        transform: rotate(0deg) scale(1.05);
    }

    75% {
        transform: rotate(-2deg) scale(1.02);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: 'Mona Sans', 'Inter', sans-serif;
    line-height: 1.5;
    color: #1e1e1e;
    background-color: #ffffff;
}

.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Mona Sans', sans-serif;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 60.324px;
    font-weight: 500;
}

h2 {
    font-size: 40px;
    font-weight: 500;
}

h3 {
    font-size: 24px;
    font-weight: 500;
}

h4 {
    font-size: 22px;
    font-weight: 500;
}

p {
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(80, 80, 80, 0.8);
}

/* Button Styles */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-white,
.btn-black {
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    padding: 18px 38px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before,
.btn-white::before,
.btn-black::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-white:hover::before,
.btn-black:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 30px;
    padding: 10px 38px 10px 10px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

button.btn-outline img {
    background: #000000;
    border-radius: 50%;
}

/* .btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
} */

.btn-outline:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-outline:hover::before {
    background-color: #ffffff;
}


.btn-white {
    background-color: #ffffff;
    color: #000000;
    border-radius: 57px;
}

.btn-black {
    background-color: #000000;
    color: #ffffff;
    border-radius: 57px;
}

.cta-button {
    background-color: #202020;
    color: #ffffff;
    font-family: 'Mona Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border: 2px solid #202020;
    border-radius: 30px;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Navigation Animations */
@keyframes drawBorder {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
}

@keyframes slideBackground {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.navbar {
    background-color: #ffffff;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.nav-container {
    max-width: 1153px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 42.71px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.nav-links li {
    margin-right: 0;
    animation: fadeInUp 0.5s ease-out backwards;
}

.nav-links li:nth-child(1) {
    animation-delay: 0.05s;
}

.nav-links li:nth-child(2) {
    animation-delay: 0.1s;
}

.nav-links li:nth-child(3) {
    animation-delay: 0.15s;
}

.nav-links li:nth-child(4) {
    animation-delay: 0.2s;
}

.nav-links li:nth-child(5) {
    animation-delay: 0.25s;
}

.nav-links li:nth-child(6) {
    animation-delay: 0.3s;
}

.nav-links a {
    font-family: 'Mona Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #606060;
    text-decoration: none;
    position: relative;
    padding: 10px 16px;
    display: inline-block;
    transition: all 0.35s ease;
    overflow: visible;
    border: 2px solid transparent;
    border-radius: 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
    opacity: 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #1e1e1e;
    border-radius: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -2;
}

.nav-links a.active {
    color: #ffffff;
    font-weight: 600;
    /* background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%); */
}

.nav-links a.active::before {
    transform: scaleX(1);
    opacity: 1;
}

.nav-links a.active::after {
    opacity: 0;
}

.nav-links a:hover {
    color: #ffffff;
    /* transform: translateX(4px);
    font-weight: 500; */
    border-color: transparent;
}

.nav-links a:hover::before {
    transform: scaleX(1);
    opacity: 1;
}

.nav-links a:hover::after {
    opacity: 1;
    transform: scale(1);
    border-color: #1e1e1e;
    box-shadow: 0 0 0 2px rgba(30, 30, 30, 0.1);
}

/* Hero Section */
.hero-section {
    height: 667px;
    position: relative;
    margin-top: 90px;
    overflow: hidden;
}

.hero-fade-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 667px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    will-change: opacity;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 32%);
    z-index: 2;
    opacity: 1;
    transition: none;
}

/* Hero Fade Effect - Simple fade in/out, no slider */

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 959px;
    padding: 0 0px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-title {
    color: #ffffff;
    font-size: 60.324px;
    font-weight: 600;
    line-height: 70px;
    margin-bottom: 73px;
    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(255, 255, 255, 0.05);
    animation: fadeInUp 1s ease-out 0.5s backwards, textGlow 3s ease-in-out infinite 1.5s;
    transition: all 0.4s ease;
    position: relative;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    filter: blur(15px);
    z-index: -1;
    opacity: 0.6;
    transform: translateY(5px);
}

.hero-title:hover {
    transform: none;
    background-position: 0 0;
    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(255, 255, 255, 0.05);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.7s backwards;
}

.hero-buttons .btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px !important;
    padding: 18px 45px !important;
    animation: fadeInUp 1s ease-out 0.9s backwards;
    transition: all 0.4s ease;
}

.hero-buttons .btn-primary:hover {
    background: #ffffff !important;
    color: #000000 !important;
    transform: translateY(-3px);
}

.hero-buttons .btn-secondary {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px !important;
    padding: 18px 45px !important;
    animation: fadeInUp 1s ease-out 1.1s backwards;
    transition: all 0.4s ease;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-3px);
}

/* About Section - Matching AEB Structure */
.about-section {
    padding: 110px 0 80px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* About Hero Heading */
.about-hero-heading {
    padding: 100px 0 80px 0;
    background-color: #ffffff;
    position: relative;
    text-align: center;
}

.about-hero-heading .container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-hero-heading .section-header {
    margin-bottom: 25px;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.about-hero-heading .section-label {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
    color: #1e1e1e;
}

.about-hero-heading .section-line {
    height: 1px;
    background: linear-gradient(90deg, #e0e0e0 0%, #1e1e1e 50%, #e0e0e0 100%);
}

.about-section-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 52px;
    font-weight: 600;
    line-height: 1.2;
    color: #000000;
    margin: 0;
    letter-spacing: -1.5px;
    max-width: 900px;
    text-align: center;
    position: relative;
}

/* Wrapper for full-width layout - 6-6 column split */
.about-container-wrapper {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: stretch;
    position: relative;
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    padding-left: 100px;
}

/* Left Column: Text Content (col-6) */
.about-text-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: fadeInLeft 0.8s ease-out;
    padding: 0 8% 0 20px;
    justify-content: center;
}

/* Badge Wrapper */
.about-badge-wrapper {
    margin-bottom: 10px;
}

/* Purple Badge - Matching AEB exact color */
.about-badge {
    display: inline-block;
    padding: 2px 6px;
    margin: 0;
    background-color: #083cd9;
    color: #ffffff;
    font-family: 'Mona Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
    line-height: 1.5;
}

/* Main Heading */
.about-main-heading {
    font-family: 'Mona Sans', sans-serif;
    font-size: 3vw;
    font-weight: 600;
    line-height: 1.1;
    color: #000000;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

@media (min-width: 1600px) {
    .about-main-heading {
        font-size: 48px;
    }
}

/* Description Paragraphs */
.about-description {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
}

.about-description p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #000000;
    margin: 0;
}

.about-description p strong {
    font-weight: 600;
}


/* Stats Section */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 40px;
    padding-top: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 5%;
}

.stat-number {
    font-family: 'Mona Sans', sans-serif;
    font-size: 45px;
    font-weight: 700;
    color: #242424;
    line-height: 45px;
    letter-spacing: -1px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    padding: 2% 0 0 0;
}

/* Right Column: Image - Extends to edge (col-6) */
.about-image-column {
    width: 100%;
    height: 100%;
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.2s backwards;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.about-image-wrapper {
    width: 100vw;
    /* margin-left: calc(50% - 50vw); */
    height: 100%;
    min-height: 450px;
    max-height: 500px;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    padding: 0;
    display: flex;
    align-items: center;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image Overlay - Appears on hover */
.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

/* Arrow Icon - Centered, Appears on hover */
.about-arrow-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000000;
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-arrow-link i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.about-arrow-link:hover {
    background-color: #083cd9;
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(8, 60, 217, 0.3);
}

.about-arrow-link:hover i {
    transform: rotate(45deg);
}

/* Show overlay and arrow on hover of either column */
.about-text-column:hover~.about-image-column .about-image-overlay,
.about-image-column:hover .about-image-overlay {
    opacity: 1;
}

.about-text-column:hover~.about-image-column .about-arrow-link,
.about-image-column:hover .about-arrow-link {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Projects Section */
.projects-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.projects-header {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.projects-header h2 {
    font-size: 40px;
    font-weight: 600;
    color: #1e1e1e;
    line-height: 1.2;
    max-width: 675px;
}

.projects-header h2 span {
    color: #031dbd;
    font-weight: 700;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-card {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out backwards;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card-container {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.project-card:hover .project-card-container {
    transform: translateY(-12px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.15);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.project-card:hover .project-image-mask {
    opacity: 1;
}

.project-card:hover .project-image img {
    transform: scale(1.15);
}

.project-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 2;
}

.project-badge-category {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1e1e1e;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    display: inline-block;
}

.project-card:hover .project-badge-category {
    background: #1e1e1e;
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.project-details {
    padding: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #ffffff;
}

.project-meta-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-status {
    font-family: 'Mona Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 12px;
    background: rgba(96, 96, 96, 0.08);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.project-card:hover .project-status {
    background: rgb(8 68 221);
    color: white;
}

.project-details h3 {
    font-family: 'Mona Sans', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1e1e1e;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.project-card:hover .project-details h3 {
    color: #000000;
}

.project-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 10px;
    transition: all 0.4s ease;
}

.project-arrow {
    color: #1e1e1e;
    transition: all 0.4s ease;
}

.project-card:hover .project-arrow {
    transform: translateX(8px);
    color: #000000;
}

/* Services Section */
.services-section {
    padding: 55px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(8, 60, 217, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-header {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.services-header h2 {
    font-size: 40px;
    font-weight: 600;
    color: #1e1e1e;
    line-height: 1.2;
    max-width: 800px;
}

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

/* Modern Service Cards */
.service-card-modern {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    height: 100%;
    animation: fadeInUp 0.8s ease-out backwards;
}

.service-card-modern:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card-modern:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card-modern:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card-modern:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card-modern:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card-modern:nth-child(6) {
    animation-delay: 0.6s;
}

.service-card-content {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 30px;
}

.service-card-modern:hover .service-card-content {
    transform: translateY(-12px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
    border-color: rgba(8, 60, 217, 0.2);
}

/* Service Number */
.service-number-modern {
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: rgba(8, 60, 217, 0.08);
    line-height: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.service-card-modern:hover .service-number-modern {
    color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) translate(10px, -10px);
}

/* Icon Wrapper */
.service-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    z-index: 3;
}

.service-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 60, 217, 0.1) 0%, rgba(8, 60, 217, 0.05) 100%);
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* transform: rotate(-5deg); */
}

.service-card-modern:hover .service-icon-bg {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: rotate(0deg) scale(1.1);
}

.service-icon-wrapper i {
    position: relative;
    font-size: 36px;
    color: #083cd9;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.service-card-modern:hover .service-icon-wrapper i {
    transform: scale(1.15) rotate(5deg);
    color: #ffffff;
}

/* Service Details */
.service-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
    position: relative;
}

.service-category {
    font-family: 'Mona Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #083cd9;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.service-card-modern:hover .service-category {
    color: #ffffff;
    transform: translateX(4px);
}

.service-details h3 {
    font-family: 'Mona Sans', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #1e1e1e;
    margin: 0;
    line-height: 1.2;
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.service-card-modern:hover .service-details h3 {
    color: #ffffff;
    transform: translateX(4px);
}

.service-details p {
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(80, 80, 80, 0.8);
    line-height: 1.7;
    margin: 0;
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.service-card-modern:hover .service-details p {
    color: rgba(255, 255, 255, 0.95);
}

/* Service Image */
.service-image-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.service-card-modern:hover .service-image-modern {
    opacity: 1;
    transform: translateY(0);
}

.service-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern:hover .service-image-modern img {
    transform: scale(1.15);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Service Arrow */
.service-arrow {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: #083cd9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    opacity: 0;
    transform: scale(1) rotate(45deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
    box-shadow: 0 4px 16px rgba(8, 60, 217, 0.3);
}

.service-card-modern:hover .service-arrow {
    opacity: 1;

    transform: scale(1.1) rotate(45deg);

}

.service-card-modern:hover .service-arrow:hover {
    transform: scale(0.8) rotate(0deg);
    box-shadow: 0 6px 24px rgba(8, 60, 217, 0.4);
}

.services-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.services-button-wrapper .btn-outline {
    position: relative;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 16px 40px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.services-button-wrapper .btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #083cd9;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    opacity: 0;
}

.services-button-wrapper .btn-outline::after {
    content: '→';
    position: absolute;
    top: 46%;
    right: 50px;
    transform: translate(16px, -50%) translateX(10px);
    font-size: 20px;
    color: #ffffff;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    font-weight: 700;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-button-wrapper .btn-outline span,
.services-button-wrapper .btn-outline {
    position: relative;
    z-index: 2;
}

.services-button-wrapper .btn-outline:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    padding-right: 60px;
}

.services-button-wrapper .btn-outline:hover::before {
    right: 12px;
    opacity: 1;
    width: 32px;
    height: 32px;
    background-color: #083cd9;
}

.services-button-wrapper .btn-outline:hover::after {
    opacity: 1;
    transform: translate(39px, -50%) translateX(0);
    color: #ffffff;
    font-weight: 100;
}

span.section-label {
    color: #000000b3;
    font-weight: 500;
    text-transform: uppercase;
}

.projects-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.projects-button-wrapper .btn-outline {
    position: relative;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 16px 40px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.projects-button-wrapper .btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #083cd9;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    opacity: 0;
}

.projects-button-wrapper .btn-outline::after {
    content: '→';
    position: absolute;
    top: 46%;
    right: 50px;
    transform: translate(16px, -50%) translateX(10px);
    font-size: 20px;
    color: #ffffff;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    font-weight: 700;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-button-wrapper .btn-outline span,
.projects-button-wrapper .btn-outline {
    position: relative;
    z-index: 2;
}

.projects-button-wrapper .btn-outline:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    padding-right: 60px;
}

.projects-button-wrapper .btn-outline:hover::before {
    right: 12px;
    opacity: 1;
    width: 32px;
    height: 32px;
    background-color: #083cd9;
}

.projects-button-wrapper .btn-outline:hover::after {
    opacity: 1;
    transform: translate(39px, -50%) translateX(0);
    color: #ffffff;
    font-weight: 100;
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
}

.clients-header {
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.clients-label {
    font-family: 'Mona Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #0726cc;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.clients-header h2 {
    font-size: 48px;
    font-weight: 500;
    color: #1e1e1e;
    line-height: 1.2;
    max-width: 800px;
    margin: 0;
}

.clients-marquee-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
}

.clients-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.clients-marquee-track {
    display: flex;
    gap: 40px;
    animation: marquee 20s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.clients-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-100% / 3), 0, 0);
    }
}

.client-logo-card {
    background: transparent;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    position: relative;
    background: #ffffff;
    flex-shrink: 0;
    width: 350px;
}

.client-logo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.client-logo-wrapper img {
    width: 100%;
    height: auto;
    max-height: 110px;
    object-fit: contain;
}

/* Partners Section */
.partners-section {
    padding: 60px 0 30px 0;
    background: #ffffff;
    position: relative;
}

.partners-header {
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out;
}

.partners-header h2 {
    font-size: 40px;
    font-weight: 600;
    color: #1e1e1e;
    line-height: 1.2;
    max-width: 800px;
    margin: 0;
}

.partners-logo-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    width: 100%;
    gap: 15px;
}

.partner-logo-card {
    background: transparent;
    padding: 10px 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    position: relative;
    max-width: 300px;
    width: auto;
}

.partner-logo-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-content img {
    width: auto;
    /* height: auto; */
    height: 80px;
    max-width: 100%;
    object-fit: contain;
}

/* Testimonial Section */
.testimonial-section {
    margin-top: 30px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f6f8 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-header {
    margin-bottom: 30px;
    text-align: center;
}

.testimonial-header-content {
    max-width: 800px;
    margin: 0px auto 0;
}

.testimonial-header-content h2 {
    font-family: 'Mona Sans', sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1.2;
}

.testimonial-header-content p {
    font-family: 'Mona Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(80, 80, 80, 0.8);
    line-height: 1.6;
}

.testimonial-carousel-wrapper {
    position: relative;
    /* margin-bottom: 30px; */
    /* padding: 60px 0; */
}

.testimonial-3d-container {
    perspective: 1200px;
    perspective-origin: center center;
    position: relative;
}

/* .testimonial-carousel {
    padding: 20px 0 60px;
} */

.testimonial-item {
    padding: 25px 10px;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    opacity: 0.75;
    filter: blur(1px);
    transform: scale(0.92) translateZ(-80px) translateY(0);
    display: flex;
    align-items: flex-start;
}

.testimonial-item.active-center {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateZ(0) translateY(0);
    z-index: 10;
}

.testimonial-item.active-center .testimonial-card-v3 {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.testimonial-item.active-center .testimonial-card-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000000 0%, #333333 50%, #000000 100%);
    border-radius: 24px 24px 0 0;
    z-index: 3;
    animation: lineExpand 0.6s ease-out;
}

@keyframes lineExpand {
    from {
        transform: scaleX(0);
        transform-origin: center;
    }

    to {
        transform: scaleX(1);
        transform-origin: center;
    }
}

.testimonial-card-v3 {
    background: #ffffff;
    border-radius: 24px;
    height: 465px;
    position: relative;
    overflow: hidden;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    padding: 50px 35px;
    transform: translateZ(0) translateY(0);
    box-sizing: border-box;
}

/* Side cards - same height (left and right) */
.owl-item.prev .testimonial-card-v3,
.owl-item.next .testimonial-card-v3 {
    height: 465px !important;
    min-height: 465px !important;
    max-height: 465px !important;
}

/* Center card - taller height (all center cards same height) */
.owl-item.center .testimonial-card-v3,
.testimonial-item.active-center .testimonial-card-v3 {
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
}

.testimonial-item.active-center .testimonial-card-v3:hover {
    transform: translateY(-5px) translateZ(10px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.testimonial-header-v3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.testimonial-avatar-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f5f6f8;
    flex-shrink: 0;
    transition: all 0.6s ease;
    position: relative;
    margin-bottom: 25px;
    background: #ffffff;
}

.testimonial-item.active-center .testimonial-avatar-wrapper {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.testimonial-item.active-center .testimonial-card-v3:hover .testimonial-avatar-wrapper {
    transform: scale(1.05);
    border-color: rgba(0, 0, 0, 0.3);
}

.testimonial-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-quote-mark-v3 {
    display: none;
}

.testimonial-content-v3 {
    flex: 1 1 auto;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.testimonial-text-v3 {
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #2a2a2a;
    line-height: 1.75;
    margin: 0;
    letter-spacing: -0.1px;
    text-align: center;
    flex: 0 1 auto;
    overflow: visible;
}

.testimonial-item.active-center .testimonial-text-v3 {
    color: #1a1a1a;
}

.testimonial-footer-v3 {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    text-align: center;
    flex-shrink: 0;
    margin-top: auto;
}

.author-name-v3 {
    font-family: 'Mona Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

/* .testimonial-item.active-center .author-name-v3 {
    font-size: 26px;
} */

.author-company-v3 {
    font-family: 'Mona Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-pattern {
    display: none;
}

/* 3D Carousel Transform Effects */
.owl-item:not(.center) .testimonial-item {
    opacity: 0.8;
    filter: blur(2px);
    transform: scale(0.92) translateZ(-80px) translateY(0) !important;
    pointer-events: none;
}

.owl-item.center .testimonial-item {
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: scale(1) translateZ(0) translateY(0) !important;
    z-index: 10;
    pointer-events: auto;
    align-items: flex-start;
}

.owl-item.prev .testimonial-item {
    transform: scale(0.92) translateZ(-80px) translateY(0) rotateY(12deg) !important;
    transform-origin: right center;
    align-items: flex-start;
}

.owl-item.next .testimonial-item {
    transform: scale(0.92) translateZ(-80px) translateY(0) rotateY(-12deg) !important;
    transform-origin: left center;
    align-items: flex-start;
}

.owl-item.center .testimonial-item {
    align-items: center;
}

/* Smooth transitions for all items - no zoom out */
.owl-item .testimonial-item {
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity, filter;
}

/* Center item styling */
.owl-item.center .testimonial-card-v3 {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.owl-item.center .testimonial-card-v3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000000 0%, #333333 50%, #000000 100%);
    border-radius: 24px 24px 0 0;
    z-index: 3;
    animation: lineExpand 0.6s ease-out;
}


/* Owl Carousel Animation Styles */
.owl-carousel .owl-item {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.owl-carousel .owl-item.active {
    opacity: 1;
}

.owl-carousel .animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.owl-carousel .owl-animated-out {
    z-index: 1;
}

.owl-carousel .owl-animated-in {
    z-index: 0;
}

/* Slide In Right Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Slide Out Left Animation */
@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(-80px) scale(0.95);
    }
}

/* Fade In Animation - Pure fade only, no movement */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: none;
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Fade Out Animation - Pure fade only, no movement */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: none;
    }

    to {
        opacity: 0;
        transform: none;
    }
}

/* Zoom In Animation */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Zoom Out Animation */
@keyframes zoomOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Apply animations */
.owl-carousel .slideInRight {
    animation-name: slideInRight;
}

.owl-carousel .slideOutLeft {
    animation-name: slideOutLeft;
}

.owl-carousel .fadeIn {
    animation-name: fadeIn;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
}

.owl-carousel .fadeOut {
    animation-name: fadeOut;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
}

.owl-carousel .zoomIn {
    animation-name: zoomIn;
}

.owl-carousel .zoomOut {
    animation-name: zoomOut;
}

/* Enhanced item transitions - no zoom animations */
.testimonial-carousel .owl-item.active .testimonial-item {
    animation: none;
}

/* Owl Carousel Custom Styles */
.testimonial-carousel .owl-dots {
    display: none !important;
}

/* Owl Carousel Navigation Styles */
.testimonial-carousel-wrapper {
    position: relative;
}

.testimonial-carousel .owl-nav {
    display: none !important;
}

.testimonial-carousel .owl-nav button {
    width: 60px;
    height: 60px;
    background: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #000000 !important;
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.testimonial-carousel .owl-nav button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.testimonial-carousel .owl-nav button:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    transform: scale(1.1);
}

.testimonial-carousel .owl-nav button:hover::before {
    width: 200px;
    height: 200px;
}

.testimonial-carousel .owl-nav button:active {
    transform: scale(0.95);
}

.testimonial-carousel .owl-nav button.owl-prev,
.testimonial-carousel .owl-nav button.owl-next {
    margin: 0;
}

.testimonial-carousel .owl-nav button span {
    display: none;
}

.testimonial-cta {
    text-align: center;
    margin-top: 40px;
}

/* Blog Section */
/* News Section - Compact List Style */
.news-section {
    padding: 60px 0;
    background: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.news-header-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 40px;
}

.news-header-wrapper .news-button-wrapper {
    margin-top: 0;
    display: flex;
    align-items: center;
}

.news-header {
    flex: 1;
    max-width: 700px;
}

.news-header h2 {
    font-family: 'Mona Sans', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.news-header p {
    font-family: 'Mona Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    line-height: 1.7;
}


/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-article-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease-out backwards;
    transition: all 0.3s ease;
}

.news-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-article-item:nth-child(1) {
    animation-delay: 0.5s;
}

.news-article-item:nth-child(2) {
    animation-delay: 0.6s;
}

.news-article-item:nth-child(3) {
    animation-delay: 0.7s;
}

.news-article-image {
    flex-shrink: 0;
    width: 300px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-article-item:hover .news-article-image img {
    transform: scale(1.05);
}

.news-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 4px;
}

.news-article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    flex-wrap: wrap;
}

.news-article-date {
    color: #666666;
}

.news-article-category {
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-article-separator {
    color: #cccccc;
}

.news-article-read-time {
    color: #999999;
}

.news-article-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.news-article-item:hover .news-article-title {
    color: #1a1a1a;
}

.news-article-excerpt {
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

.news-article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    margin-top: 4px;
    transition: all 0.3s ease;
    width: fit-content;
}

.news-article-link:hover {
    color: #1a1a1a;
    gap: 12px;
}

.news-article-link svg {
    transition: transform 0.3s ease;
}

.news-article-link:hover svg {
    transform: translateX(4px);
}

/* News Button Wrapper - Same as Projects */
.news-button-wrapper {
    display: flex;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.news-button-wrapper .btn-outline {
    position: relative;
    background-color: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 16px 40px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.news-button-wrapper .btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: #083cd9;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.news-button-wrapper .btn-outline::after {
    content: '→';
    position: absolute;
    top: 46%;
    right: 50px;
    transform: translate(16px, -50%) translateX(10px);
    font-size: 20px;
    color: #ffffff;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.news-button-wrapper .btn-outline span,
.news-button-wrapper .btn-outline {
    position: relative;
    z-index: 2;
}

.news-button-wrapper .btn-outline:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    padding-right: 60px;
}

.news-button-wrapper .btn-outline:hover::before {
    right: 12px;
    opacity: 1;
    width: 32px;
    height: 32px;
    background-color: #083cd9;
}

.news-button-wrapper .btn-outline:hover::after {
    opacity: 1;
    transform: translate(34px, -50%) translateX(0);
    color: #ffffff;
    font-weight: 100;
}

/* CTA Banner */
.cta-banner {
    height: 450px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: scaleIn 1.5s ease-out;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(0 0 0 / 4%) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

/* .cta-banner:hover .cta-background img {
    transform: scale(1.05);
} */

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.cta-text-content {
    max-width: 800px;
}

.cta-content h2 {
    font-family: 'Mona Sans', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 24px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    transition: transform 0.3s ease;
}

.cta-content:hover h2 {
    transform: translateY(-3px);
}

.cta-text-content p {
    font-family: 'Mona Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 60px;
    background: #000000;
    color: #ffffff;
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

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

.cta-btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    color: #ffffff;
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.cta-btn-secondary span {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: #f5f6f8;
    padding: 65px 0 0 0;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.5fr 1.8fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

/* Footer Column Styles */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-logo {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    height: 55px;
    width: auto;
    /* filter: brightness(0) invert(1); */
}

.footer-description {
    font-family: 'Mona Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: black;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Footer Titles */
.footer-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: black;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

/* Quick Links */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu li {
    margin: 0;
}

.footer-menu li a {
    font-family: 'Mona Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: black;
    text-decoration: none;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    padding-bottom: 2px;
}

.footer-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #083cd9;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-menu li a:hover {
    color: #083cd9;
}

.footer-menu li a:hover::before {
    width: 100%;
}

/* Contact Section */
.footer-col-contact {
    gap: 0;
}

.footer-offices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-office {
    margin-bottom: 0;
}

.office-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: black;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
}

.office-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: black;
    line-height: 1.6;
}

.office-address i {
    font-size: 16px;
    color: black;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.9;
}

.office-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link i {
    font-size: 16px;
    color: black;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    color: #0c28c9;
}

.contact-link:hover i {
    transform: scale(1.1);
}


.social-links {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 0;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link i {
    font-size: 17px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Individual icon colors on hover */
.social-link:hover {
    background: #1877f2;
    border-color: #1877f2;
}

/* .social-link:nth-child(2):hover {
    background: #000000;
    border-color: #ffffff;
}

.social-link:nth-child(3):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
} */

.footer-bottom {
    background-color: black;
    padding: 24px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-family: 'Mona Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #ffffffcf;
    line-height: 1.5;
    margin: 0;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #083cd9;
}

/* Responsive Design */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .nav-container {
        max-width: 1320px;
    }
}

/* Desktop (1200px and up) */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 0 30px;
    }

    .nav-links {
        gap: 25px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .services-grid-modern {
        gap: 35px;
    }

    .service-card-content {
        padding: 35px;
    }

    .service-number-modern {
        font-size: 64px;
        top: 35px;
        right: 35px;
    }

    .service-details h3 {
        font-size: 28px;
    }

    .cta-content {
        padding: 0 20px;
    }

    .about-hero-heading {
        padding: 80px 0 50px 0;
    }

    .about-section-title {
        font-size: 40px;
    }

    .about-container-wrapper {
        grid-template-columns: 50% 50%;
        gap: 0;
    }

    .about-text-column {
        padding: 0 5% 0 20px;
    }

    .about-main-heading {
        font-size: 2.5vw;
    }

    .about-stats {
        gap: 20px;
        margin-top: 35px;
    }

    .stat-item {
        margin-bottom: 5%;
    }

    .about-image-wrapper {
        min-height: 400px;
        max-height: 450px;
    }

    .service-item {
        gap: 200px;
    }

    .service-content {
        gap: 120px;
    }

    .clients-marquee-track {
        gap: 30px;
    }

    .client-logo-card {
        padding: 0;
        min-width: 240px;
    }

    .partner-logo-card {
        padding: 50px 70px;
        max-width: 550px;
    }
}

/* Tablet Landscape (992px and up) */
@media (max-width: 992px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 8px 12px;
    }

    .hero-content {
        padding: 0 30px;
        max-width: 900px;
    }

    .hero-title {
        font-size: 48px;
        line-height: 1.2;
        padding: 0;
    }

    .hero-buttons {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-hero-heading {
        padding: 60px 0 40px 0;
    }

    .about-section-title {
        font-size: 36px;
    }

    .about-container-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-text-column {
        padding: 0 20px;
        gap: 0;
    }

    .about-image-column {
        order: -1;
    }

    .about-image-wrapper {
        min-height: 350px;
        max-height: 380px;
        width: 100%;
        margin-left: 0;
    }

    .about-arrow-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: 20px;
        right: 20px;
    }

    .about-badge-wrapper {
        margin-bottom: 15px;
    }

    .about-main-heading {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .about-description {
        gap: 18px;
        margin-bottom: 0;
    }

    .about-description p {
        font-size: 16px;
    }

    .about-arrow-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: 20px;
        right: 20px;
    }

    .about-stats {
        margin-top: 30px;
        gap: 20px;
    }

    .stat-item {
        margin-bottom: 5%;
    }

    .stat-number {
        font-size: 38px;
        line-height: 38px;
    }

    .projects-header h2 {
        font-size: 36px;
    }

    .projects-grid {
        gap: 35px;
    }

    .project-image-container {
        height: 420px;
    }

    .project-details h3 {
        font-size: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-image-container {
        height: 380px;
    }

    .project-details {
        padding: 30px;
    }

    .project-details h3 {
        font-size: 28px;
    }

    .project-badge {
        top: 20px;
        left: 20px;
    }

    .project-badge-category {
        padding: 6px 14px;
        font-size: 11px;
    }

    .project-details h3 {
        font-size: 20px;
    }

    .services-header h2 {
        font-size: 36px;
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card-content {
        padding: 35px;
        gap: 25px;
    }

    .service-number-modern {
        font-size: 56px;
        top: 35px;
        right: 35px;
    }

    .service-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .service-icon-wrapper i {
        font-size: 32px;
    }

    .service-details h3 {
        font-size: 28px;
    }

    .service-image-modern {
        height: 180px;
    }

    .service-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
        top: 35px;
        right: 35px;
    }

    .service-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .service-image {
        width: 100%;
        max-width: 400px;
        height: 300px;
        margin: 0 auto;
    }

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

    .service-number {
        font-size: 100px;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .clients-marquee-track {
        gap: 25px;
        animation-duration: 25s;
    }

    .client-logo-card {
        padding: 0;
        min-width: 220px;
    }

    .clients-header h2 {
        font-size: 36px;
    }

    .partners-header h2 {
        font-size: 36px;
    }

    .partner-logo-card {
        padding: 50px 60px;
        max-width: 500px;
    }

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

    .testimonial-header-content h2 {
        font-size: 36px;
    }

    .testimonial-header-content p {
        font-size: 16px;
    }

    .testimonial-3d-container {
        perspective: 1000px;
    }

    .testimonial-item {
        opacity: 1 !important;
        filter: blur(0) !important;
        transform: scale(1) translateZ(0) translateY(0) !important;
    }

    .owl-item:not(.center) .testimonial-item {
        opacity: 0.85 !important;
        filter: blur(0.5px) !important;
        transform: scale(0.95) translateZ(-50px) translateY(0) !important;
    }

    .testimonial-card-v3 {
        padding: 45px 40px;
    }

    .owl-item.prev .testimonial-card-v3,
    .owl-item.next .testimonial-card-v3 {
        height: 445px !important;
        min-height: 445px !important;
        max-height: 445px !important;
    }

    .owl-item.center .testimonial-card-v3,
    .testimonial-item.active-center .testimonial-card-v3 {
        height: 480px !important;
        min-height: 480px !important;
        max-height: 480px !important;
    }

    .testimonial-header-v3 {
        margin-bottom: 30px;
    }

    .testimonial-avatar-wrapper {
        width: 90px;
        height: 90px;
    }

    .testimonial-content-v3 {
        margin-bottom: 35px;
    }

    .testimonial-text-v3 {
        font-size: 18px;
    }

    .testimonial-footer-v3 {
        padding-top: 28px;
    }

    .author-name-v3 {
        font-size: 22px;
    }

    .testimonial-item.active-center .author-name-v3 {
        font-size: 24px;
    }

    .author-company-v3 {
        font-size: 14px;
    }

    .news-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .news-header h2 {
        font-size: 38px;
    }

    .news-article-item {
        flex-direction: column;
        gap: 24px;
    }

    .news-article-image {
        width: 100%;
        height: 240px;
    }

    .news-article-title {
        font-size: 24px;
    }

    .cta-content {
        gap: 40px;
        padding: 0 30px;
    }

    .cta-content h2 {
        font-size: 52px;
    }

    .cta-text-content p {
        font-size: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: left;
    }

    .footer-col-logo {
        max-width: 100%;
        text-align: center;
    }

    .footer-col-links,
    .footer-col-contact {
        text-align: center;
    }

    .footer-offices-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* Tablet Portrait (768px and up) */
@media (max-width: 768px) {
    .navbar {
        height: 80px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 15px;
    }

    /* Hide desktop nav links on mobile - use side menu instead */
    .nav-links {
        display: none;
    }

    .hero-section {
        height: 500px;
        margin-top: 80px;
    }

    .hero-slide {
        height: 500px;
    }

    .hero-content {
        padding: 0 20px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        padding: 0;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

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

    .about-hero-heading {
        padding: 50px 0 30px 0;
    }

    .about-section-title {
        font-size: 28px;
    }

    .about-container-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-text-column {
        padding: 0 15px;
        gap: 0;
    }

    .about-badge-wrapper {
        margin-bottom: 12px;
    }

    .about-badge {
        font-size: 11px;
    }

    .about-main-heading {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .about-description {
        gap: 15px;
    }

    .about-description p {
        font-size: 15px;
    }

    .about-arrow-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: 20px;
        right: 20px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 25px;
    }

    .stat-item {
        margin-bottom: 0;
    }

    .stat-number {
        font-size: 36px;
        line-height: 36px;
    }

    .about-image-wrapper {
        min-height: 280px;
        max-height: 300px;
        width: 100%;
        margin-left: 0;
    }

    .projects-section {
        padding: 30px 0;
    }

    .projects-header h2 {
        font-size: 28px;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-image-container {
        height: 320px;
    }

    .project-details {
        padding: 25px;
        gap: 12px;
    }

    .project-details h3 {
        font-size: 24px;
    }

    .project-badge {
        top: 15px;
        left: 15px;
    }

    .project-badge-category {
        padding: 6px 12px;
        font-size: 10px;
    }

    .project-details h3 {
        font-size: 18px;
    }

    .project-status {
        font-size: 10px;
        padding: 5px 10px;
    }

    .project-view {
        font-size: 13px;
    }

    .project-footer::after {
        bottom: 25px;
        left: 25px;
    }

    .project-card:hover .project-footer::after {
        width: calc(100% - 50px);
    }

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

    .services-header h2 {
        font-size: 28px;
        text-align: center;
    }

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

    .service-number {
        font-size: 80px;
        top: -5px;
    }

    .service-content-wrapper {
        gap: 25px;
    }

    .service-image {
        width: 100%;
        height: 250px;
    }

    .service-content h3 {
        font-size: 24px;
    }

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

    .clients-marquee-track {
        gap: 20px;
    }

    .client-logo-card {
        padding: 35px 25px;
        min-width: 200px;
    }

    .client-logo-wrapper img {
        max-height: 60px;
    }

    .clients-header h2 {
        font-size: 32px;
    }

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

    .partners-header h2 {
        font-size: 32px;
    }

    .partner-logo-card {
        padding: 40px 50px;
        max-width: 450px;
    }

    .partner-logo-content img {
        max-height: 100px;
    }

    .testimonial-section {
        padding: 30px 0;
    }

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

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

    .testimonial-header-content h2 {
        font-size: 32px;
    }

    .testimonial-3d-container {
        perspective: 800px;
    }

    .testimonial-item {
        opacity: 1 !important;
        filter: blur(0) !important;
        transform: scale(1) translateZ(0) translateY(0) !important;
    }

    .owl-item:not(.center) .testimonial-item {
        opacity: 0.85 !important;
        filter: blur(0.5px) !important;
        transform: scale(0.95) translateZ(-50px) translateY(0) !important;
    }

    .testimonial-card-v3 {
        padding: 40px 35px;
    }

    .owl-item.prev .testimonial-card-v3,
    .owl-item.next .testimonial-card-v3 {
        height: 425px !important;
        min-height: 425px !important;
        max-height: 425px !important;
    }

    .owl-item.center .testimonial-card-v3,
    .testimonial-item.active-center .testimonial-card-v3 {
        height: 460px !important;
        min-height: 460px !important;
        max-height: 460px !important;
    }

    .testimonial-header-v3 {
        margin-bottom: 28px;
    }

    .testimonial-avatar-wrapper {
        width: 85px;
        height: 85px;
    }

    .testimonial-content-v3 {
        margin-bottom: 32px;
    }

    .testimonial-text-v3 {
        font-size: 17px;
    }

    .testimonial-footer-v3 {
        padding-top: 25px;
    }

    .author-name-v3 {
        font-size: 21px;
    }

    .testimonial-item.active-center .author-name-v3 {
        font-size: 23px;
    }

    .author-company-v3 {
        font-size: 14px;
    }


    .testimonial-carousel .owl-nav button {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

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

    .news-header h2 {
        font-size: 32px;
    }

    .news-list {
        gap: 32px;
    }

    .news-article-item {
        gap: 24px;
        padding-bottom: 32px;
    }

    .news-article-image {
        height: 200px;
    }

    .news-date-day {
        font-size: 30px;
    }

    .news-article-image {
        height: 200px;
    }

    .news-article-title {
        font-size: 22px;
    }

    .cta-banner {
        height: 400px;
    }

    .cta-content {
        gap: 35px;
        padding: 0 24px;
    }

    .cta-content h2 {
        font-size: 42px;
    }

    .cta-text-content p {
        font-size: 17px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 300px;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer {
        padding: 60px 0 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 50px;
    }

    .footer-col-logo {
        text-align: center;
    }
}

/* Mobile Landscape (576px and up) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .navbar {
        height: 70px;
    }

    /* Mobile nav links are handled by side menu, not needed here */

    .hero-section {
        height: 450px;
        margin-top: 70px;
    }

    .hero-slide {
        height: 450px;
    }

    .hero-content {
        padding: 0 15px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.3;
        padding: 0;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-white,
    .btn-black {
        padding: 12px 24px;
        font-size: 14px;
    }

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

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

    .about-hero-heading {
        padding: 40px 0 25px 0;
    }

    .about-section-title {
        font-size: 24px;
    }

    .about-container-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 30px;
    }

    .about-text-column {
        padding: 0 0px;
        gap: 0;
        margin-top: 20px;
    }

    .about-badge-wrapper {
        margin-bottom: 10px;
    }

    .about-badge {
        font-size: 10px;
    }

    .about-main-heading {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .about-description {
        gap: 15px;
    }

    .about-description p {
        font-size: 14px;
        line-height: 1.6;
    }

    .about-arrow-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
        top: 15px;
        right: 15px;
    }

    .about-stats {
        gap: 35px;
        margin-top: 20px;
    }

    .stat-item {
        margin-bottom: 0;
    }

    .stat-number {
        font-size: 32px;
        line-height: 32px;
    }

    .stat-label {
        font-size: 13px;
        padding: 2% 0 0 0;
    }

    .about-image-wrapper {
        min-height: 220px;
        max-height: 240px;
        width: 100%;
        margin-left: 0;
    }

    .projects-section {
        padding: 20px 0;
    }

    .project-image-wrapper {
        height: 200px;
    }

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

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

    .services-grid-modern {
        gap: 25px;
    }

    .service-card-content {
        padding: 30px;
        gap: 20px;
    }

    .service-number-modern {
        font-size: 48px;
        top: 30px;
        right: 30px;
    }

    .service-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .service-icon-wrapper i {
        font-size: 28px;
    }

    .service-details h3 {
        font-size: 24px;
    }

    .service-details p {
        font-size: 15px;
        line-height: 1.6;
    }

    .service-image-modern {
        height: 160px;
    }

    .service-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 30px;
        right: 30px;
    }

    .service-category {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .project-image {
        height: 320px;
    }

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

    .clients-marquee-track {
        gap: 15px;
    }

    .client-logo-card {
        padding: 0;
        min-width: 180px;
    }

    .client-logo-wrapper img {
        max-height: 80%;
    }

    .clients-header h2 {
        font-size: 28px;
    }

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

    .partners-header h2 {
        font-size: 28px;
        text-align: center;
    }

    .partner-logo-card {
        padding: 35px 40px;
        max-width: 100%;
    }

    .partner-logo-content img {
        max-height: 80px;
    }

    .testimonial-section {
        padding: 20px 0;
    }

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

    .testimonial-header-content h2 {
        font-size: 28px;
    }

    .testimonial-header-content p {
        font-size: 14px;
    }

    .testimonial-card-v3 {
        padding: 35px 30px;
        border-radius: 24px;
    }

    .owl-item.prev .testimonial-card-v3,
    .owl-item.next .testimonial-card-v3 {
        height: 405px !important;
        min-height: 405px !important;
        max-height: 405px !important;
    }

    .owl-item.center .testimonial-card-v3,
    .testimonial-item.active-center .testimonial-card-v3 {
        height: 440px !important;
        min-height: 440px !important;
        max-height: 440px !important;
    }

    .testimonial-header-v3 {
        margin-bottom: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .testimonial-avatar-wrapper {
        width: 64px;
        height: 64px;
    }

    .testimonial-quote-mark-v3 {
        font-size: 65px;
        align-self: flex-end;
    }

    .testimonial-content-v3 {
        margin-bottom: 28px;
    }

    .testimonial-text-v3 {
        font-size: 16px;
        line-height: 1.75;
    }

    .testimonial-footer-v3 {
        padding-top: 22px;
    }

    .author-name-v3 {
        font-size: 18px;
    }

    .author-company-v3 {
        font-size: 13px;
    }

    .testimonial-pattern {
        width: 150px;
        height: 150px;
    }


    .testimonial-carousel .owl-nav button {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

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

    .news-header-wrapper {
        margin-bottom: 40px;
    }

    .news-header h2 {
        font-size: 28px;
    }

    .news-list {
        gap: 28px;
    }

    .news-article-item {
        gap: 20px;
        padding-bottom: 28px;
    }

    .news-article-image {
        height: 180px;
    }

    .news-article-title {
        font-size: 20px;
    }

    .news-article-excerpt {
        font-size: 15px;
    }

    .cta-banner {
        height: 360px;
    }

    .cta-content {
        gap: 30px;
        padding: 0 20px;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .cta-text-content p {
        font-size: 16px;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        padding: 16px 32px;
        font-size: 15px;
    }

    .footer {
        padding: 40px 0 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 40px;
    }

    .footer-offices-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-col-links,
    .footer-col-contact {
        text-align: left;
    }

    .social-links {
        justify-content: center;
    }

    .inquiry-modal.active {
        padding: 0px;
    }

}

/* Mobile Portrait (480px and up) */
@media (max-width: 480px) {
    .hero-section {
        height: 400px;
        margin-top: 70px;
    }

    .hero-slide {
        height: 400px;
    }

    .hero-content {
        padding: 0 15px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 33px;
        line-height: 1.3;
        padding: 0;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 80%;
        /* padding: 10px 18px !important; */
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 18px;
    }

    .about-image {
        height: 200px;
    }

    .project-image {
        height: 150px;
    }

    .service-image {
        width: 60px;
        height: 60px;
    }

    .clients-logos img {
        height: 50px;
    }


    .testimonial-quote-text {
        font-size: 13px;
    }

    .testimonial-number {
        font-size: 40px;
    }

    .news-header h2 {
        font-size: 24px;
    }


    .news-date-day {
        font-size: 24px;
    }

    .news-article-image {
        height: 160px;
    }

    .news-article-title {
        font-size: 18px;
    }

    .news-article-excerpt {
        font-size: 14px;
    }

    .cta-banner {
        height: 340px;
    }

    .cta-content {
        gap: 24px;
        padding: 0 16px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-text-content p {
        font-size: 15px;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        padding: 14px 28px;
        font-size: 14px;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
    }

    .nav-btn img {
        width: 20px;
        height: 20px;
    }
}

/* Extra Small Mobile (360px and up) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .hero-section {
        height: 350px;
        margin-top: 70px;
    }

    .hero-slide {
        height: 350px;
    }

    .hero-content {
        padding: 0 12px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 20px;
        line-height: 1.3;
        padding: 0;
        margin-bottom: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        padding: 10px 16px;
        font-size: 12px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-white,
    .btn-black {
        padding: 10px 20px;
        font-size: 12px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 16px;
    }

    .about-image {
        height: 180px;
    }

    .project-image {
        height: 120px;
    }

    .service-image {
        width: 50px;
        height: 50px;
    }

    .clients-logos img {
        height: 40px;
    }


    .testimonial-quote-text {
        font-size: 12px;
    }

    .testimonial-number {
        font-size: 35px;
    }

    .testimonial-icon-wrapper {
        width: 45px;
        height: 45px;
    }

    .news-header h2 {
        font-size: 22px;
    }

    .news-list {
        gap: 20px;
    }

    .news-article-item {
        gap: 16px;
        padding-bottom: 20px;
    }

    .news-article-image {
        height: 140px;
    }

    .news-article-title {
        font-size: 16px;
    }

    .news-article-excerpt {
        font-size: 13px;
    }

    .cta-banner {
        height: 300px;
    }

    .cta-content {
        gap: 20px;
        padding: 0 12px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-text-content p {
        font-size: 14px;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        padding: 12px 24px;
        font-size: 13px;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .navbar {
        height: 80px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        position: relative;
        width: 100%;
        justify-content: flex-end;
        gap: 15px;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: opacity;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Side Menu - Slides in from left */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 85%;
        height: 100%;
        background-color: #ffffff;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
        padding: 90px 0 30px 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        z-index: 1001;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        will-change: transform;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin-right: 0;
        width: 100%;
    }

    .nav-links a {
        font-size: 16px;
        padding: 16px 25px;
        display: block;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        position: relative;
        border-radius: 0;
        margin: 0;
        border-left: 4px solid transparent;
        color: #606060;
    }

    .nav-links a::before {
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, #1e1e1e 0%, #2a2a2a 100%);
        transform: scaleX(0);
        transform-origin: left;
        transition: width 0.3s ease;
        z-index: -1;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: #ffffff;
        transform: translateX(5px);
        padding-left: 30px;
        border-left-color: #1e1e1e;
        font-weight: 500;
    }

    .nav-links a:hover::before,
    .nav-links a:active::before {
        width: 100%;
        transform: scaleX(1);
    }

    .nav-links a.active {
        border-left-color: #1e1e1e;
        color: #ffffff;
        background: linear-gradient(90deg, #1e1e1e 0%, #2a2a2a 100%);
        font-weight: 600;
    }

    .nav-links a.active::before {
        width: 100%;
        transform: scaleX(1);
    }

    /* Mobile menu toggle button */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 25px;
        cursor: pointer;
        color: #1e1e1e;
        order: 1;
        transition: color 0.3s ease;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1002;
        /* margin-right: -23px; */
    }

    .mobile-menu-toggle:hover {
        color: #606060;
    }

    .cta-button {
        order: 2;
        font-size: 12px;
        padding: 8px 16px;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }

    .mobile-menu-overlay {
        display: none;
    }

    /* Show desktop nav links */
    .nav-links {
        display: flex !important;
        position: static;
        flex-direction: row;
        transform: none;
        width: auto;
        height: auto;
        padding: 0;
        box-shadow: none;
        overflow: visible;
        background: transparent;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {

    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-white,
    .btn-black {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    .nav-btn {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    .social-link {
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }

    .social-link i {
        font-size: 18px;
    }
}

/* Image optimization for mobile */
@media (max-width: 768px) {

    .hero-background img,
    .cta-background img {
        object-position: center;
    }

    .about-image img,
    .project-image img,
    .news-article-image img {
        object-fit: cover;
        object-position: center;
    }
}

/* Improved text readability on mobile */
@media (max-width: 576px) {
    p {
        font-size: 15px;
        line-height: 1.6;
    }

    .section-label {
        font-size: 14px;
    }

    .project-location {
        font-size: 12px;
    }

    .blog-meta {
        font-size: 14px;
    }
}

/* Better spacing for mobile */
@media (max-width: 480px) {
    .section-header {
        margin-bottom: 20px;
    }

    .projects-header,
    .services-header,
    .news-header-wrapper {
        margin-bottom: 40px;
    }

    .projects-grid {
        gap: 30px;
    }

    .services-list {
        gap: 60px;
    }

    .news-article-item {
        padding-bottom: 30px;
    }
}

/* Inquiry Modal Styles */
.inquiry-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.inquiry-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.inquiry-modal-content {
    background: #ffffff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: scaleIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

/* Thin Scrollbar for Inquiry Modal (Webkit browsers) */
.inquiry-modal-content::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.inquiry-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 12px;
}

.inquiry-modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.inquiry-modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.inquiry-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inquiry-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.inquiry-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.inquiry-modal-close:hover {
    background: #f0f0f0;
    color: #000000;
}

.inquiry-modal-body {
    padding: 30px;
}

.inquiry-form-group {
    margin-bottom: 20px;
}

.inquiry-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.inquiry-form-group label .required {
    color: #e74c3c;
}

.inquiry-form-group input,
.inquiry-form-group select,
.inquiry-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
}

.inquiry-form-group input:focus,
.inquiry-form-group select:focus,
.inquiry-form-group textarea:focus {
    outline: none;
    border-color: #031dbd;
    box-shadow: 0 0 0 3px rgba(3, 29, 189, 0.1);
}

.inquiry-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.inquiry-form-submit {
    text-align: center;
    margin-top: 25px;
}

.inquiry-btn-submit {
    background: #031dbd;
    color: #ffffff;
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.inquiry-btn-submit:hover {
    background: #0270d1;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(3, 29, 189, 0.3);
}

@media (max-width: 768px) {
    .inquiry-modal-content {
        max-width: 100%;
        margin: 20px;
    }

    .inquiry-modal-header {
        padding: 20px 20px 15px;
    }

    .inquiry-modal-header h2 {
        font-size: 24px;
    }

    .inquiry-modal-body {
        padding: 20px;
    }

    .inquiry-form-row {
        grid-template-columns: 1fr;
    }
}