:root {
    --primary-color: #f15a29;
    --primary-dark: #d14015;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #ED028F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 2, 143, 0.3);
}

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

.btn-outline:hover {
    background-color: #ED028F;
    border-color: #ED028F;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(237, 2, 143, 0.3);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: #f0f0f0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
}

.nav-link:hover {
    color: #ED028F;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 0;
    /* Remove padding as slider takes full height/width relative to container */
    background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
    overflow: hidden;
    min-height: 600px;
    /* Ensure minimum height */
    display: flex;
    align-items: center;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    /* Make active slide take up space */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
    padding: 80px 20px;
    /* Add padding back here */
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.slide.active .hero-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.slide.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.6s, transform 0.8s ease-out 0.6s;
}

.slide.active .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.hero-visual-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    /* box-shadow: var(--shadow-lg); Removed shadow for cleaner look with 3D images */
    animation: float 6s ease-in-out infinite;
    object-fit: contain;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: var(--radius);
    background-color: var(--white);
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy transition */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(241, 90, 41, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    box-shadow: 0 15px 30px rgba(241, 90, 41, 0.15);
    transform: translateY(-10px);
    border-color: rgba(241, 90, 41, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Industries Section */
.industries {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.industry-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease-in-out;
    cursor: default;
}

.industry-card:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border-top-color: transparent;
}

.industry-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    transition: color 0.3s ease-in-out;
}

.industry-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    display: inline-block;
}

.industry-card:hover h3 {
    color: var(--white);
}

.industry-card p {
    color: var(--text-light);
    transition: color 0.3s ease-in-out;
}

.industry-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Industry Slider */
.industry-slider-container {
    padding: 60px 0 20px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.industry-slider {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.slide-track {
    display: flex;
    width: calc(200px * 14);
    /* 7 icons * 2 sets * width */
    animation: scroll 30s linear infinite;
}

.slide-item {
    width: 200px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-item img {
    width: 100%;
    max-width: 100px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.slide-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

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

    100% {
        transform: translateX(calc(-200px * 7));
        /* Scroll half the track width */
    }
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.project-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: rgba(241, 90, 41, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: var(--white);
}

.project-logo-container {
    padding: 20px 30px 0;
    display: flex;
    justify-content: flex-start;
}

.project-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.project-card:hover .project-logo {
    transform: scale(1.05);
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.project-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* About Us Section */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.about-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Fix Hero Visuals */
.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    z-index: 2;
    /* Ensure active slide is on top */
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    height: 500px;
    /* Reduced height as requested */
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Prevent interaction with hidden slides */
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: all;
}

.testimonial-image {
    max-width: 100%;
    max-height: 70%;
    /* Reduced to allow space for text */
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
    padding: 0 20px;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .stats-grid,
    .features-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Contact Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.form-status-success {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: center;
    position: relative;
    display: inline-block;
}

/* Cracker Blast Animation */
.form-status-success::before,
.form-status-success::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #ff0 0%, #f00 100%);
    opacity: 0;
    pointer-events: none;
}

.form-status-success::before {
    left: -20px;
    animation: blastLeft 0.6s ease-out forwards;
}

.form-status-success::after {
    right: -20px;
    animation: blastRight 0.6s ease-out forwards;
}

@keyframes blastLeft {
    0% {
        transform: translate(0, -50%) scale(0);
        opacity: 1;
        box-shadow: 0 0 0 0 #f00;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(-30px, -50%) scale(2);
        opacity: 0;
        box-shadow: -10px -10px 0 #ff0, -10px 10px 0 #f00, -20px 0 0 #fa0;
    }
}

@keyframes blastRight {
    0% {
        transform: translate(0, -50%) scale(0);
        opacity: 1;
        box-shadow: 0 0 0 0 #f00;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(30px, -50%) scale(2);
        opacity: 0;
        box-shadow: 10px -10px 0 #ff0, 10px 10px 0 #f00, 20px 0 0 #fa0;
    }
}

.form-status-error {
    color: #dc3545;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.modal-content p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}