/* General Styles */
body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: #343A40; /* Dark gray for text */
    margin: 0;
    padding: 0;
}

/* Navbar Styling */
.navbar {
    background-color: #F8F9FA; /* Light gray for navbar */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.navbar-brand img {
    max-height: 75px;
}

.navbar-nav .nav-link {
    color: #007BFF; /* Professional blue for links */
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #FFC107; /* Yellow for hover effect */
}

.navbar-toggler {
    border: none;
}

/* Hero Section Styling */
#hero {
    background-color: #FFC107; /* Yellow background as requested */
    padding: 80px 0 60px; /* Reduced vertical padding */
    margin-top: 80px;
}

#hero .row {
    align-items: center;
    min-height: 400px; /* Reduced minimum height */
}

.hero-text {
    padding-right: 30px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #D32F2F; /* Changed to a red that complements yellow */
    margin-bottom: 20px;
    line-height: 1.3;
}

.text-justified {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333333; /* Darker text for better contrast on yellow */
}

.btn-primary {
    display: inline-block;
    background-color: #D32F2F; /* Changed button color to match h2 */
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211,47,47,0.2);
}

.btn-primary:hover {
    background-color: #B71C1C; /* Darker red on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(211,47,47,0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px); /* Reduced hover movement */
}

/* Media Queries */
@media (max-width: 991px) {
    .col-lg-6 {
        width: 100%;
    }
    
    .hero-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 30px; /* Reduced margin */
    }
    
    .text-justified {
        text-align: center;
    }
    
    #hero {
        padding: 70px 0 50px; /* Further reduced on mobile */
    }
    
    #hero .row {
        min-height: auto;
    }
}

/* Stats Section Styling */
#stats {
    background-color: #F8F9FA; /* Light gray for stats section */
    padding: 60px 0;
}

.stat-box {
    border: none; /* Remove borders for a cleaner look */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #FFC107, #FFA726); /* Gradient background */
    color: #343A40; /* Dark gray text for contrast */
    min-height: 180px; /* Ensure uniform box height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.stat-box.highlight {
    background: linear-gradient(135deg, #007BFF, #17A2B8); /* Different gradient for highlighted box */
    color: white; /* White text for better contrast */
}

.stat-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 1rem;
    margin: 0;
}

/* Pointer Boxes Styling */
.pointer-box {
    background: linear-gradient(135deg, #E9ECEF, #CED4DA); /* Subtle gradient for pointer boxes */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pointer-box i {
    color: #007BFF; /* Blue icon for emphasis */
}

.pointer-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #343A40; /* Dark gray for headings */
}

.pointer-box p {
    font-size: 1rem;
    color: #555; /* Slightly muted text for descriptions */
}

.pointer-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

/* Section Intro Styling */
.section-intro {
    margin-top: 40px;
    font-size: 1.2rem;
    color: #555;
}

.section-intro h2 {
    font-weight: bold; /* Bold text for heading */
    padding-top: 30px; /* Add padding at the top */
    margin-bottom: 20px; /* Space below the heading */
}

/* Challenges Section Styling */
#challenges {
    background-color: #FFF3CD; /* Soft yellow for challenges section */
    padding: 40px 0; /* Reduced padding to decrease spacing with the next section */
}

.challenge-card {
    background-color: #FFFFFF; /* White card background */
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    min-height: 280px; /* Strictly enforce uniform box height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure content is spaced evenly */
    transition: transform 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    font-size: 2rem;
    color: #007BFF; /* Professional blue for icons */
    margin-bottom: 15px;
}

.challenge-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.text-justified {
    text-align: justify; /* Justified text for better readability */
    font-size: 1rem;
    line-height: 1.6; /* Improved line height for readability */
    flex-grow: 1; /* Allow the paragraph to expand and fill the available space */
}

.section-header {
    margin-bottom: 30px; /* Reduced margin to decrease spacing */
}

Copy/* Solution Section Styling */
#solution {
    background-color: #F8F9FA;
    padding: 40px 0;
}
.section-header h2 {
    font-weight: bold;
    margin-bottom: 10px;
}
.section-header p {
    font-weight: bold;
    margin-bottom: 20px;
}
.process-wrapper h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    color: #343A40;
    font-weight: 600;
}
.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.process-step:hover .step-icon {
    transform: scale(1.1);
}
.step-content h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #007BFF;
    font-weight: 600;
}
.step-content p {
    font-size: 1rem;
    color: #555;
    text-align: justify;
}
.text-justified {
    text-align: justify;
    line-height: 1.6;
}
.solution-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Features Section Styling */
#features {
    background-color: #FFF3CD; /* Soft yellow for features section */
    padding: 60px 0;
}
.feature-card {
    background-color: #FFFFFF; /* White card background */
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    height: 300px; /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}
.text-justified {
    text-align: justify;
    hyphens: auto;
}

