* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
}

.home-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background: linear-gradient(45deg, #f5f5f5, #ddd);
}

.slider-container {
    display: flex;
    width: calc(100% * 1); /* Ensuring the width is accurate */
    height: 100%;
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
    flex: 0 0 calc(100% / 1);
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: filter 0.5s;
}

.text-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.slide h2, .slide p {
    /* Using a web-safe font but you can use any other font by linking it */
    font-family: 'Georgia', serif;
    animation: fadeInUp 1s both; /* Animation */
}

.slide h2 {
    font-size: 2.5em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.5em;
    font-weight: bold; /* Making it bold */
    text-transform: uppercase; /* All uppercase */
}

.slide p {
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.slide.active h2, .slide.active p {
    animation: fadeInUp 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.controls span {
    cursor: pointer;
    padding: 10px 30px;
    border-radius: 50%;
    transition: background-color 0.5s, transform 0.5s;
    font-size: 1.5em;
    color: white;
    pointer-events: all;
}

.controls span:hover {
    transform: scale(1.1);
}

.pagination {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.5s;
}

.dot:hover, .dot.active {
    background-color: #218191;
}

@media (max-width: 768px) {
    .slide h2 {
        font-size: 2em;
    }

    .slide p {
        font-size: 1em;
    }

    .controls span {
        font-size: 1.2em;
        padding: 8px 12px;
    }
    .home-slider {
        height: 30vh;
        object-fit: cover;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .home-slider {
        height: 30vh;
        object-fit: cover;
    }

    .slide h2 {
        font-size: 1.5em;
    }

    .slide p {
        font-size: 0.9em;
    }

    .controls span {
        font-size: 1em;
        padding: 6px 10px;
    }
}

/* Slider Ends here */
/* Call To Action 1 Starts here */

#section-one {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: white;
}

.container-one {
    background: #218191;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1260px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.9);
    margin-bottom: 5px;
}

.container-one-text {
    flex: 2;
    font-size: 20px;
    color: #f1f1f1;
    line-height: 1.5;
    border-right: 2px solid #505860;
    padding-right: 30px;
}

.container-one-text p{
    margin-bottom: 0 !important;
    font-size: 1.2rem;
    margin-left: 40px;
}

.btn-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.action-button-1 {
    background: white;
    color: black;
    border: none;
    padding: 9px 70px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s;
}

.action-button-1:hover {
    background: #0e5765;
    color: white;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .container-one {
        flex-direction: column;
        text-align: center;
    }

    .container-one-text {
        border-right: none;
        padding-right: 0;
        margin-bottom: 20px;
    }

    .btn-container {
        width: 100%;
        justify-content: center;
    }

    .container-one-text p{
        font-size: 0.9rem;
        margin-left: 0;
    }

    .action-button-1 {
        font-weight: 400;
        font-size: 13px;
    }
}

/* CTA 1 Ends here */
/* Services starts here */

#services-section {
    padding: 30px 20px;
    max-width: 1200px;
    margin: auto;
    color: #eee;
    text-align: center;
}



.header-container {
    text-align: center;
    margin-bottom: 35px;
}

.small-line {
    width: 60px;
    margin: 0 auto 20px;
    border: 1px solid #000;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 18px;
    color: #218191;
}

h3 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #696969;
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-card {
    flex-basis: calc(33.33% - 20px);
    background-color: #ffffff;
    padding: 25px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-10px);
}

.service-card img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-card h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #218191;
}

.service-card p {
    color: #888;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .service-card {
        flex-basis: calc(50% - 20px);
    }
    .header-container h2{
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .service-card {
        flex-basis: 100%;
    }

    .header-container h2{
        font-size: 1.6em;
    }
}

/* Services Ends here */

/* Courses Section */
#courses-section {
    width: 100%;
    padding: 40px 0;
    background-color: #ffffff;
    position: relative;
    user-select: none;
}

.course-heading h1{
    font-size: 26px;
    font-weight: 600;
    color: #218191;
}

.course-heading p{
    font-size: 22px;
    color: #218191;
}

