*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:"Nunito Sans",sans-serif;
}
 
/* ================= TOP BAR ================= */
 
.top-bar{
display:flex;
justify-content:space-between;
align-items:center;
background:#0b1c2d;
color:#fff;
padding:10px 60px;
font-size:14px;
}
 
.top-bar a{
color:#fff;
text-decoration:none;
font-weight:500;
}
 
.top-bar a i{
color:#e63946;
font-size:16px;
margin-right:6px;
}
 
/* ================= HEADER ================= */
 
.header{
height:75px;
background:rgba(255,255,255,0.96);
backdrop-filter:blur(8px);
display:flex;
align-items:center;
justify-content:space-between;
padding:0 60px;
position:sticky;
top:0;
z-index:999;
box-shadow:0 3px 12px rgba(0,0,0,0.08);
}
 
/* ================= LOGO ================= */
 
.logo{
display:flex;
align-items:center;
}
 
.logo img{
height:55px;
width:auto;
transition:.3s;
}
 
/* ================= NAV MENU ================= */
 
.nav-menu{
display:flex;
gap:38px;
list-style:none;
align-items:center;
}
 
.nav-menu a{
position:relative;
text-decoration:none;
color:#0b1c2d;
font-size:15px;
font-weight:700;
text-transform:uppercase;
letter-spacing:.5px;
padding-bottom:4px;
}
 
/* PREMIUM HOVER UNDERLINE */
 
.nav-menu a::after{
content:"";
position:absolute;
left:0;
bottom:-4px;
width:0%;
height:2px;
background:#1f4e7e;
transition:0.3s;
}
 
.nav-menu a:hover::after{
width:100%;
}
 
.nav-menu a:hover{
color:#1f4e7e;
}
 
/* ================= DROPDOWN — UPGRADED ================= */
 
.has-dropdown{
position:relative;
}
 
/* Invisible bridge so cursor can move diagonally without menu closing */
.has-dropdown::after{
content:'';
position:absolute;
top:100%;
left:-20px;
right:-20px;
height:16px;
background:transparent;
}
 
.dropdown{
position:absolute;
top:calc(100% + 12px);
left:50%;
transform:translateX(-50%) translateY(-10px);
width:240px;
background:#fff;
border:1px solid #e2e8f0;
border-radius:12px;
box-shadow:0 16px 48px rgba(11,28,45,0.15);
overflow:hidden;
opacity:0;
pointer-events:none;
/* 0.8s delay on CLOSE only — gives user time to move cursor in */
transition:opacity 0.22s ease 0.8s,
           transform 0.22s ease 0.8s;
z-index:200;
}
 
/* Category label at top of dropdown */
.dropdown-label{
display:block;
padding:11px 16px 8px;
font-size:10px;
font-weight:700;
color:#94a3b8;
text-transform:uppercase;
letter-spacing:1.4px;
border-bottom:1px solid #f1f5f9;
}
 
.has-dropdown:hover .dropdown{
opacity:1;
pointer-events:auto;
transform:translateX(-50%) translateY(0);
transition-delay:0s; /* open instantly */
}
 
.dropdown li{
list-style:none;
}
 
.dropdown a{
display:flex;
align-items:center;
gap:10px;
padding:11px 16px;
font-size:13.5px;
font-weight:600;
color:#1a2940;
text-decoration:none;
transition:background 0.14s, color 0.14s;
}
 
/* Dot indicator before each item */
.dropdown a::before{
content:'';
width:6px;
height:6px;
border-radius:50%;
background:#e2e8f0;
flex-shrink:0;
transition:background 0.14s;
}
 
.dropdown a:hover{
background:#f0f4f8;
color:#0b1c2d;
}
 
.dropdown a:hover::before{
background:#e63946;
}
 
/* ================= SUB HEADER ================= */
 
.sub-header{
background:#0b1c2d;
padding:8px 60px;
text-align:left;
}
 
.sub-header p{
color:#fff;
font-size:14px;
font-weight:600;
letter-spacing:.3px;
}
 
/* ================= HAMBURGER ================= */
 
.hamburger{
display:none;
flex-direction:column;
gap:5px;
cursor:pointer;
padding:6px;
border:none;
background:none;
flex-shrink:0;
}
 
.hamburger span{
display:block;
width:24px;
height:2px;
background:#0b1c2d;
border-radius:3px;
transition:all 0.3s;
}
 