/* eBook Section Styling */
#ebook {
    background-color: #f0f0f0; /* Light gray for eBook section */
    color: #333; /* Dark gray text for better visibility */
    padding: 60px 0;
}

.ebook-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ebook-image img:hover {
    transform: scale(1.03);
    cursor: pointer;
}

/* Add gap between image and text */
.col-lg-6[data-aos="fade-right"] {
    padding-right: 30px;
}

.col-lg-6[data-aos="fade-left"] {
    padding-left: 30px;
}

.ebook-content h2 {
    color: #333;
    font-weight: bold;
}

.ebook-content p, .ebook-content li {
    color: #444;
    text-align: justify;
}

.checklist {
    list-style-type: none;
    padding: 0;
}

.checklist li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1rem;
    text-align: justify;
}

.checklist li::before {
    content: "👉"; /* Pointing hand icon */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1rem;
}

.text-justified {
    text-align: justify !important;
}

.btn-warning {
    background-color: #FFC107;
    border-color: #FFC107;
    color: #343A40;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold; /* Makes button text bold */
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.btn-warning:hover {
    background-color: #E0A800;
    border-color: #E0A800;
    transform: scale(1.05);
}

/* Ensure font-weight-bold class works */
.font-weight-bold {
    font-weight: bold !important;
}
/* About Section Styling */
#about {
    background-color: #007BFF; /* Professional blue background */
    padding: 60px 0;
}

#about h2 {
    color: #fff;
    margin-bottom: 30px;
}

#about h4 {
    color: #333;
    font-size: 1.3rem;
}

.about-content {
    background-color: rgba(255, 255, 255, 0.95); /* Nearly opaque white background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-content p {
    font-size: 1.05rem;
    color: #333;
    text-align: justify !important;
    margin-bottom: 15px;
    line-height: 1.6;
}

.text-justified {
    text-align: justify !important;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: #FFC107; /* Yellow underline for contrast */
    bottom: 0;
    left: 25%;
}

/* Additional styling for better aesthetics */
.about-content {
    border-top: 5px solid #FFC107; /* Yellow accent on top of the white box */
}

#about h4 {
    position: relative;
    padding-bottom: 10px;
}

#about h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #007BFF; /* Blue underline for subheadings */
    bottom: 0;
    left: 0;
}

/* Contact Section Styling */
#contact {
    background-color: #FFF3CD; /* Soft yellow for contact section */
    padding: 60px 0;
}

.contact-card {
    background-color: #FFFFFF; /* White card background */
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start; /* Changed from center to align with top */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.icon-box {
    margin-right: 25px; /* Increased spacing between icon and text */
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text-warning {
    color: #FFC107 !important; /* Yellow for email icon */
}

.text-success {
    color: #28a745 !important; /* Green for phone icon */
}

.text-danger {
    color: #dc3545 !important; /* Red for location icon */
}

.contact-card .content {
    flex: 1;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.contact-card p {
    font-size: 1rem;
    color: #555;
    margin: 0;
}

.contact-card a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #FFC107;
}

.contact-form-wrapper {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #FFC107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    outline: none;
}

.contact-form button {
    background-color: #FFC107; /* Yellow to match site theme */
    border-color: #FFC107;
    color: #333;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 30px;
    transition: transform 0.3s ease, background-color 0.3s;
}

.contact-form button:hover {
    background-color: #E0A800; /* Darker yellow on hover */
    border-color: #E0A800;
    transform: scale(1.05);
}

.section-header h2 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Footer Styling */
#footer {
    background-color: #FFC107; /* Yellow to match website theme */
    color: #333; /* Dark text for better contrast */
    padding: 50px 0 30px;
}

.footer-logo img {
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.tagline {
    font-size: 1rem;
    font-style: italic;
    color: #555;
    display: block;
    margin-bottom: 20px;
}

#footer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

#footer h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #333;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

hr {
    border-color: rgba(255, 255, 255, 0.2);
}

.copyright {
    font-size: 0.9rem;
    color: #333;
    text-align: center;
}

/* Back-to-Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #FFC107;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s;
}

.back-to-top:hover {
    background-color: #444;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* For the icon spacing in contact info */
.fas.mr-2 {
    margin-right: 10px;
}

/* Back-to-Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFC107; /* Yellow for back-to-top button */
    color: #343A40; /* Dark gray for icon */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}