:root {
    --primary: #d10116;
    --primary-transparent: #f50019b3;
    --primary-dark: #b02a37;
    --secondary: #2c3e50;
    --accent: #ffc107;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --card-shadow: rgba(0, 0, 0, 0.148);
    --card-shadow-hover: rgba(0, 0, 0, 0.1);

}
         
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
        
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--light);
    line-height: 1.6;
}
        
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
        
/* Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: var(--primary);
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    color: var(--dark);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary);
    color: white;
}

.btn-primary {
    background: var(--primary);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(220, 53, 69, 0.3);
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease;
}

/* Parallax Sections */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.parallax-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Section Styling */
.section {
    padding: 100px 0;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

/* Card Styling */
.card {
    border: none;
    border-radius: 12px;
    background-color: var(--light); /* Using your --light variable for card background */
    box-shadow: 0 5px 15px var(--card-shadow); /* Using your --card-shadow variable */
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
     transition: all 0.2s ease-in;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--card-shadow-hover); /* Using your --card-shadow-hover variable */
}

/* Icon Wrapper for modern styling */
.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
    
    transition: all 0.2s ease-in;

}

.card:hover .card-icon-wrapper {
    background-color: var(--primary); /* Background turns your --primary on hover */
    transform: scale(1.05);
    /* Soft pulse effect using your --primary-transparent variable */
    box-shadow: 0 0 0 5px var(--primary-transparent);
}

.card-icon-wrapper i {
    color: var(--light); /* Initial icon color uses your --primary variable */
    transition: color 0.3s ease-out;
}

.card:hover .card-icon-wrapper i {
    color: white; /* Icon turns white on hover */
}

/* Card Body & Text Styling */
.card-body {
    padding: 15px 0;
    flex-grow: 1;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark); /* Using your --dark variable */
    margin-bottom: 12px;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray); /* Using your --gray variable */
    margin-bottom: 25px;
}

/* Button Styling */
.btn-outline-primary {
    border: 2px solid var(--primary); /* Using your --primary variable */
    color: var(--primary); /* Using your --primary variable */
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-out;
    display: inline-block;
    width: auto;
    font-size: 0.8rem !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary); /* Using your --primary variable */
    color: white;
    box-shadow: 0 5px 15px var(--primary-transparent);
    border: 0;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}
/* Focus Areas */
.focus-section {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.focus-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid var(--primary);
}

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(245, 59, 87, 0.2);
}

.focus-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* new */
/* Section Styling */
.focus-section-slant {
    padding: 6rem 0;
}

/* Feature Card Styling */
.feature-card-slant {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px var(--card-shadow); /* Soft initial shadow */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 3rem; /* Generous padding */
    position: relative;
    overflow: hidden; /* Crucial for containing the slant effect */
    cursor: pointer;
    text-align: left;
    height: 100%; /* Ensure uniform height in grid */
    z-index: 1; /* Default z-index */
    display: flex; /* Flexbox for internal alignment */
    flex-direction: column;
    justify-content: space-between;
}

/* Top content area, which will shift */
.slant-top {
    z-index: 2; /* Keep above the bottom content */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.4s ease-out;
}

.feature-card-slant:hover .slant-top {
    transform: translateY(-20px); /* Move icon and title up */
    color: #ffffff; /* Change color of top content */
}

.icon-slant {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: color 0.4s ease-out;
}

.feature-card-slant:hover .icon-slant {
    color: #ffffff; /* Icon turns white on hover */
}

.feature-card-slant:hover h5{
    visibility: hidden;
}

.slant-top h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark); /* Initial dark color */
    margin-bottom: 0; /* No margin bottom here, as p is hidden */
    line-height: 1.3;
    transition: color 0.4s ease-out;
}

.feature-card-slant:hover .slant-top h5 {
    color: #ffffff; /* Title turns white on hover */
}

/* Bottom content area, which is the revealed part */
.slant-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Full height to cover */
    background-color: var(--primary); /* Brand color background */
    transform: skewY(5deg) translateY(100%); /* Start slanted and hidden below */
    transform-origin: bottom right; /* Rotate from this point */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 0.75rem; /* Match card radius */
    padding: 3rem; /* Match card padding */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to bottom */
    z-index: 1; /* Below slant-top */
}

.feature-card-slant:hover .slant-bottom {
    transform: skewY(0deg) translateY(0%); /* Straighten and reveal */
}

