/*
* AMAMUNDO Website Styles
* Modern and responsive styles for the AMAMUNDO language school website
*/

/* -------------------------
   Base styles & Reset
------------------------- */
:root {
    --primary-color: #C60B1E;
    --secondary-color: #444444;
    --dark-color: #1a1a1a;
    --light-color: #fdfdfd;
    --accent-color: #f9d5d9;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --black: #000;
    --gray-light: #f4f4f4;
    --gray: #e0e0e0;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Anchor offset for fixed header */
html {
    scroll-padding-top: 120px; /* Adjust this value based on your header height */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark-color);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* -------------------------
   Buttons
------------------------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--box-shadow);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--dark-color);
    color: var(--white);
}

.btn-cta {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.2rem;
    padding: 15px 40px;
}

.btn-cta:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* -------------------------
   Header Styles
------------------------- */
.site-header {
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 100;
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    max-width: 200px;
    padding: 10px 0;
}

.header-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-left: 25px;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Responsive Header Styles */
@media screen and (max-width: 992px) {
    .logo {
        max-width: 180px;
    }
    
    .contact-item {
        font-size: 0.85rem;
        margin-left: 15px;
    }
}

@media screen and (max-width: 768px) {
    .header-content {
        justify-content: center;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .header-contact {
        justify-content: center;
        width: 100%;
    }
    
    .contact-item {
        margin: 5px 10px;
    }
}

@media screen and (max-width: 576px) {
    .header-contact {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        margin: 5px 0;
    }
}

/* -------------------------
   Navigation Styles
------------------------- */
.main-navigation {
    background-color: var(--white);
    padding: 0;
    position: relative;
    z-index: 1000;
    margin-top: 0;
    border-bottom: 1px solid var(--gray);
}

.sticky-nav {
    position: sticky;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.main-menu {
    display: flex;
}

.menu-item {
    position: relative;
}

.menu-item a {
    display: block;
    padding: 20px 15px;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.menu-item a:hover {
    color: var(--primary-color);
}

/* Desktop hover effect */
@media (hover: hover) {
.dropdown:hover .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
}
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 10px 0;
    display: block;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.sub-menu .menu-header {
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 1px solid var(--gray);
    margin-bottom: 5px;
}

.sub-menu .menu-header a {
    color: var(--primary-color);
}

.sub-menu .menu-divider {
    height: 1px;
    background-color: var(--gray);
    margin: 5px 0;
}

.sub-menu li a:hover {
    background-color: var(--gray-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.hamburger-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    position: relative;
    transition: var(--transition);
}

.hamburger-icon:before,
.hamburger-icon:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.hamburger-icon:before {
    top: -10px;
}

.hamburger-icon:after {
    bottom: -10px;
}

.mobile-menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger-icon:before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger-icon:after {
    transform: rotate(-45deg);
    bottom: 0;
}

.nav-cta {
    margin-left: 20px;
}

/* Responsive Navigation Styles */
@media screen and (max-width: 992px) {
    .nav-wrapper {
        padding: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }
    
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
        padding: 0;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
    
    .main-menu.show {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .menu-item {
        border-bottom: 1px solid var(--gray);
    }
    
    .menu-item:last-child {
        border-bottom: none;
    }
    
    .menu-item a {
        padding: 15px 20px;
        display: block;
        width: 100%;
    }
    
    .nav-cta {
        order: 2;
        margin-left: auto;
    }
    
    .dropdown.active .sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        position: static;
        box-shadow: none;
        background-color: var(--gray-light);
        padding-left: 15px;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
    
    .dropdown {
        position: relative;
    }
    
    .dropdown-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 50px;
        text-align: center;
        line-height: 50px;
        z-index: 10;
        cursor: pointer;
    }
    
    .dropdown-toggle:before {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: var(--dark-color);
        font-size: 18px;
        transition: var(--transition);
    }
    
    .dropdown.active .dropdown-toggle:before {
        content: '\f106';
        color: var(--primary-color);
    }
    
    .dropdown > a {
        padding-right: 50px;
    }
    
    .sub-menu {
        position: static;
        width: 100%;
        background-color: var(--gray-light);
        box-shadow: none;
        padding-left: 15px;
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
    
    .sub-menu li a {
        color: var(--dark-color);
        padding: 12px 25px;
        display: block;
        width: 100%;
    }
    
    .dropdown > a:after {
        display: none;
    }
}

@media screen and (max-width: 576px) {
    .nav-cta {
        display: none;
    }
    
    .nav-wrapper {
        justify-content: flex-end;
    }
    
    .mobile-menu-toggle {
        margin-left: auto;
    }
    
    .main-menu {
        top: 100%;
    }
    
    .nav-cta-mobile {
        display: none;
    }
    
    .nav-cta-mobile .btn {
        width: 100%;
    }
}

/* -------------------------
   Hero Section
------------------------- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('/img/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 120px 0;
    text-align: left;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero-content {
    max-width: 550px;
    margin: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: var(--border-radius);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 50%;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

/* -------------------------
   Education Travel Section
------------------------- */
.education-travel {
    padding: 60px 0;
    background-color: var(--white);
}

.education-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.education-image {
    margin-top: 30px;
    max-width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.education-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.education-image:hover img {
    transform: scale(1.02);
}

/* -------------------------
   Features Section
------------------------- */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-tabs {
    margin-top: 40px;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 5px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background-color: var(--gray-light);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
    box-shadow: none;
}

.tab-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    flex-grow: 1;
}

@media screen and (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tabs-navigation {
        flex-direction: column;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

/* -------------------------
   Destinations Section
------------------------- */
.destinations {
    padding: 80px 0;
    background-color: var(--light-color);
}

.destination-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.destination-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--white);
    transition: var(--transition);
}

.destination-card:hover {
    transform: translateY(-10px);
}

.destination-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.destination-info {
    padding: 20px;
}

.destination-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.destination-info p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* -------------------------
   Testimonials Section
------------------------- */
.testimonials {
    padding: 80px 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('../img/background_ref.png');
    background-size: cover;
    background-position: center center;
    position: relative;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial-grid { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: var(--box-shadow);
    background-color: var(--light-color); 
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:before {
    content: '\201C';
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary-color); 
    opacity: 0.08; 
    position: absolute;
    top: 10px;
    left: 10px;
    line-height: 1;
    z-index: 0;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.quote.truncated {
    max-height: 155px;
    overflow: hidden;
    position: relative;
}

.quote.truncated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgba(253, 253, 253, 0), var(--light-color) 80%);
    pointer-events: none;
}

.read-more-link {
    display: block;
    margin-top: 10px;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    font-size: 0.9rem;
    text-align: right;
}

.read-more-link:hover {
    color: var(--dark-color);
}

.author {
    margin-top: auto; 
    padding-top: 15px;
    text-align: right;
    z-index: 1;
    position: relative;
}

.author-info h4 {
    margin-bottom: 3px;
    color: var(--dark-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* -------------------------
   Gallery Section
------------------------- */
.gallery-section {
    padding: 80px 0;
    background-color: var(--light-color);
    position: relative;
}

.gallery-swiper {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    margin-top: 40px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    height: auto;
    aspect-ratio: 1 / 1;
    width: auto;
    max-width: 180px;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.swiper-slide img.lazyload {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.6s linear, filter 0.6s linear;
}

.swiper-slide img.lazyloaded {
  opacity: 1;
  filter: blur(0);
}

@media (max-width: 992px) { 
    .swiper-slide {
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        max-width: 140px;
    }
}

@media (max-width: 576px) {
    .swiper-slide {
        max-width: 120px;
    }
}

.gallery-swiper .swiper-button-next, 
.gallery-swiper .swiper-button-prev {
   display: none !important;
}

.gallery-swiper .swiper-pagination {
    display: none !important;
}

.gallery-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 30px;
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh; /* Limit image height */
    display: block;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

/* -------------------------
   Contact CTA Section
------------------------- */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('/img/contact-cta-bg.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* -------------------------
   Footer Styles
------------------------- */
.site-footer {
    background-color: var(--white);
    color: var(--text-color);
    padding: 60px 0 30px;
    border-top: 1px solid var(--gray);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark-color);
    position: relative;
}

.footer-title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-column p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-color);
    color: var(--secondary-color);
    border: 1px solid var(--gray);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-links a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--text-light);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    min-width: 16px;
    margin-top: 4px;
}

.footer-hours {
    margin-top: 20px;
}

.footer-hours h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* -------------------------
   Responsive Styles
------------------------- */
@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-image {
        max-width: 45%;
    }
    
    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .hero-wrapper {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 40px;
    }
    
    .hero-image {
        position: relative;
        max-width: 90%;
        transform: none;
        margin: 0 auto;
        order: 1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .footer-column {
        margin-bottom: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        justify-content: center;
        gap: 15px;
    }
    
    .education-travel {
        padding: 50px 0;
    }
    
    .education-content h2 {
        font-size: 1.8rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .gallery-swiper {
        height: 300px;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-title {
        margin-bottom: 20px;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .education-travel {
        padding: 40px 0;
    }
    
    .education-content h2 {
        font-size: 1.6rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .destination-slider, 
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cta h2 {
        font-size: 2rem;
    }
    
    .gallery-swiper {
        height: 250px;
    }
}

/* -------------------------
   Page Header
------------------------- */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('/img/page-header-bg.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--accent-color);
}

.breadcrumbs span {
    color: var(--white);
}

/* -------------------------
   Contact Section
------------------------- */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-item .icon i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-item .info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item .info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-item .info .social-contact {
    display: flex;
    gap: 15px;
}

.contact-item .info .social-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-color);
    color: var(--white);
    transition: var(--transition);
}

.contact-item .info .social-contact a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form-container {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.half {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    background-color: var(--white);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(217, 35, 45, 0.1);
}

.form-group.has-error .form-control {
    border-color: var(--primary-color);
}

.error-message {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 5px;
}

.btn-block {
    width: 100%;
}

.form-success {
    text-align: center;
    padding: 30px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: var(--border-radius);
}

.form-success i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 15px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* -------------------------
   Map Section
------------------------- */
.map-section {
    padding-bottom: 80px;
}

.map-container {
    height: 450px;
    filter: none;
    border-top: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
}

.map-container iframe {
    display: block;
}

/* -------------------------
   FAQ Section
------------------------- */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.toggle-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* -------------------------
   Responsive Styles for Contact Page
------------------------- */
@media screen and (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
    
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .map-container {
        height: 350px;
    }
}

@media screen and (max-width: 576px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.8rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* -------------------------
   Languages Overview
------------------------- */
.languages-overview {
    padding: 80px 0;
    background-color: var(--white);
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.language-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.language-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.language-icon {
    margin-bottom: 20px;
}

.language-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.language-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.language-card p {
    margin-bottom: 20px;
    color: var(--text-light);
    flex-grow: 1;
}

/* -------------------------
   Teaching Methods
------------------------- */
.teaching-methods {
    padding: 80px 0;
    background-color: var(--white);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.method-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-10px);
}

.method-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.method-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.method-card p {
    color: var(--text-light);
}

/* -------------------------
   CTA Buttons
------------------------- */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* -------------------------
   Language Detail
------------------------- */
.language-detail {
    padding: 80px 0;
    background-color: var(--white);
}

.language-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.language-flag {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    border: 3px solid var(--accent-color);
}

.language-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

.language-info {
    margin-bottom: 60px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.info-block p {
    color: var(--text-light);
    line-height: 1.7;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.level-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.level-code {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.level-name {
    font-size: 0.9rem;
    color: var(--dark-color);
}

.courses-list h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.course-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-header h4 {
    margin: 0;
    font-size: 1.3rem;
}

.course-level {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-tags .tag-item:hover {
    background-color: var(--primary-color-light);
    color: var(--primary-color);
}

.social-sharing {
    padding: 20px 40px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
}

.social-sharing h4 {
    margin-right: 15px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.linkedin {
    background-color: #0077b5;
}

.share-button.whatsapp {
    background-color: #25d366;
}

.share-button.email {
    background-color: #777;
}

.share-button:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.author-bio-section {
    padding: 30px 40px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    gap: 20px;
    align-items: center;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.author-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.comments-section {
    padding: 40px;
    border-top: 1px solid var(--gray-light);
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.comment-list {
    margin-bottom: 40px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-light);
}

.comment:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.comment-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-header h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comment-content p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.reply-link {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.reply-link:hover {
    color: var(--primary-color-dark);
}

.comment-form-container {
    padding-top: 40px;
    border-top: 1px solid var(--gray-light);
}

.comment-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-post {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    align-items: center;
}

.related-post-image {
    width: 80px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.related-post-content h4 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.related-post-content h4 a:hover {
    color: var(--primary-color);
}

.related-post-content .post-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cta-widget {
    padding: 30px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-color-dark));
    border-radius: var(--border-radius);
    color: var(--white);
    text-align: center;
}

.cta-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-widget p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.cta-widget .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-widget .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.more-posts-section {
    padding: 80px 0;
    background-color: var(--white);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-10px);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-image .post-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.post-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Styles for Blog Detail Page */
@media screen and (max-width: 992px) {
    .blog-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 400px;
    }
    
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .blog-detail-content {
        padding: 30px;
    }
    
    .blog-tags-section,
    .social-sharing,
    .author-bio-section {
        padding: 20px 30px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-tags-section h4,
    .social-sharing h4 {
        margin-bottom: 10px;
    }
    
    .comments-section {
        padding: 30px;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-author-image {
        margin-bottom: 10px;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 576px) {
    .featured-image {
        height: 300px;
    }
    
    .blog-detail-content h3 {
        font-size: 1.5rem;
    }
    
    .blog-detail-content h4 {
        font-size: 1.2rem;
    }
    
    .related-post {
        grid-template-columns: 60px 1fr;
    }
    
    .related-post-image {
        width: 60px;
        height: 45px;
    }
}

/* -------------------------
   Services Overview
------------------------- */
.services-overview {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    margin-bottom: 20px;
    color: var(--text-light);
    flex-grow: 1;
}

@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------
   Country Styles
------------------------- */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.country-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.country-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.country-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.country-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.country-card:hover .country-image img {
    transform: scale(1.1);
}

.country-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.country-card:hover .country-overlay {
    opacity: 1;
}

.country-info {
    padding: 20px;
}

.country-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.country-info p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.country-cities {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Airplane Animation */
.hero-wrapper {
    position: relative;
}

/* -------------------------
   Responsive adjustments for airplane (example)
------------------------- */
@media (max-width: 992px) {
    .hero-airplane {
        width: 100px;
        top: 30%;
    }
}

@media (max-width: 768px) {
    .hero-airplane {
        width: 80px;
        top: 25%;
    }
}

/* -------------------------
   Gallery Page Styles
------------------------- */
.gallery-page-content {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 20px;
}

.gallery-grid-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    aspect-ratio: 1 / 1; /* Force square aspect ratio */
    transition: transform 0.3s ease;
}

.gallery-grid-item:hover {
    transform: scale(1.03); /* Slight zoom on hover */
    z-index: 2;
}

.gallery-grid-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the square area */
}

/* Responsive adjustments for gallery grid */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller tablets */
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns on mobile, or change to 1 if preferred */
        gap: 8px;
    }
    .gallery-page-content {
        padding: 40px 0;
    }
}

/* -------------------------
   Simple Lightbox Styles
------------------------- */
.lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    cursor: pointer; /* Allow clicking backdrop to close */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s linear;
}

.lightbox-backdrop.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default; /* Prevent closing when clicking the image container */
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox-backdrop.active .lightbox-container {
    transform: scale(1);
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 85vh; /* Limit image height */
    width: auto;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.lightbox-close {
    position: absolute;
    top: -35px;
    right: -10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

/* Lazy load styles removed as lazy loading is no longer used for gallery thumbnails */

/* -------------------------
   Spain Map and Cities Section
------------------------- */
.spain-map-section {
    padding: 60px 0;
    /* Combined background color overlay and background image */
    background: linear-gradient(rgba(248, 249, 250, 0.85), rgba(248, 249, 250, 0.85)), url('../img/background_ref1.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.spain-map-section .section-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.map-column {
    flex: 0 1 80%; /* Set ideal width to 60%, allow shrinking */
}

.map-column img {
    max-width: 100%;
    height: auto;
}

.description-column {
    flex: 1 1 auto; /* Allow growing and shrinking, auto basis */
}

.description-column h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Style for the highlighted word in the description headline - underline effect */
.description-column h2 .highlight-yellow {
    color: #F7BC0D; /* Yellow text */
    border-bottom: 3px solid var(--primary-color); /* Red underline */
    padding-bottom: 2px; /* Small space between text and underline */
}

.description-column p {
    margin-bottom: 25px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.city-buttons {
    display: grid; /* Changed to grid */
    grid-template-columns: repeat(3, 1fr); /* Create 3 equal columns */
    gap: 15px; /* Keep the gap */
}

.city-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 1px solid transparent;
}

.city-button:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments for Spain Map section */
@media (max-width: 992px) {
    .spain-map-section .section-content {
        flex-direction: column;
        text-align: center;
    }
    .map-column {
        max-width: 70%;
        margin-bottom: 30px;
    }
    .description-column h2 {
        font-size: 1.8rem;
    }
    .city-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .spain-map-section {
        padding: 40px 0;
    }
    .map-column {
        max-width: 100%; /* Set max-width to 100% for smallest screens */
    }
    .description-column h2 {
        font-size: 1.6rem;
    }
    .city-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .city-buttons {
        gap: 10px;
    }
}

/* Ensure Lazy Load styles are at the very end if they exist */
/* If you have specific lazy load styles, keep them below this section */

/* ------------------------- 
   New About Page Styles
------------------------- */
.about-content-new {
    padding: 60px 0;
}

.about-content-new h2 {
    font-size: 2.5rem; /* Consistent headline size */
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
    text-align: center; /* Center the main headline */
}

/* Removed Intro Section Styles */

/* Removed wrapper styles */

/* Restored Standalone Question Highlight Section Styles */
.question-highlight-section {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--gray-light);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 900px; /* Restored max-width */
    margin: 40px auto; /* Restored centering margin */
    /* Removed flex: 3 */
}

.question-image {
    flex-basis: 30%; /* Adjust image width ratio */
    max-width: 30%;
    margin: 0;
    flex: 1; /* Give less space to quote (1/4) */
    display: flex; /* Use flex to push footer down */
}

.question-image img {
    border-radius: var(--border-radius); /* Standard rounded corners */
    box-shadow: var(--box-shadow); /* Optional shadow on image */
}

.question-text {
    flex: 1;
}

.question-text p {
    font-size: 1.2rem; /* Increased font size */
    font-weight: 500; /* Slightly bolder */
    color: var(--text-color);
    line-height: 1.5; /* Adjusted line height */
    margin-bottom: 10px; /* Space between questions */
}

/* Remove margin from the last question */
.question-text p:last-child {
    margin-bottom: 0;
}

/* Section for Project Description and Image */
.project-description-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.project-image {
    flex: 1;
    max-width: 45%; /* Limit image width */
    order: -1; /* Display image on the left */
}

.project-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.project-text {
    flex: 1;
}

/* Founder Section Styles */
.founder-section {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--gray-light);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 800px;
    margin: 50px auto; /* Center the section */
    box-shadow: var(--box-shadow);
}

.founder-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Circular image */
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.founder-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.founder-info p {
    color: var(--text-light);
    line-height: 1.4;
}

/* Quote Section Styles */
.quote-section {
    background-color: var(--accent-color);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    font-style: italic;
    position: relative;
    max-width: 700px; /* Restored max-width */
    margin: 50px auto; /* Restored centering margin */
    /* Removed flex properties */
}

.quote-section p {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal;
    /* Removed margin-top: auto */
}

/* Personal Story Section Styles */
.personal-story-section {
    margin-top: 20px;
    max-width: 900px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto;
}

.personal-story-section p {
    margin-bottom: 20px; /* Space between paragraphs */
}

/* Updated responsive style for the wrapper */
.intro-quote-wrapper {
    gap: 30px; /* Adjust gap for vertical layout */
}

/* Question highlight section keeps its mobile styles */
.question-highlight-section {
    flex-direction: column; /* Keep stacking on mobile */
    text-align: center;
    padding: 20px;
    /* Removed flex: auto and flex-basis: auto */
}

.question-image {
    flex-basis: auto; /* Reset flex basis */
    max-width: 60%; /* Adjust image size on mobile */
    margin-bottom: 20px;
}

/* Quote section keeps its mobile styles */
.quote-section {
    /* No flex rules needed here now */
}

.founder-section {
    flex-direction: column;
    text-align: center;
    padding: 30px;
}

.founder-image img {
    width: 120px;
    height: 120px;
    margin-bottom: 15px;
}

.quote-section p {
    font-size: 1.1rem;
}

/* Styles for CTA buttons in the About page CTA section */
.cta-buttons-about {
    margin-top: 30px; /* Space above buttons */
    display: flex;
    justify-content: center; /* Center buttons horizontally */
    gap: 20px; /* Space between buttons */
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Center CTA buttons on mobile as well */
.cta-buttons-about {
    justify-content: center;
}

/* Responsive adjustments for About Page */
@media (max-width: 768px) {
    .about-content-new h2 {
        font-size: 2rem;
    }

    .project-description-section {
        flex-direction: column;
        /* Removed text-align: center; */
    }

    .project-image {
        max-width: 70%;
        /* Removed order: 0; */
        margin-top: 20px;
    }

    /* Ensure project text is left-aligned on mobile */
    .project-text {
        text-align: left;
    }

    /* Updated responsive style for the wrapper */
    /* .intro-quote-wrapper { No longer exists */
        /* Removed flex-direction: column; to keep side-by-side longer */
} 

/* Team Page Styles - Updated for Alternating Layout with Name/Role by Image */
.team-member-card {
    border: 1px solid #eee;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Align top of image block and bio block */
    gap: 30px;
}

.team-member-card.layout-image-left .team-member-img-container {
    order: 1;
}
.team-member-card.layout-image-left .team-member-text-content {
    order: 2;
    text-align: left;
}

.team-member-card.layout-image-right .team-member-img-container {
    order: 2;
}
.team-member-card.layout-image-right .team-member-text-content {
    order: 1;
    text-align: left;
}

.team-member-img-container {
    flex: 0 0 280px; /* Fixed width for the container of image, name, role */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image and text (name/role) horizontally */
    text-align: center; /* Center text for name/role */
    padding-top: 10px; /* Some space above image */
}

.team-member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Circular images */
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and name/role */
    border: 4px solid #f0f0f0; /* Optional: light border for circular image */
}

.team-member-info { /* This block is now inside .team-member-img-container */
    margin-top: 0; /* Reset margin if any */
}

.team-member-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.6em; /* Adjusted size */
}

.team-member-role {
    font-style: italic;
    color: #555;
    margin-bottom: 10px; /* Space below role */
    font-size: 1em;
}

.team-member-text-content { /* Contains only the bio now */
    flex: 1;
    padding-top: 10px; /* Align text content better with top of image */
}

.team-member-bio p {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: left;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

.team-member-card.no-image .team-member-img-container .team-member-photo {
    display: none; /* Hide the img tag if no image */
}

.team-member-card.no-image .team-member-img-container {
    /* Keep text centered even if no image */
    padding-top: 0; /* Adjust if needed for vertical alignment without image */
    justify-content: flex-start; /* Align name/role to top if no image */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .team-member-card,
    .team-member-card.layout-image-right {
        flex-direction: column;
        align-items: center;
    }

    .team-member-card.layout-image-left .team-member-img-container,
    .team-member-card.layout-image-right .team-member-img-container {
        order: 1;
        width: 100%; /* Allow it to take full width for centering its content */
        margin-bottom: 20px;
        flex-basis: auto; /* Reset flex-basis */
    }

    .team-member-photo { /* Adjust photo size for mobile if needed */
        width: 180px;
        height: 180px;
    }

    .team-member-card.layout-image-left .team-member-text-content,
    .team-member-card.layout-image-right .team-member-text-content {
        order: 2;
        text-align: center;
        padding-top: 0;
    }

    .team-member-bio p {
        text-align: center;
    }

    .team-member-card.no-image .team-member-img-container {
        padding-bottom: 10px; /* Ensure some space if it only has text */
    }
}

/* Team Page Styles - Updated for Alternating Layout with Name/Role by Image */

.team-section {
    padding-top: 40px;
}

.team-member-card {
    border: 1px solid #eee;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Align top of image block and bio block */
    gap: 30px;
}

.team-member-card.layout-image-left .team-member-img-container {
    order: 1;
}
.team-member-card.layout-image-left .team-member-text-content {
    order: 2;
    text-align: left;
}

.team-member-card.layout-image-right .team-member-img-container {
    order: 2;
}
.team-member-card.layout-image-right .team-member-text-content {
    order: 1;
    text-align: left;
}

.team-member-img-container {
    flex: 0 0 280px; /* Fixed width for the container of image, name, role */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image and text (name/role) horizontally */
    text-align: center; /* Center text for name/role */
    padding-top: 10px; /* Some space above image */
}

.team-member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Circular images */
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and name/role */
    border: 4px solid #f0f0f0; /* Optional: light border for circular image */
}

.team-member-info { /* This block is now inside .team-member-img-container */
    margin-top: 0; /* Reset margin if any */
}

.team-member-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.6em; /* Adjusted size */
}

.team-member-role {
    font-style: italic;
    color: #555;
    margin-bottom: 10px; /* Space below role */
    font-size: 1em;
}

.team-member-text-content { /* Contains only the bio now */
    flex: 1;
    padding-top: 10px; /* Align text content better with top of image */
}

.team-member-bio p {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: left;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

.team-member-card.no-image .team-member-img-container .team-member-photo {
    display: none; /* Hide the img tag if no image */
}

.team-member-card.no-image .team-member-img-container {
    /* Keep text centered even if no image */
    padding-top: 0; /* Adjust if needed for vertical alignment without image */
    justify-content: flex-start; /* Align name/role to top if no image */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .team-member-card,
    .team-member-card.layout-image-right {
        flex-direction: column;
        align-items: center;
    }

    .team-member-card.layout-image-left .team-member-img-container,
    .team-member-card.layout-image-right .team-member-img-container {
        order: 1;
        width: 100%; /* Allow it to take full width for centering its content */
        margin-bottom: 20px;
        flex-basis: auto; /* Reset flex-basis */
    }

    .team-member-photo { /* Adjust photo size for mobile if needed */
        width: 180px;
        height: 180px;
    }

    .team-member-card.layout-image-left .team-member-text-content,
    .team-member-card.layout-image-right .team-member-text-content {
        order: 2;
        text-align: center;
        padding-top: 0;
    }

    .team-member-bio p {
        text-align: center;
    }

    .team-member-card.no-image .team-member-img-container {
        padding-bottom: 10px; /* Ensure some space if it only has text */
    }
} 

/* -------------------------
   Destinations Page - Alternating Layout
------------------------- */
.destination-entry {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: flex-start; /* Align items to the top */
    gap: 30px; /* Space between image and text */
}

.destination-image-container {
    flex: 1 1 40%; /* Grow, shrink, basis 40% */
    min-width: 280px; /* Minimum width before wrapping */
    display: flex;
    justify-content: center;
    align-items: center;
}

.destination-image-container img {
    width: 100%;
    max-width: 450px; /* Max width of the image itself */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.destination-text-content {
    flex: 1 1 55%; /* Grow, shrink, basis 55% */
    min-width: 300px;
}

/* Alternating layout order */
.destination-entry.layout-image-left .destination-image-container {
    order: 1;
}
.destination-entry.layout-image-left .destination-text-content {
    order: 2;
}

.destination-entry.layout-image-right .destination-image-container {
    order: 2;
}
.destination-entry.layout-image-right .destination-text-content {
    order: 1;
}

/* Responsive adjustments for destinations */
@media (max-width: 768px) {
    .destination-entry {
        flex-direction: column; /* Stack image and text vertically */
    }
    .destination-entry.layout-image-left .destination-image-container,
    .destination-entry.layout-image-right .destination-image-container,
    .destination-entry.layout-image-left .destination-text-content,
    .destination-entry.layout-image-right .destination-text-content {
        order: 0; /* Reset order for stacked layout */
        flex-basis: 100%; /* Take full width when stacked */
    }
    .destination-image-container {
        margin-bottom: 20px; /* Add space below image when stacked */
    }
    .destination-text-content h2 { /* Center heading if needed on mobile */
        text-align: center;
    }
}

/* Team Page Styles */
.team-member-card {
    border: 1px solid #eee;
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Align top of image block and bio block */
    gap: 30px;
}

.team-member-card.layout-image-left .team-member-img-container {
    order: 1;
}
.team-member-card.layout-image-left .team-member-text-content {
    order: 2;
    text-align: left;
}

.team-member-card.layout-image-right .team-member-img-container {
    order: 2;
}
.team-member-card.layout-image-right .team-member-text-content {
    order: 1;
    text-align: left;
}

.team-member-img-container {
    flex: 0 0 280px; /* Fixed width for the container of image, name, role */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image and text (name/role) horizontally */
    text-align: center; /* Center text for name/role */
    padding-top: 10px; /* Some space above image */
}

.team-member-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Circular images */
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and name/role */
    border: 4px solid #f0f0f0; /* Optional: light border for circular image */
}

.team-member-info { /* This block is now inside .team-member-img-container */
    margin-top: 0; /* Reset margin if any */
}

.team-member-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.6em; /* Adjusted size */
}

.team-member-role {
    font-style: italic;
    color: #555;
    margin-bottom: 10px; /* Space below role */
    font-size: 1em;
}

.team-member-text-content { /* Contains only the bio now */
    flex: 1;
    padding-top: 10px; /* Align text content better with top of image */
}

.team-member-bio p {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: left;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

.team-member-card.no-image .team-member-img-container .team-member-photo {
    display: none; /* Hide the img tag if no image */
}

.team-member-card.no-image .team-member-img-container {
    /* Keep text centered even if no image */
    padding-top: 0; /* Adjust if needed for vertical alignment without image */
    justify-content: flex-start; /* Align name/role to top if no image */
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .team-member-card,
    .team-member-card.layout-image-right {
        flex-direction: column;
        align-items: center;
    }

    .team-member-card.layout-image-left .team-member-img-container,
    .team-member-card.layout-image-right .team-member-img-container {
        order: 1;
        width: 100%; /* Allow it to take full width for centering its content */
        margin-bottom: 20px;
        flex-basis: auto; /* Reset flex-basis */
    }

    .team-member-photo { /* Adjust photo size for mobile if needed */
        width: 180px;
        height: 180px;
    }

    .team-member-card.layout-image-left .team-member-text-content,
    .team-member-card.layout-image-right .team-member-text-content {
        order: 2;
        text-align: center;
        padding-top: 0;
    }

    .team-member-bio p {
        text-align: center;
    }

    .team-member-card.no-image .team-member-img-container {
        padding-bottom: 10px; /* Ensure some space if it only has text */
    }
} 

.footer-column.wide {
    flex: 2;
    min-width: 300px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column.wide:first-child {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-right: 0;
    margin-bottom: 30px;
}

.footer-column.wide:first-child .footer-title {
    color: var(--primary-color);
}

.footer-column.wide:first-child .footer-contact p {
    color: var(--text-color);
}

.footer-column.wide:first-child .footer-hours h4 {
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
  .footer-column.wide:first-child {
    margin-right: 0;
  }
}

.contact-info .contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info .contact-details i {
    margin-right: 10px;
    font-size: 1.1em;
    color: var(--primary-color);
}

/* Course Categories Grid Styling */
.new-content-section .course-category-grid {
    display: grid;
    /* Updated to fixed 2 columns for medium screens and above, 1 column for small */
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; /* Increased gap slightly */
    margin-top: 30px;
}

.new-content-section .course-category-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px; /* Adjusted padding */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center; /* Center content including icon and heading */
    display: flex; /* Added for flex column layout */
    flex-direction: column; /* Align items vertically */
    align-items: center; /* Center items horizontally */
}

.new-content-section .course-category-icon {
    font-size: 2.8rem; /* Icon size */
    color: var(--primary-color); /* Icon color */
    margin-bottom: 20px;
    line-height: 1; /* Ensure icon is well-aligned */
}

.new-content-section .course-category-card h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.4em; /* Slightly adjusted font size */
    margin-bottom: 15px;
}

.new-content-section .course-category-card ul {
    list-style: none; 
    padding-left: 0; 
    margin-bottom: 15px;
    text-align: left; /* Align list items to the left for readability */
    width: 100%; /* Ensure ul takes width for text-align to work as expected */
}

.new-content-section .course-category-card ul li {
    padding-left: 1.2em; 
    position: relative;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

.new-content-section .course-category-card ul li::before {
    content: "\2022"; 
    color: var(--primary-color); 
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1.2em; 
    position: absolute;
    left: 0;
}

.new-content-section .course-category-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: left; /* Align paragraphs to the left for readability */
    width: 100%; /* Ensure p takes width */
}

.new-content-section .course-category-card p strong {
    color: #333;
    font-weight: 600;
}

/* ... existing intro section styles ... */

/* Responsive adjustments for the grid */
@media (max-width: 991px) { /* Adjusted breakpoint slightly for 2 columns */
    .new-content-section .course-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) { /* Breakpoint for 1 column */
    .new-content-section .course-category-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
    .new-content-section .course-category-card h3 {
        font-size: 1.3em;
    }
}

/* ... rest of the styles ... */

/* Introductory section for the courses page -- ENSURING THIS BLOCK IS CORRECT */
.new-content-section .course-page-intro {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px; /* Space before the grid starts */
    padding: 20px;
    background-color: #fdfdfd; /* Light background for this intro block */
    border-radius: 8px;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.07); */ /* Optional subtle shadow */
}

.new-content-section .intro-image-container {
    flex: 1 1 40%; /* Image container takes about 40% width */
    max-width: 350px; /* Max width for the image */
    text-align: center; /* Center image if it's smaller than container */
}

.new-content-section .intro-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Rounded corners for the image */
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.new-content-section .intro-text-container {
    flex: 1 1 60%; /* Text container takes about 60% width */
}

.new-content-section .intro-text-container h2 {
    font-size: 2.8em; /* Larger heading */
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: left;
}

.new-content-section .intro-text-container .tagline strong {
    font-size: 1.5em; /* Prominent tagline */
    color: var(--secondary-color);
    display: block;
    margin-bottom: 20px;
    font-weight: 600;
}

.new-content-section .intro-text-container .intro-paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-light);
    text-align: left;
}

/* This block was part of the original intro styling to clear older, broader styles. */
/* It targets elements that are no longer directly under .new-content-section > .container for the intro text, */
/* so it should be safe or affect other elements as originally intended. */
.new-content-section > .container > h2,
.new-content-section > .container > p.text-center strong,
.new-content-section > .container > p:not(.text-center) {
    all: unset;
}

/* Responsive adjustments for the intro section */
@media (max-width: 768px) {
    .new-content-section .course-page-intro {
        flex-direction: column; /* Stack image and text */
        text-align: center; /* Center text content on mobile */
        padding: 15px;
    }

    .new-content-section .intro-image-container {
        max-width: 80%; /* Allow image to be a bit wider on mobile stack */
        margin-bottom: 20px;
    }

    .new-content-section .intro-text-container h2,
    .new-content-section .intro-text-container .tagline strong,
    .new-content-section .intro-text-container .intro-paragraph {
        text-align: center; /* Center all text elements on mobile */
    }

    .new-content-section .intro-text-container h2 {
        font-size: 2.2em;
    }
    .new-content-section .intro-text-container .tagline strong {
        font-size: 1.3em;
    }
}

/* ... Other existing CSS ... */

/* Course Tabs Styling */
.course-tabs-container {
    margin-top: 40px;
}

.course-tabs-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px; /* Spacing between tab buttons */
    flex-wrap: wrap; /* Allow tabs to wrap on smaller screens */
}

.course-tabs-navigation .tab-btn {
    padding: 12px 20px;
    background-color: var(--gray-light);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
    box-shadow: none;
    display: flex; /* For icon and text alignment */
    align-items: center;
    gap: 8px; /* Space between icon and text in button */
}

.course-tabs-navigation .tab-btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.course-tabs-navigation .tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.course-tabs-navigation .tab-btn i {
    font-size: 1.1em; /* Adjust icon size in button if needed */
}

.course-tab-content-wrapper {
    margin-top: 20px;
}

.course-tab-content-wrapper .tab-content {
    display: none;
    padding: 30px;
    background-color: #f9f9f9; /* Light background for content pane */
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    animation: fadeIn 0.5s ease; /* Using existing fadeIn animation */
}

.course-tab-content-wrapper .tab-content.active {
    display: block;
}

.course-tab-content-wrapper .tab-content h3 {
    margin-top: 0;
    color: var(--primary-color); /* Heading color for content pane */
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.course-tab-content-wrapper .tab-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.course-tab-content-wrapper .tab-content ul li {
    padding-left: 1.2em;
    position: relative;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

.course-tab-content-wrapper .tab-content ul li::before {
    content: "\2022";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.2em;
    position: absolute;
    left: 0;
}

.course-tab-content-wrapper .tab-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.course-tab-content-wrapper .tab-content p strong {
    color: #333;
    font-weight: 600;
}

/* Comment out or remove old course category grid styles */
/*
.new-content-section .course-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
    margin-top: 30px;
}

.new-content-section .course-category-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.new-content-section .course-category-icon {
    font-size: 2.8rem; 
    color: var(--primary-color); 
    margin-bottom: 20px;
    line-height: 1; 
}

.new-content-section .course-category-card h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.4em; 
    margin-bottom: 15px;
}

.new-content-section .course-category-card ul {
    list-style: none; 
    padding-left: 0; 
    margin-bottom: 15px;
    text-align: left; 
    width: 100%; 
}

.new-content-section .course-category-card ul li {
    padding-left: 1.2em; 
    position: relative;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.6;
}

.new-content-section .course-category-card ul li::before {
    content: "\2022"; 
    color: var(--primary-color); 
    font-weight: bold;
    display: inline-block; 
    width: 1em;
    margin-left: -1.2em; 
    position: absolute;
    left: 0;
}

.new-content-section .course-category-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: left; 
    width: 100%; 
}

.new-content-section .course-category-card p strong {
    color: #333;
    font-weight: 600;
}

@media (max-width: 991px) {
    .new-content-section .course-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .new-content-section .course-category-grid {
        grid-template-columns: 1fr; 
    }
    .new-content-section .course-category-card h3 {
        font-size: 1.3em;
    }
}
*/

/* ... existing styles for .course-page-intro etc. should be preserved ... */

/* Make sure animation is defined if not already global */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ... rest of the styles ... */

/* CTA Section for Application Form on Courses Page */
.cta-application-form {
    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                url('/img/contact-cta-bg.jpg') no-repeat center center; /* Reusing a similar background */
    background-size: cover;
    text-align: center;
    color: var(--white);
}

.cta-application-form .cta-content h2 {
    font-size: 2.2rem; /* Slightly smaller than main page CTAs if needed */
    margin-bottom: 15px;
    color: var(--white);
}

.cta-application-form .cta-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    color: var(--light-color); /* Lighter text for contrast */
    max-width: 600px; /* Constrain width */
    margin-left: auto;
    margin-right: auto;
}

.cta-application-form .cta-buttons .btn-cta {
    padding: 12px 35px; /* Adjust padding if needed */
    font-size: 1.1rem;
}

/* ... existing styles ... */

/* CTA Section for Application Form on Courses Page - Light Variant */
.cta-application-form.light-variant {
    padding: 50px 0;
    background: var(--white); /* Light background color - ensure full override */
}

.cta-application-form.light-variant .cta-flex-wrapper {
    display: flex;
    align-items: center;
    gap: 40px; /* Space between text and image */
}

.cta-application-form.light-variant .cta-text-content {
    flex: 1 1 55%; /* Text content takes more space */
    text-align: left; /* Align text to the left */
}

.cta-application-form.light-variant .cta-text-content h2 {
    font-size: 2.2rem;
    color: var(--dark-color); /* Dark text for light background */
    margin-bottom: 15px;
}

.cta-application-form.light-variant .cta-text-content p {
    font-size: 1.1rem;
    color: var(--text-color); /* Standard text color */
    margin-bottom: 25px;
    line-height: 1.7;
}

.cta-application-form.light-variant .cta-buttons .btn-primary {
    padding: 12px 30px;
    font-size: 1.05rem;
}

.cta-application-form.light-variant .cta-image-content {
    flex: 1 1 45%; /* Image content */
    text-align: center; /* Center image if container is wider */
}

.cta-application-form.light-variant .cta-image-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-height: 400px; /* Optional: constrain image height */
    object-fit: cover; /* Ensures image covers area if constrained */
}

/* Responsive adjustments for the light CTA variant */
@media (max-width: 768px) {
    .cta-application-form.light-variant .cta-flex-wrapper {
        flex-direction: column; /* Stack columns */
        text-align: center; /* Center text content when stacked */
    }

    .cta-application-form.light-variant .cta-text-content {
        text-align: center; /* Ensure text aligns center */
        margin-bottom: 30px; /* Space below text when stacked */
    }

    .cta-application-form.light-variant .cta-image-content img {
        max-height: 350px; /* Adjust image height for mobile if needed */
    }
}

/* ... existing styles ... */

/* Styles for the text content within the default (dark) cta-application-form */
.cta-application-form:not(.light-variant) .cta-text-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    /* color: var(--white); is inherited from .cta-application-form */
}

.cta-application-form:not(.light-variant) .cta-text-content p {
    font-size: 1.15rem;
    margin-bottom: 25px;
    color: var(--light-color); /* Using a slightly off-white for the paragraph for better readability */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ... existing styles ... */

/* ---------------------------------------------------
   Styles for Language Stays Page (pages/language-stays.php)
------------------------------------------------------ */

.content-section {
    padding: 2.5rem 0; /* Adjusted padding */
    margin-bottom: 1.5rem;
}

.content-section:last-of-type {
    margin-bottom: 0;
}

.styled-list-check li {
    margin-bottom: 0.7rem; /* Increased spacing a bit */
    padding-left: 2rem;    /* More space for larger icon/text */
    position: relative;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.styled-list-check li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 5px; /* Adjusted for vertical alignment */
    font-size: 1em; /* Made icon slightly larger */
}

/* Styling for the final CTA box on language-stays.php */
.why-choose-amamundo-cta .cta-box {
    padding: 30px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 20px; /* Added some top margin, adjust as needed */
}

.why-choose-amamundo-cta .cta-box h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: left; /* Ensuring it's not centered by a generic rule */
}

/* Remove section-title like underline if h2 accidentally inherits it or similar */
.why-choose-amamundo-cta .cta-box h2::after {
    display: none;
}

.why-choose-amamundo-cta .cta-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 0; /* Remove bottom margin if it's the last element */
}

/* Styles for Language Stays Intro Section (Complex Layout) */
.language-stay-intro-section .intro-complex-layout {
    display: flex;
    align-items: stretch; /* Changed from flex-end to stretch */
    gap: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.language-stay-intro-section .main-image-container-stays {
    flex: 1 1 40%; /* Adjust flex-basis as needed, e.g., 40% */
    min-width: 280px; /* Minimum width before wrapping */
}

.language-stay-intro-section .main-image-container-stays img {
    width: 100%;
    height: 100%; /* Make image fill the stretched container height */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover; 
}

.language-stay-intro-section .text-and-sub-gallery-stays {
    flex: 1 1 55%; /* Adjust flex-basis, e.g., 55% */
    min-width: 300px;
    display: flex;
    flex-direction: column; /* Stack text above sub-gallery */
    /* gap: 20px; Removed gap */
}

.language-stay-intro-section .intro-text-content {
    /* Text will take available width within its parent */
    margin-bottom: 20px; /* Added for spacing */
}

.language-stay-intro-section .sub-image-gallery-stays {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two images side-by-side */
    gap: 15px;
    margin-top: auto; /* Added to push to bottom */
}

.language-stay-intro-section .sub-image-gallery-stays img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
    aspect-ratio: 1 / 1; /* Square images, adjust if needed */
}

/* Responsive adjustments for the complex intro section */
@media (max-width: 768px) {
    .language-stay-intro-section .intro-complex-layout {
        flex-direction: column;
        align-items: stretch; /* Ensure it remains stretch when stacked if needed */
    }
    .language-stay-intro-section .main-image-container-stays,
    .language-stay-intro-section .text-and-sub-gallery-stays {
        flex-basis: 100%; /* Full width when stacked */
    }
    .language-stay-intro-section .main-image-container-stays {
        margin-bottom: 20px; /* Space below main image when stacked */
        height: auto; /* Reset height for stacked view */
    }
    .language-stay-intro-section .main-image-container-stays img {
        height: auto; /* Reset height for stacked view */
    }
    .language-stay-intro-section .sub-image-gallery-stays {
        margin-top: 0; /* Reset margin-top for stacked view, rely on text margin-bottom */
    }
}

@media (max-width: 480px) {
    .language-stay-intro-section .sub-image-gallery-stays {
        grid-template-columns: repeat(2, 1fr); /* Could also go 1fr for very small */
    }
}
/* End of Styles for Language Stays Intro Section (Complex Layout) */

/* ... any subsequent existing code ... */

/* ---------------------------------------------------
   Styles for Language Camps Page (pages/language-camps.php)
------------------------------------------------------ */

/* Intro Section: Complex Layout */
.language-camps-intro-section .camps-intro-complex-layout {
    display: flex;
    align-items: flex-start; /* Align top edges */
    gap: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.language-camps-intro-section .camps-left-images {
    flex: 1 1 35%; /* Adjust flex-basis as needed, e.g., 35% */
    min-width: 250px; /* Minimum width before wrapping */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between the two stacked images on the left */
}

.language-camps-intro-section .camps-left-images img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
    /* aspect-ratio: 4/3; /* Or your preferred aspect ratio for these images */
}

.language-camps-intro-section .camps-right-content {
    flex: 1 1 60%; /* Adjust flex-basis, e.g., 60% */
    min-width: 300px;
    display: flex;
    flex-direction: column; /* Stack text above sub-image */
}

.language-camps-intro-section .camps-intro-text {
    margin-bottom: 20px; /* Space between text and the sub-image below it */
}

.language-camps-intro-section .camps-sub-image {
    width: 100%; /* Sub-image can take full width of its container */
    max-width: 400px; /* Optional: Max-width for the sub-image if needed */
    align-self: flex-start; /* Align sub-image to the start (left) of its container */
}

.language-camps-intro-section .camps-sub-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
}

/* Pricing Info Box */
.camp-pricing-info-section .pricing-info-box-camps {
    background-color: var(--gray-light); /* Light grey background */
    padding: 25px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.camp-pricing-info-section .pricing-info-box-camps p {
    margin-bottom: 10px;
}

.camp-pricing-info-section .pricing-info-box-camps p strong {
    font-size: 1.2em;
    color: var(--dark-color);
    display: block; /* Make strong take its own line for emphasis */
    margin-bottom: 15px;
}

.camp-pricing-info-section .pricing-info-box-camps ul.styled-list-check {
    margin-top: 10px;
}

.camp-pricing-info-section .pricing-info-box-camps .additional-offer-note {
    text-align: center;
    margin-top: 25px; /* Space above the note */
    font-style: italic; /* Optional: make it italic for a slightly different feel */
    color: var(--text-light); /* Slightly lighter text if desired */
}

/* Responsive adjustments for the camps intro section */
@media (max-width: 768px) {
    .language-camps-intro-section .camps-intro-complex-layout {
        flex-direction: column;
    }
    .language-camps-intro-section .camps-left-images,
    .language-camps-intro-section .camps-right-content {
        flex-basis: 100%; /* Full width when stacked */
    }
    .language-camps-intro-section .camps-left-images {
        order: 1; /* Images first */
        flex-direction: row; /* Side-by-side on mobile for the two left images */
    }
     .language-camps-intro-section .camps-left-images img{
        /* aspect-ratio: 1/1; /* Make them square on mobile if desired */
    }
    .language-camps-intro-section .camps-right-content {
        order: 2; /* Text and sub-image after */
    }
    .language-camps-intro-section .camps-sub-image {
        align-self: center; /* Center the sub-image on mobile */
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .language-camps-intro-section .camps-left-images {
        flex-direction: column; /* Stack the two left images on very small screens */
    }
}

/* Alternating Text/Image Rows for Camps Intro */
.alternating-row {
    display: flex;
    align-items: center; /* Vertically center content in the row */
    gap: 30px;
    margin-bottom: 40px; /* Space between rows */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.alternating-row:last-child {
    margin-bottom: 0;
}

.alternating-text {
    flex: 1; /* Text takes available space */
    min-width: 300px; /* Ensure readability */
    background-color: var(--gray-light); /* Card background */
    padding: 25px 30px; /* Padding inside the card */
    border-radius: var(--border-radius); /* Rounded corners for the card */
    box-shadow: var(--box-shadow); /* Shadow for the card */
}

.alternating-image {
    flex: 0 0 300px; /* Image fixed width */
    /* min-width: 280px; /* Removed as flex-basis defines size */
}

.alternating-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
    display: block; /* Ensure image behaves as a block for alignment */
}

/* Workshops page: text | fotka 1 | fotka 2 v jednom riadku, tri rovnako široké stĺpce */
.workshops-content-section .workshops-row {
    display: grid;
    grid-template-columns: 6fr 4fr 6fr; /* text a dve fotky rovnako veľké */
    gap: 20px;
    align-items: center;
}
.workshops-content-section .workshops-text-col {
    min-width: 0;
}
.workshops-content-section .workshops-img-wrap {
    min-width: 0;
    overflow: hidden;
}
.workshops-content-section .workshops-img-wrap img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: block;
}

@media (max-width: 768px) {
    .workshops-content-section .workshops-row {
        grid-template-columns: 1fr;
    }
}

/* Order for image-right rows (Text Left, Image Right) */
.alternating-row.image-right .alternating-text {
    order: 1;
}
.alternating-row.image-right .alternating-image {
    order: 2;
}

/* Order for image-left rows (Image Left, Text Right) */
.alternating-row.image-left .alternating-image {
    order: 1;
}
.alternating-row.image-left .alternating-text {
    order: 2;
}

/* Pricing Info Box (already styled by .pricing-info-box-camps, if specific styles for this page were different, they'd go here) */
.camp-pricing-info-section .pricing-info-box-camps {
    background-color: var(--gray-light); /* Light grey background */
    padding: 25px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.camp-pricing-info-section .pricing-info-box-camps p {
    margin-bottom: 10px;
}

.camp-pricing-info-section .pricing-info-box-camps p strong {
    font-size: 1.2em;
    color: var(--dark-color);
    display: block; /* Make strong take its own line for emphasis */
    margin-bottom: 15px;
}

.camp-pricing-info-section .pricing-info-box-camps ul.styled-list-check {
    margin-top: 10px;
}


/* Responsive adjustments for alternating rows */
@media (max-width: 768px) {
    .alternating-row {
        flex-direction: column;
    }
    .alternating-row .alternating-text,
    .alternating-row .alternating-image {
        flex-basis: 100% !important; /* Full width when stacked */
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .alternating-row .alternating-text {
        /* text-align: left; /* Default, card content should remain left-aligned */
        /* margin-bottom is handled by specific order rules below */
    }
    /* Ensure image comes after text card if text was order 1 and image order 2 (desktop: text left, image right) */
    .alternating-row.image-right .alternating-text {
        order: 1 !important;
        margin-bottom: 20px !important; /* Space below text when it's first */
    }
    .alternating-row.image-right .alternating-image {
        order: 2 !important;
        margin-bottom: 0 !important; /* No margin if it's last */
    }

    .alternating-row.image-left .alternating-image {
        order: 1 !important;
        margin-bottom: 20px !important; /* Space below image when it's first */
    }
    .alternating-row.image-left .alternating-text {
        order: 2 !important;
        margin-bottom: 0 !important; /* No margin if it's last */
    }
}

/* ... any subsequent existing code ... */

/* ---------------------------------------------------
   Styles for High School Spain Page (pages/high-school-spain.php)
------------------------------------------------------ */

/* Apply alternating row styles to the intro section of high school page */
/* .high-school-intro-section.content-section .alternating-row { */
    /* Uses existing .alternating-row styles */
    /* Override card style for intro text if it was applied by .alternating-text */
/* } */
/*
.high-school-intro-section .alternating-text {
    background-color: transparent; 
    box-shadow: none;
    padding: 0;
}
*/


/* Left-aligned section title for use in alternating rows */
.section-title-left {
    font-size: 2rem; /* Adjust as needed */
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-align: left;
    position: relative;
}

.section-title-left:after { /* Optional: smaller underline for left-aligned titles */
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -8px;
    left: 0; /* Align underline to the left */
    transform: none; /* No translateX needed */
}

/* Tab specific styles for High School page if needed */
.high-school-tabs .tab-content h3 {
    text-align: left; /* Align tab content headings to the left */
    font-size: 1.5rem; /* Adjust size as needed */
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
}
.high-school-tabs .tab-content h3 i {
    color: var(--primary-color); /* Color for icons in tab headings */
}

.high-school-tabs .tab-content p,
.high-school-tabs .tab-content ul {
    margin-bottom: 1rem;
}

/* Custom list styles for tabs */
.styled-list-dash li,
.styled-list-arrow li {
    margin-bottom: 0.5rem;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.styled-list-dash li::before {
    content: '\\2013'; /* en-dash */
    font-family: 'Font Awesome 6 Free'; /* Or use a standard font */
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 1px; /* Adjust for alignment */
    font-size: 1em;
}

.styled-list-arrow li::before {
    content: '\\f054'; /* Font Awesome chevron-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 4px; /* Adjust for alignment */
    font-size: 0.9em;
}

.styled-list-dot li {
    margin-bottom: 0.5rem;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.styled-list-dot li::before {
    content: '\2022'; /* bullet point */
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.styled-list-circle li {
    margin-bottom: 0.5rem;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.styled-list-circle li::before {
    content: '\25cf'; /* filled circle */
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8em;
}

@media (max-width: 768px) {
    .section-title-left {
        font-size: 1.8rem;
        text-align: center; /* Center on mobile */
    }
    .section-title-left:after {
        left: 50%;
        transform: translateX(-50%);
    }
    .high-school-tabs .tab-content h3 {
        font-size: 1.3rem;
        justify-content: center; /* Center tab headings on mobile */
    }
    /* Papierovanie section heading text-align */
    .papierovanie-section .section-title-left {
      text-align: center; /* Center "Papierovanie" title on mobile */
    }
    .papierovanie-section .section-title-left::after { /* Ensure its underline is also centered */
        left: 50%;
        transform: translateX(-50%);
    }
}

.high-school-intro-section .alternating-text {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    flex: 1; /* Ensure it takes up remaining space */
}

.high-school-intro-section .alternating-text p {
    font-size: 1.2rem; /* Larger font size for intro text */
    line-height: 1.7;
}

.high-school-intro-section .alternating-text {
    text-align: center;
}

.high-school-intro-section .alternating-text p {
    text-align: left;
}

.high-school-intro-cta {
    display: inline-block;
    margin-top: 1.25rem;
}

.high-school-intro-section .alternating-image {
    flex: 0 0 450px; /* Larger image for the intro section */
    /* min-width will be implicitly handled by flex-basis */
}

.high-school-intro-section .alternating-image img {
    /* Standard image styles from .alternating-image img should apply, 
       but ensure they are present if overridden or ensure specificity */
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    object-fit: cover;
    display: block;
}

.high-school-intro-section .alternating-image {
    flex: 0 0 50%;
}
.high-school-intro-section .alternating-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Instagram Feed Section */
.instagram-feed-section {
    padding: 60px 0;
    background-color: var(--white);
}

/* Novinky Section */
.novinky-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
}

.novinky-section .section-title {
    text-align: center;
    color: var(--secondary-color);
}

.novinky-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 560px;
    margin: 0 auto;
}

.novinky-card {
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    background: var(--white);
}

.novinky-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.novinky-card__image-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--gray-light);
    max-height: 320px;
}

.novinky-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.novinky-card:hover .novinky-card__image-wrap img {
    transform: scale(1.03);
}

.novinky-card__label {
    display: block;
    padding: 0.65rem 0.85rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--secondary-color);
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.novinky-card:hover .novinky-card__label {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .novinky-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 320px;
        margin: 0 auto;
    }

    .novinky-card__image-wrap {
        max-height: 280px;
    }

    .novinky-section {
        padding: 40px 0;
    }
}

/* -------------------------
   Cookie Consent Banner
------------------------- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 20px 24px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s;
}

.cookie-consent-banner.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-consent-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    flex: 1;
    min-width: 200px;
}

.cookie-consent-banner p .fa-cookie-bite {
    margin-right: 8px;
    opacity: 0.9;
}

.cookie-consent-banner a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent-banner a:hover {
    color: var(--white);
}

.cookie-consent-btn {
    flex-shrink: 0;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
    white-space: nowrap;
}

.cookie-consent-btn:hover {
    background-color: var(--white);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.cookie-consent-btn:active {
    transform: translateY(0);
}

/* Mobile cookie banner */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 18px 20px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-consent-banner-inner {
        flex-direction: column;
        gap: 16px;
    }
    
    .cookie-consent-banner p {
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .cookie-consent-btn {
        width: 100%;
    }
}