/* 
   IFT iFusion Website Styles
   Main CSS file for styling the website
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #FF6600;
    --primary-dark: #E65C00;
    --primary-light: #FF8533;
    --secondary-color: #333333;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --light-gray: #F9F9F9;
    --medium-gray: #EEEEEE;
    --dark-gray: #666666;
    --border-color: #DDDDDD;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --section-padding: 80px 0;
    --section-padding-sm: 40px 0;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #FFFFFF;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--light-gray);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    color: var(--light-text);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

/* ===== Header ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 15px 0;
}

#header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--secondary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu li a:hover:after,
.nav-menu li a.active:after {
    width: 100%;
}

.nav-menu li a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
#hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribute space between content and image display */
    min-height: 80vh; /* Adjust as needed */
    padding: var(--section-padding);
    background-color: var(--secondary-color);
    color: var(--light-text);
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 50%;
    z-index: 2;
}

.hero-image-display {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    height: 500px; /* Adjust as needed */
}

.product-img {
    position: absolute;
    width: 400px; /* Increased size */
    height: auto;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.product-img-1 {
    transform: translateX(-80px) translateY(-40px) rotate(-10deg);
    opacity: 0.7;
}

.product-img-2 {
    transform: translateX(0px) translateY(0px) rotate(0deg);
    opacity: 0.8;
    z-index: 4;
}

.product-img-3 {
    transform: translateX(80px) translateY(-40px) rotate(10deg);
    opacity: 0.7;
    z-index: 2;
}

.product-img-4 {
    transform: translateX(0px) translateY(40px) rotate(-5deg);
    opacity: 0.6;
    z-index: 3;
}

/* Hover effects for interactivity */
.hero-image-display:hover .product-img-1 {
    opacity: 0.2;
}

.hero-image-display:hover .product-img-1:hover {
    transform: translateX(-100px) translateY(-50px) rotate(-12deg) scale(1.05);
    opacity: 1;
}

.hero-image-display:hover .product-img-2 {
    opacity: 0.2;
}

.hero-image-display:hover .product-img-2:hover {
    transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.1);
    opacity: 1;
}

.hero-image-display:hover .product-img-3 {
    opacity: 0.2;
}

.hero-image-display:hover .product-img-3:hover {
    transform: translateX(100px) translateY(-50px) rotate(12deg) scale(1.05);
    opacity: 1;
}

.hero-image-display:hover .product-img-4 {
    opacity: 1;
}

.hero-image-display:hover .product-img-4:hover {
    transform: translateX(0px) translateY(50px) rotate(-7deg) scale(1.05);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #hero .container {
        flex-direction: column; /* Stack content and images vertically */
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-image-display {
        max-width: 100%;
        min-height: 350px; /* Adjust height for smaller screens */
    }

    .product-img {
        width: 250px; /* Adjust image size for smaller screens */
    }

    .product-img-1 {
        transform: translateX(-60px) translateY(-30px) rotate(-8deg);
    }

    .product-img-2 {
        transform: translateX(0px) translateY(0px) rotate(0deg);
    }

    .product-img-3 {
        transform: translateX(60px) translateY(-30px) rotate(8deg);
    }

    .product-img-4 {
        transform: translateX(0px) translateY(30px) rotate(-4deg);
    }

    .hero-image-display:hover .product-img-1 {
        transform: translateX(-70px) translateY(-35px) rotate(-10deg) scale(1.05);
    }

    .hero-image-display:hover .product-img-2 {
        transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.1);
    }

    .hero-image-display:hover .product-img-3 {
        transform: translateX(70px) translateY(-35px) rotate(10deg) scale(1.05);
    }

    .hero-image-display:hover .product-img-4 {
        transform: translateX(0px) translateY(35px) rotate(-6deg) scale(1.05);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-image-display {
        min-height: 300px;
    }

    .product-img {
        width: 200px;
    }

    .product-img-1 {
        transform: translateX(-40px) translateY(-20px) rotate(-6deg);
    }

    .product-img-3 {
        transform: translateX(40px) translateY(-20px) rotate(6deg);
    }

    .hero-image-display:hover .product-img-1 {
        transform: translateX(-50px) translateY(-25px) rotate(-8deg) scale(1.05);
    }

    .hero-image-display:hover .product-img-3 {
        transform: translateX(50px) translateY(-25px) rotate(8deg) scale(1.05);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image-display {
        min-height: 400px; /* Adjust height for better vertical spacing */
        overflow: hidden;
        display: flex;
        flex-direction: column; /* Stack images vertically */
        align-items: center; /* Center images horizontally */
        justify-content: center; /* Center content vertically */
        gap: 0px; /* Reduce gap to allow for overlapping */
        position: relative; /* Maintain relative positioning for context */
    }

    .product-img {
        position: absolute; /* Reintroduce absolute positioning */
        width: 60%; /* Adjust width to be more prominent */
        height: auto;
        opacity: 1; /* Ensure full opacity */
        box-shadow: var(--shadow-md); /* Maintain consistent shadow */
    }

    .product-img-1 {
        transform: translateY(-70px) rotate(-8deg);
        z-index: 4;
    }

    .product-img-2 {
        transform: translateY(-20px) rotate(4deg);
        z-index: 5;
    }

    .product-img-3 {
        transform: translateY(30px) rotate(-6deg);
        z-index: 3;
    }

    .product-img-4 {
        transform: translateY(80px) rotate(2deg);
        z-index: 2;
    }

    /* Remove hover effects for mobile to simplify interaction */
    .hero-image-display:hover .product-img-1,
    .hero-image-display:hover .product-img-2,
    .hero-image-display:hover .product-img-3,
    .hero-image-display:hover .product-img-4 {
        transform: none; /* Keep transforms for initial positioning */
        opacity: 1;
    }
}


/* ===== Page Banner ===== */
#page-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x600?text=Banner') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    margin-top: 70px;
}

