/* =======================================================
   GLOBAL RESET
======================================================= */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Ensures no horizontal scrolling on the entire page */
  width: 100%;
  font-family: Poppins, sans-serif, Arial;
  background:#F5F5F5;
  color:var(--text);
  line-height:1.6;
  font-size:18px; /* Base font size */
}

* {
  max-width: 100%;
  box-sizing: border-box; /* Crucial for width calculations */
}

/* =======================================================
   ROOT VARIABLES
======================================================= */
:root {
  --site-header-height: 150px;
  --primary:#1e63ff;
  --bg:#0b1220;
  --text:#000;
}

/* =======================================================
   HEADER (Premium Header Styling)
======================================================= */
.site-header-placeholder {
  display: block;
  height: var(--site-header-height);
  margin: 0;
  padding: 0;
}

.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--site-header-height);
  z-index: 999;
  background: #fff;
  overflow: visible; /* Rely on global body overflow hidden */
}

.site-header.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
}

.site-header .container {
  height: 120px;
  padding: 0 5%; /* Good for desktop */
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

/* Topbar */
.topbar-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  padding: 4px 0;
  width: 100%;
}

.topbar-menu a {
  color: #555;
  text-decoration: none;
}

.topbar-menu .social-icons a {
  margin-left: 12px;
  color: #777;
  font-size: 15px;
}

/* Header inner */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  width: 100%;
  overflow: visible;
}

/* Logo */
.header-left .logo img {
  height: 110px;
  width: auto;
  display: block;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 20px; /* Desktop Nav Font Size */
  color: #333;
  padding: 6px 10px;
}

