/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif !important;
}

body {
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    font-size: var(--p-font); /* Default paragraph font size */
    font-family: 'Montserrat', sans-serif !important;
}

:root {
    --main-color: #F50019;
    --bg-color: #f9f5f9;
    --text-color: #333;
    --p-font: 12px;
    --h1-font: 42px;
    --h2-font: 32px;
    --h3-font: 24px;
    --h4-font: 20px;
    --h5-font: 18px;
    --h6-font: 16px;
}

/* Section 2 - Custom Section */
.customSection {
    background-color: #f9f9f9;
    padding: 50px 0;
    max-width: 100%;
}

.customImg video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

 .customHeading{
    font-size: 28px;
    font-weight: bold !important;
    color: #888 !important;
    margin-bottom: 15px !important;
    transition: color 0.3s ease !important;
    overflow: hidden !important;
}

#typewriter {
    font-size: var(--h2-font);
    font-weight: bold !important;
    color: #F50019 !important;
    margin-bottom: 15px !important;
    transition: color 0.3s ease !important;
    overflow: hidden !important;
}

#typewriter::before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9 !important;
    border-left: 2px solid;
    animation: animate 3s steps(10) infinite;
}

@keyframes animate {
    40%, 60% {
        left: 70%;
    }
    100% {
        left: 0%;
    }
}

.customSubHeading {
    font-size: var(--h5-font);
    color: #666;
    margin-bottom: 15px;
    font-weight: bold;
}

.customContent {
    font-size: var(--p-font);
    color: #777;
    margin-bottom: 20px;
}

.customBtn {
    color: #000000;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.customBtn:hover {
    transform: scale(1.1);
}

/* Carousel Styles */
/* Default styles for carousel and images */
.carousel {
    position: relative; /* Ensure proper positioning for the carousel */
}

.carousel-item {
    transition: transform 0.6s ease; /* Add a smooth transition for sliding */
}

.carousel-inner {
    display: flex; /* Enable flexbox layout for carousel items */
}


.carousel-item img {
    width: 100%;
    height: 90vh; /* Set height to 90% of viewport height */
    display: block;
    margin: 0 auto; /* Center the image horizontally within its container */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    border-radius: 10px; /* Optional: Add rounded corners to the images */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Add a subtle shadow effect */
}

.carousel-inner {
    height: 60vh; /* Set the initial height of the carousel */
    overflow: hidden; /* Hide overflow for smaller images */
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%; /* Adjust the size of the carousel control buttons */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    /* Optional: Customize the appearance of the carousel control icons */
    background-color: rgba(96, 96, 96, 0.8);
    border-radius: 50%;
    color: #fff; /* Changed the color of control icons to white for better visibility */
    font-size: 24px;
    line-height: 1;
}

.carousel-indicators {
    /* Optional: Customize the appearance of the carousel indicators */
    bottom: 10px;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    margin: 0 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicators .active {
    background-color: #fff; /* Customize the active indicator color */
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
    .carousel-item img {
        height: 70vh; /* Decrease image height for smaller screens */
    }

    .carousel-inner {
        height: 50vh; /* Decrease carousel height for smaller screens */
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 50vh; /* Further decrease image height for extra small screens */
    }

    .carousel-inner {
        height: 40vh; /* Further decrease carousel height for extra small screens */
    }
}


/* Why Us Section */
.whyUsSection {
    background-color: #f9f9f9;
    padding: 50px 0;
    max-width: 100%;
    display: flex;
    justify-content: center; /* Align content horizontally to center */
    align-items: center; /* Align content vertically to center */
}

.whyUsProcess img {
    max-width: 100%;
    display: block;
    margin: 0 auto; /* Center the image horizontally within its container */
}


.whyUsHeading {
    font-size: var(--h2-font);
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

/* Industries Section */


.industriesItemHeading {
    font-size: var(--h3-font);
    font-weight: bold;
    margin-top: 15px;
}

/* FAQ Section */
.faqSection {
    padding: 50px 0;
    background-color: #f9f9f9;
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
}

.faqHeading {
    font-size: var(--h2-font);
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.faqHeading:hover {
    color: #f50019; /* Red color on hover */
}

/* Accordion Styles */
.accordion-header {
    margin-bottom: 20px;
}

.accordion-header button {
    font-size: var(--h4-font);
    font-weight: bold;
    color: #555;
    background-color: #f5f5f5;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.accordion-header button:hover {
    background-color: #e6e6e6;
    color: #f50019;
    transform: translateY(-2px);
}

.accordion-collapse {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.accordion-body {
    padding: 20px;
    background-color: #fff;
    line-height: 1.6;
}

.accordion-body p {
    margin-top: 10px;
}

/* Icon Styles */
.accordion-button::after {
    content: '\02795'; /* Unicode character for a plus sign */
    font-size: var(--h4-font);
    float: right;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.accordion-collapse.show .accordion-button::after {
    content: '\2796'; /* Unicode character for a minus sign */
    transform: rotate(90deg);
}

/* Media Queries */
@media (max-width: 768px) {
    .customHeading{
        font-size: 24px ;
    }
    .customSubHeading {
        font-size: 24px;
    }
    #typewriter {
        font-size: 24px;
    }
    .customContent,
    .readMoreBtn,
    .accordion-header button {
        font-size: 16px;
    }

    .accordion-button::after {
        font-size: var(--h5-font);
    }
}
@media (max-width: 425px) {
    .customHeading{
        font-size: 18px ;
    }
    #typewriter {
        font-size: 18px;
    }

    .customSubHeading {
        font-size: var(--h5-font);
    }

    .customContent,
    .readMoreBtn,
    .accordion-header button {
        font-size: 14px;
    }

    .accordion-button::after {
        font-size: var(--h5-font);
    }
}
