.about-thumb {
    display: grid;
    gap: 15px;
    height: auto;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    /* Ensures images align at the top */
    margin-top: 10px;
    /* Added to move images upward */
    /* width: 650px; */
    width: 100%;
    /* make it flexible */
    max-width: 100%;
}

.about-thumb .image {
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.about-thumb .image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-thumb img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-thumb img:hover {
    transform: scale(1.05);
}

.custom-width-text {
    flex: 0 0 60% !important;
    max-width: 60% !important;
}

.custom-width-images {
    flex: 0 0 40% !important;
    max-width: 40% !important;
}

.testimonial-card {
    background-color: #fff !important;
    background-image: none !important;
}

/* 
.about-thumb .image img { 
width: 100%; 
height: 350px; 
object-fit: cover; 
border-radius: 12px; 
display: block; 
}  */
@media (min-width: 993px) {
    .image:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .image:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .image:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .image:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 992px) {

    .custom-width-images,
    .custom-width-text {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .about-thumb {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 35px;
        /* 2 columns */
    }

    .about-thumb .image {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .custom-width-text {
        padding-left: 25px;
        /* push text a little right */
        margin-top: 25px;
        /* add gap above text so it doesn’t stick to images */
    }
}

@media (max-width: 576px) {
    .about-thumb {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-thumb img {
        height: 250px;
        /* Smaller on phones */
    }

    .custom-width-text {
        padding-left: 20px;
        /* push text a little right */
        margin-top: 25px;
        /* add gap above text so it doesn’t stick to images */
    }
}

@media (min-width: 1200px) {
    .about-thumb img {
        height: 350px;
    }
}

.about-thumb {
    display: grid;
    gap: 15px;
    height: auto;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    /* Ensures images align at the top */
    margin-top: 10px;
    /* Added to move images upward */
    /* width: 650px; */
    width: 100%;
    /* make it flexible */
    max-width: 100%;
}

.about-thumb .image {
    max-width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.about-thumb .image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-thumb img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-thumb img:hover {
    transform: scale(1.05);
}

.custom-width-text {
    flex: 0 0 60% !important;
    max-width: 60% !important;
}

.custom-width-images {
    flex: 0 0 40% !important;
    max-width: 40% !important;
}

.testimonial-card {
    background-color: #fff !important;
    background-image: none !important;
}

/* 
.about-thumb .image img { 
width: 100%; 
height: 350px; 
object-fit: cover; 
border-radius: 12px; 
display: block; 
}  */
@media (min-width: 993px) {
    .image:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .image:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .image:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .image:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 992px) {

    .custom-width-images,
    .custom-width-text {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .about-thumb {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 35px;
        /* 2 columns */
    }

    .about-thumb .image {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .custom-width-text {
        padding-left: 25px;
        /* push text a little right */
        margin-top: 25px;
        /* add gap above text so it doesn’t stick to images */
    }
}

@media (max-width: 576px) {
    .about-thumb {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-thumb img {
        height: 250px;
        /* Smaller on phones */
    }

    .custom-width-text {
        padding-left: 20px;
        /* push text a little right */
        margin-top: 25px;
        /* add gap above text so it doesn’t stick to images */
    }
}

@media (min-width: 1200px) {
    .about-thumb img {
        height: 350px;
    }
}

/* Custom Tailwind-like classes */
.tw-w-300-px {
    width: 300px;
}

.tw-h-screen {
    height: 100vh;
}

.tw-p-6 {
    padding: 1.5rem;
}

.tw-z-999 {
    z-index: 999;
}

.tw--translate-x-full {
    transform: translateX(-100%);
}

.tw-pb-68 {
    padding-bottom: 4.25rem;
}

.tw-end-0 {
    right: 0;
}

.tw-me-2 {
    margin-right: 0.5rem;
}

.tw-mt-2 {
    margin-top: 0.5rem;
}

.tw-w-605 {
    width: 3.78rem;
}

.tw-h-605 {
    height: 3.78rem;
}

.tw-mt-8 {
    margin-top: 2rem;
}

.tw-px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.tw-rounded-4xl {
    border-radius: 2rem;
}

.tw-pe-5 {
    padding-right: 1.25rem;
}

.tw-py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.tw-py-5 {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.tw-px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.tw-gap-6 {
    gap: 1.5rem;
}

.tw-gap-29 {
    gap: 7.25rem;
}

.tw-gap-2 {
    gap: 0.5rem;
}

.tw-text-9 {
    font-size: 2.25rem;
}

.max-w-200-px {
    max-width: 200px;
}

.text-main-600 {
    color: #09aed9;
}

.bg-main-600 {
    background-color: #09aed9;
}

.text-neutral-900 {
    color: #171717;
}

.bg-neutral-200 {
    background-color: #e5e5e5;
}

.text-neutral-800 {
    color: #262626;
}

.hover-bg-neutral-900:hover {
    background-color: #171717;
}

.hover-text-white:hover {
    color: white;
}

.font-dmsans {
    font-family: 'DM Sans', sans-serif;
}

.font-heading {
    font-family: 'Heading Font', sans-serif;
}

.fs-15 {
    font-size: 0.9375rem;
}

.primary-btn {
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
}

a {
    text-decoration: none !important;
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    padding: 1.5rem;
    min-width: 800px;
    max-width: 1000px;
    width: 90vw;
    max-height: 70vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e5e7eb;
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
}

.mega-menu-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #09aed9;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #09aed9;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mega-menu-section {
    margin-bottom: 1rem;
}

.mega-menu-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.mega-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-links li {
    margin-bottom: 0.3rem;
}

.mega-menu-links a {
    display: block;
    padding: 0.4rem 0;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.25rem;
    position: relative;
}

.mega-menu-links a:hover {
    color: #09aed9;
    padding-left: 0.75rem;
    background-color: #f8fafc;
}

.mega-menu-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: #09aed9;
    transition: width 0.3s ease;
}

.mega-menu-links a:hover::before {
    width: 4px;
}

/* Hover trigger for mega menu */
.nav-menu__item.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-menu__item.has-mega-menu .nav-menu__link::after {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.nav-menu__item.has-mega-menu:hover .nav-menu__link::after {
    transform: rotate(180deg);
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
    .mega-menu {
        min-width: 700px;
        max-width: 90vw;
        padding: 1.25rem;
    }

    .mega-menu-content {
        gap: 1.25rem;
    }
}

@media (max-width: 992px) {
    .mega-menu {
        min-width: 600px;
        max-width: 95vw;
        padding: 1rem;
        max-height: 60vh;
    }

    .mega-menu-content {
        gap: 1rem;
    }

    .mega-menu-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .mega-menu-section {
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95vw;
        max-width: 500px;
        max-height: 80vh;
        border-radius: 0.5rem;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .mega-menu-column {
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 0.8rem;
    }

    .mega-menu-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .mega-menu-close {
        display: block;
    }
}

.mega-menu-close {
    display: none;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
}

.mega-menu-close:hover {
    background: #e5e7eb;
    color: #374151;
}

/* Mobile dropdown styles */
/* Mobile dropdown styles */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

/* When dropdown is open */
.mobile-dropdown.show {
    max-height: 70vh;
    /* allows taller content */
    overflow-y: auto;
    /* enable scrolling */
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on iOS */
}

/* Scrollbar styling (optional) */
.mobile-dropdown::-webkit-scrollbar {
    width: 6px;
}

.mobile-dropdown::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* Inner items */
.mobile-dropdown .dropdown-item {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #09aed9;
    text-decoration: none;
    font-size: 0.9rem;
}

.mobile-dropdown .dropdown-item:hover {
    background-color: #e2e8f0;
}

.mobile-dropdown-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-dropdown-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-dropdown-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #09aed9;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1.5rem;
    background-color: #f8fafc;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-toggle-icon {
    transition: transform 0.3s ease;
}

.mobile-toggle-icon.rotated {
    transform: rotate(180deg);
}

.nav-menu__item.activePage>a {
    text-decoration: none !important;
}

.nav-menu .text-main-600 {
    color: #ffffff;
}

a:hover {
    color: #2196F3 !important;
}

.header-menu {
    margin-inline-start: 0px;
}

/* Glassmorphism background for header-two */
.header.glass-effect {
    background: rgba(0, 0, 0, 0.2);
    /* subtle transparency */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
}

.header-button .primary-btn {
    background: #09aed9bd !important;
    color: #ffffff !important;
}

.nav-menu__item.activePage>a {
    text-decoration: none !important;
}

.nav-menu .text-main-600 {
    color: #ffffff;
}

a:hover {
    color: #2196F3 !important;
}

.header-menu {
    margin-inline-start: 0px;
}

/* Glassmorphism background for header-two */
.header.glass-effect {
    background: rgba(0, 0, 0, 0.2);
    /* subtle transparency */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
}

.header-button .primary-btn {
    background: #09aed9bd !important;
    color: #ffffff !important;
}

.progress-wrap {
    mix-blend-mode: normal !important;
}

.breadcrumb-area {
    position: relative;
    z-index: 1;
}

.breadcrumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    /* semi-transparent dark overlay */
    /* z-index: 2; */
    pointer-events: none;
}

.breadcrumb-area>.container-fluid,
.breadcrumb-area .breadcrumb-title {
    position: relative;
    z-index: 3;
}

.feature-area {
    background: #f8fafc;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.section-paragraph {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.feature-wrapper {
    transition: all 0.3s ease;
}

.feature-wrapper:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    position: relative;
}

/* Quote icon styling */
.testimonial-content::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 2rem;
    color: var(--main-600);
    opacity: 0.1;
    z-index: 0;
}

/* Avatar styling */
.client-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 1.125rem;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Star rating */
.stars {
    color: #fbbf24;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

/* Enhanced testimonial text */
.testimonial-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Client info styling */
.client-info {
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    margin-top: 1rem;
}

.client-role {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
    font-weight: 500;
}

/* Enhanced button */
.bg-main-600 {
    background-color: var(--main-600) !important;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    background-color: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Swiper customization */
.swiper-container {
    padding: 20px 0;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.feature-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-wrapper>div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Background animation */
.feature-bg-shape {
    opacity: 0.3;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

#paper-plane {
    animation: float 6s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .py-140 {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .tw-p-6 {
        padding: 1.25rem;
    }
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--main-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}