/* Buttons */
.btn, .btn-outline {
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 14px; /* Button Font Size */
  font-weight: bold;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn {
  background: linear-gradient(135deg,#0073e6,#005bb5);
  color: #fff !important;
  box-shadow: 0 3px 8px rgba(0,115,230,0.25);
}
.btn:hover { background: linear-gradient(135deg,#005bb5,#004a94); }


.btn-outline {
  border: 2px solid #0073e6;
  color: #0073e6 !important;
}
.btn-outline:hover {
  background: #0073e6;
  color: #fff !important;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #0073e6;
  cursor: pointer;
}

/* =======================================================
   MOBILE MENU (Optimized for CLS)
======================================================= */
.mobile-menu {
  position: fixed;
  top: 0;
  /* Start hidden off-screen using transform (CLS friendly) */
  right: 0; 
  transform: translateX(100%); 
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  /* Transition the transform property */
  transition: transform .4s ease; 
  z-index: 1003;
}

/* Open state uses transform to slide in from the right */
.mobile-menu.open { 
  transform: translateX(0); 
  /* right: 0; <--- DEPRECATED THIS LINE, use transform above */
}

.mobile-menu a {
  padding: 12px 20px;
  margin: 5px 0;
  font-weight: 600;
  text-decoration: none;
  color: #333;
  font-size: 18px; /* Mobile Menu Link Font Size */
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s;
  z-index: 1001;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ======================================
   GENERIC CONTAINER & NAV (from second CSS block)
====================================== */

/* This ensures all inputs/buttons are clickable and placed above any background layers */
input, button, label, select, textarea {
    position: relative;
    z-index: 10; /* A high z-index value to ensure interactivity */
    cursor: pointer !important; /* Forces cursor to pointer even if blocked visually */
}

.container{
  max-width:100%;
  margin:0 auto;
  padding:15px;
  z-index: 5;
}

.nav{ /* Second 'nav' class which might be used elsewhere */
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:var(--bg);
  padding:12px 15px;
  width:100%;
  overflow:hidden;
}

/* ======================================
   HERO
====================================== */
.hero{
  position:relative;
  min-height:80vh;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#fff;
  text-align:center;
  overflow:hidden;
   z-index: 0; /* Ensures the hero section itself isn't interfering with global z-indexes */
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  z-index:0;
  /* NOTE: You still need to define the actual background-image URL for this pseudo-element in your CSS or HTML for anything to show up here. */
  /* Example: background-image: url('your-image.jpg'); */
}

.hero .overlay{
  position:absolute;
  inset:0;
  /* FIX: Increased opacity from .1 to .5 for a visible effect */
  background:rgba(0,0,0,.3); 
  z-index:1;
}

.hero .container{
  position:relative;
  z-index:2;
}

.hero h1.title{
  font-size:70px; /* Desktop Hero Title Font Size */
  line-height:1.1;
  margin:0;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); 
stroke-width: 1px; 
stroke: #000;
}

.hero h2.title{
    font-size: 35px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); 
stroke-width: 1px; 
stroke: #000;
}

h2>img {
    /*background:#FFF;*/
    
}

/* ======================================
   SECTIONS / BACKGROUNDS
====================================== */
.section, .fixed-bg{
  width: 100%;
}

.section .fixed-bg .section-2 .service

{
 box-shadow: none!important;   
    
}

.section{
  padding:40px 0;
}

.section .title{
  font-size:28px;
  margin-bottom:20px;
  text-align:center;
}

.section .container{
  background:#fff;
  padding:25px;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
 
}

.fixed-bg{
  position:relative;
  min-height:40vh;
  padding:20px 0;
  overflow:hidden;
}

.fixed-bg::before{
  content:"";
  position:absolute;
  inset:0;
  /* If using background-attachment: fixed (not present here, but common for performance issues): 
     background-attachment: fixed; often performs poorly on mobile browsers/iOS, consider alternatives.
  */
  /* Ensure URL is optimized WEBP/AVIF image */
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  z-index:0;
}

/* Layout for sections using .row, .columns, .col */
.row, .columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  width: 100%;
}

.col, .column {
  width: 48%;
}

/* ======================================
   GRID + CARDS
====================================== */
.grid{
  display:grid;
  gap:20px;
}

.grid.cols-3{
  grid-template-columns:repeat(3,1fr);
}

.grid.cols-2{
  grid-template-columns:repeat(2,1fr);
}

/* Consolidated Card Styles */
.card, .section .card {
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  /* Use transform for smooth GPU-accelerated transitions */
  transition: all 0.25s ease, transform 0.25s ease;
  will-change: transform, box-shadow, background, color; /* Performance hint for hovers */
}

/* section 2 background */

.section .service-card{
    box-shadow: none!important;
    padding: 0;
    /*background: blue;*/
}

/* Specific styles for the .card class default state */
.section .card {
  
  /* Use a radial gradient positioned slightly down from the top center */
  /* This creates a white 'glow' area below the top edge */
/*  background: radial-gradient(circle at 50% 30%, #FFFFFF 0%, blue 25%);*/

  /* The 50% 30% positioning moves the center point of the white circle down from the absolute center (50% 50%) */
  
  /* Fallback color if gradients aren't supported */
  background-color: #1e63ff; 
  
  color: #FFF;
  /* box-shadow, padding, border-radius are handled in the consolidated card styles */
}

/* The reliable hover state for the .card class remains the same */
.section .card:hover {
  background: #FFF;     /* Change background to solid white on hover */
  color: blue;         /* Change text color to blue on hover */
  transform: translateY(-4px); 
  box-shadow: 0 8px 15px rgba(0, 0, 255, 0.2);
}

/* Specific styles and hover for the .service-card class */
.service-card:hover{
 /* transform:translateY(-8px);
  box-shadow:0 10px 30px rgba(30,99,255,.12);*/
}

.service-card .icon{
  font-size:28px;
  margin-bottom:10px;
}

.service-card .title{
  font-weight:700;
}

/* ======================================
   FOOTER
====================================== */
.site-footer{
  background:#222;
  color:#eee;
  padding:40px 15px;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:25px;
}

.footer-grid h4{
  color:#ffd700;
  margin-bottom:12px;
  font-size: 16px; /* Footer Title Font Size */
}

.footer-grid a{
  color:#fff;
  text-decoration:none;
  font-size: 14px; /* Footer Link Font Size */
}

.footer-grid a:hover{
  color:#ffd700;
}

/* ======================================
   RESPONSIVE — TABLET (1024px and below)
====================================== */
@media (max-width:1024px){
  body {
    font-size: 16px; /* Slightly smaller base font size for tablets */
  }
  .hero .title{font-size:48px}
  .grid.cols-3{grid-template-columns:repeat(2,1fr)}

  /* Tablet fixes from other snippet */
  .topbar-menu {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ======================================
   RESPONSIVE — MOBILE (768px and below)
====================================== */
@media (max-width:768px){
  
  body {
    font-size: 14px; /* Base font size for mobile */
  }

    /* --- ADDED CODE: Reduce vertical padding between sections for mobile --- */
  

  /* --- Header specific fixes for mobile view (Fixes scrollbar) --- */
  /* Change header container padding from 5% to fixed pixels to prevent overflow */
  .site-header .container {
      padding: 0 15px; 
  }
  
  /* Set mobile header height via CSS variable override */
  :root {
    --site-header-height: 145px; 
  }

  .site-header,
  .site-header-placeholder {
    height: var(--site-header-height);
    padding:10px 10px;
  }

  /* Logo size adjustment for mobile */
  .header-left .logo img {
    height: 58px;
    max-height: 58px;
  }

  .header-inner {
    height: 60px;
  }
  
  /* Hide desktop nav and show hamburger */
  .main-nav { display: none !important; }
  .menu-toggle { display: block; }
  
  /* Adjust font sizes within mobile menu, buttons, etc. */
  .topbar-menu { font-size: 12px; }
  .btn, .btn-outline { font-size: 12px; padding: 8px 16px; }
  .mobile-menu a { font-size: 16px; }


  /* --- Section/Layout Fixes (Ensures sections work properly) --- */
  .container,.section .container{
    width:90%!important;
    padding:15px!important;
  }

  .hero{min-height:50vh}
  .hero h1.title{
    font-size:30px!important; /* Mobile Hero Title Font Size */
  }
  
  .hero h2.title{
    font-size:18px!important; /* Mobile Hero Title Font Size */
    font-weight: 500;
  }
  
  .section .title {
    font-size: 22px; /* Mobile Section Title Font Size */
  }


  /* force ALL grids/rows to single column */
  .grid,
  .grid.cols-2,
  .grid.cols-3,
  .row,
  .columns,
  .flex,
  [style*="flex"],
  div[class*="row"],
  div[class*="flex"]{
    display:block!important; /* Forces block layout for vertical stacking */
    flex-direction:column!important;
    width:100%!important;
    gap:0!important; /* Remove gap when stacked vertically */
  }
  
  /* Make all children/columns/cards take full width and add bottom margin */
  .grid > *,
  .grid.cols-2 > *,
  .grid.cols-3 > *,
  .col,
  .column,
  .card,
  .service-card,
  .section>div,
  .section .container>div{
    width:100%!important;
    max-width:100%!important;
    margin-bottom:15px!important;
  }

  /* Responsive background adjustment */
  .section, .fixed-bg {
    background-size: cover !important;
    background-position: center top !important;
    padding: 4px 0;
  }

    
    
}

/* ===============================
   TESTIMONIAL SLIDER
================================ */

.testimonial-wrapper {
  position: relative;
  max-width: 1100px;
  margin: auto;
  padding: 40px 0;
}

.testimonial-viewport {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
}

.testimonial-card {
  flex: 0 0 33.333%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

.testimonial-card .photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 15px auto;
}

.quote {
  font-style: italic;
}

/* Arrows */
.ts-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 8px 14px;
  cursor: pointer;
  z-index: 10;
}

.ts-arrow.left { left: 0; }
.ts-arrow.right { right: 0; }

/* Pagination */
.ts-dots {
  text-align: center;
  margin-top: 15px;
}

.ts-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.ts-dots span.active {
  background: #000;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}

/* ===============================
   TESTIMONIAL MARQUEE
================================ */

.testimonial-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.testimonial-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

.testimonial-card .photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 10px auto;
}

/* Mobile */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}


/*  service booking form css   */

/* ======================================
   SERVICE BOOKING FORM (Scoped CSS)
   No global conflicts
====================================== */

.service-booking-form {
  width: 100%;
}

/* Wrapper */
.service-booking-form .form-wrapper {
  min-height: 560px;
  position: relative;
}

/* Steps */
.service-booking-form .step {
  display: none;
}
.service-booking-form .step.active {
  display: block;
}

.service-booking-form .step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Layout */
.service-booking-form .sb-row {
  display: flex;
  gap: 20px;
}

.service-booking-form .sb-col {
  flex: 1;
  background: #5070dc;
  color:#FFF;
  padding: 20px;
  border-radius: 10px;
  /*box-shadow: 0 0 10px rgba(0,0,0,.1);*/
  border: 5px solid #0b2a8a;
  min-height: 560px!important;
  
}

/* Mobile */
@media (max-width: 768px) {
  .service-booking-form .sb-row {
    flex-direction: column;
  }
  
  .service-booking-form .sb-col {
    min-height: auto!important;  
  }
}

/* Headings */
.service-booking-form h3 {
  margin-bottom: 10px;
}

/* Inputs */
.service-booking-form label {
  display: block;
  margin: 10px 0;
}

.service-booking-form input,
.service-booking-form select,
.service-booking-form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 6px;
}


/* customer details */

/* Buttons */
.service-booking-form button {
  padding: 15px 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size:18px;
}

.service-booking-form button:hover {
  
  color:#000;
  background: #FFF;
}

/* Navigation buttons */
.service-booking-form .nav-buttons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

/* Utility */
.service-booking-form .hidden {
  display: none;
}

/* ======================================
   SERVICE BOOKING FORM – FIXES
====================================== */

/* ✅ FIX radio & checkbox alignment */
.service-booking-form label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 6px 0;
}

