/* ================================== */
/* GENERAL & VARIABLES */
/* ================================== */
:root {
    --bg: #071127;
    --blue-1: #0b6cf6;
    --blue-2: #3da1ff;
    --card: #0f2038;
    --glass: rgba(255, 255, 255, 0.04);
    --accent: #00ffd1;
    --soft: rgba(255, 255, 255, 0.06);
    --radius: 14px;
    --transition: 350ms cubic-bezier(.2, .9, .3, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(180deg, var(--bg), #071533 70%);
    margin: 0;
    color: white;
}

section {
    padding: 60px 20px;
}

h2 {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: white;
    letter-spacing: 1px;
}

/* ================================== */
/* NAV BAR */
/* ================================== */
.main-header {
    background-color: var(--bg);
    padding: 15px 50px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.8em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #CBD5E0;
    text-decoration: none;
    font-size: 1.1em;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

/* ================================== */
/* MAIN IMAGE SLIDER */
/* ================================== */
.main-slider-section {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.main-slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.main-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* ================================== */
/* SLIDER BUTTON STYLING */
/* ================================== */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-btn.prev-main {
    left: 20px;
}

.slider-btn.next-main {
    right: 20px;
}

/* ================================== */
/* HEADING & POINTS SECTION */
/* ================================== */
.points-section {
    background-color: var(--bg);
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
}

.points-section h2 {
    font-size: 2em;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 20px;
}

.points-content {
    text-align: left;
    margin-top: 20px;
    line-height: 1.6;
    color: #CBD5E0;
}

.points-content h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: white;
    margin-top: 20px;
    margin-bottom: 10px;
}

.points-content ul {
    list-style: none;
    padding: 0;
}

.points-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.points-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ================================== */
/* BEFORE/AFTER IMAGES - Interactive */
/* ================================== */
.before-after-section {
    padding: 60px 20px;
    text-align: center;
}

.before-after-section h2 {
    font-size: 2em;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 40px;
}

.ba-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ba-image-slider {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: ew-resize;
}

.ba-image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-image-slider .ba-after {
    clip-path: inset(0 0 0 50%);
}

.ba-image-slider .ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    border: 2px solid var(--accent);
    pointer-events: none;
}

.ba-image-slider .ba-handle::before,
.ba-image-slider .ba-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 100vh;
    background-color: var(--accent);
}

.ba-image-slider .ba-handle::before {
    left: -20px;
}

.ba-image-slider .ba-handle::after {
    right: -20px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .ba-grid-container {
        grid-template-columns: 1fr;
    }

    .ba-image-slider {
        height: 250px;
    }
}

/* ================================== */
/* FOOTER */
/* ================================== */
.main-footer {
    background-color: #0d0d0d;
    padding: 40px 20px 20px;
    border-top: 1px solid var(--soft);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    font-size: 1em;
    font-weight: 500;
    color: #CBD5E0;
    margin: 0;
    cursor: pointer;
    transition: color var(--transition);
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-center {
    width: 150px;
    margin-bottom: 15px;
}

.footer-logo-center img {
    width: 100%;
    height: auto;
    border: 2px solid #00ffd1;
    border-radius: 12px;
}

.footer-center h4 {
    font-size: 1em;
    font-weight: 500;
    color: #CBD5E0;
    margin: 0 0 10px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background-color: var(--soft);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.1em;
    transition: background-color var(--transition);
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: var(--accent);
    color: var(--bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--soft);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    color: #888;
}

/* ================================== */
/* RESPONSIVE DESIGN */
/* ================================== */
@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        justify-content: center;
    }

    .main-slider-section {
        height: 400px;
    }

    .slider-btn.prev-main {
        left: 10px;
    }

    .slider-btn.next-main {
        right: 10px;
    }

    .points-section {
        padding: 20px;
    }

    .ba-grid-container {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-column {
        align-items: center;
    }
}