/* ================================
   GLOBAL RESET & BASE STYLES
================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    margin-left: 20px;
}

/* ================================
   NAVBAR
================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: #0f172a;
}

.navbar img {
    height: 40px;
}

.navbar nav a {
    color: #ffffff;
    margin-left: 20px;
    font-weight: 500;
}

/* ================================
   SEO HIDDEN H1
================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ================================
   HERO SLIDER
================================ */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

/* Slides */
.slides {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: opacity 1s ease-in-out, transform 6s ease;
    pointer-events: none;

}

.slides.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
    pointer-events: auto;
}


/* Banner images */
.slide1 { background-image: url("../images/banner1.webp"); }
.slide2 { background-image: url("../images/banner2.webp"); }
.slide3 { background-image: url("../images/banner3.webp"); }
.slide4 { background-image: url("../images/banner4.webp"); }
.slide5 { background-image: url("../images/banner5.webp"); }
.slide6 { background-image: url("../images/banner6.webp"); }
.slide7 { background-image: url("../images/banner7.webp"); }
.slide8 { background-image: url("../images/banner8.webp"); }
.slide9 { background-image: url("../images/banner9.webp"); }

/* Slide content (FIXED) */
.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    max-width: 600px;
    color: #ffffff;

    opacity: 0;
    transform: translateY(-50%) translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slides.active .slide-content {
    opacity: 1;
    transform: translateY(-50%) translateY(0);
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Button */
.btn {
    display: inline-block;
    background: #38bdf8;
    color: #0f172a;
    padding: 12px 26px;
    font-weight: bold;
    border-radius: 5px;
}

/* Slider dots */
.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background: #cbd5e1;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
}

.dot.active {
    background: #38bdf8;
}

/* ================================
   MAIN CONTENT
================================ */
main {
    width: 100%;
}

.intro {
    padding: 60px;
    text-align: center;
    max-width: 1000px;
    margin: auto;
}

.intro h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.page {
    padding: 60px;
    max-width: 1000px;
    margin: auto;
}

.page h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.page h2 {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.page-intro {
    max-width: 700px;
    margin-bottom: 40px;
    font-size: 18px;
    color: #334155;
}

/* ================================
   SERVICES
================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-card h2 i {
    color: #2563eb;
    margin-right: 8px;
}

/* ================================
   CONTACT
================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.map-container {
    width: 100%;
    height: 260px;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
}

/* ================================
   SLIDER ARROWS (FIXED)
================================ */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    border: none;
    font-size: 36px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 50; /* FIXED */
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* ================================
   FOOTER
================================ */
footer {
    background: #0f172a;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    margin-top: 60px;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        padding: 15px;
    }

    .hero-slider {
        height: 70vh;
    }

    .slide-content {
        left: 5%;
        right: 5%;
        max-width: 100%;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 220px;
    }

    .slider-arrow {
        font-size: 26px;
        padding: 8px 12px;
    }
}
/* ================================
   HOME PAGE SPACING FIX
================================ */
.intro {
    padding: 90px 20px;
    background: #ffffff;
    margin-top: -40px;
    position: relative;
    z-index: 2;
}

.intro h2 {
    font-size: 34px;
}

.intro p {
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto;
    color: #475569;
}

.social-icons {
    display: flex;
    gap: 20px;
}

/* Base icon style */
.icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Facebook – Circle – Official Blue */
.facebook {
    background-color: #1877F2;
    border-radius: 50%;
}

/* LinkedIn – Rounded Rectangle – Official Green (Brand-safe alternative) */
.linkedin {
    background-color: #2E8B57; /* Green shade */
    border-radius: 12px;
}

/* X (Twitter) – Rounded Rectangle – Black */
.x {
    background-color: #000;
    border-radius: 12px;
}

/* Instagram – Circle – Gradient */
.instagram {
    background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
    border-radius: 50%;
}

/* YouTube – Rounded Rectangle – Official Red */
.youtube {
    background-color: #FF0000;
    border-radius: 12px;
}

/* Hover effect */
.icon:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

@media (max-width: 600px) {
    .icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}