#page-banner .container {
    position: relative;
    z-index: 2;
}

#page-banner h1 {
    color: var(--light-text);
    margin-bottom: 10px;
}

/* ===== Featured Products Section ===== */
#featured-products {
    padding: var(--section-padding);
}

.product-carousel {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    width: 100%;
}

.product-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    min-width: 300px;
    flex: 0 0 calc(33.333% - 20px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-features span {
    background-color: var(--light-gray);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.product-features span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.carousel-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-controls button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Carousel visibility fix */
.product-carousel,
.testimonial-carousel {
    width: 100%;
}

.product-carousel .product-card,
.testimonial-carousel .testimonial-card {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.product-carousel .product-card[style*="none"],
.testimonial-carousel .testimonial-card[style*="none"] {
    display: none;
}

/* Ensure cards are visible by default */
.product-card,
.testimonial-card {
    display: block !important;
    opacity: 1 !important;
}

/* ===== Why Choose Us Section ===== */
#why-choose-us {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
}

.feature-card:hover .feature-icon i {
    color: var(--light-text);
}

/* ===== Testimonials Section ===== */
#testimonials {
    padding: var(--section-padding);
}

.testimonial-carousel {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    width: 100%;
}

.testimonial-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    min-width: 300px;
    flex: 0 0 calc(33.333% - 20px);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 20px;
}

.rating {
    color: var(--warning-color);
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--dark-gray);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* ===== FAQ Section ===== */
#faq {
    padding: var(--section-padding);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* ===== Blog Preview Section ===== */
#blog-preview {
    padding: var(--section-padding);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.blog-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.blog-content p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ===== CTA Section ===== */
#cta {
    padding: var(--section-padding-sm);
    background-image: url('../images/6kw-IP21/6k.png');
    color: var(--light-text);
    text-align: center;
}

.cta-content h2 {
    color: var(--light-text);
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding-top: 60px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: var(--light-text);
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-products h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul li,
.footer-products ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-products ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-products ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: flex-start;
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary-color);
}

.back-to-top {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== Company Overview Section ===== */
#company-overview {
    padding: var(--section-padding);
}

.overview-content {
    display: block;
    gap: 50px;
    align-items: center;
}

.overview-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===== Philosophy Section ===== */
#philosophy {
    padding: var(--section-padding);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.philosophy-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.philosophy-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.philosophy-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.philosophy-card:hover .philosophy-icon {
    background-color: var(--primary-color);
}

.philosophy-card:hover .philosophy-icon i {
    color: var(--light-text);
}

/* ===== Team Section ===== */
#team {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 5px;
}

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* ===== Certifications Section ===== */
#certifications {
    padding: var(--section-padding);
}

.certifications-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.certification-list {
    margin-bottom: 20px;
}

.certification-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.certification-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.certification-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.certification-logos img {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 15px;
    background-color: #FFFFFF;
    transition: var(--transition);
}

