:root {
    --primary-color: #d0021b;
    --secondary-color: #515457;
    --tertiary-color: #dc3545;
    --text-color: #333333;
}


body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}

.discover-more {
    background-color: #d0021b;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: center;
    display: inline-block;
    position: relative; 
    left: 50%;
    transform: translateX(-50%);
    margin: 60px 0; 
margin-bottom: 0;
 
}

.discover-more:hover {
    background-color: darkred;
}


.content-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px); 
    padding: 20px;
    margin-bottom: -60px; 
    margin-top: -100px; 
}
/* Containers */

.about-section {
    padding: 60px 0;
}

/* .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: fit-content;
    text-align: center;
} */

.box {
    width: 350px;
    height: 286px;;
    background-color: white;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 18px;
    font-weight: bold;
    padding: 20px;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    margin-top: 0px;
    margin-bottom: 10px;
    overflow: hidden;
}


.box::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0; 
    width: 100%;
    height: 3px;
    background-color: black;
    transition: width 0.5s ease-in-out;
}


.box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0; 
    width: 0%;
    height: 3px;
    background-color: red;
    transition: width 0.5s ease-in-out;
}


.box:hover::before {
    width: 0%;
}


.box:hover::after {
    width: 100%;
}

.box:hover {
    color: #e74c3c;
}

.box .icon {
    font-size: 50px;
    color: #333;
}

.box:hover .icon {
    color: #e74c3c;
}



.featured-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; 
    justify-content: center;
    align-items: center;
    padding: 20px 0; 
    max-width: 1100px;
    margin: -60px auto; 
}
.featured-box {
    position: relative;
    width: 350px;
    height: 286px;;
    background: white;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 0px;
    margin-bottom: 20px;
    border-radius: 0; }


.featured-box::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0; 
    width: 100%;
    height: 3px;
    background-color: black;
    transition: width 0.5s ease-in-out;
}


.featured-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0; 
    width: 0%;
    height: 3px;
    background-color: red;
    transition: width 0.5s ease-in-out;
}


.featured-box:hover::before {
    width: 0%;
}

.featured-box:hover::after {
    width: 100%;
}



.featured-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #27ae60;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 2; 
}


.image-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}


.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}


.featured-box:hover .discover-btn {
    opacity: 1;
}

.featured-box:hover .image-container img {
    opacity: 0.3;
}


.discover-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


.featured-content {
    padding: 15px;
}

.featured-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.featured-content p {
    font-size: 14px;
    color: #666;
}


.featured-box:hover .featured-content h3,
.featured-box:hover .featured-content p {
    color: #e74c3c;
}
.text-separator{
    text-align: center;

font-size: 20px;
font-weight: bold;
position: relative;
padding-bottom: 10px;
margin-top: 50px;
   
}
.text-separator::after{
content: "";
display: block;
   width: 50%;
   margin: 5px auto 0;
   margin-top: 10;
   border-bottom:2px solid black;
} 
.featured-separator{
    text-align: center;
font-size: 20px;
font-weight: bold;
position: relative;
padding-bottom: 10px;
margin-bottom: 120px;
   
}
.featured-separator::after{
content: "";
display: block;
   width: 50%;
   margin: 5px auto 0;
   margin-top: 10;
   border-bottom:2px solid black;
} 

.choose-separator{
    text-align: center;
font-size: 20px;
font-weight: bold;
position: relative;
padding-bottom: 10px;
margin-bottom: 120px;
margin-top: 60px;
   
}
.choose-separator::after{
content: "";
display: block;
   width: 50%;
   margin: 5px auto 0;
   margin-top: 10;
   border-bottom:2px solid black;
} 
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .featured-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .box, .featured-box {
        max-width: 90%;
        height: auto;
        padding: 15px;
        margin-top: 80px; 
        margin-bottom: 30px; 
    }

    .text-separator, 
    .featured-separator {
        font-size: 18px;
        margin-top: 50px;
        margin-bottom: 20px;
        padding-bottom: 5px;
    }

    .text-separator::after, 
    .featured-separator::after {
        width: 70%;
        border-bottom: 2px solid black;
    }
}

.discover-more {
    background-color: #d0021b;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: center;
    display: inline-block;
    position: relative; 
    left: 50%;
    transform: translateX(-50%);
    margin: 60px 0; 
margin-bottom: 0;
 
}

.discover-more:hover {
    background-color: darkred;
}

/* success in numbers */

.success-numbers {
    position: relative;
    background-image: url('../assets/img/success.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0;
    color: white;
    text-align: left;
    margin: 100px 0;
}

.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   /* background: linear-gradient(135deg, rgba(0, 102, 153, 0.95), rgba(0, 82, 136, 0.85)); */
}

.success-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.success-content h2 {
    font-size: 2rem;
    margin-bottom: 60px;
    font-weight: 600;
    text-align: left;
    color: white;
}

.numbers-container {
    display: flex;
    justify-content: flex-start;
    gap: 120px;
    margin: 0;
    flex-wrap: wrap;
}

.number-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
}

.number-box i {
    font-size: 2.5rem;
    color: white;
    margin: 0;
}

.number-box .counter {
    font-size: 3rem;
    font-weight: bold;
    color: #dc3545;
    margin: 0;
    display: inline;
}

.number-box .text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.number-box p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.number-box:not(:last-child) {
    position: relative;
}

.number-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .success-content h2 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 40px;
    }

    .numbers-container {
        justify-content: center;
        gap: 40px;
    }

    .number-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .number-box:not(:last-child)::after {
        display: none;
    }

    .number-box .text-content {
        align-items: center;
    }

    .number-box .counter {
        font-size: 2.5rem;
    }

    .number-box p {
        font-size: 0.8rem;
    }
}

/* SERVICES WE PROVIDE SECTION */

.services-section {
    /* padding: 80px 0; */
    max-width: 100%;
    /* margin: 0 auto; */
}

.services-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 60px;
    font-weight: normal;
    padding-left: 20px;
    text-align: left;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.service-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    background: white;
    position: relative;
}

.service-box::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #007bff;
}

.service-icon {
    font-size: 70px !important;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
}

.service-box p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: normal;
    text-align: justify;
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-title {
        font-size: 2rem;
        text-align: left;
        margin-bottom: 40px;
    }

    .service-box {
        padding: 0;
    }

    .service-icon {
        font-size: 36px !important;
    }

    .service-box h3 {
        font-size: 1.3rem;
    }
}