.slant-bottom p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    line-height: 1.7;
    margin-bottom: 0;
    opacity: 0; /* Hidden by default */
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    transition: opacity 0.3s ease-out 0.2s, max-height 0.3s ease-out 0.2s; /* Delay for smooth reveal after slant */
}

.feature-card-slant:hover .slant-bottom p {
    opacity: 1;
    max-height: 120px; /* Adjust as needed for content */
}

/* General card hover for elevation */
.feature-card-slant:hover {
    transform: translateY(-12px); /* Lift higher */
    box-shadow: 0 18px 45px var(--card-shadow-hover); /* More prominent shadow */
    z-index: 10;
}

@media (max-width:1200px){
    .feature-card-slant {
        padding: 2.5rem;
    }
    .icon-slant {
        font-size: 3rem;
        transition: all 0.3s;
    }
    .slant-top h5 {
        font-size: 1.6rem;
    }
    .slant-bottom{
        padding: 2rem;
    }
    .slant-bottom p {
        font-size: 0.95rem;
    }
    .feature-card-slant:hover .icon-slant{
        margin-left: -10px;
    }
}
@media (max-width:768px){
    .icon-slant {
        font-size: 2.5rem;
    }
    .slant-top h5 {
        font-size: 1.4rem;
    }
    .slant-bottom p {
        font-size: 0.9rem;
        max-height: 100px;
    }
}

/* Industries Section */
.industries-section {
    padding: 100px 0;
    background: linear-gradient(rgba(45, 52, 54, 0.95), rgba(45, 52, 54, 0.95)), 
                url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
}

.industry-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    transition: var(--transition);
    border-left: 3px solid var(--primary);
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}


        
/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 0;
}

.footer-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* =========================== */
/* Page Header */
/* =========================== */
.page-header {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0 80px; 
    position: relative;
    z-index: 1;
    margin-top: 81px; 
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: -1;
}

.page-header .page-title {
    font-family: var(--font-montserrat); 
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header .page-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}


/* =========================== */
/* About Page */
/* =========================== */
.about-header {
    background-image: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80');
    background-repeat: no-repeat;
    background-position: center bottom;
}

/* Our Story Section */
.about-story-section {
    padding: 80px 0;
}

.about-story-section .image-stack {
    position: relative;
    padding-bottom: 100%; 
    height: 0; 
    overflow: hidden;
}
.about-story-section .image-stack img{
    position: absolute;
    object-fit: cover;
    border-radius: 10px; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.about-story-section .image-stack .img-top {
    width: 85%;
    height: 85%;
    top: 0;
    left: 0; 
    z-index: 2;
    transform: rotate(-3deg);
    transform-origin: top left; 
}

.about-story-section .image-stack .img-bottom {
    width: 70%;
    height: 70%; 
    top: 40%;
    left: 30%; 
    z-index: 1; 
    transform: rotate(2deg);
    transform-origin: bottom right;
}

/* Hover effects for the stacked images */
.about-story-section .image-stack:hover .img-top {
    transform: rotate(-5deg) translateY(-5px) scale(1.02);
}

.about-story-section .image-stack:hover .img-bottom {
    transform: rotate(3deg) translateY(5px) scale(1.02);
}


/* Mission & Vision Section */
.mission-vision-section {
    padding: 80px 0;
}

.mission-vision-section .card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.mission-vision-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mission-vision-section .card-title {
    font-family: var(--font-montserrat); 
    font-weight: 700;
    color: var(--dark); 
}

.mission-vision-section .card i {
    color: var(--primary); 
    margin-bottom: 1rem;
}

/* Core Values Section */
.core-values-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.core-values-section .value-item {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06); 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid rgba(0,0,0,0.05);
}

.core-values-section .value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.core-values-section .value-item i {
    color: var(--primary) !important;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.core-values-section .value-item h4 {
    font-family: var(--font-montserrat); 
    font-weight: 600;
    color: var(--dark);
}

/* Meet the Team Section */
.team-section {
    padding: 80px 0;
}

.team-section .team-member {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
}

.team-section .team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-section .team-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid var(--primary);
    margin-bottom: 1rem; 
}

.team-section .team-member .card-title {
    font-family: var(--font-montserrat); 
    font-weight: 700;
    color: var(--dark); 
}