/* Animated X on active */
.hamburger.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
 
/* ================= MOBILE MENU — UPGRADED ================= */
 
/* Dark overlay behind the menu */
.mobile-overlay{
display:none;
position:fixed;
inset:0;
background:rgba(11,28,45,0.55);
z-index:1998;
opacity:0;
transition:opacity 0.3s;
}
 
.mobile-overlay.active{
display:block;
opacity:1;
}
 
/* Slide-in panel from right */
.mobile-menu{
position:fixed;
top:0;
right:-100%;
width:min(340px, 88vw);
height:100vh;
background:#fff;
z-index:1999;
transition:right 0.35s cubic-bezier(.4,0,.2,1);
overflow-y:auto;
display:flex;
flex-direction:column;
box-shadow:-8px 0 40px rgba(11,28,45,0.18);
}
 
.mobile-menu.active{ right:0; }
 
/* Navy top strip with brand name and close button */
.mobile-menu-top{
background:#0b1c2d;
padding:18px 22px;
display:flex;
align-items:center;
justify-content:space-between;
flex-shrink:0;
}
 
.mobile-menu-brand{
font-size:16px;
font-weight:800;
color:#fff;
letter-spacing:0.3px;
}
 
.mobile-menu-brand span{ color:#e63946; }
 
.menu-close{
width:34px;
height:34px;
background:rgba(255,255,255,0.12);
border:none;
border-radius:7px;
color:#fff;
font-size:18px;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
transition:background 0.2s, transform 0.2s;
/* override old absolute positioning */
position:static;
}
 
.menu-close:hover{
background:rgba(255,255,255,0.22);
transform:rotate(90deg);
}
 
/* Contact strip */
.mobile-contact{
background:#f8f9fb;
padding:13px 22px;
border-bottom:1px solid #e2e8f0;
display:flex;
flex-direction:column;
gap:9px;
flex-shrink:0;
}
 
.mobile-contact a{
display:flex;
align-items:center;
gap:9px;
font-size:13px;
font-weight:700;
color:#0b1c2d;
text-decoration:none;
transition:color 0.2s;
}
 
.mobile-contact a:hover{ color:#e63946; }
 
.mobile-contact a i{
color:#e63946;
font-size:14px;
width:16px;
text-align:center;
}
 
/* Nav links */
.mobile-menu ul.mobile-nav-list{
list-style:none;
flex:1;
padding:12px 0;
}
 
/* Reset old ul styles inside menu */
.mobile-menu ul{
list-style:none;
}
 
.mobile-menu ul.mobile-nav-list > li > a,
.mobile-menu ul.mobile-nav-list > li > .mobile-products-btn{
display:flex;
align-items:center;
justify-content:space-between;
padding:13px 22px;
font-size:15px;
font-weight:700;
color:#1a2940;
text-decoration:none;
background:none;
border:none;
border-left:3px solid transparent;
width:100%;
text-align:left;
font-family:"Nunito Sans",sans-serif;
cursor:pointer;
transition:background 0.15s, border-left-color 0.15s, color 0.15s;
}
 
.mobile-menu ul.mobile-nav-list > li > a:hover,
.mobile-menu ul.mobile-nav-list > li > .mobile-products-btn:hover{
background:#f5f7fa;
border-left-color:#e63946;
color:#0b1c2d;
}
 
.mobile-products-btn i{
font-size:11px;
transition:transform 0.25s;
}
 
.mobile-products-btn.open i{
transform:rotate(180deg);
}
 
/* Mobile submenu */
.mobile-submenu{
list-style:none;
display:none;
background:#f8f9fb;
border-top:1px solid #e2e8f0;
border-bottom:1px solid #e2e8f0;
}
 
.mobile-submenu.active{ display:block; }
 
.mobile-submenu li a{
display:flex;
align-items:center;
gap:9px;
padding:11px 22px 11px 32px;
font-size:13.5px;
font-weight:600;
color:#64748b;
text-decoration:none;
border-left:3px solid transparent;
transition:background 0.14s, color 0.14s, border-left-color 0.14s;
}
 
.mobile-submenu li a::before{
content:'';
width:5px;
height:5px;
border-radius:50%;
background:#e2e8f0;
flex-shrink:0;
transition:background 0.14s;
}
 
.mobile-submenu li a:hover{
background:#f0f4f8;
color:#0b1c2d;
border-left-color:#e63946;
}
 
.mobile-submenu li a:hover::before{ background:#e63946; }
 
/* CTA at bottom of mobile menu */
.mobile-cta-zone{
padding:18px 22px 28px;
border-top:1px solid #e2e8f0;
flex-shrink:0;
}
 
.mobile-cta{
display:block;
text-align:center;
background:#0b1c2d;
color:#fff;
padding:14px;
border-radius:8px;
font-size:14px;
font-weight:800;
text-decoration:none;
letter-spacing:0.5px;
transition:background 0.2s;
}
 
.mobile-cta:hover{ background:#1a3552; }
 
/* ================= RESPONSIVE ================= */
 
@media(max-width:1024px){
.top-bar{ padding:10px 30px; }
.header{ padding:0 30px; }
}
 
@media(max-width:768px){
.top-bar{ display:none; }
.navbar{ display:none; }
.logo img{ height:45px; }
.header{ padding:0 20px; }
.hamburger{ display:flex; }
.sub-header{ padding:8px 20px; }
}
 
@media(max-width:480px){
.mobile-menu{ width:88vw; }
.sub-header p{ font-size:13px; }
}








    /* ===== HERO BANNER ===== */
    .hero {
      position: relative;
      height: clamp(220px, 32vw, 400px);
      overflow: hidden;
      clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 82%);
      margin-bottom: clamp(-40px, -8vw, -100px);
    }
    .zoom-bg {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(0,0,0,0.3), rgba(11,10,10,0.22)),
        url("../webwallpaper/background-products-5.webp");
      background-size: cover; background-position: center; background-repeat: no-repeat;
      animation: zoomEffect 10s infinite alternate ease-in-out;
    }
    @keyframes zoomEffect { from { transform: scale(1); } to { transform: scale(1.2); } }
    .content {
      position: relative; z-index: 2; height: 100%;
      display: flex; align-items: center; justify-content: center; padding: 0 5%;
    }
    .content h1 {
      color: #fff;
      font-size: clamp(1.8rem, 4.5vw, 4rem);
      letter-spacing: 2px; text-align: center;
    }
 
    /* ===== HERO 2 ===== */
    .hero2 {
      clip-path: polygon(0 0, 100% 6%, 100% 100%, 0% 96%);
      background-color: #d8ecff;
      padding: clamp(3rem, 8vw, 7rem) 5% clamp(2rem, 5vw, 4rem);
      margin-top: -70px;
      padding-bottom: 50px;
    }
    .hero2 h2 { font-size: clamp(1.1rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 1rem; }
    .hero2 p { font-size: clamp(0.875rem, 1.4vw, 1.125rem); line-height: 1.6; letter-spacing: 0.15px; margin-top: 1rem; font-weight: 500; max-width: 90ch; }
    .hero2 h4 { font-size: clamp(1rem, 1.6vw, 1.375rem); margin-top: 1.5rem; font-weight: 700; }
    .hero2 ul { margin-top: 0.5rem; padding-left: 1.5rem; }
    .hero2 ul li { font-size: clamp(0.875rem, 1.3vw, 1.1875rem); margin-top: 0.35rem; line-height: 1.5; }
 
    /* ===== HERO 3 ===== */
    .hero3 { background-color: #ffffff; padding: clamp(1.5rem, 4vw, 3rem) 5% 2rem; }
    .hero3 > h3 { font-size: clamp(1.1rem, 2.2vw, 1.75rem); font-weight: 700; color: #0b1c2d; margin-bottom: 0.75rem; margin-top: 1rem; }
    .hero3 > h2 { font-size: clamp(1.1rem, 2.2vw, 1.75rem); font-weight: 700; color: #0b1c2d; margin-bottom: 0.5rem; margin-top: 2rem; }
    .hero3 > p { font-size: clamp(0.875rem, 1.3vw, 1.1rem); font-weight: 500; line-height: 1.6; margin-bottom: 1rem; max-width: 90ch; }
    .hero3 .table-container { overflow-x: auto; margin: 1.5rem 0 2.5rem; border-radius: 10px; border: 1px solid #dde5ef; }
 
    /* ===== PRODUCT ROWS ===== */
    .product-info {
      display: flex; align-items: flex-start;
      gap: 2rem; padding: 2rem 0;
      border-top: 1px solid #e8e8e8;
    }
    .product-info:nth-child(odd)  { flex-direction: row; }
    .product-info:nth-child(even) { flex-direction: row-reverse; }
    .product-grade-details { flex: 1 1 60%; }
    .product-grade-details h3 { color: #c20d0d; font-size: clamp(1rem, 1.8vw, 1.5625rem); font-weight: 700; margin-bottom: 0.4rem; }
    .product-grade-details h5 { font-size: clamp(0.875rem, 1.3vw, 1.125rem); font-style: italic; letter-spacing: 0.15px; color: #333f9b; margin: 0.75rem 0 1rem; line-height: 1.4; }
    .product-grade-details h5.spec-heading { font-size: clamp(0.95rem, 1.4vw, 1.25rem); font-style: normal; color: #0b1c2d; font-weight: 700; margin-top: 1.25rem; margin-bottom: 0.5rem; }
    .product-grade-details p { font-size: clamp(0.875rem, 1.2vw, 1.0625rem); font-weight: 600; line-height: 1.7; margin-bottom: 0.75rem; }
    .product-grade-details ul { padding-left: 1.5rem; margin-bottom: 0.75rem; }
    .product-grade-details ul li { font-size: clamp(0.8rem, 1.1vw, 1rem); margin-top: 0.3rem; line-height: 1.5; }
    .product-image { flex: 0 0 33%; max-width: 33%; display: flex; flex-direction: column; gap: 1rem; align-self: flex-start; position: sticky; top: 80px; }
    .product-image img { width: 100%; height: auto; border: 1px solid #e0e0e0; border-radius: 4px; }
 
    /* ===== HERO 4 ===== */
    .hero4 { background-color: #f4f8fc; padding: clamp(2rem, 5vw, 4rem) 5%; }
    .hero4 h3 { font-size: clamp(1.1rem, 2vw, 1.5625rem); font-weight: 700; color: #0b1c2d; margin-bottom: 0.75rem; margin-top: 1.5rem; }
    .hero4 h4 { font-size: clamp(1rem, 1.6vw, 1.375rem); font-weight: 700; color: #0b1c2d; margin-top: 2rem; margin-bottom: 0.75rem; }
    .hero4 p { font-size: clamp(0.875rem, 1.3vw, 1.125rem); line-height: 1.65; margin-bottom: 0.75rem; max-width: 90ch; }
    .hero4 ul { padding-left: 1.5rem; margin-bottom: 0.5rem; }
    .hero4 ul li { font-size: clamp(0.875rem, 1.2vw, 1.0625rem); margin-top: 0.5rem; line-height: 1.5; }
 
    /* ===== SHARED TABLE ===== */
    .table-container { overflow-x: auto; margin: 1.5rem 0 2.5rem; border-radius: 10px; border: 1px solid #dde5ef; }
    .gasket-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 580px; }
    .gasket-table thead { background: #e3e3e3; }
    .gasket-table th { text-align: left; padding: 1rem; font-size: clamp(0.78rem, 1.1vw, 0.9375rem); font-weight: 700; color: #000; border-bottom: 2px solid #bbb; white-space: nowrap; }
    .gasket-table td { padding: 0.9rem 1rem; font-size: clamp(0.75rem, 1vw, 0.875rem); color: #0d0d0d; border-bottom: 1px solid #ddd; }
    .gasket-table tbody tr:nth-child(even) { background-color: #f2f2f2; }
    .gasket-table tbody tr:hover { background-color: #e8f4ff; transition: background 0.25s; }
 
    /* ===== INDUSTRIES ===== */
    .industry-section1 { padding: clamp(2.5rem, 6vw, 5rem) 5%; background: #ffffff; }
    .industry-section1 h2 { text-align: center; font-size: clamp(1.2rem, 2.2vw, 1.625rem); font-weight: 700; color: #0b1c2d; margin-bottom: 2.5rem; }
    .grid1 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; max-width: 1100px; margin: auto; }
    .item1 { display: flex; align-items: flex-start; gap: 1rem; }
    .icon1 { width: 60px; height: 60px; min-width: 60px; border-radius: 50%; background: #eef3f8; display: flex; align-items: center; justify-content: center; border: 1px solid #dce5ef; }
    .icon1 img { width: 28px; height: 28px; }
    .content1 h3 { font-size: clamp(0.95rem, 1.3vw, 1.125rem); font-weight: 700; margin-bottom: 0.5rem; color: #1a1a1a; }
    .content1 ul { padding-left: 1rem; }
    .content1 ul li { font-size: clamp(0.75rem, 1vw, 0.8125rem); color: #555; margin-bottom: 0.4rem; line-height: 1.5; }
 
    /* ===== FAQ ===== */
    .faq-section { padding: clamp(2.5rem, 6vw, 4.375rem) 5%; background: #f7fafc; }
    .faq-title { text-align: center; font-size: clamp(1.2rem, 2.2vw, 1.75rem); font-weight: 700; margin-bottom: 2rem; color: #0b1c2d; }
    .faq { max-width: 800px; margin: auto; }
    .faq-item { background: #fff; border-radius: 10px; margin-bottom: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.06); overflow: hidden; }
    .faq-question { width: 100%; padding: 1.1rem 3rem 1.1rem 1.25rem; font-size: clamp(0.875rem, 1.2vw, 1rem); text-align: left; border: none; background: none; cursor: pointer; position: relative; font-weight: 700; color: #0b1c2d; line-height: 1.4; min-height: 44px; }
    .faq-question::after { content: "+"; position: absolute; right: 1.25rem; font-size: 1.4rem; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease; line-height: 1; }
    .faq-item.active .faq-question::after { transform: translateY(-50%) rotate(45deg); }
    .faq-answer { max-height: 0; overflow: hidden; padding: 0 1.25rem; font-size: clamp(0.8rem, 1.1vw, 0.875rem); color: #403d3d; line-height: 1.6; letter-spacing: 0.15px; transition: max-height 0.5s ease, padding 0.3s ease; }
    .faq-item.active .faq-answer { max-height: 600px; padding: 0.75rem 1.25rem 1.25rem; }
 
   
    /* ===========================================
       RESPONSIVE BREAKPOINTS
    =========================================== */
   
    @media (max-width: 1024px) {
      .product-image { position: static; flex: 0 0 36%; max-width: 36%; }
      .grid1 { grid-template-columns: repeat(2, 1fr); }
    }
 
    @media (max-width: 768px) {
    
      .hero { clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 90%); }
      .hero2 { clip-path: polygon(0 0, 100% 3%, 100% 100%, 0% 97%); }
      .product-info,
      .product-info:nth-child(even),
      .product-info:nth-child(odd) { flex-direction: column; }
      .product-grade-details { flex: 1 1 100%; }
      .product-image { flex: 0 0 100%; max-width: 100%; position: static; flex-direction: row; flex-wrap: wrap; gap: 0.75rem; }
      .product-image img { flex: 1 1 45%; }
    }
 
    @media (max-width: 480px) {
      .hero { clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 90%); margin-bottom: 0; }
      .hero2 { clip-path: polygon(0 0, 100% 3%, 100% 100%, 0% 97%); }
      .product-info { padding: 1.5rem 0; gap: 1rem; }
      .product-image { flex-direction: column; }
      .product-image img { flex: 1 1 100%; }
      .grid1 { grid-template-columns: 1fr; gap: 1.5rem; }
      .table-container { margin: 1rem 0; }
    }
 







    


    

.hero5 {
  display: flex;
  flex-wrap: wrap;
  background-color: #ffffff;
  padding: 40px 20px;
  gap: 30px;
  padding-top: 40px;
  height: auto;
}

/* LEFT COLUMN */
.column-1 {
  flex: 1 1 500px;
}

.column-1 h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0b1c2d;
  text-align: left !important;
}

/* FORM */
.form-container {
  width: 100%;
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 16px;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

/* BUTTON */
button-2 {
  width: 100%;
  padding: 14px;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button-2:hover {
  background: #0055aa;
}

/* RIGHT COLUMN */
.column-2 {
  flex: 1 1 400px;
}

.column-2 a {
  display: flex;
  align-items: center;
  color: #0b1c2d;
  font-size: 15px;
  margin-bottom: 12px;
  text-decoration: none;
}

.column-2 i {
  color: #c20d0d;
  font-size: 20px;
  margin-right: 10px;
}

/* MAP RESPONSIVE */
.column-2 iframe {
  width: 100%;
  height: 550px;
  border: 2px solid #1e3247;
  border-radius: 6px;
  margin-top: 15px;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 768px) {
  
  .hero5 {
    flex-direction: column;
    padding: 20px 15px;
    margin-top: 50px;
  }

  .column-1, .column-2 {
    width: 100%;
    margin-top: -50px;
  }

   .column-2 {margin-top: 0px;}

  .column-1 h3 {
    font-size: 22px;
    text-align: center;
  }

  .form-container {
    padding: 20px;
  }

  .column-2 a {
    font-size: 14px;
  }

  .column-2 iframe {
    height: 250px;
  }
}

/* ---------------- SMALL MOBILE ---------------- */
@media (max-width: 480px) {

  .column-1 h3 {
    font-size: 20px;
  }

  input, select, textarea {
    font-size: 13px;
    padding: 10px;
  }

  button-2 {
    font-size: 14px;
    padding: 12px;
  }

  .column-2 iframe {
    height: 220px;
  }
}










/* ===================== ORIGINAL STYLES (UNCHANGED) ===================== */
 
.footer {
  display: flex;
  background-color: #0b1c2d;
  height: 470px;
  clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%);
  color: #ffffff;
  padding-top: 30px;
  gap: 40px;
}
.color-text2 { color: #ff2d2d; }
.color-text3 { color: #c20d0d; }
.footer-box1 {
  width: 350px;
  height: auto;
  border: 2px solid #0b1c2d;
  margin-top: 60px;
  margin-left: 30px;
}
.footer-box1 h4 { font-size: 20px; font-weight: 600; margin-top: 10px; margin-bottom: 25px; }
.footer-box1 p { font-size: 17px; font-weight: 500; margin-top: 10px; line-height: 1.5; }
.footer-box2 {
  width: 260px;
  height: auto;
  border: 2px solid #0b1c2d;
  margin-top: 60px;
}
.footer-box2 h4 { font-size: 20px; font-weight: 500; letter-spacing: -5; margin-top: 10px; margin-bottom: 25px; }
.footer-box2 p { font-size: 17px; font-weight: 500; margin-top: 7px; }
.footer-box3 {
  width: 150px;
  height: auto;
  border: 2px solid #0b1c2d;
  margin-top: 60px;
}
.footer-box3 h4 { font-size: 20px; font-weight: 500; letter-spacing: -5; margin-top: 10px; margin-bottom: 25px; }
.footer-box3 p { font-size: 17px; font-weight: 500; margin-top: 10px; }
.footer-box4 {
  width: 320px;
  height: auto;
  border: 2px solid #0b1c2d;
  margin-top: 60px;
  padding-bottom: 10px;
}
.footer-box4 h4 { font-size: 20px; font-weight: 500; letter-spacing: -5; margin-top: 10px; margin-bottom: 25px; }
.footer-box4 p { font-size: 16px; font-weight: 500; margin-top: 10px; line-height: 1.5; }
.footer-box4 a { display: block; color: #fff; font-size: 17px; font-weight: 500; text-decoration: none; }
.footer-box4 i { color: #c20d0d; }
.footer-btn1 { position: relative; top: 20px; }
.footer-btn2 { position: relative; top: 30px; }
.footer-box1 h4, .footer-box2 h4, .footer-box3 h4, .footer-box4 h4 {
  position: relative;
  display: inline-block;
}
.footer-box1 h4::after, .footer-box2 h4::after, .footer-box3 h4::after, .footer-box4 h4::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 3px;
  background: #ff2d2d;
  left: 0%;
  bottom: -6px;
}
.social-icon { font-size: 30px; display: flex; gap: 30px; margin-top: 50px; }
.social-icon i, .social-icon a { font-size:30px; color: #c20d0d; transition: 0.25s ease-out; }
.social-icon i:hover { color: #ffffff; }
.whatsapp-float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 50px;
  right: -5px;
  background-color: #25D366;
  color: white;
  border-radius: 5px;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.whatsapp-float:hover { background-color: #1ebe5d; }
.footer2 {
  background-color: #0b1c2d;
  color: #fff;
  height: 50px;
  display: flex;
  gap: 610px;
  padding-top: 13px;
  padding-left: 15px;
}
.footer2 a { text-decoration: none; color: #ffffff; }
.footer2 a:hover { color: #ff2d2d; }

.footer-btn3 {
  background-color: #ff2d2d;
  color: #ffffff !important;
  padding: 5px 50px 5px 100px;
  font-size: 14px !important;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0px !important;
}
 
/* ===================== RESPONSIVE STYLES ===================== */
 
/*
  DESKTOP / LAPTOP (1025px and above):
  — Original 4-column row layout, exactly as in the screenshot.
  — Only fix: allow footer height to be auto so content never clips,
    and use flex with proper alignment. All widths/gaps/margins match original.
*/
@media (min-width: 1025px) {
  .footer {
    height: auto;
    min-height: 470px;
    padding-bottom: 40px;
    align-items: flex-start;
  }
  /* footer2: spread copyright and crafted-by to opposite ends */
  .footer2 {
    justify-content: space-between;
    gap: 0;
    padding-right: 30px;
  }
  
}
 
/* Tablet landscape (768px – 1024px): 2×2 grid */
@media (max-width: 1024px) and (min-width: 768px) {
  .footer {
    flex-wrap: wrap;
    height: auto;
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%);
    padding: 50px 24px 40px;
    gap: 28px;
  }
  .footer-box1 {
    width: calc(50% - 14px);
    margin-left: 0;
    margin-top: 40px;
  }
  .footer-box2 {
    width: calc(50% - 14px);
    margin-top: 40px;
  }
  .footer-box3 {
    width: calc(50% - 14px);
    margin-top: 0;
  }
  .footer-box4 {
    width: calc(50% - 14px);
    height: auto;
    margin-top: 0;
  }
  .footer-box1 h4, .footer-box2 h4,
  .footer-box3 h4, .footer-box4 h4 { font-size: 17px; }
  .footer-box1 p, .footer-box2 p,
  .footer-box3 p, .footer-box4 p { font-size: 15px; }
  .footer-box4 a { font-size: 15px; }
  .footer2 {
    height: auto;
    gap: 0;
    justify-content: space-between;
    padding: 12px 20px;
    flex-wrap: wrap;
    row-gap: 6px;
  }
 
}
 
/* iPad portrait & large phones (481px – 767px): single column */
@media (max-width: 767px) {
  .footer {
    flex-direction: column;
    height: auto;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%);
    padding: 55px 20px 40px;
    gap: 28px;
  }
  .footer-box1,
  .footer-box2,
  .footer-box3,
  .footer-box4 {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    height: auto;
  }
  .footer-box4 { padding-bottom: 20px; }
  .footer-btn1 { top: 10px; display: block; }
  .footer-btn2 { top: 20px; display: block; }
  .footer2 {
    height: auto;
    flex-direction: column;
    gap: 6px;
    padding: 12px 15px;
  }
 
  
  
  .social-icon { gap: 22px; margin-top: 25px; }
  .whatsapp-float { width: 55px; height: 55px; font-size: 28px; bottom: 20px; right: 0; }
}
 
/* Mobile (max 480px) */
@media (max-width: 480px) {
  .footer {
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 100%);
    padding: 45px 15px 35px;
    gap: 24px;
  }
  .footer-box1 h4, .footer-box2 h4,
  .footer-box3 h4, .footer-box4 h4 { font-size: 16px; }
  .footer-box1 p, .footer-box2 p,
  .footer-box3 p, .footer-box4 p { font-size: 14px; }
  .footer-box4 a { font-size: 14px; display: block; margin-top: 8px; }
  .footer-btn1 { top: 0; }
  .footer-btn2 { top: 8px; }
  .footer2 a { font-size: 12px; }
  .footer3 a { font-size: 13px; letter-spacing: 0.5px; }
  .footer-btn3 { font-size: 12px !important; padding: 9px 16px; }
  .social-icon { font-size: 24px; gap: 18px; margin-top: 20px; }
}
 
/* Small phones (max 380px) */
@media (max-width: 380px) {
  .footer { padding: 40px 12px 30px; gap: 20px; }
  .footer-box1 h4, .footer-box2 h4,
  .footer-box3 h4, .footer-box4 h4 { font-size: 15px; }
  .footer-box1 p, .footer-box2 p,
  .footer-box3 p, .footer-box4 p,
  .footer-box4 a { font-size: 13px; }
  .whatsapp-float { width: 48px; height: 48px; font-size: 24px; }
}