/* Keep input on LEFT */
.service-booking-form input[type="radio"],
.service-booking-form input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex-shrink: 0;
}

/* Prevent global input rule from breaking layout */
.service-booking-form input,
.service-booking-form select,
.service-booking-form textarea {
  display: block;
}

/* ============================
   STEP LAYOUT CONTROL
============================ */

/* Desktop – 2 columns */
.service-booking-form .sb-row {
  display: flex;
  gap: 20px;
}

.service-booking-form .sb-col {
  flex: 1;
}

/* Step 2: force two columns */
#step2 .sb-row {
  align-items: flex-start;
}

/* ============================
   MOBILE – stack columns
============================ */
@media (max-width: 768px) {
  .service-booking-form .sb-row {
    flex-direction: column;
  }
}

/* ===============================
   STEP-2 DESKTOP TWO-COLUMN FIX
================================ */

#step2 .sb-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 24px;
}

#step2 .sb-col {
  flex: 1 !important;
  width: 50%;
}

/* Mobile stacking */
@media (max-width: 768px) {
  #step2 .sb-row {
    flex-direction: column !important;
  }
}

/* ===============================
   RADIO / CHECKBOX INLINE FIX
================================ */

.service-booking-form .radio-group label,
.service-booking-form .checkbox-group label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
  cursor: pointer;
}