.team-section .team-member .social-links a {
    color: var(--secondary); 
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-section .team-member .social-links a:hover {
    color: var(--primary);
}

.team-section .description-truncate {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 72px; 
}

/* Clients Section */
.clients-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.clients-section .client-logo {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    max-height: 60px; 
    object-fit: contain; 
}

.clients-section .client-logo:hover {
    opacity: 1;
}



/* =========================== */
/* Services Page */
/* =========================== */

.service-detail-section .section-title {
    font-size: 2.5rem; 
    margin-bottom: 1.5rem;
}
.service-detail-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 80px;
    height: 4px;
    left: 40px;
    background: var(--primary);
}
.service-detail-section .lead {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.service-detail-section p {
    margin-bottom: 1rem;
}
.service-detail-section .service-features {
    padding-left: 0;
    margin-top: 1.5rem;
}

.service-detail-section .service-features li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    list-style: none; 
    display: flex;
    align-items: center;
}

.service-detail-section .service-features li i {
    font-size: 1.2em;
    margin-right: 10px;
    color: var(--primary) !important; 
}
.service-detail-section img {
    max-height: 450px; 
    object-fit: cover;
    width: 100%; 
}


/* =========================== */
/* Single Services Page */
/* =========================== */


.challenge-solution-section {
    background: linear-gradient(135deg, var(--dark) 0%, #333 100%); /* Dark gradient background */
    color: #fff;
    padding: 80px 0;
    border-radius: 15px; /* Rounded corners for the whole section */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 60px;
    margin-bottom: 60px;
}

.challenge-solution-section .section-title {
    color: var(--white) !important; /* Ensure title is white */
    margin-bottom: 1.5rem;
}

.challenge-solution-section .lead {
    color: rgba(255, 255, 255, 0.75) !important;
}

.challenge-solution-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white background for cards */
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.challenge-solution-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.icon-challenge,
.icon-solution,
.icon-impact {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.icon-challenge { background-color: #e74c3c; color: var(--white); } 
.icon-solution { background-color: var(--primary); color: var(--white); } 
.icon-impact { background-color: #2ecc71; color: var(--white); }

.challenge-solution-card h4 {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.challenge-solution-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
}


/* Why Different */
.different-value-section i{
    font-size: 3rem;
}


/* Process */
.process-steps-unique {
    position: relative;
    padding-bottom: 50px;
}

/* Vertical line for desktop */
.process-steps-unique::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: var(--primary-light); /* Light primary color line */
    transform: translateX(-50%);
    z-index: 0;
}

.process-step-item {
    position: relative;
    padding-bottom: 60px; /* Space for connection */
    z-index: 1;
}

.process-step-item:nth-child(even) { /* Align even items to the right */
    padding-left: 50px;
}

.process-step-item:nth-child(odd) { /* Align odd items to the left */
    padding-right: 50px;
}

.process-step-item:last-child {
    padding-bottom: 0;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: var(--light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-montserrat);
    font-size: 1.8rem;
    font-weight: 700;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--white); /* White border around numbers */
}

.process-step-item:nth-child(even) .process-step-number {
    left: 50%; /* Center on line for even */
}
.process-step-item:nth-child(odd) .process-step-number {
    left: 50%; /* Center on line for odd */
}


.process-step-content {
    background-color: var(--light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-height: 150px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 30px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.process-step-content h4 {
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.process-step-content h4 i {
    color: var(--primary);
    font-size: 1.1em;
}

.process-step-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}


.process-step-item:nth-child(odd) .process-step-content h4 i {
    margin-left: 10px;
    margin-right: 0;
}
.process-step-item:nth-child(even) .process-step-content {
    text-align: left;
}


.process-step-item::after {
    content: '';
    position: absolute;
    width: 25px; 
    height: 3px;
    background-color: var(--primary);
    top: 30px; 
    z-index: 1;
}

.process-step-item:nth-child(odd)::after { 
    right: 50%; 
    transform: translateX(calc(50% + 30px)); 
    border-radius: 0 5px 5px 0;
}

.process-step-item:nth-child(even)::after { 
    left: 50%;
    transform: translateX(calc(-50% - 30px)); 
    border-radius: 5px 0 0 5px;
}

/* FAQ */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners clip content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}


.accordion-button {
    background-color: var(--white); 
    color: var(--dark); 
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: 1.15rem;
    padding: 18px 20px;
    border-radius: 8px !important; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--primary); 
    background-color: var(--primary-light); 
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125); 
}

.accordion-button:focus {
    box-shadow: none; 
    border-color: transparent; 
}

.accordion-button::after {
    filter: brightness(0) saturate(100%) invert(0%); 
}
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(var(--bs-accordion-btn-icon-filter, 0%)); 
}


.accordion-body {
    padding: 20px;
    background-color: var(--white);
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}