.certification-logos img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
    justify-items: center;
    align-items: start;
}

.certificate-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.certificate-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.certificate-item img {
    max-width: 100%;
    height: 200px; /* Fixed height for uniformity */
    object-fit: contain; /* Ensures the image is scaled nicely within the fixed height */
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.certificate-item h4 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.certificate-item p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    flex-grow: 1; /* Allows description to take up available space */
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .certificate-item {
        padding: 20px;
    }

    .certificate-item h4 {
        font-size: 1.2em;
    }

    .certificate-item p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .certificate-item img {
        height: 150px;
    }
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
    justify-items: center;
    align-items: start;
}

.certificate-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.certificate-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.certificate-item img {
    max-width: 100%;
    height: 200px; /* Fixed height for uniformity */
    object-fit: contain; /* Ensures the image is scaled nicely within the fixed height */
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.certificate-item h4 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.certificate-item p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    flex-grow: 1; /* Allows description to take up available space */
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .certificate-item {
        padding: 20px;
    }

    .certificate-item h4 {
        font-size: 1.2em;
    }

    .certificate-item p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .certificate-item img {
        height: 150px;
    }
}

/* ===== Downloads Section ===== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
    justify-items: center;
    align-items: start;
}

.download-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.download-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.download-icon {
    font-size: 3rem;
    color: #e63946;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.download-card:hover .download-icon {
    transform: scale(1.1);
}

.download-card h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.download-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.download-card .btn {
    margin-top: auto;
    width: 100%;
    max-width: 200px;
}

@media (max-width: 768px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        padding: 25px;
    }
    
    .download-card h3 {
        font-size: 1.2em;
    }
    
    .download-card p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .download-card {
        padding: 20px;
    }
    
    .download-icon {
        font-size: 2.5rem;
    }
    
    .download-card h3 {
        font-size: 1.1em;
    }
}

/* ===== Patents Section ===== */
#patents {
    padding: var(--section-padding);
}

.patents-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.patents-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.patents-text ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.patents-text ul li {
    margin-bottom: 10px;
}

/* ===== Timeline Section ===== */
#timeline {
    padding: var(--section-padding);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 2;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: calc(50% + 40px);
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: var(--border-radius);
    font-weight: 500;
}

.timeline-content {
    position: relative;
    width: calc(50% - 40px);
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 40px);
}

.timeline-item:nth-child(even) .timeline-date {
    left: auto;
    right: calc(50% + 40px);
    text-align: right;
}

/* ===== Product Categories Navigation ===== */
#product-categories {
    padding: 20px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.category-link {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    color: var(--secondary-color);
}

