.about-section {

    padding: 50px 0;

    background-color: #f9f9f9;

}

.about-image {

    overflow: hidden;

    border-radius: 8px;

}

.about-content{

padding: 20px;

}

.about-content h5{



    color: #FF3C00;

    font-size: 16px;

    text-transform: uppercase;

    font-weight: bold;

    margin-bottom: 15px;

    letter-spacing: 1px;

    margin: 0 0 5px;

}

.about-content h2 ,

.about-content h3{

    font-size: 35px;

    margin-bottom: 0px;

    text-transform: capitalize;

    margin-top: 0;

    line-height: 1.2;

    font-weight: 700;

}

.about-content h3 span {

    color: #FF3C00;

}

.about-content p {

    color: #555;

    margin: 20px 0;

}



.about-section .nav-tabs {

    display: flex;

    justify-content: space-between; /* Ensures tabs are evenly spaced */

    align-items: center;

}

.about-section .nav-tabs .nav-item {

    flex: 1; /* Ensures all tabs have equal width */

    text-align: center;

}



.about-section .nav-tabs .nav-link {

    font-weight: bold;

    color: #333;

}

.about-section .nav-tabs .nav-link.active {

    color: #FF3C00;

    border-color: #FF3C00 #FF3C00 #fff;

}

.about-section .tab-content {

    border: 1px solid #ddd;

    border-top: none;

    padding: 20px;

    border-radius: 0 0 8px 8px;

    background-color: #fff;

}

.btn-discover {

    background-color: #FF3C00;

    color: #fff;

    padding: 10px 20px;

    border-radius: 5px;

    font-weight: bold;

    text-decoration: none;

}

.btn-discover:hover {

    background-color: #FF3C00;

    color: #fff;

}



/* General adjustments for small screens */

@media (max-width: 1200px) {

.about-section {

padding: 40px 0;

}

.about-content h2,

.about-content h3 {

font-size: 30px;

}

.about-content p {

font-size: 14px;

}

.btn-discover {

padding: 8px 16px;

font-size: 14px;

}

}



/* Medium devices (tablets, 768px to 991px) */

@media (max-width: 991px) {

.about-section {

padding: 30px 0;

}

.about-content h2,

.about-content h3 {

font-size: 21px;

}

.about-content h5 {

font-size: 14px;

}

.about-section .nav-tabs .nav-link {

font-size: 14px;

}

.tab-content {

padding: 15px;

}



}



/* Small devices (phones, 576px to 767px) */

@media (max-width: 767px) {

.about-section {

padding: 20px 0;

}

.about-content {

padding: 15px;

}

.about-content h2,

.about-content h3 {

font-size: 24px;

}

.about-content h5 {

font-size: 13px;

}

.about-content p {

font-size: 13px;

}

.btn-discover {

padding: 6px 12px;

font-size: 13px;

}

}



/* Extra small devices (phones, less than 576px) */

@media (max-width: 576px) {



.about-image {

margin-bottom: 20px;

}

.about-content h2,

.about-content h3 {

font-size: 20px;

}

.about-content p {

font-size: 12px;

}

.btn-discover {

padding: 5px 10px;

font-size: 12px;

}



.about-section .nav-tabs {

flex-direction: column;

justify-content: space-between;

align-items: normal;

}

.about-section .nav-tabs .nav-link {

margin-bottom: 5px;

text-align: center;

width: 100%;



}



}

@media (max-width: 374px) {



.about-image {

margin-bottom: 20px;

}

.about-content h2,

.about-content h3 {

font-size: 19px;

}

.about-content p {

font-size: 12px;

}

.btn-discover {

padding: 5px 10px;

font-size: 12px;

}

.about-section .nav-tabs {

flex-direction: column;

}

.about-section .nav-tabs .nav-link {

margin-bottom: 5px;

text-align: center;

width: 100%;



}



}

