/* ===== GENERAL ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #fff;
    background: #1b1b2f;
    transition: background 0.5s, color 0.5s;
    opacity: 1;
    min-height: 100vh;
   
}

/* ===== DARK/LIGHT MODE ===== */
body.light {
    background: #f2f4f6;
    color: #111;
}
body.light header, body.light footer {
    background: linear-gradient(90deg, #1f3a52, #4a90e2);
    color: #fff;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #4a148c, #6a1b9a);
    padding: 15px 15px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

header h1 {
    font-size: 24px;
    letter-spacing: 1px;
}

header .info-header {
    font-size: 14px;
}

header .nav-buttons {
    display: flex;
    gap: 7px;
}

header .nav-buttons a {
    padding: 10px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(90deg,#ff6f00,#ff8f00);
    transition: transform 0.3s, background 0.3s;
}

header .nav-buttons a:hover {
    transform: scale(1.1);
    background: linear-gradient(90deg,#ff8f00,#ff6f00);
}

/* ===== DARK TOGGLE ===== */
.dark-toggle button {
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: #ffd700;
    font-size: 16px;
    transition: transform 0.3s;
}
.dark-toggle button:hover {
    transform: scale(1.2);
}

/* ===== CONTENT ===== */
.content {
    padding: 140px 15px 60px;
    max-width: 900px;
    margin: auto;
}

/* ===== SLIDER ===== */
.slider-box {
    width: 100%;
    max-width: 600px;
    margin: 30px auto 40px;
    background: #2c2c54;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    position: relative;
    margin-top: 120px;
}

.slider {
    position: relative;
    height: 250px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ===== SERVICE BOX ===== */
.service-box {
    background: #4a148c;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 100px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.service-box h3 {
    margin-bottom: 10px;
    color: #ffd700;
}
/* ===== SLIDER IMAGE PERFECT FIT ===== */
.slider {
    position: relative;
    height: 250px; /* keep your original height */
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* PERFECT IMAGE FIT */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fills slider perfectly */
    display: block;
}

/* TEXT OVER IMAGE */
.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0)
    );
    color: #fff;
}

.slide-text h2 {
    font-size: 20px;
    margin-bottom: 4px;
}

.slide-text p {
    font-size: 14px;
    opacity: 0.9;
}

/* SLIDER ARROWS (UNCHANGED LOOK, SMOOTHER) */
.arrow {
    z-index: 5;
}
/* ===== FOOTER ===== */
footer {
    padding: 20px 15px;
    background: linear-gradient(90deg,#4a148c,#6a1b9a);
    color: #fff;
    text-align: center;
}

/* ===== PAGE TRANSITION ===== */
body.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

/* ===== ENQUIRY FORM ===== */
.form-box {
    background: #2c2c54;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}
.form-box input, .form-box select, .form-box button {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: none;
}
.form-box button {
    background: #ff6f00;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}
.form-box button:hover {
    transform: scale(1.05);
    background: #ff8f00;
}