.service-booking-form .radio-group input,
.service-booking-form .checkbox-group input {
  width: auto;
  margin: 0;
  position: static;
}


/* testimonial  */

.testimonial-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.testimonial-viewport {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 20px;
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 33.333%;
    background: cyan;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 10px 0;
}

.ts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    border: none;
    font-size: 22px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}

.ts-arrow.left { left: 0; }
.ts-arrow.right { right: 0; }

/* Mobile */
@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}

/* terms and condition*/




.inline-row{
  display:flex;
  gap:15px;
}

.inline-row > div{
  flex:1;
}

@media(max-width:768px){
  .inline-row{
    flex-direction:column;
  }
}


.sb-row{display:flex;gap:30px}
.sb-col{flex:1}
.hidden{display:none}

.service-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:5px;
}
.sb-row{display:flex;gap:30px}
.left-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
margin:15px 0;
}

.radio-line,.radio-inline{
display:flex;
align-items:center;
gap:8px;
margin:6px 0;
}

select,input[type=text],textarea,input[type=date]{
width:100%;
padding:6px;
}

.terms-line{
margin-top:15px;
display:flex;
gap:6px;
align-items:center
}

@media(max-width:768px){
.sb-row{flex-direction:column}
.left-grid,.service-grid{grid-template-columns:1fr}
}




/* ======================================
   SERVICE BOOKING – LEFT COLUMN GRID FIX
   (FINAL OVERRIDE – KEEP AT END)
====================================== */

/* Ensure step rows stay side-by-side on desktop */
#step2 .sb-row{
  display:flex !important;
  gap:24px;
  align-items:flex-start;
}

/* Equal columns */
#step2 .sb-col{
  flex:1;
  min-height:auto;
}

