/* =========================
   RESET & BASE
========================= */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* =========================
   HEADER
========================= */
header {
    background-color: #000;
    color: #fff;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

/* =========================
   NAVIGATION
========================= */
nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

nav a:hover {
    color: #cccccc;
}

/* =========================
   DROPDOWN
========================= */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000;
    min-width: 200px;
    top: 35px;
    left: 0;
    z-index: 999;
}

.dropdown-content a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #222;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* =========================
   MOBILE MENU
========================= */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* =========================
   CONTAINER
========================= */
.container {
    padding: 20px;
    max-width: 1100px;
    margin: auto;
}

/* =========================
   ADVANCED SLIDER
========================= */
.slider {
    position: relative;
    height: 30vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

/* =========================
   ARROWS
========================= */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    padding: 10px;
    background: rgba(0,0,0,0.5);
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
}

/* =========================
   DOTS
========================= */
.dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .slider {
        height: 200px;
    }

    .slide img {
        height: 200px;
    }
}

/* =========================
   SLIDER (SMOOTH FADE)
========================= */
.slider {
    height: 30vh;
    position: relative;
    overflow: hidden;
}

.slides {
    position: relative;
    height: 100%;
}

.slides img {
    position: absolute;
    width: 100%;
    height: 30vh;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slides img.active {
    opacity: 1;
}

/* =========================
   SLIDER TEXT OVERLAY
========================= */
.slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.slider-text h1 {
    font-size: 32px;
}

.slider-text p {
    font-size: 18px;
}

/* =========================
   FEATURES SECTION
========================= */
.features {
    display: flex;
    justify-content: space-around;
    padding: 30px 20px;
    background: #f5f5f5;
    text-align: center;
}

.feature-box {
    width: 30%;
    padding: 20px;
    background: #fff;
    border-radius: 6px;
    transition: 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

/* =========================
   ANIMATION
========================= */
.feature-box,
.about-box,
.full-text {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   NEWS MARQUEE
========================= */
.news {
    background: #000;
    color: #fff;
    padding: 10px;
    font-size: 14px;
}

/* =========================
   ABOUT PREVIEW (FINAL FIX)
========================= */
.about-preview {
    margin-top: 30px;
}

.about-box {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* IMAGE */
.about-img {
    width: 220px;
    height: auto;
    border-radius: 6px;
    flex-shrink: 0;
}

/* TEXT */
.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 4px;
}

.btn:hover {
    background: #333;
}

/* =========================
   FULL IMAGE SECTION
========================= */
.full-image {
    margin-top: 30px;
}

.full-image img {
    width: 100%;
    height: auto;
}

.full-text {
    text-align: center;
    padding: 20px;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}

/* =========================
   HEADINGS
========================= */
h2, h3 {
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
	
	.features {
        flex-direction: column;
        gap: 15px;
    }

    .feature-box {
        width: 100%;
    }

    .slider-text h1 {
        font-size: 20px;
    }

    .slider-text p {
        font-size: 14px;
    }

    /* NAVIGATION MOBILE */
    nav {
        display: none;
        flex-direction: column;
        background: #000;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 12px;
        border-top: 1px solid #222;
    }

    .menu-toggle {
        display: block;
    }

    .dropdown-content {
        position: static;
    }

    /* ABOUT SECTION FIX */
    .about-box {
        flex-direction: column;
        text-align: center;
    }

    .about-img {
        width: 100%;
        max-width: 300px;
    }

    /* SLIDER MOBILE */
    .slider {
        height: 200px;
    }

    .slides img {
        height: 200px;
    }
}