.category-link:hover,
.category-link.active {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* ===== Product Overview ===== */
.product-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.product-overview-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.product-overview-text ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.product-overview-text ul li {
    margin-bottom: 10px;
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.detailed-card {
    display: flex;
    flex-direction: column;
}

.product-subtitle {
    color: var(--dark-gray);
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.product-specs {
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
}

.spec-label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.spec-value {
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* New product-item styles */
.product-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Remove underline from the link */
    color: inherit; /* Inherit color from parent */
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-item .product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-item .product-info {
    padding: 20px;
    text-align: center;
}

.product-item .product-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.product-item .product-info .product-subtitle {
    color: #777;
    margin-bottom: 15px;
}

.product-item .product-specs {
    margin-bottom: 20px;
    text-align: left;
}

.product-item .spec-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.product-item .spec-item:last-child {
    border-bottom: none;
}

.product-item .spec-label {
    font-weight: bold;
    color: #555;
}

.product-item .spec-value {
    color: #333;
}

.product-item .product-actions {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.product-item .btn {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.product-item .btn-primary {
    background-color: #ff6600;
    color: white;
}

.product-item .btn-primary:hover {
    background-color: #e65c00;
}

.product-item .btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}

.product-item .btn-secondary:hover {
    background-color: #e0e0e0;
}

.product-item .btn i {
    margin-right: 5px;
}

/* Ensure detailed-card styles are applied to product-item */
.product-item.detailed-card {
    grid-column: span 2; /* Occupy two columns in the grid */
    display: flex;
    flex-direction: row;
    text-align: left;
}

.product-item.detailed-card .product-image {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-item.detailed-card .product-image img {
    max-height: 250px;
    width: 100%;
    object-fit: contain;
}

.product-item.detailed-card .product-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.product-item.detailed-card h3 {
    font-size: 2em;
}

.product-item.detailed-card .product-subtitle {
    font-size: 1.2em;
}

.product-item.detailed-card .product-specs {
    margin-top: 20px;
}

.product-item.detailed-card .product-actions {
    margin-top: 20px;
    justify-content: flex-start;
    gap: 10px;
}

@media (max-width: 768px) {
    .product-item.detailed-card {
        flex-direction: column;
        grid-column: span 1; /* Revert to single column on smaller screens */
    }

    .product-item.detailed-card .product-info {
        text-align: center;
    }

    .product-item.detailed-card .product-actions {
        justify-content: center;
    }
}

/* ===== Product Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background-color: #FFFFFF;
    margin: 100px auto;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary-color);
}

/* ===== Contact Information Section ===== */
#contact-info {
    padding: var(--section-padding);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.contact-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background-color: var(--primary-color);
}

.contact-card:hover .contact-icon i {
    color: var(--light-text);
}

.contact-card h3 {
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.contact-card p.small {
    font-size: 0.875rem;
}

.contact-card .social-links {
    justify-content: center;
}

.contact-card .social-links a {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.contact-card .social-links a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* ===== Contact Form Section ===== */
#contact-form {
    padding: var(--section-padding);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: var(--error-color);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.validation-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 5px;
    min-height: 18px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--light-text);
    font-size: 2rem;
    animation: scaleIn 0.5s;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ===== Map Section ===== */
#map-section {
    padding-bottom: var(--section-padding-sm);
}

#map-section .section-header {
    margin-bottom: 30px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Animation Classes ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.parallax {
    background-attachment: fixed;
}

/* ===== Utility Classes ===== */
.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-sm {
    padding-top: 40px;
    padding-bottom: 40px;
}

.py-md {
    padding-top: 60px;
    padding-bottom: 60px;
}

.py-lg {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
    }

    .nav-menu li {
        margin-left: 30px;
        margin-bottom: 0;
        width: auto;
    }
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu li a:hover:after,
.nav-menu li a.active:after {
    width: 100%;
}

.nav-menu li a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* ===== Hero Section ===== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../images/3.6KW-IP21/3.6.png') no-repeat center center/150%;
    color: var(--light-text);
    overflow: hidden;
    margin-top: 70px;
}

#hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.hero-spline {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 450px;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.hero-spline iframe {
    width: 100%;
    height: 520px;
    transform: translateY(-35px);
    pointer-events: auto;
    overflow: hidden;
}

/* Ultra-aggressive Spline watermark hiding */
.hero-spline iframe + *,
.hero-spline > div:last-child,
.hero-spline [class*="watermark"],
.hero-spline [class*="spline"],
.hero-spline [style*="watermark"],
.hero-spline [style*="spline"],
.hero-spline [class*="built"],
.hero-spline [class*="with"],
.hero-spline [id*="watermark"],
.hero-spline [id*="spline"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

.hero-spline iframe[src*="spline.design"] {
    margin-bottom: -70px;
}

.hero-spline * {
    overflow: hidden !important;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ===== Page Banner ===== */
#page-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x600?text=Banner') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    margin-top: 70px;
}

#page-banner .container {
    position: relative;
    z-index: 2;
}

#page-banner h1 {
    color: var(--light-text);
    margin-bottom: 10px;
}

/* ===== Featured Products Section ===== */
#featured-products {
    padding: var(--section-padding);
}

.product-carousel {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    width: 100%;
}

.product-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    min-width: 300px;
    flex: 0 0 calc(33.333% - 20px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.product-features span {
    background-color: var(--light-gray);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.product-features span i {
    margin-right: 5px;
    color: var(--primary-color);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.carousel-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-controls button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Carousel visibility fix */
.product-carousel,
.testimonial-carousel {
    width: 100%;
}

.product-carousel .product-card,
.testimonial-carousel .testimonial-card {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.product-carousel .product-card[style*="none"],
.testimonial-carousel .testimonial-card[style*="none"] {
    display: none;
}

/* Ensure cards are visible by default */
.product-card,
.testimonial-card {
    display: block !important;
    opacity: 1 !important;
}

/* ===== Why Choose Us Section ===== */
#why-choose-us {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
}

.feature-card:hover .feature-icon i {
    color: var(--light-text);
}

/* ===== Testimonials Section ===== */
#testimonials {
    padding: var(--section-padding);
}

.testimonial-carousel {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    width: 100%;
}

.testimonial-card {
    background-color: #FFFFFF;
}