/* LEFT SIDE: Issue / Type / Age / Brand grid */
.left-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:10px;
}

/* Each block title */
.left-grid h4{
  font-size:14px;
  font-weight:600;
  margin-bottom:4px;
}

/* Radio / checkbox rows */
.left-grid label,
.radio-line,
.radio-inline{
  display:flex;
  align-items:center;
  gap:6px;
  margin:4px 0;
  cursor:pointer;
}

/* Prevent inputs stretching */
.left-grid input[type=radio],
.left-grid input[type=checkbox]{
  width:auto;
  margin:0;
}

/* Dropdowns */
.left-grid select{
  width:100%;
  padding:6px;
}

/* Reduce left column height visually */
#step2 .sb-col:first-child{
  padding-bottom:12px;
}

/* RIGHT COLUMN FORM STABILITY */
#step2 .sb-col:last-child{
  position:relative;
  z-index:5;
}

/* ===============================
   MOBILE FIX – STACK CLEANLY
================================ */
@media(max-width:768px){
  #step2 .sb-row{
    flex-direction:column !important;
  }

  .left-grid{
    grid-template-columns:1fr;
  }
}

.customer-details-card {
  max-width: 500px;
  margin: 40px auto;
  padding: 30px 25px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
}

.customer-details-card h3 {
  text-align: center;
  color: #1e63ff;
  margin-bottom: 25px;
  font-size: 26px;
  font-weight: 600;
}

.customer-details-card .form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.customer-details-card label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.customer-details-card input,
.customer-details-card textarea {
  padding: 10px 15px;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.customer-details-card input:focus,
.customer-details-card textarea:focus {
  border-color: #1e63ff;
  box-shadow: 0 0 8px rgba(30, 99, 255, 0.2);
}

.customer-details-card textarea {
  min-height: 80px;
  resize: vertical;
}

.customer-details-card .submit-btn {
  text-align: center;
  margin-top: 15px;
}

.customer-details-card button {
  background: linear-gradient(135deg,#0073e6,#005bb5);
  color: #fff;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.customer-details-card button:hover {
  background: linear-gradient(135deg,#005bb5,#004a94);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Responsive */
@media(max-width: 768px) {
  .customer-details-card {
    margin: 20px 15px;
    padding: 25px 20px;
  }

  .customer-details-card h3 {
    font-size: 22px;
  }

  .customer-details-card input,
  .customer-details-card textarea {
    font-size: 14px;
    padding: 9px 12px;
  }

  .customer-details-card button {
    font-size: 15px;
    padding: 10px 25px;
  }
}




/* Modal Overlay */
.terms-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* On top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto; /* Enable scrolling on small screens */
  background-color: rgba(0,0,0,0.6); /* Black overlay */
  padding: 20px;
  box-sizing: border-box;
}

/* Modal Content */
.terms-content {
  background-color: #fff;
  margin: 40px auto;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
  animation: slideDown 0.3s ease;
}

/* Close Button */
.terms-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.terms-content .close:hover {
  color: #1e63ff;
}

.terms-content h3 {
  margin-top: 0;
  color: #1e63ff;
  text-align: center;
  margin-bottom: 15px;
}

.terms-content ul {
  padding-left: 20px;
  color: #555;
}

.terms-content button {
  display: block;
  margin: 20px auto 0 auto;
  background: linear-gradient(135deg,#0073e6,#005bb5);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.terms-content button:hover {
  background: linear-gradient(135deg,#005bb5,#004a94);
  transform: translateY(-2px);
}

/* Slide Down Animation */
@keyframes slideDown {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* Mobile adjustments */
@media(max-width: 600px) {
  .terms-content {
    margin: 20px auto;
    padding: 20px;
  }

  .terms-content h3 {
    font-size: 20px;
  }

  .terms-content button {
    padding: 8px 20px;
    font-size: 14px;
  }
}

<style>

textarea{
    height:100px!important;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    margin:3px;
    
    /*default value*/
    width: 100%;
    border: 1px solid #666;
    border-radius: 3px;
    padding: .5rem 1rem;
    transition: all .3s;
    font-size:18px;
    margin-bottom:15px;
   
}
input[type=submit]{
    width:100%;
}
</style>


