body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #343a40;
    line-height: 1.6;
}

.page-wrapper {
    background-color: #fff;
    margin: 40px auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    margin: 0 auto;
    box-shadow: none;
    max-width: 1400px;
    border-radius: 13px;
}

.navbar .logo {
    font-size: 2em;
    font-weight: 700;
    color: #dc3545;
    text-decoration: none;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #dc3545;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #dc3545;
    border-radius: 2px;
    transition: width 0.3s ease-in-out;
}

.nav-links li a:hover::after {
    width: 100%;
}

.hero-section {
    background: linear-gradient(135deg, #dc3545, #e05252);
    color: #fff;
    text-align: center;
    padding: 160px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 20px; /* Adds space below the paragraph */
  
}

.cta-button, .cta {
    background: #fff;
    color: #dc3545;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    
}
.cta-button{
    margin-top: 10px;
}

.cta-button:hover, .cta:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    top: auto;
}

.cta-button2 {
    background: #ff4d4f;
    border: 1px solid #ff4d4f;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    width: 30%;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-items: center;
} 
.button-section {
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center horizontally */
    margin-top: 20px; /* Add space above the section if needed */
}


/*.button-section {
    display: flex;
    justify-content: center;  
    align-items: center;     
    padding: 20px 0;
}*/

.cta-button2 a {
    text-decoration: none;
    color: #fff;
}

.cta-button2:hover {
    background: #ff7875;
    transform: translateY(-5px);
}
.H {
    text-align: center;
    font-size: 2rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.SB {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.SB .cta {
    padding: 10px 20px;
    font-size: 1rem;
    background-color:white ;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.SB .cta:hover {
    background-color:#ff4d4f;
    color: white;
}


.solutions-section {
    padding: 80px 40px;
}

.solutions-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}

.solution-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 60px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.solutions-section h2,
.products-section h2 {
    text-align: center; /* Center-align the titles */
    margin: 0 auto; /* Ensures the title stays in the middle */
    font-size: 2rem; /* Adjust font size if needed */
    padding-bottom: 10px; /* Adds space between the title and the content */
}


.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.solution-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 700;
}

.solution-card p {
    font-size: 1.2em;
    color: #6c757d;
    line-height: 1.7;
}

.products-section {
    padding: 80px 40px;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.product-card h3 {
    font-size: 1.7em;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-card p {
    font-size: 1.15em;
    color: #6c757d;
}

.why-choose-us-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 40px;
}

.why-choose-us-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.about-section {
    padding: 60px 40px;
    text-align: center;
}

.about-section p {
    max-width: 900px;
    margin: 20px auto;
    font-size: 1.2em;
    color: #6c757d;
}

.footer {
    background: #343a40;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: small;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #dc3545;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px auto;
    text-align: center;
    padding: 50px;
    max-width: 600px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    font-size: 2.5em;
    color: #ff4d4f;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #333;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ff4d4f;
    border-radius: 10px;
    font-size: 1em;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

input:focus, textarea:focus {
    box-shadow: 0 0 8px rgba(255, 77, 79, 0.5);
    outline: none;
    transform: scale(1.02);
}

textarea {
    resize: none;
}

.submit-button {
    background: #ff4d4f;
    border: 1px solid #ff4d4f;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background: #ff7875;
    transform: translateY(-5px);
}
.container {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
}

.image {
    flex: 1;
    padding: 10px;
}

.image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.text {
    flex: 2;
    padding: 10px 20px;
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 1.2em;
    }

    .hero-content p {
        font-size: smaller;
    }

    /* Navbar */
    .navbar {
        flex-direction: column;
        padding: 10px 20px;
    }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
    }

    .navbar.open .nav-links {
        display: flex;
    }

    .navbar-toggler {
        display: block;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links li a {
        text-align: center;
    }

    /* Sections Headings */
    h2 {
        font-size: 1.5em;
        text-align: center;
    }

    /* Solutions Section */
    .solutions-container,
    .products-container,
    .why-choose-us-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-card,
    .product-card,
    .why-choose-us-card {
        width: 100%;
        padding: 20px;
        margin: 0 auto;
    }

    .solution-card h3,
    .why-choose-us-card h3 {
        font-size: 1em;
    }

    .solution-card p,
    .why-choose-us-card p {
        font-size: 0.9em;
    }

    /* Buttons */
    .cta-button {
        margin-top: 10px;
        width: 100%;
    }

    .cta-button2 {
        width: 90%;
        font-size: 0.8em;
    }.cta{
        font-size: x-small;
        gap: 20px;
    }

    /* Why-Choose-Us Section */
    .why {
        text-align: justify;
        font-size: 0.9em;
    }

    /* About Section */
    .about-section h2 {
        font-size: 1.5em;
    }

    .about-section p {
        font-size: 0.9em;
    }

    /* Contact Section */
    .contact-section {
        padding: 30px 20px;
    }

    .contact-section h2 {
        font-size: 1.5em;
    }

    .contact-description {
        font-size: smaller;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
    }

    /* Footer */
    .footer {
        font-size: 0.9em;
    }

    /* Containers and Image Adjustments */
    .container {
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }

    .text {
        margin: 0 0 20px;
        text-align: center;
    }

    .image img {
        max-width: 90%;
        height: auto;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    }
}