/* =========================== */
/* Training Section */
/* =========================== */
.training-intro-section .why-choose-list {
    margin-top: 20px;
    text-align: left;
}
.training-intro-section .why-choose-list i{
    color: var(--primary);
}
.training-intro-section .why-choose-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--dark-light);
}

.training-intro-section img {
    max-height: 400px; 
    object-fit: cover;
    width: 100%;
    border-radius: 12px !important; 
}


/* Training Program Cards */
.training-program-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.training-program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.training-program-card .program-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary); 
    color: var(--light);
    font-size: 2.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.training-program-card h4 {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.training-program-card p {
    font-size: 1rem;
    color: var(--dark-light);
    margin-bottom: 20px;
    flex-grow: 1; 
}

.training-program-card .program-features {
    padding-left: 0; 
    margin-bottom: 20px;
}

.training-program-card .program-features li {
    font-size: 0.95rem;
    color: var(--dark-light);
    margin-bottom: 8px;
}

.training-program-card .program-features li i {
    color: var(--primary);
}



/* =========================== */
/* Verification */
/* =========================== */
.certificate-verification-section {
    background-color: var(--light); 
    padding-top: 80px;
    padding-bottom: 80px;
}

.certificate-form-card {
    background-color: var(--white);
    border-radius: 12px;
}

.certificate-verification-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}

.certificate-verification-section .lead {
    font-size: 1.1rem;
}

.certificate-verification-section .form-label {
    font-family: var(--font-montserrat);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.certificate-verification-section .form-control-lg {
    padding: 15px 20px;
    font-size: 1.2rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.certificate-verification-section .form-control-lg:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

.certificate-verification-section .btn-primary {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-verification-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* =========================== */
/* Contact Page */
/* =========================== */
.contact-main-content .section-title {
    font-size: 2.2rem; 
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark);
}

.contact-main-content .lead {
    color: var(--dark-light);
    font-size: 1.1rem;
}

/* Contact Information Blocks */
.contact-info-blocks {
    display: grid;
    gap: 30px; /* Space between contact items */
    margin-top: 40px;
}

.contact-info-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px; 
    min-height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--white);
    margin-right: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-icon-location { background-color: var(--contact-icon-location); }
.contact-icon-email { background-color: var(--contact-icon-email); }
.contact-icon-phone { background-color: var(--contact-icon-phone); }

.contact-details h4 {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--dark-light);
    margin-bottom: 0;
}

