

    :root{
      --red:#c71920;
      --dark:#111820;
      --muted:#666;
    }

    *{
      margin:0;
      padding:0;
      box-sizing:border-box;
    }

    html,body{
      overflow-x:hidden;
      font-family:Arial, sans-serif;
      background:#fff;
      color:#222;
    }

    img{
      max-width:100%;
      height:auto;
      display:block;
    }

    .container,
    .container-fluid{
      overflow:hidden;
    }

    .section-title{
      text-align:center;
      color:var(--red);
      font-weight:700;
      text-transform:uppercase;
      margin-bottom:25px;
      position:relative;
    }

    .section-title::after{
      content:"";
      width:55px;
      height:3px;
      background:var(--red);
      display:block;
      margin:8px auto 0;
    }

    /* =========================
       NAVBAR
    ========================== */

    .navbar{
      background:#fff;
      box-shadow:0 2px 12px rgba(0,0,0,.08);
      padding:8px 0;
    }

    .logo-box{
      display:flex;
      align-items:center;
      gap:12px;
      text-decoration:none;
    }

    .logo-box img{
      width:60px;
      object-fit:contain;
    }

    .logo-text h4{
      margin:0;
      color:#b21f24;
      font-family:Georgia, serif;
      font-weight:700;
      letter-spacing:.5px;
      font-size:24px;
    }

    .logo-text span{
      color:#b21f24;
      font-size:12px;
      font-style:italic;
    }

    .nav-link{
      font-weight:600;
      color:#222;
      margin-left:25px;
      font-size:15px;
    }

    .nav-link:hover,
    .nav-link.active{
      color:var(--red);
    }

    .offcanvas-body .nav-link{
      padding:12px 0;
      border-bottom:1px solid #eee;
      margin-left:0;
    }

    /* =========================
       HERO
    ========================== */

    .hero{
      min-height:100vh;

      background:
  linear-gradient(
    90deg,
    rgba(0,0,0,.88),
    rgba(0,0,0,.45),
    rgba(0,0,0,.25)
  ),
  url('../images/banner/rg-precision-casting-banner.png');

      background-size:cover;
      background-position:center;
      background-repeat:no-repeat;

      display:flex;
      align-items:center;
      color:#fff;
      padding:80px 0;
    }

    .hero h1{
      font-family:Georgia, serif;
      font-size:52px;
      line-height:1.2;
      font-weight:700;
      text-transform:uppercase;
    }

    .hero p{
      max-width:600px;
      font-size:18px;
      margin:22px 0 30px;
    }

    .hero-buttons{
      display:flex;
      gap:15px;
      flex-wrap:wrap;
    }

    .btn-red{
      background:var(--red);
      color:#fff;
      border:none;
      padding:13px 25px;
      border-radius:4px;
      font-weight:700;
    }

    .btn-red:hover{
      background:#a90f15;
      color:#fff;
    }

    .btn-outline-light{
      padding:13px 25px;
      border-radius:4px;
      font-weight:700;
    }

    /* =========================
       STAT CARDS
    ========================== */

    .stat-card{
      background:rgba(0,0,0,.35);
      border:1px solid rgba(255,255,255,.25);
      border-radius:8px;
      padding:18px;
      display:flex;
      align-items:center;
      gap:15px;
      margin-bottom:15px;
      backdrop-filter:blur(5px);
    }

    .stat-card i{
      font-size:30px;
    }

    .stat-card h3{
      color:#ff3038;
      margin:0;
      font-weight:800;
    }

    .stat-card p{
      margin:0;
      font-size:14px;
    }

    /* =========================
       ABOUT
    ========================== */

    .about-section{
      padding:70px 0;
    }

    .about-img{
      width:100%;
      height:380px;
      object-fit:cover;
      border-radius:6px;
    }

    .small-heading{
      color:var(--red);
      font-weight:800;
      text-transform:uppercase;
      font-size:13px;
    }

    .about-section h2{
      font-family:Georgia, serif;
      font-weight:800;
      margin-bottom:20px;
    }

    .about-card{
      border:1px solid #ddd;
      padding:24px;
      border-radius:6px;
      box-shadow:0 4px 15px rgba(0,0,0,.05);
      height:100%;
    }

    .about-card i{
      font-size:34px;
      color:var(--red);
    }

    .about-card h5{
      margin-top:14px;
      font-weight:800;
    }

    .about-card p{
      font-size:14px;
      color:#555;
    }

    /* =========================
       INFRASTRUCTURE
    ========================== */

    .infra-section{
      padding:70px 0;
      background:#fafafa;
    }

    .machine-card{
      background:#fff;
      border:1px solid #ddd;
      border-bottom:3px solid var(--red);
      border-radius:6px;
      padding:15px;
      text-align:center;
      height:100%;

      display:flex;
      flex-direction:column;
      justify-content:space-between;

      box-shadow:0 4px 12px rgba(0,0,0,.05);
    }

    .machine-card img{
      width:100%;
      height:130px;
      object-fit:cover;
      margin-bottom:12px;
    }

    .machine-card h6{
      font-weight:800;
      font-size:14px;
      margin-bottom:8px;
    }

    .machine-card p{
      margin:0;
      font-size:14px;
      color:#555;
    }

    /* =========================
       QUALITY + PRODUCTS
    ========================== */

    .quality-box{
      background:#161d24;
      color:#fff;
      padding:50px 35px;
      height:100%;
    }

    .quality-box h3{
      text-align:center;
      margin-bottom:30px;
      font-family:Georgia, serif;
    }

    .iso-box{
      background:#fff;
      color:#222;
      text-align:center;
      padding:30px;
      border-radius:5px;
    }

    .iso-box h2{
      color:#1677c8;
      font-size:52px;
      font-weight:900;
    }

    .quality-list li{
      margin-bottom:10px;
    }

    .quality-list i{
      color:var(--red);
      margin-right:8px;
    }

    .product-box{
      background:#f4f4f4;
      padding:50px 35px;
      height:100%;
    }

    .product-card{
      margin-bottom:20px;
    }

    .product-card img{
      width:100%;
      height:150px;
      object-fit:cover;
      border-radius:4px;
      box-shadow:0 4px 12px rgba(0,0,0,.1);
    }

    /* =========================
       CUSTOMERS
    ========================== */

    .customers{
      padding:70px 0;
    }

    .customer-logo{
      border:1px solid #ddd;
      background:#fff;
      height:100px;

      display:flex;
      align-items:center;
      justify-content:center;
    }

    .place-details-compact-container{
      display: none !important;
    }
    /* =========================
       CONTACT
    ========================== */

    .contact-section{
      padding:70px 0;
      background:#f8f8f8;
    }

    .map-box iframe{
      width:100%;
      height:350px;
      border:0;
      border-radius:6px;
    }

    .map-box-wrapper {
    width: 100%;
    height: 400px; /* Increased slightly to match your contact form height */
    overflow: hidden; 
    position: relative;
    border-radius: 8px; 
}

