* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5;
}

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


/* Header Styles */

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.logo-text {
    margin-left: 10px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: bold;
}

.logo-text h1 span {
    color: #d5221e;
}

.slogan {
    color: #d5221e;
    font-style: italic;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    /* Basic styling for the bars */
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #d5221e;
}


/* Hero Section */

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../../img/min-banner.jpg') center/cover;
    /* Corrected relative path */
    /* Adjusted image path */
    height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #d5221e;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #b91c1a;
    transform: translateY(-3px);
}


/* About Section */

.about {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #d5221e;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 350px;
}


/* Products Section */

.products {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 180px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}


/* Leadership Section */

.leadership {
    padding: 80px 0;
    background-color: white;
}

.leader-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.leader-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.leader-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-title h3 {
    color: #d5221e;
    margin-bottom: 5px;
}

.leader-title p {
    color: #666;
}

.leader-skills {
    margin-top: 20px;
}

.skill {
    margin-bottom: 15px;
}

.skill h4 {
    color: #333;
    margin-bottom: 8px;
}

.skill p {
    color: #666;
    font-size: 14px;
}


/* Contact Section */

.contact {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #333;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #d5221e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-icon i {
    color: white;
    font-size: 20px;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    color: #666;
}

.contact-text p a {
    color: #333;
    /* Make contact links black/dark grey */
    text-decoration: none;
    /* Optional: remove underline */
}

.contact-text p a:hover {
    color: #d5221e;
    /* Keep hover color */
    text-decoration: underline;
    /* Optional: add underline on hover */
}


/* Download Section */

.download {
    padding: 80px 0;
    /* Add padding to match other sections */
    background-color: #f5f5f5;
}

.contact-form {
    flex: 1;
}


/* Scroll to Top Button */

#scrollToTopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #d5221e;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    transition: all 0.3s ease-in-out;
}

#scrollToTopBtn:hover {
    background-color: #b91c1a;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

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


/* Footer */

footer {
    background-color: #222;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #d5221e;
    bottom: 0;
    left: 0;
}

.footer-column p {
    margin-bottom: 15px;
    color: #bbb;
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #d5221e;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #bbb;
    font-size: 14px;
}


/* Responsive Styles */

@media (max-width: 768px) {
    .header-content {
        /* Keep flex, but ensure toggle is positioned correctly */
        position: relative;
        /* Needed for absolute positioning of nav */
    }
    .logo-text h1 {
        font-size: 20px;
        /* Reduce font size on smaller screens */
    }
    iframe {
        /* width: 480px; */
        /* Replaced */
        width: 100%;
        max-width: 480px;
        /* Keep max-width from original rule */
        height: 350px;
        /* Add height for better scaling */
    }
    .menu-toggle {
        display: block;
        /* Show toggle on mobile */
        position: absolute;
        /* Position relative to header-content */
        right: 20px;
        /* Adjust as needed */
        top: 50%;
        transform: translateY(-50%);
        z-index: 110;
        /* Ensure it's above other header content */
    }
    /* Optional: Animate hamburger icon to an 'X' when active */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    nav#main-nav {
        display: none;
        /* Hide nav container by default */
        position: absolute;
        top: 100%;
        /* Position below the header */
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
        z-index: 105;
    }
    nav#main-nav.mobile-nav-active {
        display: block;
        /* Show when active */
    }
    nav#main-nav ul {
        flex-direction: column;
        align-items: center;
        /* margin-top: 15px; */
        /* Removed, handled in #main-nav padding */
    }
    nav#main-nav ul li {
        /* margin: 0 10px; */
        /* Replaced */
        margin: 10px 0;
        /* Adjust vertical spacing */
        margin-left: 0;
        /* Reset left margin */
        width: 100%;
        text-align: center;
    }
    nav#main-nav ul li a {
        padding: 10px 0;
        display: block;
        /* Make links take full width */
        width: 100%;
    }
    .hero {
        /* height: 500px; */
        /* Replaced */
        height: auto;
        min-height: 500px;
        /* More flexible height */
        padding: 60px 20px;
        /* Add padding for content */
    }
    .hero h1 {
        font-size: 36px;
    }
    .about-content {
        flex-direction: column;
    }
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    iframe {
        height: 300px;
    }
    /* Adjust iframe height for smaller screens */
    .product-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 28px;
    }
    .section-title h2 {
        font-size: 28px;
    }
}