/* Updated CSS */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.navbar {
    background-color: #D52B1E; /* Red background */
}

.navbar .nav-link {
    color: #FFFFFF; /* White text */
    transition: color 0.3s ease;
}

.navbar .nav-link.active {
    font-weight: bold;
    text-decoration: underline;
}

.navbar .nav-link:hover {
    color: #FDC82F; /* Yellow on hover */
}

.navbar-brand img.logo {
    height: 50px; /* Adjust height for a neat fit */
    background-color: #FFF2CC; /* Light beige logo background */
    padding: 5px;
    border-radius: 5px;
}


.hero-section {
    position: relative;
    height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 1;
    backdrop-filter: blur(5px);
}

.hero-section .container {
    z-index: 2;
    position: relative;
}

.hero-section .main-headline {
    font-size: 2.5rem; /* Keeps the headline impactful */
    font-weight: 500; /* Subtle bold effect */
    color: #D52B1E; /* Slightly muted red for softness */
    margin-bottom: 20px;
    line-height: 1.2; /* Improves readability */
}

.hero-section .subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #333;
}

.hero-section .btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.hero-section .btn.custom-btn {
    font-size: 1.2rem; /* Increased font size */
    font-weight: bold; /* Made font bold */
    padding: 15px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hero-section .services-btn-container .btn-outline {
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-section .services-btn-container .btn-outline:hover {
    background-color: #333;
    color: #FFF2CC;
}

.hero-section .services-btn-container .arrow {
    margin-left: 8px;
    font-size: 1.2rem;
    transition: margin-left 0.3s ease;
}

.hero-section .services-btn-container .btn-outline:hover .arrow {
    margin-left: 12px;
}

/* Add responsiveness for mobile screens */
@media (max-width: 768px) {
    .hero-section .btn-container {
        flex-direction: column; /* Make buttons stack vertically */
    }
}



.services-section {
    background-color: #FFF2CC; /* Light beige background */
    padding: 60px 0;
}


.service-card {
    background: #FFFFFF;
    border: 1px solid #DDD;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #D52B1E;
    margin-bottom: 10px;
}

.service-description {
    font-size: 0.9rem;
    color: #555;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #D52B1E;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1rem;
    color: #333;
}

.text-center .btn {
    background-color: #D52B1E;
    color: #FFFFFF;
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.text-center .btn:hover {
    background-color: #B72219;
    color: #FFF2CC;
}

.challenges-section {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, #FFF2CC, #FDC82F);
}

.challenges-section .background-image img {
    width: 100%;
    height: auto;
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.challenges-section .overlay-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.challenges-section .bold-message {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.5;
    color: #D52B1E;
}

.challenges-section .custom-list {
    list-style: none;
    padding: 0;
    margin-top: 1.6rem;
}

.challenges-section .custom-list li {
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 40px;
    line-height: 1.6;
    font-size: 1.2rem;
    color: #333;
}

.challenges-section .custom-list li::before {
    content: "\2718"; /* Checkmark icon 2713*/
    color: #D52B1E;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.4rem;
}

.text-start {
    text-align: left !important;
}

.challenges-section .text-section {
    padding: 1rem 1rem 1rem 2rem;
    margin-right: 2rem;
    text-align: center;
}

.points-section {
    background-color: #FFF8E0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}





.challenges-section .points-section {
    background-color: rgba(255, 242, 204, 0.9); /* Slightly different tone */
    padding: 1rem;
    border-radius: 5px; /* Optional: Add rounded corners for distinction */
}



.why-choose-us-section {
  background: linear-gradient(135deg, #d4f4dd, #8bc34a); /* Green gradient */
  padding: 60px 20px;
}

.why-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

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

.why-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.why-description {
  font-size: 14px;
  color: #666;
}


/* Carousel Section */
.carousel-section {
    position: relative;
    width: 100%;
    background-color: #f9f9f9;
    padding: 60px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.carousel-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
}

.carousel-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slider img {
    flex-shrink: 0;
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.carousel-controls .arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    outline: none;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dots .dot.active {
    background-color: #f52b1e; /* Infogain-themed color */
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-section h2 {
        font-size: 1.5rem;
    }

    .arrow {
        width: 30px;
        height: 30px;
    }
}


.footer {
    background-color: #D52B1E;
    color: #fff;
}

.footer a {
    color: #ffd700; /* Match the theme color */
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}


/* Custom CSS for Modals */
.modal-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.expand-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.expand-image:hover {
  transform: scale(1.05);
}


/* Header Styling */
.header-style {
    background-color: #d00000; /* Bright Red */
    color: white; /* White text */
    font-size: 2rem; /* Adjust for large text */
    font-weight: bold; /* Bold font */
    text-align: center; /* Centered text */
    padding: 15px; /* Padding for better appearance */
    border-radius: 5px; /* Slightly rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Buttons Styling */
.btn-outline-primary, .btn-outline-success {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    border-width: 2px;
    margin: 10px 0;
}

.row.text-center .col-md-6 {
    margin-bottom: 20px;
}

img.img-fluid {
    cursor: pointer;
}

.modal-content img {
    border-radius: 10px;
}