html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #F0F2F5;
    color: #1A1A1A;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Wavy Background Pattern simulating Zoho's background */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-radial-gradient(circle at top center,
            transparent,
            transparent 40px,
            rgba(0, 0, 0, 0.05) 40px,
            rgba(0, 0, 0, 0.05) 41px);
    z-index: -1;
    opacity: 1;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.5px;
}

.logo span {
    color: #E60000;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    margin-left: 30px;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.6s;
}

.nav-links a:hover {
    color: #E60000;
}

.nav-links .login-btn {
    padding: 8px 20px;
    border: 1px solid #E60000;
    border-radius: 4px;
    color: #E60000;
}

.nav-links .login-btn:hover {
    background-color: #E60000;
    color: white;
}

/* Hero Section */
.hero {
    background-color: var(--dark-green);
    color: #fff;
    text-align: center;
    padding: 60px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* overflow-x: hidden; */
}

.hero-badge {
    background-color: #fef0f0;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #fddada;
}

.badge-icon {
    background-color: #E60000;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #111;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero p {
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 1000px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.btn-primary {
    background-color: #E60000;
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.6s, transform 0.5s;
    border: 1px solid #E60000;
}

.btn-primary:hover {
    background-color: #cc0000;
    border-color: #cc0000;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #111;
    text-decoration: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #333;
    transition: background-color 0.6s, border-color 0.6s;
}

.btn-secondary:hover {
    background-color: #f4f4f4;
    border-color: #111;
}

.hero-image-container {
    width: 100%;
    max-width: 100%;
    /* Utilize the full screen width */
    margin-bottom: -150px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-col {
    display: flex;
    flex-direction: column;
    gap: 5vw;
    /* Responsive gap that scales with zoom and screen width */
    width: 18%;
    /* Removed min-width so the layout can zoom in and out perfectly */
}

.left-col {
    margin-right: -4%;
    /* Tuck under the main image symmetrically */
}

.right-col {
    margin-left: -4%;
    /* Tuck under the main image symmetrically */
}

.main-dashboard-img {
    width: 70%;
    max-width: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Soft linear shadow */
    position: relative;
    z-index: 10;
}

.floating-img {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Soft linear shadow */
    width: 100%;
    position: relative;
    z-index: 5;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-img:hover {
    transform: scale(1.05) translateY(-10px);
    /* Pop up effect */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    /* Stronger shadow on hover */
    z-index: 20;
    /* Pop above dashboard */
}

/* Section Styles */
.feature-section {
    padding: 80px 50px;
    background-color: #fff;
}

.feature-section.light-section {
    background-color: #fff;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* Banner Section */
.banner-section {
    background-color: #1A1A1A;
    /* Dark gray matching original text color */
    padding: 60px 50px;
    color: #fff;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.banner-content {
    flex: 1;
    max-width: 500px;
}

.banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
}

.banner-btn {
    background-color: #E60000;
    color: #fff;
    border: none;
}

.banner-btn:hover {
    background-color: #cc0000;
    border: none;
}

.banner-features {
    flex: 1;
}

.banner-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.banner-features li {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.banner-features .check {
    color: #E60000;
    font-size: 14px;
}

/* Feature Categories */
.main-feature-category {
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-feature-category::before,
.main-feature-category::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #eaeaea;
}

.category-badge {
    padding: 10px 30px;
    background-color: rgba(230, 0, 0, 0.08);
    color: #E60000;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin: 0 24px;
}

/* Feature Rows Section */
.feature-rows-section {
    background-color: #fff;
    padding: 100px 50px;
    color: #111;
}

.feature-row {
    max-width: 1500px;
    margin: 0 auto 100px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row.compact {
    max-width: 1250px;
    gap: 70px;
    margin-bottom: 90px;
}

.feature-row.compact .feature-row-img {
    flex: 1.3;
}

.feature-row-text {
    flex: 1;
}

.feature-row-text h3 {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 24px;
    line-height: 1.2;
}

.feature-row-text p {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
}

.feature-row-img {
    flex: 2.2;
}

.feature-row-img img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Thin linear border */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    /* Little darker linear shadow */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

/* Wide Card */
.wide-card {
    max-width: 1600px;
    margin: 0 auto;
    background-color: #f8fbfa;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 30px 80px 80px;
    border: 1px solid #eef5f2;
}

.wide-card-content {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.wide-card-text {
    flex: 0 0 30%;
    /* fixed width — won't change when images swap */
    min-width: 350px;
    height: 410px;
    /* Hard lock the height to prevent the card from expanding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.wide-card-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.15;
}

.wide-card-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
}

.wide-card-text .link-text {
    color: #E60000;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.wide-card-text .link-text:hover {
    transform: translateX(5px);
}

.wide-card-img {
    flex: 1 1 0%;
    /* takes remaining space */
    min-width: 0;
    /* prevent flex overflow */
}

.wide-card-img img {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}

/* Adjust knowledge base carousel image specifically */
.wide-card-img .carousel-viewport {
    aspect-ratio: 1 / 1;
    width: 100%;
}

.wide-card-img .carousel-track>img {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: left top !important;
}

.wide-card-img .carousel-container {
    transform: translateY(-50px);
    /* Pull the image further upwards */
}

/* Remove 3D Stacking "Sneak Peek" for Knowledge Base */
.wide-card-img .carousel-track>img.slide-prev,
.wide-card-img .carousel-track>img.slide-next {
    opacity: 0;
    transform: translateX(0) scale(0.9) translateZ(-100px);
    z-index: 1;
    pointer-events: none;
}

/* Exact Layout Styles */
.section-padding {
    padding: 80px 50px;
}

/* Brands Section */
.brands-section {
    text-align: center;
    background-color: #f9f9f9;
    padding-top: 200px;
    /* Push brands down so they clear the overlapping images */
}

.brands-section p {
    color: #666;
    margin-bottom: 30px;
}

.brands-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

/* Fading edges for a premium effect */
.brands-slider::before,
.brands-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.brands-slider::before {
    left: 0;
    background: linear-gradient(to right, #f9f9f9 0%, transparent 100%);
}

.brands-slider::after {
    right: 0;
    background: linear-gradient(to left, #f9f9f9 0%, transparent 100%);
}

.brands-track {
    display: flex;
    width: max-content;
    animation: scrollBrands 30s linear infinite;
}

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

.brands-set {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
    /* Equal gap between the sets */
}

.brand-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-img:hover {
    transform: scale(1.05);
}

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

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

/* Masonry Grid */
.masonry-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.masonry-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.masonry-card {
    background-color: #fcfcfc;
    border: 1px solid #eaeaea;
    border-radius: 24px;
    padding: 50px 50px 0 50px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
    /* Take up natural height instead of forced min-heights */
}

.masonry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.card-text {
    margin-bottom: 40px;
}

.card-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}

.card-text p {
    color: #555;
    line-height: 1.6;
    font-size: 17px;
}

.card-img {
    flex: 1;
    display: flex;
    align-items: flex-end;
    /* Anchor images to the bottom */
    justify-content: center;
    margin: 0 -50px 0 -50px;
    /* Full bleed to touch the sides and bottom */
}

.card-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: none;
}

/* Updates to dark grid */
.card-narrow-img img {
    max-width: 100%;
}

.card-wide-img img {
    max-width: 100%;
}

/* Knowledge Base Carousel — clean 2D slider, big image, right-aligned */
.overflow-img .carousel-container {
    padding: 0;
    width: 100%;
    margin-bottom: -50px;
    /* bleed off the card bottom */
}

.overflow-img .carousel-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px 0 0 16px;
    /* round left corners only — flush right */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    perspective: none;
}

.overflow-img .carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.overflow-img .carousel-track>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: top left;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* 2D horizontal slide overrides */
.overflow-img .carousel-track>img.slide-active {
    transform: translateX(0);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.overflow-img .carousel-track>img.slide-prev {
    transform: translateX(-100%);
    opacity: 1;
    z-index: 2;
}

.overflow-img .carousel-track>img.slide-next {
    transform: translateX(100%);
    opacity: 1;
    z-index: 2;
}

.overflow-img .carousel-track>img.slide-hidden {
    transform: translateX(100%);
    opacity: 0;
    z-index: 1;
}

/* Nav buttons inside the viewport */
.overflow-img .carousel-nav {
    z-index: 10;
}

.app-badges {
    display: flex;
    gap: 15px;
}

/* Icon Grid */
.icon-grid-section {
    background-color: #fff;
}

.icon-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.icon-item .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 16px;
    background-color: #fef0f0;
    color: #E60000;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.icon-item .icon svg {
    width: 32px;
    height: 32px;
}

.icon-item:hover .icon {
    transform: translateY(-5px);
    background-color: #E60000;
    color: #fff;
    box-shadow: 0 10px 20px rgba(230, 0, 0, 0.2);
}

.icon-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Testimonial */
.testimonial-section {
    background-color: #111;
    color: #fff;
    text-align: center;
}

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

.testimonial-card h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.testimonial-card p {
    font-size: 24px;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 30px;
}

.testimonial-card .author {
    color: #E60000;
    font-weight: 600;
}

/* Integration */
.integration-section {
    background-color: #f9f9f9;
}

.integration-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
}

/* Pricing */
.pricing-section {
    background-color: #fff;
}

.pricing-grid {
    max-width: 1100px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    border: 1px solid #eaeaea;
    border-radius: 24px;
    padding: 15px 20px;
    text-align: left;
    position: relative;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.pricing-card.popular {
    background-color: #111;
    color: #fff;
    border: 1px solid #333;
    padding: 25px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.pricing-card.popular:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #E60000, #ff4d4d);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.pricing-card.popular .pricing-desc {
    color: #aaa;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-card .price .currency {
    font-size: 20px;
    font-weight: 600;
}

.pricing-card .price .term {
    font-size: 16px;
    color: #888;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.pricing-features li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-card.popular .pricing-features li {
    color: #ddd;
}

.pricing-features .check {
    color: #E60000;
    font-weight: bold;
}

.pricing-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    border-radius: 12px;
    display: block;
}

/* Assistance CTA */
.assistance-section {
    background-color: #fff;
}

.assistance-cta-card {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #111, #222);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.assistance-cta-card h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.assistance-cta-card p {
    font-size: 20px;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Security */
.security-section {
    background-color: #f8fbfa;
    text-align: center;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.badge-card {
    background: #fff;
    border: 1px solid #eef5f2;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    min-width: 200px;
}

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

.badge-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.badge-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

/* FAQ */
.faq-section {
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #eaeaea;
    margin-bottom: 16px;
    border-radius: 16px;
    cursor: pointer;
    transition: box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-color: #ddd;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.faq-icon {
    font-size: 24px;
    color: #E60000;
    font-weight: 300;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item:hover .faq-icon {
    transform: scale(1.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1), padding 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0 30px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 24px 30px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: #111;
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #fff;
    padding: 80px 50px 30px 50px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col p {
    color: #aaa;
    line-height: 1.6;
}

.footer-col a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 15px;
    transition: color 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-col a:hover {
    color: #E60000;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .feature-row,
    .feature-row.compact {
        gap: 40px;
    }

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

    .wide-card {
        padding: 40px;
    }

    .pricing-grid {
        gap: 20px;
    }

    .pricing-card {
        padding: 40px 20px;
    }

    .pricing-card.popular {
        padding: 50px 20px;
    }
}

@media (max-width: 768px) {
    .side-col {
        display: none;
    }

    .main-dashboard-img {
        width: 100%;
    }

    .hero-image-container {
        margin-bottom: -40px;
    }

    .feature-row,
    .feature-row.reverse,
    .feature-row.compact {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .banner-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .wide-card-content {
        flex-direction: column;
        text-align: center;
    }

    .form-split-section {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .form-split-text {
        padding-right: 0;
    }

    .benefit-list li {
        justify-content: center;
    }

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

    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .navbar {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-links a {
        margin-left: 0;
    }

    .section-header h2 {
        font-size: 30px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-features ul {
        grid-template-columns: 1fr;
    }

    .wide-card {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .icon-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Page Styles */
.form-page-main {
    margin-top: -40px;
    min-height: calc(100vh - 160px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 50px;
}

.form-split-section {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    gap: 60px;
}

.form-split-text {
    flex: 1;
    padding-right: 40px;
}

.form-split-text h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 30px;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-list .check {
    color: #E60000;
    font-weight: bold;
    font-size: 20px;
}

.form-container {
    flex: 1;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 600px;
    border: 1px solid #eaeaea;
}

.form-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
    text-align: center;
}

.form-container p {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    /* removed margin-bottom since gap handles it */
}

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

.form-group label::after {
    content: " *";
    color: #E60000;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.6s, box-shadow 0.6s;
    background-color: #fff;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #E60000;
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #E60000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.6s, transform 0.5s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #cc0000;
    transform: translateY(-1px);
}

/* Professional Sliding Carousel */
.carousel-container {
    width: 100%;
    position: relative;
    padding: 20px 0;
    /* Add padding to prevent shadow clipping */
}

.carousel-viewport {
    width: 100%;
    perspective: 1200px;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base state for all images */
.carousel-track>img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 92%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.8s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    border: none;
}

/* 3D Stacking Classes */
.carousel-track>img.slide-active {
    opacity: 1;
    transform: translateX(0) scale(1) translateZ(0);
    z-index: 3;
    pointer-events: auto;
}

.carousel-track>img.slide-prev {
    opacity: 0.3;
    transform: translateX(-12%) scale(0.82) translateZ(-120px) rotateY(12deg);
    z-index: 2;
}

.carousel-track>img.slide-next {
    opacity: 0.3;
    transform: translateX(12%) scale(0.82) translateZ(-120px) rotateY(-12deg);
    z-index: 2;
}

.carousel-track>img.slide-hidden {
    opacity: 0;
    transform: translateX(0) scale(0.5) translateZ(-300px);
    z-index: 1;
}

/* Carousel Dots */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
    background-color: transparent;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.6s, transform 0.6s;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.6s;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dot.active {
    background-color: #E60000;
    transform: scale(1.2);
}

/* Extra Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-viewport {
        border-radius: 8px;
    }

    .carousel-track>img {
        width: 100% !important;
        /* Make images BIG and BOLD */
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }

    .carousel-track>img.slide-prev {
        transform: translateX(-15%) scale(0.9) translateZ(-50px) rotateY(10deg);
        opacity: 0.2;
    }

    .carousel-track>img.slide-next {
        transform: translateX(15%) scale(0.9) translateZ(-50px) rotateY(-10deg);
        opacity: 0.2;
    }

    .feature-row-img {
        width: 100%;
        overflow: hidden;
    }

    .carousel-container {
        padding: 10px 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        margin: 5px 0;
    }

    .carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .carousel-track>img.slide-prev {
        opacity: 0;
    }

    .carousel-track>img.slide-next {
        opacity: 0;
    }
}