* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --navbar-height: 59px;
    --main-yellow: rgb(255, 177, 10);
    --main-dark: #000000;
    --main-bg: #37371f;
    --service-box: #958442;
}

body {
    line-height: 1.6;
    background-color: #fff;
}

/* NAVBAR */
#navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 15px 5%;
    background-color: var(--main-dark);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#logo img {
    width: 60px;
    cursor: pointer;
    border-radius: 3%;
    transition: transform 0.3s ease;
    
}

#logo img:hover {
    transform: scale(1.1);
}

#navbar ul {
    display: flex;
    gap: 20px;
    padding: 30px;
}

#navbar ul li {
    list-style: none;
}

#navbar ul li a {
    padding: 8px 20px;
    border-radius: 7px;
    text-decoration: none;
    color: var(--main-yellow);
    transition: all 0.3s ease-in-out;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#navbar ul li a:hover {
    background-color: var(--main-yellow);
    color: black;
    transform: scale(1.1);
}

/* HOME SECTION */
#home {
    display: flex;
    flex-direction: column;
    
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 90vh;
    color: white;
    position: relative;
}

#home::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('rajart bg.png') no-repeat center center/cover;
    z-index: -2;
}

#home .intro {
    font-size: 1.4rem;
    margin-top: 10px;
    font-style: normal;
    opacity: 0.9;
    padding: 3px 200px;
}
#home .intro h2{
    font-size: 1.95rem;
    font-style: italic;
}
#home h3{
    font-size: 2.6rem;
    /* font-style: italic; */
}
.welcome {
    font-size: 5.2rem;
    padding: 12px;
    font-family: "Lobster", cursive;
    color: var(--main-yellow);
    text-shadow: 2px 2px 5px black;
}

/* BUTTON */
.btn {
    padding: 10px 20px;
    border: 2px solid var(--main-yellow);
    margin: 10px;
    font-size: 1.2rem;
    border-radius: 8px;
    background-color: blanchedalmond;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
}
.btn a{
    color: #000;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--main-yellow);
    color: black;
    transform: scale(1.1);
    cursor: pointer;
}
/* ABOUT US SECTION */
#aboutus {
    padding: 60px 10%;
    background-color: #fff8e1;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-image {
    flex: 1;
    min-width: 100px;
    max-width: 229px;
    padding-top: 80px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* HEADINGS */
.h-prim, .h-sec {
    font-size: 2.5rem;
    padding: 20px;
    text-align: center;
    color: var(--main-yellow);
    font-weight: 700;
}

/* SERVICES SECTION */
.services-container {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    background-color: #fdf6e3;
}

.allservices, .allservices1 {
    margin: 30px auto;
    display: flex;
    gap: 20px;
    justify-content: center;
    background-color: var(--main-bg);
    border: 2px solid #ebebeb;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    flex-wrap: wrap;
}

.servicebox {
    background-color: var(--service-box);
    border: 2px solid var(--main-yellow);
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    color: black;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    transform: scale(1);
}

.servicebox:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.servicebox img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.servicebox img:hover {
    transform: scale(1.05);
}

.servicebox p {
    font-size: 1rem;
    margin-top: 10px;
    font-weight: 500;
}

/* CLIENT SECTION */
#client-section {
    background: url('clients bg.jpg') no-repeat fixed center center/cover;
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

#client-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    background-color: rgba(255,255,255,0.7);
    z-index: -1;
    height: 100%;
    width: 100%;
}

#client {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.client-item {
    padding: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.client-item:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

#client img {
    height: 80px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* CONTACT SECTION */
#contactbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 10%;
    background-color: #f0f0f0;
}

#contactbox label {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

#contactbox input,
#contactbox textarea {
    width: 100%;
    padding: 0.8rem;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

#contactbox textarea {
    resize: vertical;
    height: 120px;
}

/* Optional: Animate section titles */
.h-prim, .h-sec {
    transition: transform 0.3s ease;
}

.h-prim:hover {
    /* color: #fff;
    background-color: var(--main-yellow); */
    border-radius: 10px;
    padding: 20px;
    transform: scale(1.1);
}
#map-contact {
    background-color: #f5f5f5;
    padding-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px 10%;
    background-color: #000000;
    color: white;
}

.footer-content h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color:var(--main-yellow);
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.footer-content a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: white;
}
