/* ---------------- Reset & Base ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

/* ---------------- Header (FIXED) ---------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: #000;
    border-bottom: 1px solid #222;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img { height: 40px; width: auto; }

.logo span {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #888;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover, nav a.active {
    color: #c1914b;
}

/* ---------------- Top Banner (FIXED) ---------------- */
.top-banner, .projecthero-banner, .contacttop-banner {
    width: 100%;
    background: #000;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    position: fixed;
    top: 81px;
    z-index: 999;
}

.top-banner span, .contacttop-banner span, .projecthero-banner span {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    left: 100%;
    animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-150vw); }
}

/* ---------------- Hero Section ---------------- */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 80px;
    margin-top: 121px; /* Offset for Header + Banner */
    min-height: calc(100vh - 121px);
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("image/Home.jpeg") center/cover;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-text { max-width: 50%; }
.hero-text h1 { font-size: 48px; margin-bottom: 20px; }
.hero-text span { color: #c1914b; font-style: italic; }
.hero-text p {
    color: #aaa;
    font-size: 20px;
    margin-bottom: 25px;
    text-align: justify;
    font-weight: bold;
}

/* ---------------- Buttons ---------------- */
.buttons { display: flex; gap: 20px; }

.btn {
    background: #c1914b;
    padding: 12px 25px;
    text-decoration: none;
    color: black;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
    min-width: 160px;
}

.btn:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(193, 145, 75, 0.4);
}

/* ---------------- Stats ---------------- */
.stats { display: flex; gap: 40px; margin-top: 40px; }
.stats h2 { font-size: 40px; color: #c1914b; }
.rating-number{
    display:flex;
    align-items:center;
    gap:5px;
}
.stars { color: #c1914b; font-size: 24px;}

/* ---------------- Hero Image ---------------- */
.hero-img img {
    width: 450px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(193, 145, 75, 0.2);
}

/* ---------------- Footer ---------------- */
footer {
    padding: 30px 80px;
    background: #000;
    border-top: 1px solid #222;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links { display: flex; gap: 25px; }
.social-item {
    color: #888;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.social-item:hover { color: #c1914b; }

/* ---------------- MOBILE RESPONSIVE (PHONE VIEW) ---------------- */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        height: auto;
    }

    .logo span { font-size: 18px; }

    nav {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a { margin: 0 5px; font-size: 14px; }

    .top-banner, .projecthero-banner, .contacttop-banner {
        top: 105px; /* Adjust based on mobile header height */
    }

    .hero {
        margin-top: 145px;
        padding: 40px 20px;
        flex-direction: column;
        text-align: center;
    }

    .hero-text { max-width: 100%; }
    .hero-text h1 { font-size: 32px; }
    .hero-text p { font-size: 16px; text-align: center; }

    .buttons { justify-content: center; flex-direction: column; }
    .btn { width: 100%; }

    .stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
    .stats h2 { font-size: 30px; }

    .hero-img img { width: 100%; max-width: 350px; }

    footer { padding: 30px 20px; }
    .footer-container { flex-direction: column; gap: 20px; text-align: center; }
}