:root {
    --background-main: #a4cde0;
    --text-primary: #0F1D2B;
    --text-on-accent: #f0f4f8;
    --border-color: rgba(15, 29, 43, 0.15);
    --hover-accent: #36516d;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html { font-size: 100%; }
@media (max-width: 1200px) { html { font-size: 93.75%; } }
@media (max-width: 992px) { html { font-size: 87.5%; } }
@media (max-width: 768px) { html { font-size: 81.25%; } }
@media (max-width: 480px) { html { font-size: 75%; } }

body {
    font-family: var(--font-sans);
    background-color: var(--background-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 68.75rem;
    margin: 0 auto;
}

.container p { text-align: justify; }

/* ========== HEADER & NAVIGATION ========== */
.main-header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-primary);
    text-transform: uppercase;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--hover-accent);
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.menu-toggle { display: none; }

/* ========== HERO SECTION ========== */
.hero {
    padding: 2rem 0;
}

.hero-container {
    display: flex;
    gap: 1rem;
}

.hero-left {
    flex: 0 0 50%;
}

.hero-right {
    flex: 0 0 50%;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.main-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    opacity: 0.85;
}

.subtitle {
    font-size: 1.25rem;
    max-width: 37.5rem;
    color: var(--text-primary);
    opacity: 0.85;
}

.hero .feature-points {
    margin: 2rem 0;
    text-align: left;
    border-left: 2px solid var(--text-primary);
    padding-left: 2rem;
}

.feature-points p {
    color: rgba(15, 29, 43, 0.85);
    margin-bottom: 1rem;
}

/* ========== BUTTONS & CTAs ========== */
.book-demo-cta-button{
    text-align: center;
}

.cta-button {
    display: inline-block;
    background-color: var(--text-primary);
    color: var(--text-on-accent);
    font-family: var(--font-sans);
    font-weight: 700;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: var(--hover-accent);
}

/* ========== FEATURES CAROUSEL ========== */
.section-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    width: 75%;
    margin: 0 auto;
}

.features-carousel {
    padding: 1rem 0;
    position: relative;
}

.swiper {
    width: 100%;
    padding: 1rem 0;
    overflow: hidden;
}

.swiper-slide {
    width: auto;
    padding: 0 1rem;
    height: auto;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    justify-items: center;
    max-width: 68.75rem;
    width: 100%;
    position: relative;
    border-radius: 8px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
    min-height: auto;
    margin: 0 1rem;
}

.feature-card.reverse { direction: rtl; }

.feature-card.reverse > * { direction: ltr; }

.feature-content h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

.feature-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.feature-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
}

#visual-1 { aspect-ratio: 9/10; }

.feature-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: fill;
}

/* Carousel Navigation */
.swiper-button-prev,
.swiper-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.swiper-pagination-bullet {
    background: var(--text-primary);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    margin: 0 8px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* ========== ABOUT US PAGE STYLES ========== */

.logo-link {
    text-decoration: none;
}

.about-page-section .container a{
    color: var(--text-primary);
    text-decoration: none;
}

.about-page-section {
    padding: 1rem 0 2rem;
    text-align: center;
}

.about-page-section h2 {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.about-page-section p {
    max-width: 90%;
    margin: 0 auto 1.5rem auto;
    text-align: justify;
    font-size: 1.4rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1024px) {
    .feature-card {
        gap: 2rem;
        padding: 1.5rem;
        min-height: 450px;        
    }
    
    .swiper-slide{
        max-width: 90%;
        max-height: 40%;
        height: auto; 
        width: auto;
    }
     
    .feature-card {
        display: flex;
        right: 1rem;
        flex-direction: column;
        padding: 1rem;
        min-height: auto;
    }
    
    .feature-content h2 { font-size: 2rem; }
    .hero h1 { font-size: 4rem; }
    .logo { font-size: 1.5rem; }
    
    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    body { line-height: 1.5; }
    .logo { font-size: 1.3rem; }
    
    .main-header .container { flex-wrap: wrap; }
    
    .container p, .feature-content p { text-align: left; }
    
    .hero { padding: 1rem 0; }
    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-left, .hero-right {
        flex: 1 1 100%;
        width: 100%;
    }
    .hero h1 { font-size: 3.5rem; text-align: center; }
    .subtitle { font-size: 1.1rem; }
    
    .main-nav {
        display: none;
        width: 100%;
        background-color: var(--background-main);
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        order: 3;
    }
    .main-nav.active { display: flex; }
    .main-nav a { margin: 1rem 0; }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }
    
    .bar {
        height: 3px;
        width: 100%;
        background-color: var(--text-primary);
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    /* Features Carousel */
    .features-carousel { padding: 1rem 0; }
    
    .feature-card {
        display: flex;
        right: 1rem;
        flex-direction: column;
        padding: 1rem;
        min-height: auto;
    }
    
    .feature-card .feature-content { order: 1; }

    .feature-card .feature-image {
        order: 2;
        margin-top: 2rem;
        width: 80%;
    }
    .feature-card.reverse { direction: ltr; }
    
    .feature-content { text-align: center; }
    .feature-content p { text-align: left; }
    
    .feature-points {
        text-align: left;
        margin: 2rem auto;
        width: 100%;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
    .about-page-section p {
        margin: 0 2rem 1.5rem 2rem;
        text-align: justify;
        font-size: 1.3rem;
        line-height: 1.7;
        opacity: 0.95;
    }
}

@media (max-width: 480px) {
    .feature-image {
        width: 100%;
    }
    
    .feature-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}