/* --- CSS Reset & Basic Styles --- */
:root {
    --primary-color: #ff9900;
    --dark-color: #1a1a1a;
    --light-color: #f4f4f4;
    --surface-color: rgba(40, 40, 40, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--light-color);
    background: url("img/bg.jpg");
    background-attachment: fixed;
    line-height: 1.6;
}

/* --- Reusable Components --- */
.btn {
    font-family: 'Baloo Bhai 2', cursive;
    background-color: transparent;
    color: blue;
    padding: 2px 20px;
    border: 2px solid grey;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    font-weight: bold; /* Text ko bold karega */
    color: blue; /* Text color ko white karega */
    /* text-shadow: 0 0 5px blue; */
    background-color: #ff9900;
}

h1,
h2 {
    font-family: 'Baloo Bhai 2', cursive;
    font-weight: 700;
    color: var(--primary-color);
}

section {
    padding: 80px 5%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* --- Header & Navigation --- */
.header {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 7px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.left {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Baloo Bhai 2', cursive;
    font-size: 1.2rem;
    color:#ff9900
}

.left img {
    width: 50px;
    filter: invert(100%);
}

.navbar {
    list-style: none;
    display: flex;
}

.navbar li a {
    color: red;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative; /* Yeh line add ki hai */
    padding-bottom: 8px; /* Dot ke liye neeche jagah banai hai */
}


/* Yeh dot banayega */
.navbar li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #ff9900;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar li a:hover
{font-weight: bold;
}


/* Yeh hover par dot ko show karega */
.navbar li a.active::after,
.navbar li a:hover::after
 {
    opacity: 1;
}

.right {
    display: flex;
    gap: 10px;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: var(--light-color);
    margin: 4px 0;
    transition: 0.3s;
}

/* --- Home/Form Section --- */
.home-container {
    border: none;
    padding: 60px 5%;
    width: 100%;
    max-width: 500px;
    margin: 0px auto 100px 2%; /* <--- Yeh Line */
    backdrop-filter: blur(3px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.home-container h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.formgroup input {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    margin: 15px auto;
    font-size: 1rem;
    border-radius: 8px;
    background: #333;
    color: var(--light-color);
}

.formgroup input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.home-container .btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    font-size: 1.2rem;
}
.home-container button:hover {
    background-color: #ff9900;
    color: blue;
    font-weight: bold;
}

/* --- About Us Section --- */
#about {
    background-color: var(--dark-color);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
    max-width: 1200px;
    margin: auto;
}

.about-content img {
    max-width: 450px;
    border-radius: 10px;
}

.about-text p {
    margin-bottom: 15px;
}

/* --- Services Section --- */
#services {
    /* You can add a background color if you want, like #about */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.service-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-family: 'Baloo Bhai 2', cursive;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* --- Contact Section --- */
#contact {
    background-color: var(--dark-color);
}

.contact-info {
    font-size: 1.2rem;
}

.contact-info p {
    margin-bottom: 20px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Footer --- */
footer {
    background-color: #111;
    color: #888;
    padding: 20px;
    text-align: center;
}

/* --- Responsive Design (Media Queries) --- */
@media (max-width: 768px) {
    
    .right {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header {
        justify-content: space-between;
    }

    .navbar {
        .mid {
    position: static; /* Yeh line add karein */
}
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        /* Height of header */
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 10px 0;
    }

    .navbar.active {
        display: flex;
    }

    .navbar li {
        text-align: center;
        margin: 10px 0;
    }

    .home-container {
        margin: 80px auto; /* Center on mobile */
    }

    .home-container h1 {
        font-size: 1.8rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-content img {
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

