/* ========================
   RESET & BASE STYLES
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    margin: 0;
    padding: 0;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================
   PROFESSIONAL SCROLLBAR
======================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 138, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e52e71, #ff8a00);
    box-shadow: 0 0 15px rgba(255, 138, 0, 0.5);
}

/* WhatsApp Button */
@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: clamp(15px, 3vw, 20px);
    left: clamp(15px, 3vw, 20px);
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1000;
    animation: slideInLeft 0.6s ease-out;
}

.whatsapp-icon {
    width: clamp(45px, 6vw, 50px);
    margin-right: -5px;
}

/* Scroll-up Button */
.scroll-up-btn {
    position: fixed;
    height: 50px;
    width: 50px;
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    right: 30px;
    bottom: 30px;
    text-align: center;
    line-height: 50px;
    color: #ffffff;
    z-index: 9999;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-up-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-up-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.4);
}

/* ========================
   HEADER & NAVIGATION
======================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  font-family: 'Ubuntu', sans-serif;
  transition: all 0.4s ease;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 138, 0, 0.1);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 138, 0, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar .logo a {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 32px);
  font-weight: 700;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-left: 5px;
}

.navbar .logo a span {
  color: #ff8a00;
  transition: all 0.3s ease;
  text-decoration: none;
}

.navbar.scrolled .logo a {
  color: #ffffff;
}

.navbar.scrolled .logo a span {
  color: #ffffff;
  text-decoration: none;
}

.navbar .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar .menu li {
  margin-left: clamp(15px, 2vw, 30px);
  position: relative;
}

.navbar .menu li a {
  color: #ffffff;
  font-size: clamp(1rem, 1.5vw, 18px);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 0;
  position: relative;
  text-decoration: none;
  display: block;
}

.navbar .menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ff8a00;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.navbar .menu li a:hover {
  color: #ff8a00;
}

.navbar .menu li a:hover::after {
  width: 100%;
}

.navbar.scrolled .menu li a {
  color: #ffffff;
}

.navbar.scrolled .menu li a:hover {
  color: #ffffff;
}

.navbar.scrolled .menu li a::after {
  background: #ffffff;
}

/* Services Dropdown Styles */
.services-dropdown {
  position: relative;
}

.services-dropdown>a {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.services-dropdown>a .dropdown-arrow {
  margin-left: 5px;
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.services-dropdown:hover>a .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: #000000;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
  text-align: left;
}

.services-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  color: #ffffff;
  padding: 12px 25px;
  display: block;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: left;
  position: relative;
}

.dropdown-menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ff8a00;
  bottom: 8px;
  left: 25px;
  transition: width 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgba(255, 138, 0, 0.1);
  color: #ff8a00;
}

.dropdown-menu li a:hover::after {
  width: calc(100% - 50px);
}

/* SUB-DROPDOWN STYLES  */
.sub-dropdown {
  position: relative;
}

.sub-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  padding: 12px 25px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.sub-arrow {
  margin-left: 10px;
  font-size: 0.7em;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
}

.sub-dropdown:hover > .sub-dropdown-toggle .sub-arrow {
  transform: rotate(90deg);
  color: #ff8a00;
}

.sub-dropdown:hover > .sub-dropdown-toggle {
  background: rgba(255, 138, 0, 0.1);
  color: #ff8a00;
}

.sub-dropdown-menu {
  position: absolute;
  top: -15px;
  left: 100%;
  width: 180px;
  margin-right: 5px;
  background: #000000;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 1002;
}

.sub-dropdown:hover .sub-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sub-dropdown-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-dropdown-menu li {
  margin: 0;
}

.sub-dropdown-menu li a {
  color: #ffffff;
  padding: 8px 15px;
  display: block;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

.sub-dropdown-menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  background: #ff8a00;
  bottom: 6px;
  left: 15px;
  transition: width 0.3s ease;
}

.sub-dropdown-menu li a:hover {
  background: rgba(255, 138, 0, 0.1);
  color: #ff8a00;
}

.sub-dropdown-menu li a:hover::after {
  width: calc(100% - 30px);
}

/* Mobile Menu */
.menu-btn {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 26px);
  cursor: pointer;
  display: none;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
  margin-right: 5px;
}