#courses-section::before {
    content: "";
    background-image: url("#");
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.9;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.course-container {
    position: relative;
    width: 60%; /* Decreased the width of the container */
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.course-slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.course-card {
    flex: 0 0 calc(33.33% - 50px); /* Increased the margin space to reduce card width */
    margin: 25px; /* Increased the margin to ensure separation between cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 25px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 80px;
}

.course-card:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.course-card img {
    max-width: 100%;
    border-radius: 25px;
    pointer-events: none;
}

.course-card h2{
    margin-top: 20px;
    font-weight: 600;
    font-size: 29px;
}

.register-button {
    display: inline-block;
    padding: 7px 80px;
    background-color: #218191;
    color: white;
    border: none;
    text-decoration: none;
    border-radius: 4px;
    margin-top: auto;    /* This will push the button to the bottom in a flex container */
    position: absolute;  /* To ensure button stays at the bottom */
    bottom: 20px;       /* Bottom padding of the card */
    left: 50%;          /* Centering the button */
    transform: translateX(-50%);  /* Adjust for perfect center */
}

.register-button:hover{
    background-color: #135f6b;
    color: white;
}

.course-card a{
    text-decoration: none;
    color: #FFFFFF;
}

.discount-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #FF4500;
    color: white;
    padding: 7px 14px;
    border-radius: 7px;
    font-size: 12px;
}

.course-container .price {
    font-size: 22px;
    font-weight: bold;
    margin-top: 8px;
}

.strikethrough {
    text-decoration: line-through;
    color: #888;
    margin-right: 7px;
    font-size: 16px;
}

/* Slider Controls - Arrows */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(53,129,146,0.7);
    color: #FFF;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 3px;
    z-index: 10;
    user-select: none;
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

/* For Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .course-container {
        width: 80%;
    }

    .course-card {
        flex: 0 0 calc(50% - 30px);  /* Adjust the flex-basis for 2 cards in a row */
        margin: 15px;
    }

    .course-card h2{
        font-size: 24px;
    }

    .register-button {
        padding: 6px 12px;
    }

    .course-container .price {
        font-size: 20px;
    }

    .strikethrough {
        font-size: 14px;
    }
}

/* For Phones */
@media (max-width: 767px) {
    .course-container {
        width: 90%;
    }

    .course-card {
        flex: 0 0 100%;  /* Adjust the flex-basis for 1 card in a row */
        margin: 10px;
    }

    .course-card h2{
        font-size: 20px;
    }

    .register-button {
        padding: 5px 10px;
    }

    .course-container .price {
        font-size: 18px;
    }

    .strikethrough {
        font-size: 12px;
    }

    .slider-control {
        padding: 5px 10px;
    }
}

/* Extra Small Devices (Phones) */
@media (max-width: 575px) {
    .course-container {
        width: 90%;
    }

    .course-card {
        flex: 0 0 95%;  /* Full width for cards */
        margin: 10px;
    }

    .course-card h2{
        font-size: 20px;
    }

    .register-button {
        padding: 7px 100px;
    }

    .course-container .price {
        font-size: 18px;
    }

    .strikethrough {
        font-size: 12px;
    }

    .slider-control {
        padding: 5px 10px;
    }
}

/* Small Devices (Landscape Phones) */
@media (min-width: 576px) and (max-width: 767px) {
    .course-container {
        width: 90%;
    }

    .course-card {
        flex: 0 0 calc(50% - 30px);  /* 2 cards in a row */
        margin: 15px;
    }

    .course-card h2{
        font-size: 22px;
    }

    .register-button {
        padding: 6px 12px;
    }

    .course-container .price {
        font-size: 20px;
    }

    .strikethrough {
        font-size: 14px;
    }
}

/* Medium Devices (Tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .course-container {
        width: 80%;
    }

    .course-card {
        flex: 0 0 calc(50% - 30px);
        margin: 15px;
    }

    .course-card h2{
        font-size: 24px;
    }

    .register-button {
        padding: 6px 12px;
    }

    .course-container .price {
        font-size: 21px;
    }

    .strikethrough {
        font-size: 15px;
    }
}

/* Large Devices (Desktops) */
@media (min-width: 992px) and (max-width: 1199px) {
    .course-container {
        width: 70%;
    }

    .course-card {
        flex: 0 0 calc(33.33% - 40px);
        margin: 20px;
    }

    .course-card h2{
        font-size: 27px;
    }

    .register-button {
        padding: 7px 14px;
    }

    .course-container .price {
        font-size: 22px;
    }

    .strikethrough {
        font-size: 16px;
    }
}

.diving-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background-color: #f2f2f3; /* A light blue to represent water */
    position: relative;
    padding: 40px;
}