.map-box {
    position: absolute;
    top: -45px;   /* Shifted just enough to clip the top info box out of frame */
    left: -180px; /* Shifts the map left so your pin "RG Precision" stays perfectly centered! */
    width: 180%;  /* Made wider so the left shift doesn't leave blank space on the right */
    height: 550px; 
}

.map-box iframe {
    width: 100%;
    height: 100%;
}

    .contact-box{
      background:#151b22;
      color:#fff;
      padding:30px;
      border-radius:6px;
    }

    .contact-info p{
      margin-bottom:15px;
      word-break:break-word;
    }

    .contact-info i{
      color:var(--red);
      margin-right:8px;
    }

    .contact-detail-text{
      color:#fff;
      text-decoration:none;
    }

    .form-control{
      background:#1d252d;
      border:1px solid #444;
      color:#fff;
      padding:12px;
      border-radius:4px;
    }

    .form-control::placeholder{
      color:#aaa;
    }

    .form-control:focus{
      background:#1d252d;
      color:#fff;
      border-color:var(--red);
      box-shadow:none;
    }

    /* =========================
       FOOTER
    ========================== */

    footer{
      background:#fff;
      padding-top:50px;
    }

    footer h6{
      color:var(--red);
      font-weight:800;
      margin-bottom:15px;
      text-transform:uppercase;
    }

    footer ul{
      list-style:none;
      padding:0;
    }

    footer ul li{
      margin-bottom:10px;
    }

    footer a{
      text-decoration:none;
      color:#333;
    }

    .footer-bottom{
  background: var(--red);
  color: #fff;
  padding: 15px 0;
  margin-top: 30px;
}

.footer-bottom p{
  margin: 0;
}

.footer-bottom a{
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover{
  text-decoration: underline;
}

@media (max-width: 767px){
  .footer-bottom{
    text-align: center;
  }
}

    .seyfert{
      color:#fff;
    }

    .seyfert:hover{
      color:#fff;
    }

    /* =========================
       FLOATING BUTTONS
    ========================== */

    .whatsapp-btn,
    .call-btn{
      position:fixed;
      width:58px;
      height:58px;
      border-radius:50%;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#fff;
      z-index:999;
      font-size:30px;
      text-decoration:none;
      box-shadow:0 5px 18px rgba(0,0,0,.25);
      transition:.3s;
    }

    .whatsapp-btn{
      right:20px;
      bottom:20px;
      background:#25d366;
    }

    .call-btn{
      left:20px;
      bottom:20px;
      background:#0d6efd;
    }

    .whatsapp-btn:hover,
    .call-btn:hover{
      transform:scale(1.08);
      color:#fff;
    }

    /* =========================
       RESPONSIVE
    ========================== */

    @media(max-width:991px){

      .hero{
        min-height:auto;
        text-align:center;
      }

      .hero h1{
        font-size:40px;
      }

      .hero p{
        margin:auto;
        margin-top:20px;
        margin-bottom:25px;
      }

      .hero-buttons{
        justify-content:center;
      }

      .stat-card{
        text-align:left;
      }

      .nav-link{
        margin-left:0;
      }
    }

    @media(max-width:768px){

      .hero{
        padding:100px 0 70px;
      }

      .hero h1{
        font-size:32px;
      }

      .hero p{
        font-size:16px;
      }

      .about-img{
        height:280px;
      }

      .machine-card img{
        height:120px;
      }

      .product-card img{
        height:120px;
      }

      .footer-bottom{
        text-align:center;
      }
    }

    @media(max-width:576px){

      .logo-box img{
        width:50px;
      }

      .logo-text h4{
        font-size:18px;
      }

      .hero h1{
        font-size:28px;
      }

      .hero-buttons{
        flex-direction:column;
      }

      .hero-buttons a{
        width:100%;
      }

      .product-card img{
        height:100px;
      }

      .contact-box{
        padding:20px;
      }

      .whatsapp-btn,
      .call-btn{
        width:52px;
        height:52px;
        font-size:26px;
      }
    }