.navbar.scrolled .menu-btn {
  color: #ffffff;
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 947px) {
  .menu-btn {
    display: block;
  }

  .menu-btn i.active::before {
    content: "\f00d";
  }

  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    background: #000000;
    padding-top: 100px;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ff8a00 #1a1a1a;
  }

  /* Mobile menu scrollbar styling */
  .navbar .menu::-webkit-scrollbar {
    width: 6px;
  }

  .navbar .menu::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
    margin-top: 100px;
    margin-bottom: 20px;
  }

  .navbar .menu::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    border-radius: 3px;
  }

  .navbar .menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e52e71, #ff8a00);
  }

  .navbar .menu.active {
    left: 0;
  }

  .navbar .menu li {
    width: 90%;
    margin: 0;
    text-align: left;
    padding: 5px 0;
  }

  .navbar .menu li a {
    display: block;
    width: 100%;
    font-size: clamp(1.5rem, 4vw, 28px);
    padding: clamp(10px, 2vw, 15px) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
  }

  .navbar.scrolled .menu li a {
    color: #ffffff;
  }

  /* Mobile dropdown adjustments */
  .services-dropdown .dropdown-menu {
    position: static;
    width: 90%;
    margin: 15px auto 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
    text-align: left;
    scrollbar-width: thin;
    scrollbar-color: #ff8a00 #1a1a1a;
  }

  .services-dropdown.active .dropdown-menu {
    max-height: 400px;
    padding: 15px 0;
    overflow-y: auto;
  }

  /* Dropdown scrollbar styling */
  .services-dropdown.active .dropdown-menu::-webkit-scrollbar {
    width: 4px;
  }

  .services-dropdown.active .dropdown-menu::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 2px;
  }

  .services-dropdown.active .dropdown-menu::-webkit-scrollbar-thumb {
    background: #ff8a00;
    border-radius: 2px;
  }

  .dropdown-menu li a {
    font-size: 18px;
    padding: 10px 25px;
    text-align: left;
  }

  .dropdown-menu li a::after {
    left: 50%;
    transform: translateX(-50%);
    bottom: 5px;
  }

  .dropdown-menu li a:hover::after {
    width: 80px;
  }

  .services-dropdown>a .dropdown-arrow {
    display: inline-block;
  }

  .services-dropdown.active>a .dropdown-arrow {
    transform: rotate(180deg);
  }

  /* MOBILE SUB-DROPDOWN STYLES - FIXED */
  .sub-dropdown-menu {
    position: static;
    width: 85%;
    margin: 10px auto 0 30px; /* Left side se margin diya */
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
  }

  .sub-dropdown.active .sub-dropdown-menu {
    max-height: 250px;
    padding: 8px 0;
    overflow-y: auto;
    margin-left: 30px; /* Same margin maintain karo */
  }

  .sub-dropdown.active .sub-dropdown-toggle .sub-arrow {
    transform: rotate(90deg);
    color: #ff8a00;
  }

  .sub-dropdown.active .sub-dropdown-toggle {
    background: rgba(255, 138, 0, 0.1);
    color: #ff8a00;
  }

  .sub-dropdown-toggle {
    padding: 10px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px; /* Mobile par font size bada karo */
  }

  .sub-arrow {
    transition: transform 0.3s ease;
  }

  .sub-dropdown-menu li a {
    font-size: 14px; /* Mobile par 14px karo (12px se bada) */
    padding: 8px 35px;
  }

  /* Sub-dropdown scrollbar styling for mobile */
  .sub-dropdown.active .sub-dropdown-menu::-webkit-scrollbar {
    width: 3px;
  }

  .sub-dropdown.active .sub-dropdown-menu::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 2px;
  }

  .sub-dropdown.active .sub-dropdown-menu::-webkit-scrollbar-thumb {
    background: #ff8a00;
    border-radius: 2px;
  }

  /* Last item ke baad padding for better scroll */
  .navbar .menu li:last-child {
    margin-bottom: 30px;
  }
}

/* DESKTOP HOVER FIXES */
@media (min-width: 948px) {
  /* Ensure sub-dropdown works properly on desktop */
  .sub-dropdown:hover .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  
  /* Fix dropdown positioning */
  .dropdown-menu {
    z-index: 1001;
  }
  
  .sub-dropdown-menu {
    z-index: 1002;
  }
}


