:root {
    --saffron: #ff9933;
    --white: #ffffff;
    --green: #138808;
    --primary-font: 'Arial', sans-serif;
}

body {
    font-family: var(--primary-font);
    background: var(--white);
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background: linear-gradient(to right, var(--saffron), var(--white), var(--green));
    padding: 10px;
    text-align: center;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
}

.social-icons a {
    color: #333;
    margin: 0 5px;
    font-size: 1.2em;
    text-decoration: none;
}

.contact-info {
    font-weight: bold;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    height: 500px;
    background: #333; /* Fallback background to prevent white flash */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-text h1 {
    font-size: 2.5em;
}

.btn {
    background: var(--green);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 3;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #717171;
}

.dot:nth-child(3n+1) { background: var(--saffron); }
.dot:nth-child(3n+2) { background: var(--white); border: 1px solid #333; }
.dot:nth-child(3n+3) { background: var(--green); }

.about-section {
    padding: 50px 20px;
    text-align: center;
}

.about-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.about-text {
    flex: 1;
    padding: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
}

.services-section, .technology-section, .products-section, .careers-section, .contact-section {
    padding: 50px 20px;
    text-align: center;
}

.services-grid, .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.service-card, .tech-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover, .tech-card:hover {
    transform: scale(1.05);
}

.service-card i, .tech-card i {
    font-size: 3em;
    color: var(--saffron);
    margin-bottom: 10px;
}

.product-carousel {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    max-width: 1200px;
    margin: auto;
    scroll-snap-type: x mandatory;
}

.product-item {
    flex: 0 0 auto;
    width: calc(100% / 6 - 10px);
    scroll-snap-align: start;
}

.product-item img {
    width: 100%;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .product-item {
        width: calc(100% / 2 - 10px);
    }

    .about-container {
        flex-direction: column;
    }

    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

.contact-section form {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: linear-gradient(to bottom, var(--saffron) 0%, var(--white) 50%, var(--green) 100%);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-section input, .contact-section textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-section button {
    background: var(--green);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
    background: linear-gradient(to right, var(--saffron), var(--white), var(--green));
    padding: 10px;
    text-align: center;
}