/* General Styles */

html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}


body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-size: 16px; /* Base font size */
}

main {
    flex-grow: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 60px 0;
}

/* Responsive font size */
@media (max-width: 414px) {
    body {
        font-size: 8px; /* 50% of 16px */
    }
}

@media (max-width: 1080px) {
    body {
        font-size: 8px; /* 50% of 16px */
    }
}

/* Header Styles */
.page-head {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.3s ease;
}

.scrolled {
    top: -100px;
}

.rd-navbar {
    display: flex;
    align-items: center;
    padding: 5px 0;
    background-color: #111111;
    color: #fff;
}

.rd-navbar-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand img {
    width: 120px;
    height: auto;
    transition: width 0.3s ease;
}

.rd-navbar-nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    padding-right: 20px;
}

.rd-navbar-nav-wrap h3 {
    font-family: Georgia;
    color: #ffffff;
    flex-grow: 1;
    padding-left: 10px;
    font-size: 1.2em;
    transition: font-size 0.3s ease;
}

.rd-navbar-nav-wrap h3 .divider {
    border-bottom: 2px solid white; /* White line */
    width: 60%; /* Full width */
    margin: 5px 0; /* Adds space between the text and the line */
}

.rd-navbar-nav-wrap h3 span {
    display: block;
    color: #ffffff;
    margin-top: 10px; /* Adds space between the line and the quote */
    padding-left: 120px;
    font-size: 0.9em;
}


.rd-navbar-nav {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-top: 20px;
}

.rd-navbar-nav li {
    margin-left: 20px;
}

.rd-nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s;
}

.rd-navbar-nav a:hover {
    color: #58c4a7; /* Hover effect */
}

/* Hamburger menu styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive styles */
@media (max-width: 414px) {
    .brand img {
        width: 65px; /* Adjust this value to your preference */
        height: 60px;
    }

    .rd-navbar-nav-wrap h3 {
        font-size: 1.1em;
    }

    .rd-navbar-nav-wrap h3 .divider {
        border-bottom: 2px solid white; /* White line */
        width: 95%; /* Full width */
        margin: 5px 0; /* Adds space between the text and the line */
    }

    .rd-navbar-nav-wrap h3 span {
        display: block;
        color: #ffffff;
        margin-top: 10px; /* Adds space between the line and the quote */
        padding-left: 60px;
        font-size: 0.9em;
    }

    .rd-navbar-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .rd-navbar-nav.active {
        display: flex;
    }

    .rd-navbar-nav li {
        margin: 0;
        text-align: center;
    }

    .rd-nav-link {
        padding: 15px;
        display: block;
        color: #171717;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 1080px) {
    .brand img {
        width: 65px; /* Adjust this value to your preference */
        height: 60px;
    }

    .rd-navbar-nav-wrap h3 {
        font-size: 1.1em;
    }

    .rd-navbar-nav-wrap h3 .divider {
        border-bottom: 2px solid white; /* White line */
        width: 95%; /* Full width */
        margin: 5px 0; /* Adds space between the text and the line */
    }

    .rd-navbar-nav-wrap h3 span {
        display: block;
        color: #ffffff;
        margin-top: 10px; /* Adds space between the line and the quote */
        padding-left: 60px;
        font-size: 0.9em;
    }

    .rd-navbar-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .rd-navbar-nav.active {
        display: flex;
    }

    .rd-navbar-nav li {
        margin: 0;
        text-align: center;
    }

    .rd-nav-link {
        padding: 15px;
        display: block;
        color: #171717;
    }

    .menu-toggle {
        display: block;
    }
}

/* Hero Slider Styles */
.hero-section {
    height: 80vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 15, 15, 0.5);
}

.hero-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    z-index: 2;
}

/* Swiper Styles */
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #58c4a7 !important;
}

.swiper-pagination-bullet {
    background-color: #fff !important;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background-color: #58c4a7 !important;
}

.swiper-pagination-bullet:hover {
    opacity: 1;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.swiper-slide-caption {
    color: #ffffff;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 80%;
    padding: 20px;
}

.slider-header {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
    font-weight: bold;
}

.image-slider-container {
    overflow-x: scroll; /* Enable horizontal scroll/swipe for images */
    white-space: nowrap; /* Ensure images are inline and swipable */
    scroll-snap-type: x mandatory; /* For smooth snapping */
}

.image-slider-container img {
    display: inline-block;
    width: 100%; /* Adjust as needed */
    scroll-snap-align: start; /* Images snap into place */
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(16, 15, 15, 0.5);
    z-index: 1;
}


/* Courses Section */
.courses-grid {
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between; /* Spacing between items */
    flex-wrap: nowrap; /* Prevents wrapping */
    gap: 20px; /* Space between course items */
    padding: 20px 0;
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: auto; /* Allows scrolling if content overflows */
}

.course-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px; /* Fixed width to keep them in one line */
    min-width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 15px;
    position: relative; /* To enable absolute positioning inside */
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: space-between; /* Space between content and button */
    min-height: 400px; /* Adjust this to fit your layout */
}