/* --- CONTACT FORM SECTION --- */

main {
  min-height: 100vh;
  background-color: black;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}


main > div {
  background: linear-gradient(145deg, 
    rgba(26, 26, 26, 0.95) 0%, 
    rgba(35, 35, 35, 0.9) 100%);
  border-radius: 25px;
  padding: 60px 50px;
  max-width: 1000px;
  width: 100%;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 138, 0, 0.1),
    inset 0 0 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  border-left: 5px solid #ff8a00;
  animation: sectionSlideUp 1s ease-out;
  margin-top: 80px;
}

/* Form Title */
h1 {
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(90deg, #ffffff, #ff8a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, #ff8a00, #e52e71);
  border-radius: 2px;
}

/* Form Styling */
form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

/* Input Groups */
.input-group {
  position: relative;
}

/* For full-width elements */
.input-group:nth-child(5),
.input-group:nth-child(6),
.input-group:nth-child(8),
.input-group:nth-child(11),
.input-group:nth-child(12),
.input-group:nth-child(13),
.input-group:nth-child(14) {
  grid-column: span 2;
}

.input-group:nth-child(7) {
  grid-column: span 1;
}

/* Labels */
.input-group label {
  display: block;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
  padding-left: 25px;
}

.input-group label::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ff8a00;
  font-weight: bold;
  font-size: 1.3rem;
  top: 0;
  transition: transform 0.3s ease;
}

.input-group:hover label::before {
  transform: translateX(5px);
}

/* Text Inputs, Email, Tel */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 138, 0, 0.15);
  border-radius: 12px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Input Focus Effects */
input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 138, 0, 0.5);
  background: rgba(255, 138, 0, 0.03);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1),
              0 10px 25px rgba(255, 138, 0, 0.1);
  transform: translateY(-2px);
}

/* Input Placeholder */
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

/* Radio & Checkbox Options */
.options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  background: rgba(255, 138, 0, 0.03);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(255, 138, 0, 0.1);
  transition: all 0.3s ease;
}

.options:hover {
  border-color: rgba(255, 138, 0, 0.2);
  background: rgba(255, 138, 0, 0.05);
}

.options label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.options label:hover {
  background: rgba(255, 138, 0, 0.08);
  border-color: rgba(255, 138, 0, 0.2);
  transform: translateY(-2px);
}

.options label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #ff8a00, #e52e71);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.options label:hover::before {
  opacity: 1;
}

/* Custom Radio/Checkbox */
.options input[type="radio"],
.options input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 138, 0, 0.4);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.options input[type="checkbox"] {
  border-radius: 6px;
}

.options input[type="radio"]:checked,
.options input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #ff8a00, #e52e71);
  border-color: #ff8a00;
}

.options input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
}

.options input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.options span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  flex-grow: 1;
}

/* Submit Button */
button[type="submit"] {
  grid-column: span 2;
  padding: 20px 40px;
  background: linear-gradient(135deg, #ff8a00, #e52e71);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 138, 0, 0.3);
}

button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s;
}

button[type="submit"]:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 138, 0, 0.4);
  letter-spacing: 1.5px;
}

button[type="submit"]:hover::before {
  left: 100%;
}

button[type="submit"]:active {
  transform: translateY(-2px) scale(1.01);
}

/* Required Field Indicator */
.input-group label[for]:after {
  content: ' *';
  color: #ff8a00;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Animation for Input Groups */
.input-group {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.input-group:nth-child(1) { animation-delay: 0.2s; }
.input-group:nth-child(2) { animation-delay: 0.3s; }
.input-group:nth-child(3) { animation-delay: 0.4s; }
.input-group:nth-child(4) { animation-delay: 0.5s; }
.input-group:nth-child(5) { animation-delay: 0.6s; }
.input-group:nth-child(6) { animation-delay: 0.7s; }
.input-group:nth-child(7) { animation-delay: 0.8s; }
.input-group:nth-child(8) { animation-delay: 0.9s; }
.input-group:nth-child(9) { animation-delay: 1.0s; }
.input-group:nth-child(10) { animation-delay: 1.1s; }
.input-group:nth-child(11) { animation-delay: 1.2s; }
.input-group:nth-child(12) { animation-delay: 1.3s; }
.input-group:nth-child(13) { animation-delay: 1.4s; }
.input-group:nth-child(14) { animation-delay: 1.5s; }

button[type="submit"] {
  animation: fadeInUp 0.8s ease-out 1.6s both;
}

/* --- ANIMATIONS --- */
@keyframes sectionSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0);
  }
  50% {
    transform: translate(20px, 20px) rotate(1deg);
  }
}

