/* ----------------------------
   GLOBAL STYLES
---------------------------- */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e5e7eb; /* Warm Concrete Grey */
}
/* ----------------------------
   HEADER & LOGO
---------------------------- */
header {
    background: #ede9f6; /* light purple */
    color: #1f2937;
    padding: 30px 20px;
    text-align: center;

    /* soft premium shadow */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.6rem;
    margin: 12px 0 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1f2937;
}

header p {
    margin-top: 8px;
    font-size: 1.1rem;
    color: #3d2b1f; /* tagline color same theme */
}

/* Logo styling with animation */
.logo {
    height: 300px; /* desktop ke liye bada logo */
    display: block;
    margin: 0 auto 18px auto;
    animation: bounce 2.2s infinite;
}

/* Mobile responsive logo */
@media (max-width: 768px) {
    .logo {
        height: 180px; /* mobile/tablet pe chhota */
    }
}

/* Logo bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* ----------------------------
   SECTIONS
---------------------------- */
section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1f2937;
}

.about, .services, .contact {
    text-align: center;
}

.services-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
}

/* ----------------------------
   PROJECTS
---------------------------- */
.projects {
    text-align: center;
}

.projects p {
    max-width: 700px;
    margin: auto;
}

/* ----------------------------
   CONTACT
---------------------------- */
.contact-info p {
    font-size: 1.1rem;
    margin: 10px 0;
}

iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
    margin-top: 20px;
}

/* ----------------------------
   FOOTER
---------------------------- */
footer {
    background: #1f2937;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 0.95rem;
}

/* ----------------------------
   WHATSAPP FLOATING ICON (PULSE)
---------------------------- */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;

    /* Theme-friendly green (light brown header ke saath match) */
    background: #1fa855;

    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 0 0 rgba(31,168,85, 0.6);
    animation: whatsapp-pulse 2s infinite;

    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp img {
    width: 32px;
    height: 32px;
}

/* Hover effect */
.whatsapp:hover {
    transform: scale(1.15);
}

/* Pulse animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(31,168,85, 0.6);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(31,168,85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(31,168,85, 0);
    }
}
/* ----------------------------
   TAGLINE ANIMATION
---------------------------- */
.tagline {
    font-size: 1.05rem;
    font-weight: 600;
    color: #374151; /* dark slate */
    margin-top: 8px;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(15px);
    animation: taglineFadeUp 1.6s ease-out forwards;
    animation-delay: 1.2s;
}

@keyframes taglineFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ----------------------------
   PROJECT VIDEOS GRID
---------------------------- */
.projects {
    text-align: center;
}

.projects-sub {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.video-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.video-card video {
    width: 100%;
    border-radius: 10px;
}

.video-card h3 {
    margin-top: 12px;
    font-size: 1.05rem;
    color: #1f2937;
}
/* ----------------------------
   WHATSAPP BUTTON (BLUE + SMALL)
---------------------------- */
.whatsapp {
    position: fixed;
    bottom: 18px;
    right: 18px;
    background: #1da1f2; /* blue shade */
    color: #fff;
    padding: 8px 12px;   /* aur chhota */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    font-size: 0.85rem; /* text chhota */
}

/* Hover effect */
.whatsapp:hover {
    background: #0d8ddb;
    transform: scale(1.05);
}
/* ----------------------------
   TAGLINE ANIMATION
---------------------------- */
.tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700; /* subtle gold for contrast on dark header */
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase; /* Capital letters */

    opacity: 0;
    transform: translateY(15px);
    animation: taglineFadeUp 1.6s ease-out forwards;
    animation-delay: 1.2s; /* logo ke baad */
}

@keyframes taglineFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.project-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    justify-items: center;
}
/* ----------------------------
   WHATSAPP BUTTON
---------------------------- */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    padding: 10px 14px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    transition: background 0.3s;
    font-size: 0.95rem;
}

.whatsapp:hover {
    background: #1ebe5d;
}
/* ----------------------------
   PROJECT VIDEOS – CARD STYLE
---------------------------- */
.project-videos video {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;

    border: 2px solid #3f3f3f; /* subtle border */
    background: #000;

    box-shadow: 
        0 8px 20px rgba(0,0,0,0.6),   /* main shadow */
        0 0 0 1px rgba(255,255,255,0.05); /* soft outline */

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.project-videos video:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 30px rgba(0,0,0,0.75),
        0 0 0 1px rgba(255,255,255,0.08);
}
header h1 {
    font-weight: 900;
    letter-spacing: 1px;
}