.diving-container {
    display: flex;
    width: 80%;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.left-container, .right-container {
    flex: 0.48; /* Slightly less than half to account for center gap */
    position: relative;
}

.diving-container .line {
    width: 50px;
    height: 4px;
    background-color: #358092; /* Deep blue color */
    margin-bottom: 15px;
}

.learn-text, .description {
    color: #000;
    margin: 10px 0;
}

.diving-container .heading {
    margin: 15px 0;
    color: #358092; /* Darker shade of blue */
    font-weight: 400;
}

.learn-btn {
    padding: 10px 20px;
    background-color: #358092;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin: auto; /* This will center the button horizontally inside its parent */
    display: block; /* Ensure the button is treated as a block-level element */
    margin-top: 10px;
}

.learn-btn:hover {
    background-color: #1a5665;
    color: white;
}

.diving-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.diving-container .description {
    text-align: justify; /* This will justify the text */
    max-width: 800px; /* Prevent the line length from becoming too long for readability */
    margin: 0 auto; /* This will center the text block within its container */
    line-height: 1.6; /* Improve readability */
    padding: 10px 0; /* Add some vertical space around the text */
}

.video-link {
    position: relative;
    display: inline-block; /* Makes the link wrap around its contents only */
}

.play-button {
    width: 64px; /* Width of the play button */
    height: 64px; /* Height of the play button */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the button */
    background: url('../images/play.png') center no-repeat;
    background-size: contain; /* Adjust as necessary based on your icon's design */
    cursor: pointer;
    z-index: 10;
}

.diving-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s; /* Makes the hover effect smooth */
}

.video-link:hover .diving-image {
    opacity: 0.7; /* Adds a slight fade to the image on hover to emphasize the play button */
}

@media (max-width: 768px) {
    .diving-container {
        flex-direction: column;
    }

    .left-container, .right-container {
        flex: 1; /* Resetting the flex so each takes full width */
        margin-bottom: 20px; /* Adding some space between them on smaller screens */
    }

    .diving-container .description {
        font-size: 0.9em; /* Slightly reducing font size for better fitting */
    }

    .learn-btn, .center-btn {
        padding: 8px 15px; /* Slightly reduce padding for buttons */
    }
}

/* For mobile phones */
@media (max-width: 480px) {
    .diving-section {
        padding: 20px; /* Reduce padding on very small screens to maximize space */
    }

    .diving-container {
        width: 95%; /* Increase width to take up more space */
    }

    .diving-container .heading {
        font-size: 1.8em; /* Reducing font size for better fitting on very small screens */
    }

    .diving-container .learn-text {
        font-size: 1.3em; /* Reducing font size for better fitting on very small screens */
    }

    .diving-container .description {
        font-size: 0.9em; /* Reducing font size for better fitting on very small screens */
    }

    .diving-container .line {
        width: 30px; /* Shortening the line */
    }
}

#testimonials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    padding: 80px 30px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-heading {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Lato', sans-serif;
}

.testimonial-heading h4 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #212121;
    margin-bottom: 10px;
}

.testimonial-heading span {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-line {
    width: 75px;
    height: 4px;
    background-color: #307385;
    margin-bottom: 30px;
}

.slider-btn {
    position: absolute;
    top: 62%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 2px solid #307385;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #307385;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: #307385;
    color: #ffffff;
    transform: scale(1.1) translateY(-50%);
}

.slider-btn.prev {
    left: 220px;
}

.slider-btn.next {
    right: 220px;
}

.slick-prev, .slick-arrow {
    display: none !important;
}
.slick-next, .slick-arrow {
    display: none !important;
}

.testimonial-box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px 200px;
}

.testimonial-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .3s ease-out;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 300px;
    min-height: 400px;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin: 20px;
    cursor: pointer;
}

.testimonial-box:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.profile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-direction: column;
    text-align: center;
}

.name-user {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    align-items: center;
    text-align: center;
}

.name-user strong {
    font-size: 1.2rem;
    color: #313131;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.name-user span {
    font-size: 0.85rem;
    color: #8c8c8c;
}