.course-item:hover {
    transform: translateY(-5px);
}

.course-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
    text-align: center;
}

.course-item p {
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-bottom: 10px;
}

.course-item strong {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    display: block;
    text-align: center;
    margin-bottom: 20px;
}



/* Button Styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid;
    border-radius: 3px;
    transition: 0.3s ease-out;
    cursor: pointer;
    color: #ffffff;
    background-color: transparent;
    border-color: #58c4a7;
    text-decoration: none;
    margin: 18px 0;
}

.button:hover {
    color: #ffffff;
    background-color: #58c4a7;
    border-color: #58c4a7;
    box-shadow: 0 0 15px rgba(88, 196, 167, 0.5), 0 0 30px rgba(88, 196, 167, 0.5);
}

.button-browse-course {
    padding: 10px 20px;
    font-size: 12px;
    color: #333;
    background-color: #f8f9fa;
    border: 2px solid #58c4a7;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.button-browse-course:hover {
    color: #fff;
    background-color: #58c4a7;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    flex: 1 1 30%;
    margin: 10px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

#our-services h2 {
    font-size: 2.5em;
}

/* Call to Action Section */
.bg-accent {
    background-color: #f8f9fa;
}


/* General Form Styles */
.contact-form {
    background-color: #f9f9f9;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input[type="tel"] {
    width: 100%;
}

/* Input focus styles */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #58c4a7;
    outline: none;
}

/* Footer Styles */
.bg-cod-gray {
    margin-top: auto;
    background-color: #000000;
    color: #cbc0c0;
    padding: 20px 0;
    font-family: Century Gothic;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-left p {
    margin-top: 10px;
}

.footer-right {
    display: flex;
    gap: 50px;
}

.footer-address {
    margin-top: 5px;
    font-size: 0.9em;
}

.footer-info, .footer-social {
    display: flex;
    flex-direction: column;
}

.footer-info a, .footer-social a {
    color: #cbc0c0;
    text-decoration: none;
    margin: 5px 0;
}

.footer-social a {
    font-size: 20px;
    margin: 10px 0;
}

.footer-social a i {
    margin-right: 8px;
}

.footer-info h4, .footer-social h4 {
    color: #cbc0c0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 50px;
}

.social-links a {
    display: inline-block;
    margin: 5px 0;
    color: #cbc0c0;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #58c4a7;
}

@media (max-width: 414px){
    .footer-brand img {
        width: 50px; /* Adjust this value to your preference */
        height: 40px;
    }

    .social-links a{
        padding-top: 2px;
        font-size: 10px;
    }

    .footer-social h4{
        padding-left: 20px;
    }
    
    html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    .image-slider-container {
    overflow-x: scroll; /* Enable horizontal scroll/swipe for images */
    white-space: nowrap; /* Ensure images are inline and swipable */
    scroll-snap-type: x mandatory; /* For smooth snapping */
    }

    .image-slider-container img {
        display: inline-block;
        width: 100%; /* Adjust as needed */
        scroll-snap-align: start; /* Images snap into place */
    }

    .button,
    .button-browse-course {
        padding: 8px 16px;      /* Reduce padding */
        font-size: 10px;        /* Smaller font size */
        border-width: 1.5px;    /* Slightly thinner border */
        margin: 12px 0;         /* Adjust margin for spacing */
    }

    .button-browse-course {
        padding: 8px 16px;      /* Ensure consistent padding */
        font-size: 10px;        /* Smaller font size */
    }
}

@media (max-width: 1080px){
    .footer-brand img {
        width: 50px; /* Adjust this value to your preference */
        height: 40px;
    }

    .social-links a{
        padding-top: 2px;
        font-size: 10px;
    }

    .footer-social h4{
        padding-left: 20px;
    }
    
    html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    .image-slider-container {
    overflow-x: scroll; /* Enable horizontal scroll/swipe for images */
    white-space: nowrap; /* Ensure images are inline and swipable */
    scroll-snap-type: x mandatory; /* For smooth snapping */
    }

    .image-slider-container img {
        display: inline-block;
        width: 100%; /* Adjust as needed */
        scroll-snap-align: start; /* Images snap into place */
    }

    .button,
    .button-browse-course {
        padding: 8px 16px;      /* Reduce padding */
        font-size: 10px;        /* Smaller font size */
        border-width: 1.5px;    /* Slightly thinner border */
        margin: 12px 0;         /* Adjust margin for spacing */
    }

    .button-browse-course {
        padding: 8px 16px;      /* Ensure consistent padding */
        font-size: 10px;        /* Smaller font size */
    }
}