/* --- RESPONSIVE DESIGN --- */

/* Tablet View */
@media (max-width: 992px) {
  main > div {
    padding: 50px 40px;
    max-width: 800px;
  }
  
  h1 {
    font-size: 2.8rem;
    margin-bottom: 40px;
  }
  
  form {
    gap: 30px;
  }
  
  .options {
    grid-template-columns: 1fr;
  }
  
  .options label {
    padding: 15px 20px;
  }
}

/* Medium Tablet */
@media (max-width: 768px) {
  main {
    padding: 40px 15px;
  }
  
  main > div {
    padding: 40px 30px;
    border-radius: 20px;
  }
  
  h1 {
    font-size: 2.5rem;
    padding-bottom: 15px;
  }
  
  h1::after {
    width: 120px;
  }
  
  form {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  /* Make all elements full width on mobile */
  .input-group,
  .input-group:nth-child(5),
  .input-group:nth-child(6),
  .input-group:nth-child(7),
  .input-group:nth-child(8),
  .input-group:nth-child(11),
  .input-group:nth-child(12),
  .input-group:nth-child(13),
  .input-group:nth-child(14) {
    grid-column: span 1;
  }
  
  .input-group label {
    font-size: 1.05rem;
    margin-bottom: 12px;
    padding-left: 20px;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  
  textarea {
    min-height: 120px;
  }
  
  .options {
    padding: 20px;
  }
  
  button[type="submit"] {
    grid-column: span 1;
    padding: 18px 35px;
    font-size: 1.2rem;
  }
}

/* Mobile View */
@media (max-width: 576px) {
  main {
    padding: 30px 10px;
  }
  
  main > div {
    padding: 35px 25px;
    border-radius: 18px;
    border-left-width: 4px;
  }
  
  h1 {
    font-size: 2.2rem;
    margin-bottom: 35px;
  }
  
  h1::after {
    width: 100px;
    height: 3px;
  }
  
  form {
    gap: 20px;
  }
  
  .input-group label {
    font-size: 1rem;
    padding-left: 18px;
  }
  
  .input-group label::before {
    font-size: 1.1rem;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
  }
  
  .options {
    padding: 18px;
    border-radius: 12px;
  }
  
  .options label {
    padding: 12px 18px;
  }
  
  .options input[type="radio"],
  .options input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }
  
  .options span {
    font-size: 0.95rem;
  }
  
  button[type="submit"] {
    padding: 16px 30px;
    font-size: 1.1rem;
    border-radius: 12px;
    margin-top: 10px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  main > div {
    padding: 30px 20px;
    border-radius: 15px;
  }
  
  h1 {
    font-size: 1.9rem;
    margin-bottom: 30px;
  }
  
  .input-group label {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  
  .options {
    padding: 15px;
    gap: 10px;
  }
  
  .options label {
    padding: 10px 15px;
  }
  
  button[type="submit"] {
    padding: 14px 25px;
    font-size: 1rem;
  }
}

/* Extra Small Devices */
@media (max-width: 375px) {
  main {
    padding: 20px 8px;
  }
  
  main > div {
    padding: 25px 18px;
  }
  
  h1 {
    font-size: 1.7rem;
  }
  
  form {
    gap: 18px;
  }
  
  .input-group label {
    font-size: 0.9rem;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 10px 14px;
  }
  
  button[type="submit"] {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}

/* Form Validation Styles */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(229, 46, 113, 0.5);
  animation: shake 0.3s ease-in-out;
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
  border-color: rgba(76, 175, 80, 0.5);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Loading State for Button */
button[type="submit"].loading {
  position: relative;
  color: transparent;
}

button[type="submit"].loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}



/* ========================
   FOOTER STYLES
======================== */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: clamp(40px, 6vw, 60px) 0 clamp(15px, 3vw, 20px);
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 138, 0, 0.3);
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 138, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(229, 46, 113, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 138, 0, 0.05) 0%, transparent 50%);
    animation: backgroundShift 8s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 20px);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(30px, 6vw, 60px);
    position: relative;
    z-index: 2;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(30px, 6vw, 60px);
    animation: fadeIn 0.8s ease-out;
}