.reviews {
    color: #fac915;
    margin-top: 8px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.client-comment p {
    font-size: 1rem;
    color: #434343;
    line-height: 1.5;
    font-family: 'Roboto', sans-serif;
    text-align: justify;
}

/* Large Devices (Large Desktops, ≥ 1440px) */
@media (max-width: 1439px) {
    .testimonial-box-container {
        padding: 20px 150px;
    }
}

@media (max-width: 1462px) {
    .testimonial-box-container {
        padding: 20px 100px;
    }
    .slider-btn.prev {
        left: 115px;
    }
    .slider-btn.next {
        right: 115px;
    }
    .testimonial-box {
        min-height: 475px;
    }
}

@media (max-width: 1300px) {
    .testimonial-box-container {
        padding: 20px 100px;
    }
    .slider-btn.prev {
        left: 115px;
    }
    .slider-btn.next {
        right: 115px;
    }
    .testimonial-box {
        min-height: 500px;
    }
}

/* Medium Devices (Desktops, ≥ 992px and < 1199px) */
@media (max-width: 1199px) {
    .testimonial-box-container {
        padding: 20px 100px;
    }
    .slider-btn.prev {
        left: 115px;
    }
    .slider-btn.next {
        right: 115px;
    }
    .testimonial-box {
        min-height: 520px;
    }
}

/* Small Devices (Tablets, ≥ 768px and < 992px) */
@media (max-width: 991px) {
    .testimonial-box-container {
        padding: 20px 50px;
    }
    .slider-btn.prev {
        left: 70px;
    }
    .slider-btn.next {
        right: 70px;
    }
    .testimonial-box {
        min-height: 475px;
    }
}

/* Extra Small Devices (Landscape phones, ≥ 576px and < 768px) */
@media (max-width: 767px) {
    .testimonial-heading h4 {
        font-size: 2.2rem;
    }
    .testimonial-heading span {
        font-size: 1.3rem;
    }
    .testimonial-box {
        width: 85%;
        margin: 15px 10px;
        min-height: 325px;
    }
    .slider-btn.prev {
        left: 60px;
    }
    .slider-btn.next {
        right: 60px;
    }
}

/* Tiny Devices (< 576px) */
@media (max-width: 575px) {
    #testimonials {
        padding: 40px 15px;
    }
    .testimonial-heading h4 {
        font-size: 1.8rem;
    }
    .testimonial-heading span {
        font-size: 1.1rem;
    }
    .testimonial-box-container {
        padding: 20px 15px;
    }
    .testimonial-box {
        width: 95%;
        margin: 10px 10px;
        min-height: 480px;
    }
    .slider-btn.prev, .slider-btn.next {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        top: 60%;
    }
    .slider-btn.prev {
        left: 20px;
    }
    .slider-btn.next {
        right: 20px;
    }
    .profile, .name-user {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .name-user {
        margin-left: 0;
        margin-top: 10px;
    }
}

.sea-addicts-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: relative;
    margin: 30px 180px;
}

.sea-addicts-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background-color: #358092;
}
.sea-addicts-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.sea-addicts-content .intro-text {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 1em;
    font-weight: bold;
}

.sea-addicts-content .heading {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: #358092;
}

.description {
    word-wrap: break-word;
    margin-bottom: 1em;
    line-height: 1.6;
    color: #555;
}

.sea-addicts-content .join-btn {
    display: inline-block;
    background-color: #358092;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s ease;
    text-align: center;
}

.sea-addicts-content .join-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-45deg);
    transition: left 0.5s ease;
    z-index: -1;
}

.sea-addicts-content .join-btn:hover {
    transform: scale(1.05);
}

.sea-addicts-content .join-btn:hover::before {
    left: 100%;
}

.sea-addicts-content .image-container {
    overflow: hidden;
    border-radius: 15px;
}

.sea-addicts-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.sea-addicts-content .image-container:hover .sea-addicts-image {
    transform: scale(1.05);
}

@media only screen and (max-width: 1200px) {
    .sea-addicts-section {
        margin: 30px 60px;
    }
}

@media only screen and (max-width: 768px) {
    .sea-addicts-section {
        grid-template-columns: 1fr;
        margin: 20px 30px;
    }

    .sea-addicts-content .heading {
        font-size: 2em;
    }

    .sea-addicts-content .intro-text {
        font-size: 1em;
    }
}

@media only screen and (max-width: 480px) {
    .sea-addicts-section {
        margin: 20px 10px;
    }

    .sea-addicts-content {
        padding: 20px;
    }
}

.certification-section {
    background-color: white;
    font-family: 'Arial', sans-serif;
    color: #358092;
    padding: 60px 0;
    height: auto;
}

.certification-container {
    margin: 0 auto;
    padding: 20px;
    background: #f3f3f4;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    height: auto;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.content h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.content hr {
    width: 60%;
    margin: 0.5em 0;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 2px;
}

.content p {
    font-size: 1.3em;
    margin: 1em 0;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
    color: black;
}

.logo-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-display img {
    max-width: 120px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
}

.logo-display img:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .content h1 { font-size: 2em; }
    .content p { font-size: 1.2em; }
    .logo-display {
        flex-direction: column;
        align-items: center;
    }
    .logo-display img {
        max-width: 100px;
    }
}

@media (max-width: 992px) {
    .certification-container {
        padding: 15px;
    }
    .content h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 1200px) {
    .content h1 {
        font-size: 2.4em;
    }
    .logo-display img {
        max-width: 100px;
    }
}