.contact-details p a {
    color: var(--dark-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details p a:hover {
    color: var(--primary);
}


.contact-main-content {
    position: relative;
    z-index: 2; 
    background-color: var(--light); 
    padding-top: 100px; 
    border-top-left-radius: 0; 
    border-top-right-radius: 0; 
}

.reason-section{
    background:linear-gradient(90deg,rgb(38, 41, 41) 0%, rgb(38, 41, 41) 73%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 50px 0;
    margin: 80px 0;
    color: #fff;
}
.reason-section i{
    color: var(--primary);
    font-size: 30px;
    margin-bottom: 10px;
}
.reason-section .reason-title{
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px; /* Consistent rounded corners */
    padding: 40px; /* Increased padding */
}

.contact-form .form-label {
    font-family: var(--font-montserrat);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 1rem;
    border: 1px solid #ddd;
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

.contact-form textarea.form-control {
    resize: vertical;
}

.contact-form .btn-primary {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Map Section */
.map-section {
    padding-top: 0;
    margin-top: 60px;
    padding-bottom: 0 !important;
    border-radius: 0 !important;
}

.map-container {
    position: relative;
    padding-bottom: 40%; /* Adjust aspect ratio for a wider map (e.g., 40% height of width) */
    
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section {
        padding: 80px 0;
    }


    /* Page specific headers */
    .page-header {
        padding: 100px 0 60px;
    }
    .page-header .page-title {
        font-size: 2.8rem;
    }
    .page-header .page-subtitle {
        font-size: 1.1rem;
    }

    .about-story-section .image-stack {
        padding-bottom: 80%; 
    }
    .about-story-section .image-stack .img-top {
        width: 90%;
        height: 90%;
        left: 5%; 
        top: 0;
    }
    .about-story-section .image-stack .img-bottom {
        width: 75%;
        height: 75%;
        left: 20%;
        top: 30%; 
    }

    .mission-vision-section .card, .core-values-section .value-item,
    .team-section .team-member {
        margin-bottom: 30px;
    }


    .service-detail-section .section-title {
        text-align: center !important;
        margin-top: 1.5rem;
    }
    .service-detail-section .lead {
        text-align: center;
    }
    .service-detail-section p {
        text-align: center;
    }
    .service-detail-section .service-features {
        text-align: left;
        padding-left: 20px; 
    }
    .service-detail-section .service-features li {
        justify-content: start; 
    }
    .service-detail-section .btn {
        display: block;
        width: fit-content;
        margin: 0 auto;
        margin-top: 1.5rem; 
    }

    .service-detail-section .section-title::after {
        bottom: -15px;
        width: 80px;
        height: 4px;
        left: 50%;
        transform: translateX(-50%);
    }

    .challenge-solution-section {
        padding: 60px 0;
    }
    .icon-challenge, .icon-solution, .icon-impact {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    .challenge-solution-card h4 {
        font-size: 1.3rem;
    }

    /* Training */
    
    .training-program-card {
        padding: 25px;
    }

    .training-program-card .program-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .training-program-card h4 {
        font-size: 1.4rem;
    }
    .training-program-card p,
    .training-program-card .program-features li {
        font-size: 0.9rem;
    }

    /* Certification */
    .certificate-verification-section .section-title {
        font-size: 2rem;
    }
    .certificate-verification-section .lead {
        font-size: 1rem;
    }
    .certificate-form-card {
        padding: 30px;
    }
    .certificate-verification-section .form-control-lg {
        padding: 12px 15px;
        font-size: 1.1rem;
    }
    .certificate-verification-section .btn-primary {
        padding: 12px 25px;
        font-size: 1.1rem;
    }

    
}
        
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .navbar-brand {
        font-size: 24px;
    }


    .page-header {
        padding: 80px 0 50px;
    }
    .page-header .page-title {
        font-size: 2.2rem;
    }
    .page-header .page-subtitle {
        font-size: 1rem;
    }

    .clients-section .client-logo {
        max-width: 90px;
    }

    .about-story-section .image-stack {
        padding-bottom: 90%;
        margin-bottom: 40px; 
    }
    .about-story-section .image-stack .img-top {
        width: 95%;
        height: 95%;
        left: 2.5%;
        top: 0;
    }
    .about-story-section .image-stack .img-bottom {
        width: 80%;
        height: 80%;
        left: 10%;
        top: 25%;
    }

    .service-detail-section {
        padding: 60px 0;
    }
    .service-detail-section .section-title {
        font-size: 2rem;
    }

    


    .process-steps .process-step {
        padding: 25px 20px;
    }
    .process-steps .process-step .icon-circle {
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    .process-steps .process-step h4 {
        font-size: 1.2rem;
    }

    /* Challenge Solution */
    .challenge-solution-section {
        padding: 40px 0;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .challenge-solution-card {
        padding: 25px;
    }
    .icon-challenge, .icon-solution, .icon-impact {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .challenge-solution-card h4 {
        font-size: 1.1rem;
    }
    .challenge-solution-card p {
        font-size: 0.85rem;
    }

    /* Process Steps Unique - Mobile adjustments */
    .process-steps-unique::before {
        left: 20px; 
    }
    .process-step-number {
        left: 20px; 
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        border-width: 2px;
    }
    .process-step-item:nth-child(even) .process-step-number,
    .process-step-item:nth-child(odd) .process-step-number {
        left: none; 
    }
    .process-step-item:nth-child(odd){
        padding-right: 0;
    }
    .process-step-item:nth-child(even){
        padding-left: 0;
    }
    .process-step-content {
        margin-left: 0px; 
        padding: 20px;
        min-height: auto;
    }
    .process-step-content h4 {
        font-size: 1.1rem;
    }
    .process-step-content p {
        font-size: 0.85rem;
    }


    .accordion-button {
        font-size: 1rem;
        padding: 15px 18px;
    }
    .accordion-body {
        font-size: 0.9rem;
    }

    /* Training */
    
    .training-intro-section img {
        max-height: 280px;
    }


    .training-program-card{
        padding: 20px;
    }

    .training-program-card .program-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    .training-program-card h4 {
        font-size: 1.3rem;
    }


    .certificate-verification-section .section-title {
        font-size: 1.8rem;
    }
    .certificate-verification-section .lead {
        font-size: 0.95rem;
    }
    .certificate-form-card {
        padding: 20px;
    }
    .certificate-verification-section .form-control-lg {
        padding: 10px 12px;
        font-size: 1rem;
    }
    .certificate-verification-section .btn-primary {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
}
        
@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .carousel-control-prev, .carousel-control-next {
        display: none;
    }

    .about-story-section .image-stack .img-bottom {
        left: 5%;
    }
}
