/* 
  styles.css - Coach Martin Website 
  A modern, responsive design for Core Energy Coaching website
*/

/* Base Styles and Variables */
:root {
    --primary-color: #3a7bd5;
    --primary-dark: #2d5f9e;
    --secondary-color: #00d2ff;
    --secondary-dark: #00a8cc;
    --accent-color: #f9b42d;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-text: #222222;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --gradient-bg: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 8px;
    --header-height: 100px;
    --content-offset: 120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    padding-right: 45px;
}

.btn::after {
    content: '⧉';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: normal;
    line-height: 1;
    transition: var(--transition);
}

.btn::before {
    display: none;
}

.btn:hover::after {
    transform: translateY(-50%) translateX(3px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    font-weight: 700;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: max-content;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .btn {
        font-weight: 800;
        padding: 14px 30px;
        padding-right: 50px;
        min-height: 48px;
        font-size: 1rem;
    }
    
    .btn::after {
        font-size: 22px;
        right: 18px;
    }
    
    .btn-outline {
        animation: subtle-pulse 2s infinite;
    }
}

@keyframes subtle-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(58, 123, 213, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(58, 123, 213, 0.1);
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn {
        border-width: 3px;
        font-weight: 800;
    }
    
    .btn-outline {
        border-width: 3px;
        background-color: rgba(58, 123, 213, 0.05);
    }
    
    .btn:active {
        transform: translateY(1px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .btn:active::after {
        transform: translateY(-50%) translateX(1px);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.underline {
    height: 4px;
    width: 80px;
    background: var(--gradient-bg);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Language Selector and Display Logic */
.language-selector {
    display: flex;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 5px;
    box-shadow: var(--shadow);
    z-index: 100;
}

.lang-btn {
    border: none;
    background: none;
    font-weight: 600;
    padding: 5px 12px;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Language Display Logic */
body[data-lang="sk"] .en {
    display: none !important;
}

body[data-lang="en"] .sk {
    display: none !important;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    max-width: 150px;
}

.logo img {
    max-height: 85px;
    width: auto;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-bg);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
    padding-top: var(--content-offset);
}

section {
    padding: 100px 0;
    scroll-margin-top: var(--header-height);
}

section:first-of-type:not(.hero) {
    padding-top: calc(var(--content-offset) + 20px);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}

.hero-cta a {
    margin-bottom: 10px;
}

/* For very small screens, make buttons take full width */
@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta a {
        width: 100%;
        text-align: center;
    }
}

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

/* Core Energy Section */
.core-energy {
    background-color: var(--light-bg);
}

.energy-levels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.energy-description {
    padding-right: 20px;
}

.energy-chart {
    display: flex;
    justify-content: center;
    align-items: center;
}

.energy-chart img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 100%;
    height: auto;
}

.energy-journey {
    margin-bottom: 60px;
    text-align: center;
}

.levels-overview {
    margin-top: 30px;
}

.level-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.level-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    flex: 1;
    min-width: 200px;
    max-width: 200px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 20px;
}

.level-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.level-number {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    padding: 10px;
    text-align: center;
}

.level-content {
    padding: 10px;
    text-align: center;
}

.level-1 .level-number { background-color: #d32f2f; }
.level-2 .level-number { background-color: #f57c00; }
.level-3 .level-number { background-color: #fbc02d; }
.level-4 .level-number { background-color: #388e3c; }
.level-5 .level-number { background-color: #1976d2; }
.level-6 .level-number { background-color: #7b1fa2; }
.level-7 .level-number { background-color: #512da8; }

.learn-more-cta {
    margin-top: 40px;
    text-align: center;
}

.coaching-approach {
    margin-bottom: 60px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

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

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.certification-badges {
    text-align: center;
    margin-bottom: 60px;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.badges img {
    max-width: 150px;
    margin: 0 auto;
}

.cta-block {
    background: var(--gradient-bg);
    color: var(--light-text);
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius);
    margin-top: 60px;
}

.cta-block p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.cta-block h1, 
    .cta-block h2, 
    .cta-block h3, 
    .cta-block h4, 
    .cta-block h5, 
    .cta-block h6 {
        color: white !important; /* Use !important to override any other styles */
    }

/* English Teaching Section */
.english-teaching {
    background-color: white;
}

.english-content {
    margin-bottom: 60px;
}

.english-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.english-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-text h4 {
    margin-bottom: 10px;
}

/* Media Skills Section */
.media-skills {
    background-color: var(--light-bg);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.skill-card {
    background-color: white;
    padding: 40px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

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

.experience-highlight {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 40px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.approach-block {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1.5rem;
    text-align: center;
}

.equipment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.equipment-item {
    background: rgba(58, 123, 213, 0.1);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--primary-color);
    flex-grow: 1;
    text-align: center;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

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

.quote {
    background-color: var(--light-bg);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    margin: 30px 0;
    font-style: italic;
}

.quote p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.certifications {
    margin-top: 30px;
}

.cert-label {
    font-weight: 600;
    margin-bottom: 10px;
}

.certifications ul {
    padding-left: 20px;
}

.certifications li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.certifications li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contact Section */
/* Contact Section Base Styles */
.contact {
    background-color: var(--light-bg);
}

/* Contact Info Container */
.contact-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;
    width: 100%;
    margin-bottom: 40px;
}

/* Individual Contact Item */
.info-item {
    flex: 1;
    background-color: white;
    padding: 25px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Icon Styling */
.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Text Styling */
.info-text {
    width: 100%;
}

.info-text h3 {
    margin-bottom: 10px;
}

.info-text p, 
.info-text a {
    margin-bottom: 5px;
    color: var(--text-color);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .info-item {
        width: 100%;
    }
}
/* Footer */
footer {
    background-color: #ffffff;
    padding: 50px 0 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.footer-logo img {
    max-height: 85px;
}

.footer-links ul {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .benefits-grid,
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .energy-levels,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .energy-description {
        padding-right: 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -300px;
        width: 280px;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        padding: 50px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 99;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .level-cards {
        justify-content: center;
    }
    
    .badges {
        gap: 20px;
    }
    
    .about-image {
        text-align: center;
    }
    
    .about-image img {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .benefits-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }
    
    .level-card {
        min-width: 180px;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto 15px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .badges {
        flex-direction: column;
        align-items: center;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links ul {
        justify-content: center;
    }
}

/* Hero Section Base */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Account for fixed header */
}

.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Carousel Slides */
.carousel-slide {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide .hero-content {
    max-width: 700px;
    padding: 0 20px;
    margin: 0 auto;
}

/* Split layout for slides with images */
.carousel-slide-with-image .hero-content-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
}

.content-text {
    padding-right: 20px;
}

.content-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    object-fit: contain;
}

.content-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-slide-with-image.active ~ .carousel-control {
    display: none;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* Hero CTA spacing */
.hero-cta {
    margin-top: 2rem;
    margin-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .carousel-slide-with-image .hero-content-split {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .content-image img {
        max-width: 500px;
    }
    
    .carousel-control.prev {
        left: 15px;
    }
    
    .carousel-control.next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 80px;
    }
    
    .hero-cta {
        margin-bottom: 70px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding-top: 250px;
    }
    
    .hero-carousel {
        min-height: 550px;
    }
    
    .carousel-slide-with-image .hero-content-split {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 20px;
    }
    
    .content-text {
        padding-right: 0;
        text-align: center;
        order: 1;
    }
    
    .content-image {
        order: 2;
        margin-top: 20px;
    }
    
    .content-image img {
        max-width: 300px;
    }
    
    .carousel-slide-with-image {
        padding-bottom: 100px; /* Space for image at bottom */
    }
    
    .carousel-indicators {
        bottom: 70px;
    }
    
    .hero-cta {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 130px;
        min-height: auto;
    }
  
    .carousel-control {
        display: none !important;
    }
    
    .hero-carousel {
        min-height: 500px;
        display: flex;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .carousel-slide {
        position: relative;
        top: auto;
        transform: none;
        width: 100%;
        display: flex;
        align-items: center;
        min-height: 450px;
    }
    
    .carousel-slide:not(.active) {
        display: none;
    }
    
    .carousel-slide.active {
        display: flex;
    }
    
    .carousel-slide .hero-content {
        padding: 20px 15px;
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }
    
    .carousel-slide-with-image .hero-content-split {
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .content-text {
        order: 1;
        text-align: center;
        padding: 0;
    }
    
    .content-image {
        order: 2;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .content-image img {
        max-width: 300px;
    }
    
    .carousel-indicators {
        position: fixed;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        gap: 8px;
        z-index: 100;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 24px;
    }
    
    .hero-cta {
        margin-top: 1.5rem;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 80px;
    }
    
    .hero-carousel {
        min-height: 520px;
        padding-top: 80px;
    }
    
    .carousel-slide {
        min-height: 480px;
    }
    
    .content-image img {
        max-width: 300px;
    }
    
    .carousel-indicators {
        bottom: 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 400px) {
    .hero-carousel {
        min-height: 560px;
    }
    
    .content-image img {
        max-width: 300px;
    }
    
    .carousel-indicators {
        bottom: 50px;
    }
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 100px; /* Increased base spacing */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

/* Hero CTA spacing */
.hero-cta {
    margin-top: 2rem;
    margin-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .carousel-control.prev {
        left: 15px;
    }
    
    .carousel-control.next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 80px;
    }
    
    .hero-cta {
        margin-bottom: 70px;
    }
}

@media (max-width: 992px) {
    .hero-carousel {
        min-height: 550px; /* Increased height for tablets */
    }
    
    .carousel-indicators {
        bottom: 70px;
    }
    
    .hero-cta {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .carousel-control {
        display: none;
    }
    
    .hero-carousel {
        min-height: 500px;
    }
    
    .carousel-slide .hero-content {
        padding: 0 15px;
    }
    
    .carousel-indicators {
        bottom: 60px; /
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 24px;
    }
    
    .hero-cta {
        margin-top: 1.5rem;
        margin-bottom: 70px; /
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        min-height: 550px; /
    }
    
    .carousel-indicators {
        bottom: 50px;
    }
    
    .hero-cta {
        margin-bottom: 80px; /
    }
    
    .hero h1 {
        font-size: 2.2rem; /
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 400px) {
    .hero-carousel {
        min-height: 600px; /
    }
    
    .carousel-indicators {
        bottom: 40px;
    }
    
    .hero-cta {
        margin-bottom: 90px;
    }
}

.carousel-slide-with-image .hero-content-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
}

.content-text {
    padding-right: 20px;
}

.content-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    object-fit: contain;
}

.content-image img:hover {
    transform: scale(1.03); 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1200px) {
    .carousel-slide-with-image .hero-content-split {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .content-image img {
        max-width: 320px;
    }
}

@media (max-width: 992px) {
    .carousel-slide-with-image .hero-content-split {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-text {
        padding-right: 0;
        text-align: center;
    }
    
    .content-image {
        order: 2;
    }
    
    .content-text {
        order: 1;
    }
    
    .content-image img {
        max-width: 300px;
    }
    
    .carousel-slide-with-image {
        padding-bottom: 40px; 
    }
    
    .hero-carousel {
        min-height: 700px;
    }
}

@media (max-width: 768px) {
    .content-image img {
        max-width: 300px;
    }
    
    .carousel-slide-with-image {
        padding-bottom: 30px;
    }
    
    .hero-carousel {
        min-height: 650px;
    }
    
    /* Move indicators even lower for image slide */
    .carousel-slide-with-image ~ .carousel-indicators {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .carousel-slide-with-image .hero-content-split {
        gap: 15px;
    }
    
    .content-image img {
        max-width: 300px;
    }
    
    .carousel-slide-with-image {
        padding-bottom: 20px;
    }
    
    .hero-carousel {
        min-height: 600px;
    }
}

@media (max-width: 480px) {
    .content-image img {
        max-width: 300px;
    }
}

.content-image video {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    object-fit: contain;
}

.content-image video:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .content-image video {
        max-width: 320px;
    }
}

@media (max-width: 992px) {
    .content-image video {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .content-image video {
        max-width: 240px;
    }
}

@media (max-width: 576px) {
    .content-image video {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .content-image video {
        max-width: 180px;
    }
}

.contact-map {
    margin-top: 60px;
    text-align: center;
}

.contact-map h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.map-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: white;
}

.map-container iframe {
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .contact-map {
        margin-top: 40px;
    }
    
    .contact-map h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
}