:root {
    --primary: #7EA449;
    --primary-light: #93CB43;
    --secondary: #242E64;
    --dark: #0a0b10;
    --dark-grey: #1a1c23;
    --light: #ffffff;
    --grey: #f8f9fa;
    --text-dark: #111111;
    --text-light: #666666;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font: 'Outfit', sans-serif;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background 0.3s ease;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    filter: invert(1) hue-rotate(180deg) brightness(2);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.width-100 {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(126, 164, 73, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff !important;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-color: var(--dark);
    background-image: url('chatbot_hero_background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: #fff;
    padding: 120px 0 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(10, 11, 16, 0.4) 0%, rgba(10, 11, 16, 0.95) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    text-align: left;
    margin: 0;
}

.badge {
    background: rgba(126, 164, 73, 0.15);
    color: var(--primary-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 2rem;
    border: 1px solid rgba(126, 164, 73, 0.3);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

/* Hero Form Card */
.hero-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.hero-form-card {
    background: rgba(26, 28, 35, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 420px;
}

.hero-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.hero-form-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-group select option {
    background: var(--dark-grey);
    color: #fff;
}

.form-footer {
    text-align: center;
    font-size: 0.8rem !important;
    margin-top: 1.5rem;
    opacity: 0.5;
}

/* Trust Section / Logo Slider */
.trust {
    padding: 6rem 0;
    text-align: center;
}

.trust p {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

.logo-slider {
    overflow: hidden;
    padding: 2rem 0;
    background: white;
    position: relative;
}

.logo-slider::before,
.logo-slider::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.logo-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.logo-slider::before {
    left: 0;
    top: 0;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    align-items: center;
}

.logo-track img {
    height: 50px;
    width: auto;
    margin: 0 40px;
    filter: grayscale(1);
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-track img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Features */
.features {
    padding: 8rem 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 3rem 2rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
}

/* About Us Section */
.about {
    padding: 10rem 0;
    background-color: #fff;
    color: var(--secondary);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: flex-start;
}

.section-tagline {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 2rem;
    line-height: 1.4;
}

.about-main-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-expertise {
    background: var(--dark-grey);
    padding: 4rem;
    border-radius: 40px;
    color: #fff;
    position: relative;
    box-shadow: 0 40px 100px rgba(36, 46, 100, 0.15);
}

.expertise-card {
    margin-bottom: 3rem;
}

.expertise-stats {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.expertise-card p {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expertise-info p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-content h2 {
        font-size: 2.8rem;
    }
}

/* Industries Section */
.industries {
    padding: 8rem 0;
    background: #fdfdfd;
}

.industries-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.industries-carousel {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 1rem;
    width: 100%;
}

.industry-item {
    flex: 0 0 calc(25% - 1.5rem);
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(126, 164, 73, 0.3);
}

.carousel-btn:hover {
    background: var(--secondary);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

@media (max-width: 1024px) {
    .industry-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .industry-item {
        flex: 0 0 100%;
    }
}

.industry-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(126, 164, 73, 0.1);
}

.image-plate {
    background: #fff;
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 0 20px rgba(126, 164, 73, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.industry-img {
    width: 200px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.industry-item:hover .image-plate {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(126, 164, 73, 0.15);
}

.industry-item:hover .industry-img {
    transform: scale(1.1);
}

.industry-item h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 600;
}

/* Solutions Showcase */
.solutions-showcase {
    padding: 8rem 0;
    background-color: #fff;
    color: var(--secondary);
    overflow: hidden;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-image {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-orb {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse 4s infinite alternate;
    position: absolute;
}

.floating-robot {
    width: 500px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
    border-radius: 30px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(2deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}


.showcase-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.text-green {
    color: var(--primary-light);
}

.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-list li::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: bold;
}

/* CTA */
.cta-section {
    padding: 8rem 0;
}

.cta-card {
    background: var(--secondary);
    padding: 5rem;
    border-radius: 40px;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, var(--secondary) 0%, #151b3a 100%);
    position: relative;
    overflow: hidden;
}

.cta-card h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-form {
    display: flex;
    max-width: 600px;
    margin: 3rem auto 0;
    gap: 1rem;
}

.cta-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #050608;
    color: #fff;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: invert(1) hue-rotate(180deg) brightness(2);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-line {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* ICP Section */
.icp {
    padding: 8rem 0;
    background: var(--grey);
}

.icp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.icp-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid #eee;
    transition: all 0.4s ease;
}

.icp-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.icp-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.icp-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.icp-label:first-child {
    margin-top: 0;
}

/* Use-Cases Section */
.use-cases {
    padding: 8rem 0;
    background: #fff;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.use-case-card {
    padding: 3rem 2rem;
    border-radius: 24px;
    background: #fdfdfd;
    border: 1px solid #eee;
    position: relative;
    transition: all 0.4s ease;
}

.use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(126, 164, 73, 0.08);
    border-color: var(--primary-light);
}

.use-case-tag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(126, 164, 73, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.use-case-card h3 {
    margin-bottom: 2rem;
    font-size: 1.4rem;
    max-width: 80%;
}

.use-case-flow {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.flow-step {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.flow-step span {
    display: block;
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    background: var(--grey);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-light), transparent);
    z-index: 1;
    opacity: 0.3;
}

.process-step {
    position: relative;
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    z-index: 2;
}

.process-step:hover {
    transform: scale(1.02);
    border-color: var(--primary-light);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(126, 164, 73, 0.15);
    line-height: 0.8;
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.step-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-container,
    .footer-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }
}

/* FAQ Section */
.faq {
    padding: 8rem 0;
    background: #fff;
}

.faq-container {
    margin: 0 auto;
}

.faq-item {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.faq-item.active {
    box-shadow: 0 15px 35px rgba(126, 164, 73, 0.15);
    border-color: var(--primary-light);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-light);
    transition: all 0.3s ease;
}

.social-icon:hover svg {
    fill: var(--primary);
    transform: translateY(-5px);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.7rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(126, 164, 73, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 40px rgba(126, 164, 73, 0.5);
    color: #fff !important;
}

.floating-cta svg {
    transition: transform 0.3s ease;
}

.floating-cta:hover svg {
    transform: translateX(5px);
}

@media (max-width: 600px) {
    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 10rem 0;
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    margin-top: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--grey);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.info-icon {
    font-size: 2rem;
}

.info-text h4 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-light);
}

.contact-form-container {
    background: var(--secondary);
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(36, 46, 100, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form-container .btn-primary {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Success Message Overlay */
.success-message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 16, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.4s ease;
}

.success-card {
    background: #fff;
    padding: 3rem;
    border-radius: 32px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.success-card h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.success-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.success-card button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-card button:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Case Studies Section */
.case-studies {
    padding: 8rem 0;
    background: #fdfdfd;
}

.case-studies-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.case-studies-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 3rem;
    padding: 2rem 0.5rem;
    /* Padding for shadow clearance */
    width: 100%;
    scrollbar-width: none;
    /* Firefox */
}

.case-studies-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.case-study-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 2rem);
    /* 3 cards visible */
    min-width: 300px;
    /* Minimum width for smaller screens */
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.case-study-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-study-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.case-study-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.case-study-content h3 a:hover {
    color: var(--primary);
}

.case-study-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.case-study-link:hover {
    gap: 0.8rem;
    color: var(--dark);
}

@media (max-width: 1024px) {
    .case-study-card {
        flex: 0 0 calc(50% - 1.5rem);
        /* 2 cards on tablet */
    }
}

@media (max-width: 768px) {
    .case-study-card {
        flex: 0 0 calc(100% - 1rem);
        /* 1 card on mobile */
    }
}