:root {
    --primary-color: #4a90e2;
    --dark-text: #333333;
    --light-text: #ffffff;
    --bg-light: #f4f7f9;
    --border-radius-md: 12px;
    --shadow-main: 0 8px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--dark-text);
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(45deg, #4a90e2, #2e6ab1);
    color: var(--light-text);
    padding: 60px 5%;
    text-align: start;
}

.hero-section h1 {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 100px;
}

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

.content-section {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--light-text);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-main);
    margin-top: 60px;
}

.container > .content-section:last-child {
    margin-bottom: 60px;
}

.text-block {
    width: 45%;
    flex-shrink: 0;
}

.text-block h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.text-block p {
    font-size: 1rem;
    color: #555;
    opacity: 0.9;
}

.slider-container {
    width: 55%;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
}

.image-slider {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.image-slider img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1rem;
    color: var(--dark-text);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
}

.slider-container:hover .slider-btn {
    opacity: 1;
    visibility: visible;
}

.slider-btn:hover {
    background-color: var(--light-text);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }
    
    .hero-section {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 20px 20px;
        text-align: center;
        top: 20px;
      }
    
      .hero-section h1 {
        font-size: 32px;
        margin-bottom: 30px;
      }

    .text-block,
    .slider-container {
        width: 100%;
    }
}