* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@supports (-webkit-touch-callout: none) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="date"],
    input[type="datetime-local"],
    input[type="month"],
    input[type="week"],
    input[type="time"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

:root {
    --primary-blue: #0155e9;
    --primary-blue-dark: #3a62e0;
    --primary-blue-light: #6b95ff;
    --dark-blue: #1e3a5f;
    --text-dark: #000;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-blue-light: #ebf2ff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-blue: linear-gradient(135deg, #4a7cff 0%, #6b95ff 100%);
    --gradient-hero: linear-gradient(180deg, #ebf2ff 0%, #ffffff 100%);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family:
        "Poppins",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 1680px;
    margin: 0 auto;
}

/* Smooth transitions for all interactive elements */
a,
button,
input,
select,
textarea {
    transition: all 0.3s ease;
}

/* Better tap targets for mobile */
@media (pointer: coarse) {

    .btn,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

@media (min-width: 1400px) {

    .container {
        max-width: 1450px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn i {
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(74, 124, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-lg {
    padding: 8px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    background: transparent;
    backdrop-filter: blur(5px);
}

.menu-toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.header .navbar-toggler {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(1, 85, 233, 0.16);
}

.menu-icon {
    width: 22px;
    height: 18px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: none;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-blue);
    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}

.menu-toggle-input:checked+.navbar-toggler .menu-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle-input:checked+.navbar-toggler .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle-input:checked+.navbar-toggler .menu-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.gap-header {
    gap: 12px;
}

.navbar-brand img {
    width: auto;
}

.lang-dropdown::after {
    display: none;
}

.lang-arrow {
    transition: transform 0.3s ease;
}

.dropdown.show .lang-arrow {
    transform: rotate(360deg);
}

.lang-dropdown-menu {
    width: auto;
    min-width: unset;
    border: 1px solid rgba(74, 124, 255, 0.2);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 6px;
    background: var(--bg-white);
}

.lang-dropdown-menu .dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-dropdown-menu .dropdown-item:hover {
    background: var(--bg-blue-light);
    color: var(--primary-blue);
}

.lang-dropdown-menu .dropdown-item.active {
    background: var(--primary-blue);
    color: white;
}

.lang-dropdown-menu .dropdown-item i {
    font-size: 14px;
    width: 18px;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

.hero-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    clip-path: inset(0 round 0);
    background-image: url("../images/hero-background.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 12%,
            black 88%,
            transparent 100%);

    mask-image: linear-gradient(to right,
            transparent 0%,
            black 12%,
            black 88%,
            transparent 100%);
}

.hero-plane1 {
    position: absolute;
    width: 370px;
    height: 216px;
    top: -12px;
    left: 409px;
}

.hero-plane2 {
    position: absolute;
    width: 370px;
    height: 216px;
    bottom: 0px;
    left: 340px;
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(74, 124, 255, 0.15);
    top: -150px;
    right: -100px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(107, 149, 255, 0.1);
    bottom: -100px;
    left: -100px;
}

.hero-badge {
    background: #acdbff82;
    border: 1px solid rgba(74, 124, 255, 0.2);
}

.hero-badge i {
    color: var(--primary-blue);
    font-size: 14px;
}

.hero-badge span {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-blue);
}

.hero-text h1 {
    font-size: 3.4rem;
    line-height: 1.35;
    color: var(--text-dark);
}

.hero-text .highlight {
    color: var(--primary-blue);
}

.hero-text p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons .free-trial {
    height: 47px;
    border-radius: 6px;
    background: var(--primary-blue);
}

.hero-buttons .demo-button {
    height: 47px;
    border-radius: 6px;
    border-width: 2px;
}

.hero-trust span {
    gap: 6px;
    font-size: 13px;
    color: var(--text-dark);
}

.hero-trust i {
    color: var(--primary-blue);
    font-size: 14px;
}

/* Hero Image */
.hero-image {
    position: relative;
    min-height: 500px;
}

/* Stats Section */
.stats {
    padding: 40px 0;
    background: transparent;
    margin-top: -30px;
}

.stats-card {
    border-radius: 20px;
    padding: 40px 40px;
    box-shadow: 0px 0px 17.1px 0px #00000040;
}

.stat-icon {
    width: 90px;
    height: 90px;
}

.stat-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.stat-icon i {
    font-size: 28px;
    color: var(--primary-blue);
}

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

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

.stat-divider {
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg,
            transparent 0%,
            #e5e7eb 50%,
            transparent 100%);
    margin: 0 10px;
}

/* Section Header */
.section-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgb(0 144 224 / 8%);
}

.section-tag i {
    font-size: 12px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-header .highlight {
    color: var(--primary-blue);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    max-width: 500px;
}

/* Features Section */
.features {
    padding: 20px 0;
    /* background: linear-gradient(180deg, #F8FAFF 0%, #FFFFFF 100%); */
    background: #f4f7fc;
    background-image: url("../images/features-Background.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.feature-card {
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.3s ease;
    border: 1px solid #f0f4f8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-check {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 22px;
    color: #4a7cff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card.active .feature-check {
    opacity: 1;
}

.feature-card.active {
    outline: 2px solid #4a7cff;
    box-shadow: 0 4px 16px rgba(74, 124, 255, 0.18);
}

.feature-icon {
    width: 90px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

/* Icon Colors */
.accounting-icon {
    background: #f3f0ff;
}

.accounting-icon i {
    color: #7c3aed;
}

.crm-icon {
    background: #e8f5e9;
}

.crm-icon i {
    color: #2e7d32;
}

.hr-icon {
    background: #fff3e0;
}

.hr-icon i {
    color: #e65100;
}

.pos-icon {
    background: #ffebee;
}

.pos-icon i {
    color: #c62828;
}

.inventory-icon {
    background: #e3f2fd;
}

.inventory-icon i {
    color: #1565c0;
}

.travel-icon {
    background: #f3e5f5;
}

.travel-icon i {
    color: #7b1fa2;
}

.ticketing-icon {
    background: #e8f5e9;
}

.ticketing-icon i {
    color: #2e7d32;
}

.sales-icon {
    background: #fff8e1;
}

.sales-icon i {
    color: #f57f17;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.features-cta .btn {
    background: var(--primary-blue);
}

/* Platform Section */
.platform {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.platform-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    background-image: url("../images/section-background.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.platform-bg-img {
    width: 100%;
    height: auto;
    display: block;
}

.platform-text .section-tag {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 700;
}

.platform-text h2 {
    font-size: 40px;
    color: var(--text-dark);
    line-height: 1.2;
}

.platform-text p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .platform-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .platform-wrap>.row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Dashboard Section */
.dashboard {
    padding: 80px 0;
    background: var(--bg-light);
}

.dashboard-text h2 {
    font-size: 36px;
    color: var(--text-dark);
}

.dashboard-text p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.dashboard-list li {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

.dashboard-list i {
    font-size: 26px;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.explore-link:hover {
    gap: 12px;
}

.explore-link i {
    font-size: 12px;
}

.header-login-button {
    width: 117px;
    height: 38px;
    border-radius: 3px;
    border-width: 2px;
    opacity: 1;
    top: 84px;
    left: 1376px;
}

.header-start-free-trial {
    width: 117px;
    height: 38px;
    border-radius: 3px;
    opacity: 1;
    top: 77px;
    left: 1520px;
    size: 17px;
    font-weight: 600;
    text-shadow: rgb(31, 31, 161);
    background: var(--primary-blue);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f0f4ff;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 800' fill='none'%3E%3Cpath d='M-50 0C50 100 150 200 50 300C-50 400 50 500 150 600C250 700 150 800 50 800' stroke='%23E5E7EB' stroke-width='2' fill='none'/%3E%3Cpath d='M-30 0C70 100 170 200 70 300C-30 400 70 500 170 600C270 700 170 800 70 800' stroke='%23E5E7EB' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
    z-index: 0;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    transform: translateY(-36px);
    box-shadow: 0 12px 40px rgba(134, 69, 255, 0.35);
}

.pricing-card.featured {
    background: #1a1a3e;
    border-color: #1a1a3e;
    border-width: 2px;
    box-shadow: 0 0 0 1px #1a1a3e;
    transform: translateY(-30px);
}

.pricing-card.featured .pricing-header h3 {
    color: white;
    font-size: 22px;
}


.pricing-card.featured .pricing-features li.included {
    color: rgba(255, 255, 255, 0.95);
}

.pricing-card.featured .pricing-features li.excluded {
    color: rgba(255, 255, 255, 0.35);
}

.pricing-card.featured .pricing-features li.included i {
    color: white;
}

.pricing-card.featured .pricing-features li.excluded i {
    color: rgba(255, 255, 255, 0.35);
}

.pricing-card.featured .price .currency,
.pricing-card.featured .price .amount {
    color: white;
}

.pricing-card.featured .price .period {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-card.featured .price {
    margin-bottom: 20px;
}

.pricing-badge {
    position: absolute;
    top: 15px !important;
    right: 16px;
    background: white !important;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #4ade80;
    color: #064e3b;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.pricing-header {
    text-align: left;
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.amount {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
}

.period {
    font-size: 14px;
    color: var(--text-gray);
    margin-left: 4px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.pricing-features li.included {
    color: var(--text-dark);
}

.pricing-features li.excluded {
    color: var(--text-light);
}

.pricing-features li.included i {
    color: var(--primary-blue);
    font-size: 12px;
    margin-top: 3px;
}

.pricing-features li.excluded i {
    color: var(--text-light);
    font-size: 12px;
    margin-top: 3px;
}

.pricing-footer {
    margin-top: auto;
}

.pricing-footer .price {
    margin-bottom: 20px;
}

.pricing-footer .pricing-pro-btn {
    background-color: #8645ff !important;
    border: none !important;
    color: white !important;
}

.pricing-card:not(.featured) .btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

.pricing-card:not(.featured) .btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.pricing-card.featured .btn-primary {
    background: white;
    color: var(--dark-blue);
    border: 1px solid white;
    font-weight: 600;
}

.pricing-card.featured .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Testimonials Section */
.testimonial-skyline {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 460px;
    height: 100%;
    background-image: url("../images/testimonial-buildings.png");
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.6;
}

@media (min-width: 768px) {
    .w-md-custom {
        width: 50% !important;
    }
}

/* Slider Chevron Buttons - outlined circles so they stand out */
.testimonial-nav-btn,
.trusted-nav-btn {
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
    padding: 10px;
}

.testimonial-nav-btn:hover:not(:disabled),
.trusted-nav-btn:hover:not(:disabled) {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: var(--shadow-md);
    cursor: not-allowed;
}

/* Slider Chevron Buttons - disabled at boundaries */
.testimonial-nav-btn:disabled,
.testimonial-nav-btn:disabled:hover,
.trusted-nav-btn:disabled,
.trusted-nav-btn:disabled:hover {
    color: var(--primary-blue);
    box-shadow: none;
    border: 2px solid var(--primary-blue);
    cursor: not-allowed;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    width: 10px;
    height: 10px;
}

.dot:hover {
    background: var(--primary-blue);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--dark-blue);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-form .form-group {
    margin-bottom: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.15);
}

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

/* Footer */
.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.newsletter-btn:hover {
    background: var(--primary-blue-dark);
}

.newsletter-input::placeholder {
    color: grey;
}

@media (max-width: 1199.98px) {
    .footer>.container-fluid {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .footer-content {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .footer .container-fluid,
    .footer .row,
    .footer .row>[class*="col-"] {
        width: 100%;
        max-width: 100%;
    }

    .footer-links-column,
    .footer-link-groups {
        width: 100%;
    }

    .footer-link-groups {
        justify-content: space-between !important;
    }
}

@media (max-width: 767.98px) {
    .footer .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-link-groups {
        gap: 1.5rem !important;
        justify-content: space-between !important;
    }

    .footer-link-groups>div {
        flex: 1 1 30%;
        min-width: 100px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer .input-group {
        width: 100%;
        max-width: none !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .stats-card {
        flex-wrap: wrap;
        padding: 30px;
        gap: 20px;
    }

    .stat-item {
        flex: 1 1 calc(33.33% - 20px);
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-bg {
        -webkit-mask-image: none;
        mask-image: none;
        background-size: cover;
    }

    .stat-item {
        flex: 1 1 calc(50% - 20px);
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .stats-card {
        flex-direction: column;
        padding: 24px;
    }

    .stat-item {
        flex: 1 1 100%;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header .section-tag {
        font-size: 11px;
    }

    .cta-text h2 {
        font-size: 26px;
    }

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

/* Tablets Landscape (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .hero-text h1 {
        font-size: 38px;
    }

    .hero-illustration {
        height: 420px;
    }

    .feature-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 28px;
    }
}

/* Tablets Portrait (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-bg {
        left: 0;
        right: 0;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: 550px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

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

    .stats {
        padding: 40px 0;
    }

    .stats-card {
        padding: 28px;
        gap: 16px;
    }

    .stat-item {
        flex: 1 1 calc(33.33% - 16px);
        min-width: 110px;
    }

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

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

    .features {
        padding: 60px 0;
    }

    .feature-card {
        padding: 22px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .platform {
        padding: 60px 0;
    }

    .dashboard {
        padding: 60px 0;
    }

    .pricing {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 26px;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .cta {
        padding: 60px 0;
    }

    .cta-text h2 {
        font-size: 32px;
    }

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

    /* testimonials action button  */
    .testimonial-nav-btn {
        position: absolute;
        bottom: -70px;
    }
}

/* Mobile Landscape (480px - 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 90px 0 36px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 12px;
    }

    .hero-text h1 {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-buttons {
        gap: 14px;
        margin-top: 28px;
    }

    .hero-buttons .btn {
        padding: 14px 28px;
        font-size: 15px;
        min-height: 48px;
    }

    .hero-trust {
        gap: 20px;
        margin-top: 24px;
    }

    .hero-trust span {
        font-size: 12px;
    }

    .stats {
        padding: 36px 0;
    }

    .stats-card {
        padding: 24px;
        gap: 16px;
        border-radius: 14px;
    }

    .stat-item {
        flex: 1 1 calc(50% - 16px);
        min-width: 120px;
    }

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

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

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon img {
        width: 26px;
        height: 26px;
    }

    .features {
        padding: 52px 0;
    }

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

    .section-header .section-tag {
        font-size: 12px;
        padding: 7px 14px;
    }

    .feature-card {
        padding: 20px;
        border-radius: 12px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 19px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .feature-card h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .feature-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .platform {
        padding: 52px 0;
    }

    .dashboard {
        padding: 52px 0;
    }

    .pricing {
        padding: 52px 0;
    }

    .pricing-card {
        padding: 28px;
        border-radius: 14px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .pricing-card .price {
        font-size: 36px;
    }

    .pricing-card .price span {
        font-size: 15px;
    }

    .pricing-card .btn {
        padding: 14px 28px;
        font-size: 14px;
        min-height: 48px;
    }

    .pricing-card ul {
        gap: 12px;
    }

    .pricing-card ul li {
        font-size: 14px;
    }

    .cta {
        padding: 52px 0;
    }

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

    .cta-text p {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .cta-form .form-control {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 48px;
    }

    .cta-form textarea.form-control {
        min-height: 110px;
    }

    .cta-form .btn {
        padding: 14px 28px;
        font-size: 14px;
        min-height: 48px;
    }

    .testimonial-nav-btn {
        position: absolute;
        bottom: -70px;
    }
}

/* Mobile Portrait (up to 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 80px 0 32px;
        min-height: auto;
    }

    .hero-badge {
        padding: 8px 14px;
        font-size: 11px;
        border-radius: 20px;
        margin-top: 30px;
    }

    .hero-badge i {
        font-size: 11px;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 1.25;
        letter-spacing: -0.5px;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 1.6;
        font-weight: normal !important;
    }

    .hero-buttons {
        gap: 12px;
        margin-top: 24px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 10px;
        min-height: 48px;
    }

    .hero-trust {
        gap: 10px;
        align-items: center;
        margin-top: 20px;
    }

    .hero-trust span {
        font-size: 12px;
        gap: 8px;
    }

    .hero-trust i {
        font-size: 11px;
        color: var(--primary-blue);
    }

    .stats {
        padding: 32px 0;
    }

    .stats-card {
        padding: 20px;
        gap: 16px;
        border-radius: 16px;
    }

    .stat-item {
        flex: 1 1 100%;
        min-width: 100%;
        padding: 8px 0;
    }

    .stat-item:not(:last-child) {
        border-bottom: 1px solid var(--border-color);
    }

    .stat-number {
        font-size: 24px;
        font-weight: 700;
    }

    .stat-label {
        font-size: 12px;
        color: var(--text-gray);
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon img {
        width: 28px;
        height: 28px;
    }

    .features {
        padding: 48px 0;
    }

    .section-header h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .section-header .section-tag {
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 16px;
    }

    .feature-card {
        padding: 20px;
        border-radius: 12px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin-bottom: 12px;
        border-radius: 12px;
    }

    .feature-card h3 {
        font-size: 15px;
        margin-bottom: 6px;
        font-weight: 600;
    }

    .feature-card p {
        font-size: 13px;
        line-height: 1.5;
        color: var(--text-gray);
    }

    .platform {
        padding: 48px 0;
    }

    .dashboard {
        padding: 48px 0;
    }

    .pricing {
        padding: 48px 0;
    }

    .pricing-card {
        padding: 24px;
        border-radius: 16px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .pricing-card .price {
        font-size: 32px;
        font-weight: 700;
    }

    .pricing-card .price span {
        font-size: 13px;
        font-weight: 400;
    }

    .pricing-card .btn {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 10px;
        min-height: 44px;
    }

    .pricing-card ul {
        gap: 12px;
    }

    .pricing-card ul li {
        font-size: 13px;
    }

    .cta {
        padding: 48px 0;
    }

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

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

    .cta-form .form-group {
        margin-bottom: 16px;
    }

    .cta-form .form-control {
        padding: 14px 16px;
        font-size: 14px;
        border-radius: 10px;
        min-height: 48px;
    }

    .cta-form textarea.form-control {
        min-height: 100px;
    }

    .cta-form .btn {
        padding: 14px 28px;
        font-size: 14px;
        border-radius: 10px;
        min-height: 48px;
    }

    .testimonial-nav-btn {
        position: absolute;
        bottom: -70px;
    }
}

/* Extra Small Devices (up to 374px) */
@media (max-width: 374px) {
    .hero-text h1 {
        font-size: 22px;
    }

    .hero-text p {
        font-size: 12px;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 13px;
    }

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

    .section-header h2 {
        font-size: 20px;
    }

    .cta-text h2 {
        font-size: 20px;
    }

    .pricing-card .price {
        font-size: 24px;
    }

    .testimonial-nav-btn {
        position: absolute;
        bottom: -70px;
    }
}

/* Mobile */
@media (max-width: 1199.98px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    main,
    section,
    .container,
    .container-fluid,
    .row {
        max-width: 100%;
    }

    .row>* {
        min-width: 0;
    }

    img,
    svg,
    video {
        max-width: 100%;
    }

    .hero-bg {
        -webkit-mask-image: none;
        mask-image: none;
        background-size: cover;
    }

    .hero .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-content {
        --bs-gutter-x: 0;
    }

    .hero-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-badge {
        display: flex !important;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .hero-buttons {
        align-items: center;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-trust {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-trust span {
        min-width: 0;
        max-width: 100%;
    }

    /* Mobile menu — solid white background, no blue tint on the open dropdown */
    .header .navbar-collapse {
        display: block;
    }

    .header .mobile-menu {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition:
            max-height 0.18s ease,
            opacity 0.12s ease,
            padding 0.18s ease,
            margin 0.18s ease;
    }

    .menu-toggle-input:checked~.mobile-menu {
        max-height: 500px;
        background: #ffffff;
        border-radius: 14px;
        padding: 0.75rem;
        margin-top: 0.75rem;
        opacity: 1;
        visibility: visible;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    }

    .header .mobile-menu .mobile-menu-nav {
        gap: 0.2rem;
        text-align: left;
        margin-bottom: 0.75rem !important;
    }

    .header .mobile-menu .mobile-menu-nav .nav-link {
        position: relative;
        padding: 0.65rem 0.85rem 0.65rem 1.1rem;
        color: #0f172a;
        border-radius: 0.55rem;
        font-weight: 500;
        transition:
            color 0.15s ease,
            background-color 0.15s ease;
    }

    .header .mobile-menu .mobile-menu-nav .nav-link::before {
        content: "";
        position: absolute;
        left: 0.45rem;
        top: 50%;
        width: 3px;
        height: 0;
        border-radius: 3px;
        background: var(--primary-blue);
        transform: translateY(-50%);
        transition: height 0.15s ease;
    }

    .header .mobile-menu .mobile-menu-nav .nav-link:hover,
    .header .mobile-menu .mobile-menu-nav .nav-link:focus-visible {
        color: var(--primary-blue);
        background-color: #eef5ff;
    }

    .header .mobile-menu .mobile-menu-nav .nav-link:hover::before,
    .header .mobile-menu .mobile-menu-nav .nav-link:focus-visible::before {
        height: 1.1rem;
    }

    .header .mobile-menu>.mobile-menu-actions {
        width: 100%;
        padding-top: 0.75rem;
        border-top: 1px solid #edf1f7;
        gap: 0.6rem !important;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header .mobile-menu>.mobile-menu-actions>.mt-2 {
        width: 100%;
        margin-top: 0 !important;
        display: flex;
        gap: 0.6rem;
    }

    .header .mobile-menu .header-login-button,
    .header .mobile-menu .header-start-free-trial {
        flex: 1 1 0;
        width: auto;
        min-height: 44px;
    }

    .header .mobile-menu .dropdown {
        width: 100%;
    }

    .header .mobile-menu .dropdown>button {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 1200px) {

    .menu-toggle-input,
    .header .navbar-toggler {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .hero-text h1 {
        font-size: 68px;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-badge {
        font-size: 14px;
        width: fit-content;
    }
}

/* Small Mobile */
@media (max-width: 479px) {
    .hero-text h1 {
        font-size: 2.4rem;
    }

    .section-header h2,
    .platform-text h2,
    .dashboard-text h2,
    .testimonial-header h2 {
        font-size: 28px;
    }

    .cta-text h2 {
        font-size: 22px;
    }

    .dashboard-list {
        text-align: center !important;
    }

    .dashboard-list li {
        margin-bottom: 5px;
        font-size: 14px;
        font-weight: normal;
    }
}

@media (min-width: 479px) and (max-width: 768px) {

    .section-header h2,
    .platform-text h2,
    .dashboard-text h2,
    .testimonial-header h2 {
        font-size: 32px;
    }

    .platform-text {
        text-align: center;
    }

    .dashboard-list {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/* ======================================================
   Hero Orbital Layout (replaces .hero-image-wrapper)
   ====================================================== */

.hero-orbit {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 5 / 4;
    margin: 0 auto;
}

.hero-orbit-lines {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
}

.hero-orbit-lines img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-orbit-center {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 500px;
    z-index: 2;
    pointer-events: none;
}

.hero-orbit-center img {
    position: absolute;
    left: 50%;
    top: 50%;
}

.hero-orbit-x {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(74, 124, 255, 0.3));
    animation: hubPulse 4.5s ease-in-out infinite;
}

/* Satellite node link (positioned) + round node bubble (styled) */
.orbit-node-link {
    position: absolute;
    width: 78px;
    height: 78px;
    z-index: 3;
    transform: translate(-50%, -50%);
    text-decoration: none;
    display: block;
    animation: satelliteFloat 5.5s ease-in-out infinite;
    will-change: transform;
}

.orbit-node {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.orbit-node img {
    width: 135px;
    /* height: 210px; */
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

/* Hover: lift the node, glow stronger, image grows slightly */
.orbit-node-link:hover .orbit-node,
.orbit-node-link:focus-visible .orbit-node {
    transform: translateY(-2px) scale(1.08);
}

.orbit-node-link:hover .orbit-node img,
.orbit-node-link:focus-visible .orbit-node img {
    transform: scale(1.06);
}

/* Per-position placement (180° elliptical arc) + per-position animation delay */
.orbit-pos-1 {
    top: 80%;
    left: 3%;
    animation-delay: 0s;
}

.orbit-pos-2 {
    top: 45.7%;
    left: 2.3%;
    animation-delay: -0.8s;
}

.orbit-pos-3 {
    top: 12%;
    left: 18%;
    animation-delay: -1.6s;
}

.orbit-pos-4 {
    top: 0%;
    left: 48%;
    animation-delay: -2.4s;
}

.orbit-pos-5 {
    top: 10%;
    left: 77%;
    animation-delay: -3.2s;
}

.orbit-pos-6 {
    top: 44%;
    left: 90%;
    animation-delay: -4s;
}

.orbit-pos-7 {
    top: 75.7%;
    left: 92.7%;
    animation-delay: -4.8s;
}

@keyframes satelliteFloat {

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

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

@keyframes hubPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 18px 40px rgba(74, 124, 255, 0.3));
    }

    50% {
        transform: translate(-50%, -50%) scale(1.04);
        filter: drop-shadow(0 22px 55px rgba(74, 124, 255, 0.45));
    }
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {

    .orbit-node-link,
    .hero-orbit-x {
        animation: none !important;
    }

    .orbit-node-link:hover .orbit-node,
    .orbit-node-link:focus-visible .orbit-node {
        transform: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        border-color: #808080;
        background: white;
    }

    .package-card:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }
}

/* Selection styles for Features Card */
.feature-card {
    cursor: pointer;
    border: 2px solid transparent;
}

.bgColor {
    background: #0155e9 !important;
}

.feature-card.is-selected {
    border-color: #0155e9 !important;
    background: #f0f7ff !important;
    box-shadow: 0 5px 10px #0155e9;
}

/* Target the checkmark inside original card markup */
.feature-card .feature-check {
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.feature-card.is-selected .feature-check {
    opacity: 1 !important;
}

/* Style for the action bar (appears below the feature cards) */
.action-bar-wrap {
    display: flex;
    justify-content: center;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transition:
        max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease,
        margin 0.4s ease;
    margin: 0;
}

.action-bar-wrap.active-bar {
    max-height: 120px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: 2rem;
}

.action-floating-bar {
    background: #f0f7ff;
    color: #0f172a;
    padding: 0.6rem 0.6rem;
    border-radius: 12px;
    border: 2px solid #0155e9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem 0.25rem;
}

.action-selected-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    padding: 0.35rem 0.7rem;
    background: rgb(0 164 255 / 24%);
    border-radius: 999px;
}

.action-selected-num {
    background: #0155e9;
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    min-width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

#proceedBtn {
    background: #0155e9;
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

#proceedBtn:hover {
    background: #0146c4;
    transform: translateY(-1px);
}

#resetBtn {
    color: #64748b;
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s ease;
}

#resetBtn:hover {
    color: #0f172a;
}

@media (max-width: 767.98px) {
    .features>.container {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    #featuresForm {
        width: 100%;
    }

    #featuresForm>.row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #featuresForm>.row>[class*="col-"] {
        display: flex;
    }

    #featuresForm .feature-card {
        width: 100%;
        height: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .features>.container {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #featuresForm {
        width: 100%;
    }

    #featuresForm>.row {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 1.5rem;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    #featuresForm>.row>[class*="col-"] {
        display: flex;
    }

    #featuresForm .feature-card {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 1199.98px) {
    #selectionFloatingBar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
    }

    #selectionFloatingBar.active-bar {
        max-height: 120px;
        margin: 0;
    }

    #selectionFloatingBar .action-floating-bar {
        width: 100%;
        max-width: 34rem;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {

    #platform,
    #platform>.container-fluid,
    #platform .row,
    #platform .row>[class*="col-"] {
        width: 100%;
        max-width: 100%;
    }

    #platform>.container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    #platform .row {
        margin-left: 0;
        margin-right: 0;
    }

    #platform .platform-text,
    #platform .platform-image,
    #platform .platform-illustration {
        width: 100%;
    }

    #platform .platform-text {
        text-align: center;
    }

    #platform .platform-text>span {
        display: block !important;
    }

    #platform .platform-text p {
        width: 100% !important;
    }

    #platform .platform-illustration img {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {

    #platform .platform-text,
    #platform .platform-image,
    #platform .platform-illustration {
        width: 100%;
        min-width: 0;
    }

    #platform .platform-text {
        padding-left: 1rem;
        padding-right: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    #platform .platform-text p {
        width: 100% !important;
        max-width: 560px;
    }

    #platform .platform-illustration img {
        width: 100%;
        max-width: 520px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1199.98px) {

    .dashboard,
    .dashboard>.container-fluid,
    .dashboard .row,
    .dashboard .row>[class*="col-"] {
        width: 100%;
        max-width: 100%;
    }

    .dashboard>.container-fluid {
        padding-left: 0;
        padding-right: 0;
    }

    .dashboard .row {
        margin-left: 0;
        margin-right: 0;
    }

    .dashboard .dashboard-image,
    .dashboard .dashboard-illustration,
    .dashboard .dashboard-text {
        width: 100%;
        min-width: 0;
    }

    .dashboard .dashboard-image {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .dashboard .dashboard-text {
        text-align: center;
    }

    .dashboard .dashboard-text h2,
    .dashboard .dashboard-text p,
    .dashboard .dashboard-list {
        margin-left: auto;
        margin-right: auto;
    }

    .dashboard .dashboard-list {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .dashboard .explore-link {
        justify-content: center;
    }

    .dashboard .dashboard-main-img {
        display: block;
        width: 100%;
        height: auto;
    }
}

/* ipad  */
@media (min-width: 768px) and (max-width: 1024px) {
    .footer-content > div:nth-child(1) {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }

    .footer-content > div:nth-child(2) {
        flex: 0 0 66.666% !important;
        max-width: 66.666% !important;
    }

    .footer-content > div:nth-child(3) {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile-only accordion styles */
@media (max-width: 767.98px) {
    .footer-link-groups {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100%;
    }

    .footer-accordion-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-accordion-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 0;
        margin: 0;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
        color: white;
        text-align: left;
    }

    .footer-accordion-header:focus {
        outline: none;
    }

    .footer-accordion-icon {
        font-size: 12px;
        color: #e9e9e9;
        transition: transform 0.7s ease;
    }

    .footer-accordion-header[aria-expanded="true"] .footer-accordion-icon {
        transform: rotate(180deg);
    }

    .footer-accordion-body {
        max-height: 0;
        overflow: hidden;
        transition:
            max-height 0.3s ease,
            padding 0.3s ease;
        padding: 0;
    }

    .footer-accordion-body.show {
        max-height: 300px;
        padding-bottom: 14px;
    }

    .footer-accordion-body .d-flex {
        gap: 10px !important;
    }

    .footer-accordion-body a {
        font-size: 14px;
        color: #e9e9e9;
        text-decoration: none;
        padding: 4px 0;
        display: block;
    }

    .footer-accordion-body a:hover {
        color: #fff;
    }
}

/* Desktop/iPad: show expanded by default */
@media (min-width: 768px) {
    .footer-accordion-body {
        max-height: none !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    .footer-accordion-item {
        border-bottom: none;
    }

    .footer-accordion-header {
        padding: 0;
        margin: 0 0 12px 0;
        background: transparent;
        border: none;
        outline: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        pointer-events: none;
        font-family: inherit;
        font-size: 15px;
        font-weight: 600;
        color: white;
        line-height: 1.5;
    }

    .footer-accordion-icon {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .footer-accordion-body.collapse {
        display: block;
    }
}

/* Mobile & iPad: Consistent horizontal spacing */
@media (max-width: 1024px) {

    main>section,
    main>.hero,
    main>.stats,
    main>.features,
    main>.platform,
    main>.dashboard,
    main>.pricing,
    main>.testimonials,
    main>.trusted-by {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    main>section>.container-fluid,
    main>.hero>.container-fluid,
    main>.stats>.container,
    main>.features>.container,
    main>.platform>.container-fluid,
    main>.dashboard>.container-fluid,
    main>.pricing>.container-fluid,
    main>.testimonials>.container-fluid,
    main>.trusted-by>.container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    main>section,
    main>.hero,
    main>.stats,
    main>.features,
    main>.platform,
    main>.dashboard,
    main>.pricing,
    main>.testimonials,
    main>.trusted-by {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}

/* iPad: testimonial stacked layout improvements */
@media (min-width: 768px) and (max-width: 1024px) {
    .w-md-custom {
        width: 100% !important;
        text-align: center;
        z-index: 10;
    }

    .testimonials .d-flex.justify-content-between {
        justify-content: center !important;
    }

    .testimonials .rounded-4 {
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .newsletter-section {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}