/* Footer Left Section */
.footer-left {
    animation: slideInLeft 0.8s ease-out;
    text-align: left;
}

.f-logo {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 15px);
    margin-bottom: clamp(15px, 3vw, 25px);
    text-align: left;
}

#f-logo {
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.f-logo h2 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ff8a00, #e52e71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.f-title {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 600;
    margin-bottom: 15px;
    color: #ff8a00;
    position: relative;
    display: inline-block;
    text-align: left;
}

.f-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ff8a00, transparent);
    animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes underlinePulse {
    0%, 100% {
        width: 50px;
        opacity: 1;
    }
    50% {
        width: 70px;
        opacity: 0.7;
    }
}

.f-description {
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: clamp(20px, 4vw, 30px);
    font-size: clamp(0.875rem, 1.5vw, 0.95rem);
    max-width: 500px;
    text-align: left;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: clamp(10px, 2vw, 15px);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    justify-content: flex-start;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 6vw, 45px);
    height: clamp(40px, 6vw, 45px);
    background: rgba(30, 30, 30, 0.7);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(50, 50, 50, 0.7);
    box-shadow: 0 10px 25px rgba(255, 138, 0, 0.3);
}

.social-icon:nth-child(1):hover { background: linear-gradient(45deg, #E1306C, #F77737); }
.social-icon:nth-child(2):hover { background: linear-gradient(45deg, #25D366, #128C7E); }
.social-icon:nth-child(3):hover { background: linear-gradient(45deg, #1877F2, #0D8AF0); }

.social-icon i {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    z-index: 1;
}

/* Footer Links Section */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(25px, 4vw, 40px);
    animation: slideInRight 0.8s ease-out;
    text-align: left;
}

.link-group h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: #ff8a00;
    position: relative;
    padding-bottom: 8px;
    text-align: left;
}

.link-group h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #e52e71;
    transition: width 0.3s ease;
}

.link-group:hover h3::after {
    width: 60px;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 25px;
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.875rem, 1.5vw, 0.9rem);
    gap: 8px;
}

.link-group a i {
    width: 16px;
    text-align: center;
    font-size: clamp(0.875rem, 1.5vw, 0.9rem);
    color: #ff8a00;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.link-group a:hover i {
    color: #e52e71;
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: clamp(30px, 5vw, 50px) auto 0;
    padding: clamp(15px, 3vw, 25px) clamp(15px, 3vw, 20px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out 0.4s both;
}

.footer-bottom p {
    color: #cccccc;
    font-size: clamp(0.875rem, 1.5vw, 0.9rem);
    margin: 0;
}

/* Enhanced hover effects for links */
.link-group a {
    position: relative;
    overflow: hidden;
}

.link-group a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 25px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #ff8a00, #e52e71);
    transition: width 0.3s ease;
}

.link-group a:hover::after {
    width: calc(100% - 25px);
}

/* ========================
   ANIMATION KEYFRAMES
======================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================
   RESPONSIVE FIXES FOR FOOTER
======================== */
@media (max-width: 1024px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
     .scroll-up-btn {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 30px;
        padding: 0 15px;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
    
    .link-group a {
        padding-left: 20px;
    }
    
    .f-logo h2 {
        font-size: 1.4rem;
    }
    
    #f-logo {
        width: 40px;
        height: 40px;
    }
    
    .f-title {
        font-size: 1.1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon i {
        font-size: 1.1rem;
    }
 .scroll-up-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .footer-content {
        padding: 0 10px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
.social-btn:focus,
.social-icon:focus {
    outline: 2px solid #ff8a00;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #ffffff;
        --bg-primary: #000000;
    }
}