.tagline {
    color: #5b4b8a; /* purple-brown mix */
}
/* ----------------------------
   TAGLINE CONTINUOUS ANIMATION
---------------------------- */
.tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: #5b4b8a; /* light purple */
    margin-top: 8px;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    animation: taglinePulse 3s ease-in-out infinite;
}

@keyframes taglinePulse {
    0% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px);
    }
    100% {
        opacity: 0.6;
        transform: translateY(0);
    }
}
.project-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    justify-items: center;
}

.project-videos video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
/* ----------------------------
   CONTACT SECTION GAP FIX
---------------------------- */
.contact h2 {
    margin-bottom: 8px; /* heading ke niche gap kam */
}

.contact .contact-info p {
    margin-top: 4px;
    margin-bottom: 6px;
}
/* ----------------------------
   WHATSAPP FLOATING ICON
---------------------------- */
.whatsapp {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* WhatsApp image size */
.whatsapp img {
    width: 26px;
    height: 26px;
}

/* Hover animation */
.whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.7);
}

/* Mobile thoda chhota */
@media (max-width: 768px) {
    .whatsapp {
        width: 46px;
        height: 46px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp img {
        width: 23px;
        height: 23px;
    }
}
/* ----------------------------
   CLIENT REVIEWS SECTION
---------------------------- */
.reviews {
    padding: 60px 20px;
    background: #f7f7fb; /* soft light background */
    text-align: center;
}

.reviews h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.reviews h3 {
    margin-top: 40px;
    margin-bottom: 15px;
}

/* Review cards */
.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.review-text {
    font-style: italic;
    color: #444;
}

.review-name {
    margin-top: 12px;
    font-weight: bold;
    color: #5b4b8a;
}

/* Review form */
.review-form {
    max-width: 500px;
    margin: 0 auto;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

.review-form textarea {
    min-height: 100px;
    resize: vertical;
}

.review-form button {
    background: #5b4b8a;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.review-form button:hover {
    background: #46376d;
}
.whatsapp img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp:hover img {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
#reviewList {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.review-card {
    min-width: 280px;
    background: #f7f7f7;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.review-card .stars {
    color: #f5b301;
    font-size: 1.2rem;
}
.whatsapp img {
    width: 48px;
    height: 48px;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37,211,102,0.6);
    }
    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 14px rgba(37,211,102,0);
    }
    100% {
        transform: scale(1);
    }
}
.review-stars {
    color: #f4c430;
    font-size: 1.2rem;
    margin-bottom: 6px;
}
/* ⭐ STAR RATING HOVER ANIMATION */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    transition: transform 0.25s ease, color 0.25s ease;
}

/* Hover effect */
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f4c430;
    transform: scale(1.2);
}

/* Selected stars stay gold */
.star-rating input:checked ~ label {
    color: #f4c430;
}

/* Soft bounce on click */
.star-rating label:active {
    transform: scale(1.35);
}
/* COMMON */
.whatsapp, .instagram {
  position: fixed;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* WHATSAPP */
.whatsapp {
  bottom: 20px;
  background: #1fa8ff;
  animation: pulse 1.8s infinite;
}

.whatsapp img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

/* INSTAGRAM */
.instagram {
  bottom: 90px;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  animation: shake 2s infinite;
}

.instagram img {
  width: 26px;
  height: 26px;
}

/* ANIMATIONS */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,168,255,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(31,168,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,168,255,0); }
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}
.hero{
height:500px;

background-image:url("../images/engineer-site.jpg");
background-size:cover;
background-position:center;

display:flex;
align-items:center;
justify-content:flex-end;

padding-right:60px;
}

.hero-text{
color:white;
max-width:520px;
text-align:right;
}

.hero-text h2{
font-size:42px;
font-weight:800;
color:white;
}

.hero-btn{
display:inline-block;
margin-top:20px;
padding:12px 22px;

background:#ff9f1a;
color:white;
text-decoration:none;
border-radius:5px;
}
