@font-face {
    font-family: 'Barlow';
    src: url('/assets/fonts/Barlow-Bold.woff2') format('woff2'),
        url('/assets/fonts/Barlow-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('/assets/fonts/Barlow-Medium.woff2') format('woff2'),
        url('/assets/fonts/Barlow-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}



/* Custom Styles for Waydart Homepage */

:root {
    --purple: #5a0ab4;
    --orange: #ec762d;
    --green: #00bf63;
    --dark: #1F2937;
    --light-bg: #F9FAFB;
    --darkgreen: #038647;
    --lightpurple: #8c52ff;
}

body {
    font-family: 'Barlow';
    color: var(--dark);
    line-height: 1.6;
    padding-top: 80px;
}

.main-section {
    background-color: #f6f2ff;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
}

.waydart-logo {
    height: 40px;
    width: auto;
}

.logo-text-main {
    color: var(--purple);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.1;
}

.logo-tagline {
    font-size: 0.7rem;
    color: #6B7280;
    font-weight: 400;
    line-height: 1.1;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    color: var(--dark) !important;
}

.nav-link:hover {
    color: var(--purple) !important;
}

/* Hero Section */
.hero-section {
    /* background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%); */
    padding-top: 1.2rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-main-image {
    max-width: 100%;
    height: auto;
}

.hero-content h1 {
    line-height: 1.2;
}

.text-purple {
    color: var(--purple) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.text-green {
    color: var(--green) !important;
}

.tagline-box {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tagline-test {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
}

.tagline-trust {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
}

.tagline-scale {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
}

/* contact us */


/* Contact Section */
.contact-section {
    background-color: #f6f2ff;
}

/* Left Card */
.contact-card {
    background-color: #ff8c42;
    color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card h3 {
    font-size: 28px;
}

.contact-card p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.contactusrightsection h6 {
    font-size: 1.3rem;
}

/* Talk Button */
.talk-btn {
    background-color: #00c26e;
    color: #ffffff;
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 600;
    width: fit-content;
}

.talk-btn:hover {
    background-color: #00a85f;
    color: #ffffff;
}

/* Brand Colors */
.text-purple {
    color: #6b46ff;
}

.text-orange {
    color: #ff8c42;
}

.text-green {
    color: #00c26e;
}


/* =========================
   ABOUT SECTION
========================= */
.about-section {
    background: #f6f2ff;
    padding: 4rem 0;
    padding-top: 0px;
}

/* Header */
.about-title {
    color: var(--purple);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.about-subtitle {
    color: var(--orange);
    font-weight: 600;
    font-size: 1.5rem;
}

/* Intro Text */
.about-intro {
    max-width: 520px;
}

.intro-bold {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.tagline-stack {
    font-size: 25px;
    font-weight: 600;
}

.intro-small {
    font-weight: 600;
    font-size: 0.95rem;
}

.since-text {
    font-size: 0.95rem;
    color: #666;
}

/* Statement */
.about-statement {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
}

.aboutustext p {
    font-size: 1.2rem;
}

/* =========================
   CARD
========================= */
.about-card {
    background: var(--purple);
    color: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    height: 204px;
}

.about-card h5 {
    font-weight: 700;
    font-size: 1.2rem;
}

.about-card p {
    font-size: 1rem;
}

.flex-lg-nowrap {
    align-items: center;
}

/* About top row custom wrapper */
.about-top-row {
    /* keeps desktop behavior using Bootstrap flex classes */
}

/* Card icon */
.card-icon {
    width: 36px;
    height: 36px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* =========================
   IMAGE
========================= */
.about-image {
    border-radius: 16px;
    object-fit: cover;
    height: 100%;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
    .about-statement {
        font-size: 1.1rem;
    }

    .about-intro {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .about-title {
        font-size: 1.5rem;
    }

    .about-statement {
        font-size: 1rem;
    }
}

.list-unstyled li {
    font-size: 1.2rem;
}

/* About Section */

/* Service Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.service-card h4{
   font-weight: 600;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.border-green {
    border: 3px solid var(--green) !important;
}

.border-purple {
    border: 3px solid var(--purple) !important;
}

.border-orange {
    border: 3px solid var(--orange) !important;
}

.testingwithus {
    font-size: 2.6rem;
}

.stay {
    font-size: 2.5rem;
}

.tab-content p {
    font-size: 2.2rem;
    padding: 0 130px;
}

.tab-content h4 {
    font-size: 2rem;
    font-weight: 600;
}

#services img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: auto;
}

/* Why Choose Cards */
.why-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.transform-card {
    transform: skewY(-2deg);
}

.transform-card:hover {
    transform: skewY(-2deg) translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

#waydart-tabs {
    padding-left: 5rem;
}

#waydart-tabs li {
    list-style: none;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

#waydart-tabs li.active {
    background-color: #c29ff5;
    /* pick your brand color */
}

#waydart-tabs li img {
    max-width: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

#waydart-tabs li.active img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Engagement Cards */
#engagement {
    background-color: #f6f2ff;
}

.engagement-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.engagement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.engagement-icon {
    text-align: center;
}

.engagement-card img {
    max-width: 40%;
    margin: auto;
}
.engagement-card h4 {
   font-weight: 600;
}
#engagement .lead {
    font-size: 1.8rem;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--purple);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #5B21B6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
}

/* Form */
.form-control {
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    border: 2px solid #E5E7EB;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 0.2rem rgba(107, 70, 193, 0.25);
}

/* Footer */
footer {
    background-color: #5A0AB4 !important;
}

.talkwitus {
    background-color: #f97316;
    border-radius: 20px;
}

/* footer a:hover {
    color: var(--purple) !important;
    transition: color 0.3s ease;
} */

/* Waydart Footer */
.waydart-footer {
    background-color: #484c50;
    color: #f9fafb;
}

.footer-logo {
    height: 60px;
}

.text-purple {
    color: #fff;
}

.footer-text {
    font-size: 18px;
    color: #fff;
    max-width: 420px;
    /* margin-top: 2.5rem; */
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #6b46ff;
}

.btn-purple {
    background-color: #6b46ff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    text-decoration: none;
}

.btn-purple:hover {
    background-color: #5938d9;
    color: #fff;
}

.footer-contact {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
}

.footer-contact i {
    color: #fff;
    margin-right: 8px;
}

.sitename {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0px;
}

.registered {
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.footer-bottom p {
    margin: 0;
    font-weight: 500;
}

.footer-bottom a {
    text-decoration: none !important;
    color: #000;
}

.footer-bottom a:hover {
    color: purple
}

.bottomsection {
    padding: 6px 32px;
    background-color: #5A0AB4;
}

.footer-divider {
    border-top: 1px solid #fff;
}

.copy {
    margin-top: 5px;
    ;
}

.testtrustscale {
    font-size: 1.2rem;
}

.socialmedialinks a {
    padding-right: 6px;
}

#why-choose .lead {
    font-size: 1.8rem;
}

/* Let's Connect with us */

/* Section Wrapper */
.connect-section {
    background-color: #f4f1ff;
    padding: 3rem 0;
}

/* Section Title */
.connect-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

/* Card */
.connect-card {
    background-color: #8b5cf6;
    border-radius: 1.5rem;
    padding: 2.5rem 3rem;
    color: #ffffff;
}

/* Heading */
.connect-heading {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

/* Sub text */
.connect-subtext {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Button */
.connect-btn {
    background-color: #ff8c42;
    color: #ffffff;
    padding: 0.75rem 2.5rem;
    border-radius: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

.connect-btn:hover {
    background-color: #f97316;
    color: #ffffff;
}

/* Illustration */
.connect-image {
    max-width: 70%;
    height: auto;
}

.image-center {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Brand Colors */
.text-purple {
    color: #6b46ff;
}

.text-orange {
    color: #ff8c42;
}


/* Section Spacing */
/* section {
    padding: 5rem 0;
} */

.bg-light {
    background-color: #f6f2ff !important;
}

/* Shadow Effects */
.shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Why Choose Us tab click Section */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.section-logos li {
    cursor: pointer;
    padding-right: 14px;
}

.section-logos li.active {
    font-weight: bold;
    color: #6f42c1;
    /* purple highlight */
}

#waydart-tabs {
    list-style: none;
    display: flex;
}

.whychoosetech .why-card svg {
    display: block;
    margin: 0 auto 16px auto;
}


/* ============================================
   RESPONSIVE DESIGN - ALL DEVICES
   ============================================ */

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

    .display-2 {
        font-size: 4.5rem;
    }

    .onestop-sloution {
        font-size: 3rem !important;
    }

    .display-3 {
        font-size: 3.5rem;
    }
}

/* Large Desktops (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
}

/* Medium Laptops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .display-2 {
        font-size: 3.5rem;
    }

    .onestop-sloution {
        font-size: 2.6rem !important;
    }

    .display-3 {
        font-size: 2.75rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    section {
        padding: 4rem 0;
    }

    .service-card,
    .why-card,
    .engagement-card {
        padding: 1.5rem !important;
    }
}

/* Small Laptops and Tablets Landscape (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    body {
        padding-top: 75px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .logo-w {
        font-size: 1.5rem;
    }

    .display-2 {
        font-size: 2.75rem;
    }

    .onestop-sloution {
        font-size: 2.2rem !important;
    }

    .display-3 {
        font-size: 2.25rem;
    }

    .hero-section {
        padding: 3.5rem 0;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    section {
        padding: 3.5rem 0;
    }

    .tagline-test,
    .tagline-trust,
    .tagline-scale {
        font-size: 1.25rem;
    }

    .tagline-item {
        font-size: 1.75rem;
    }

    .service-card,
    .why-card,
    .engagement-card {
        padding: 1.25rem !important;
    }

    .service-card h4,
    .why-card h4,
    .engagement-card h4 {
        font-size: 1.1rem;
    }

    .nav-link {
        margin: 0 0.25rem;
        font-size: 0.9rem;
    }
}

/* Tablets Portrait (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .logo-w {
        font-size: 1.4rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }

    .display-2 {
        font-size: 2.25rem;
    }

    .onestop-sloution {
        font-size: 1.8rem !important;
    }

    .display-3 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 3rem 0;
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-image {
        margin-top: 2rem;
    }

    /* About section: center and stack */
    .about-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Services heading section spacing / font */
    .testingwithus {
        font-size: 1.8rem;
    }

    .stay {
        font-size: 1.6rem;
    }

    #services .lead {
        font-size: 1rem;
    }

    /* Why choose tabs layout */
    #waydart-tabs {
        padding-left: 0;
        /* flex-wrap: wrap; */
        justify-content: center;
    }

    .tab-content h4 {
        font-size: 1.5rem;
    }

    .tab-content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    section {
        padding: 3rem 0;
    }

    .tagline-box {
        justify-content: center;
    }

    .tagline-test,
    .tagline-trust,
    .tagline-scale {
        font-size: 1.1rem;
    }

    .tagline-item {
        font-size: 1.5rem;
    }

    .tagline-stack {
        align-items: center;
        margin-bottom: 2rem;
    }

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

    .quality-badge {
        max-width: 100%;
        justify-content: center;
    }

    .service-card,
    .why-card,
    .engagement-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem !important;
    }

    .service-card h4,
    .why-card h4,
    .engagement-card h4 {
        font-size: 1.15rem;
    }

    .service-card p,
    .why-card p,
    .engagement-card p {
        font-size: 1rem;
    }

    .transform-card {
        transform: none;
    }

    .transform-card:hover {
        transform: translateY(-10px);
    }

    .cta-box {
        padding: 2.5rem !important;
    }

    .btn-primary {
        padding: 0.65rem 1.5rem;
        font-size: 1rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Mobile Devices (320px - 575px) */
@media (max-width: 575px) {
    body {
        padding-top: 65px;
        font-size: 0.95rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .logo-w {
        font-size: 1.3rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        text-align: center;
    }

    .display-2 {
        font-size: 1.75rem;
    }

    .onestop-sloution {
        font-size: 1rem !important;
    }

    .display-3 {
        font-size: 1.6rem;
    }

    .hero-section {
        padding: 2.5rem 0;
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .hero-content .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    #engagement .lead {
        font-size: 1rem;
    }

    #why-choose .lead {
        font-size: 1.2rem;
    }

    .hero-image {
        margin-top: 1.5rem;
    }

    .hero-image img {
        border-radius: 10px;
    }

    /* About section: title & certified badge centered on mobile */
    .about-header,
    .about-title {
        text-align: center;
    }

    .about-section img[alt="Waydart Certified"] {
        display: block;
        margin: 0 auto;
    }

    /* About section: center and show one-by-one */
    .about-top-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-top-row > * {
        width: 100%;
    }

    /* About section: remove padding only on mobile */
    .about-section {
        padding: 0;
    }

    /* Reduce global vertical spacing on mobile */
    section {
        padding: 1.5rem 0;
    }

    /* Override Bootstrap .py-5 on mobile – smaller top/bottom padding */
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .tagline-box {
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .tagline-test,
    .tagline-trust,
    .tagline-scale {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .tagline-item {
        font-size: 1.25rem;
    }

    .tagline-stack {
        align-items: center;
        margin-bottom: 1.5rem;
    }

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

    .about-content .lead {
        font-size: 0.95rem;
    }

    #engagement .lead {
        font-size: 0.95rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .quality-badge {
        max-width: 100%;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .badge-circle {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .badge-text {
        font-size: 0.85rem;
    }

    .about-card {
        padding: 2rem !important;
        margin-top: 2rem;
    }

    .about-card h3 {
        font-size: 1.25rem;
    }

    .about-card .lead {
        font-size: 0.95rem;
    }

    #engagement .lead {
        font-size: 0.95rem;
    }

    .service-card,
    .why-card,
    .engagement-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
        padding: 1.25rem !important;
    }

    .service-card h4,
    .why-card h4,
    .engagement-card h4 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .service-card p,
    .why-card p,
    .engagement-card p,
    .testimonial-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Services section headings & copy */
    .testingwithus {
        font-size: 1.4rem;
    }

    .stay {
        font-size: 1.2rem;
    }

    #services .lead {
        font-size: 0.95rem;
    }

    /* 3rd screen: Engagement models – center icon and text */
    #engagement .engagement-card {
        text-align: center;
    }

    #engagement .engagement-card ul {
        padding-left: 0;
        list-style: none;
    }

    #engagement .engagement-card ul li {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 4th screen: Why choose – remove extra padding & reduce font size */
    #waydart-tabs {
        padding-left: 0;
        /* flex-wrap: wrap; */
        justify-content: center;
    }

    #why-choose .tab-content {
        padding: 0.75rem 0;
    }

    #why-choose .tab-content h4 {
        font-size: 1.1rem;
    }

    #why-choose .tab-content p {
        font-size: 0.9rem;
        padding: 0;
    }

    /* 5th screen: Connect section – remove outer padding & tighten inner spacing */
    .connect-section {
        padding: 0;
    }

    .connect-card {
        padding: 1.75rem 1.5rem;
    }

    .connect-heading {
        font-size: 1.4rem;
    }

    .connect-subtext {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .connect-btn {
        font-size: 1rem;
        padding: 0.6rem 1.75rem;
    }

    .connect-title {
        font-size: 2rem;
    }

    /* 6th screen: Footer – fix layout & extra space */
    .waydart-footer {
        padding: 2rem 0 !important;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .bottomsection {
        padding: 6px 16px;
    }

    .service-card i,
    .why-card i,
    .engagement-card i {
        font-size: 2rem !important;
        margin-bottom: 0;
    }

    .transform-card {
        transform: none;
    }

    .transform-card:hover {
        transform: translateY(-10px);
    }

    .engagement-icon i {
        font-size: 2.5rem !important;
    }

    .engagement-card ul {
        font-size: 0.85rem;
    }

    .engagement-card ul li {
        margin-bottom: 0.75rem;
        align-items: center;
    }

    .cta-box {
        padding: 2rem !important;
    }

    .cta-box h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .cta-box .lead {
        font-size: 0.95rem;
    }

    #engagement .lead {
        font-size: 0.95rem;
    }

    .testimonial-card {
        text-align: center;
    }

    .testimonial-author {
        margin-top: 1rem;
    }

    .testimonial-author strong {
        font-size: 0.95rem;
    }

    .testimonial-author small {
        font-size: 0.85rem;
    }

    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .form-control {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }

    .form-label {
        font-size: 0.95rem;
    }

    footer {
        padding: 2.5rem 0 !important;
        text-align: center;
    }

    footer h5,
    footer h6 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    footer ul {
        margin-bottom: 1.5rem;
    }

    footer ul li {
        margin-bottom: 0.5rem;
    }

    footer a {
        font-size: 0.9rem;
    }

    footer .fs-4 {
        font-size: 1.25rem !important;
    }

    .card {
        margin-bottom: 1.5rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Better spacing for mobile */
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-3 {
        margin-top: 1rem !important;
    }

    .mt-4 {
        margin-top: 1.5rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* Extra Small Mobile Devices (320px - 374px) */
@media (max-width: 374px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .display-3 {
        font-size: 1.5rem;
    }

    .tagline-test,
    .tagline-trust,
    .tagline-scale {
        font-size: 0.9rem;
        padding: 0.4rem 0.75rem;
    }

    .service-card,
    .why-card,
    .engagement-card {
        padding: 1rem !important;
    }

    .btn-primary {
        padding: 0.55rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    section {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    footer,
    .btn,
    .cta-box {
        display: none;
    }

    body {
        padding-top: 0;
    }

    section {
        page-break-inside: avoid;
    }
}

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

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

.service-card,
.why-card,
.engagement-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--purple) !important;
    font-weight: 600;
}

/* Additional Responsive Utilities */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Touch-friendly buttons for mobile */
@media (max-width: 767px) {

    .btn,
    .nav-link,
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggler {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Prevent horizontal scroll */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Image responsiveness */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Better text wrapping on small screens */
@media (max-width: 575px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        word-wrap: break-word;
        hyphens: auto;
    }

    p,
    span,
    div {
        word-wrap: break-word;
    }
}

/* Card grid improvements for tablets */
@media (min-width: 576px) and (max-width: 991px) {
    .row.g-4>* {
        margin-bottom: 1.5rem;
    }
}

/* Better spacing for engagement cards on mobile */
@media (max-width: 575px) {
    .engagement-card ul {
        padding-left: 0;
    }

    .engagement-card ul li {
        display: flex;
        align-items: flex-start;
    }

    .engagement-card ul li i {
        margin-right: 0.5rem;
        margin-top: 0.2rem;
        flex-shrink: 0;
    }
}

/* Hero section improvements for all screen sizes */
@media (max-width: 991px) {
    .hero-section .row {
        flex-direction: column-reverse;
    }

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

    .hero-image {
        margin-bottom: 2rem;
    }
}

/* Service cards equal height */
.service-card,
.why-card,
.engagement-card,
.testimonial-card {
    display: flex;
    flex-direction: column;
}

.service-card p,
.why-card p,
.engagement-card p {
    flex-grow: 1;
    font-size: 1.2rem;
}

/* Footer responsive improvements */
@media (max-width: 991px) {
    footer .row>div {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575px) {
    footer .row>div {
        margin-bottom: 1.5rem;
    }

    footer .row>div:last-child {
        margin-bottom: 0;
    }
}

/* Navbar collapse improvements */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: white;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin: 0.25rem 0;
    }
}

/* Ensure proper column stacking */
@media (max-width: 991px) {
    .row>[class*="col-"] {
        margin-bottom: 1.5rem;
    }
}

/* Better form responsiveness */
@media (max-width: 575px) {
    .card {
        margin: 0 0.5rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    form {
        width: 100%;
    }
}

/* Fix for very small screens */
@media (max-width: 320px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-content h1 {
        font-size: 1.25rem;
    }

    .display-3 {
        font-size: 1.25rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility - ensure focus states are visible */
@media (max-width: 767px) {

    .nav-link:focus,
    .btn:focus,
    .form-control:focus {
        outline: 3px solid var(--purple);
        outline-offset: 2px;
    }
}

/* Smooth transitions for all interactive elements */
@media (prefers-reduced-motion: no-preference) {
    * {
        transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
    }
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}