/* Reset some default browser styles */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

/* Set the body background color and text color */
body {
    background-color: #f4f4f4;
    color: #343434;
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

/* Navbar styles */
.navbar {
    background-color: #52bad5;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-item .nav-link {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #01B2D1;
}

/* Hero section */
.hero {
    background: url('Hero.png') no-repeat center center/cover;
    color: #ffffff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero .btn {
    margin-top: 300px !important; /* Ensure this is applied */
    font-size: 1.2rem;
    padding: 10px 30px;
    background-color: #01B2D1;
    border: none;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
    background-color: #0191a7;
}

/* Section title styles */
.section-title {
    font-size: 2.5rem;
    color: #01B2D1;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* General section styling */
section {
    padding: 60px 0;
    background-color: #ffffff;
}

section:nth-of-type(even) {
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Responsive grid for content within sections */
.row {
    display: flex;
    flex-wrap: wrap;
}

.column-half, .column-third, .column-full {
    padding: 15px;
}

/* Half-width columns */
.column-half {
    flex: 0 0 50%;
}

/* Full-width columns */
.column-full {
    flex: 0 0 100%;
}

/* Third-width columns */
.column-third {
    flex: 0 0 33.3333%;
}

/* Contact section styles */
.contact-form {
    background-color: #f1f1f1;
    padding: 30px;
    border-radius: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: #01B2D1;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0191a7;
}

/* Footer styling */
footer {
    background-color: #414141;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
}

/* Social media icons */
.social-icons {
    margin: 20px 0;
}

.social-icons a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #01B2D1;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-item .nav-link {
        font-size: 16px;
        padding: 8px 10px;
    }

    .column-half, .column-third {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .navbar-nav .nav-item .nav-link {
        font-size: 14px;
    }

    .section-title {
        font-size: 2rem;
    }
}

body {
    padding-top: 70px; /* Adjust this value to the height of your navbar */
}

.navbar {
    background-color: rgba(82, 186, 213, 0.9); /* Slight transparency to the navbar background */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow below the navbar */
}

/* Ensure all images in the columns have the same height */
.columns .thumbnail_align img {
    width: 100%; /* Ensure the image takes the full width of its container */
    height: 200px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensures the image covers the entire area without stretching */
    border-radius: 8px;
}

/* Use Flexbox to align the images and their captions */
.columns {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the image and the text below it */
    text-align: center; /* Center the text */
}

.columns h4 {
    margin-top: 20px; /* Space between the image and the title */
}

.columns p {
    margin-top: 10px; /* Space between the title and the paragraph */
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Distribute columns evenly */
    align-items: flex-start; /* Align items at the top */
}

/* Styling for the example lesson section */
.lesson-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Ensure the container is relatively positioned for absolute children */
.position-relative {
    position: relative;
}

/* Position the first audio under "Chapter 1C" and to the right of "Vocabulary" */
.audio-audio {
    position: absolute;
    top: 14.5%; /* Adjust based on the height of the image 260*/
    left: 50%; /* Position to the right of the vocabulary */
    transform: translateX(-50%);
    width: 200px; /* Adjust as necessary */
}

/* Position the second audio to the right of "Vocabulary" */
.audioTwo-audio {
    position: absolute;
    top: 77%; /* Adjust based on the vertical space needed 1375*/
    left: 50%; /* Adjust to position it to the right */
    transform: translateX(-50%);
    width: 200px; /* Adjust as necessary */
}


/* Styling for the Social Media Icons in Grid Layout */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, min-content); /* Two columns */
    gap: 10px; /* Reduce space between icons */
    margin-top: 20px; /* Space above the grid */
     margin-left: 10%; /* Move the grid to the right */
}

.social-icon {
    width: 110px; /* Increase size */
    height: 110px; /* Increase size */
    transition: transform 0.3s ease; /* Smooth scaling on hover */
}

.social-icon:hover {
    transform: scale(1.1); /* Slightly larger when hovering */
}

section {
    padding-top: 100px; /* Add padding to the top */
    margin-top: 0px; /* Adjust margin to create space for the navbar */
}

#quienesSomos, #ejemplos, #registro, #contacto {
    padding-top: 100px; /* Same value as above */
    margin-top: 0px; /* Same value as above */
}

