@import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&display=swap");

/* CSS Custom Properties for scalability */
:root {
  /* Colors */
  --primary-blue: #00d4ff;
  --primary-purple: rgb(82, 51, 204);
  --dark-bg: #191919;
  --nav-bg: rgba(26, 26, 58, 0.9);
  --section-bg-dark: #141E30;
  --section-bg-gradient: linear-gradient(to bottom, #19293b, #141E30);
  --footer-bg: #1a1a3a;
  --card-bg: rgba(36, 46, 63, 0.8);
  --border-color: rgba(46, 105, 199, 0.5);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dim: rgb(161, 161, 161);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
  --gradient-hover: linear-gradient(135deg, rgb(92, 61, 214) 0%, #10e4ff 100%);
  
  /* Spacing */
  --container-padding: 1.5rem;
  --section-padding: 4rem 0;
  --nav-height: 80px;
  
  /* Typography */
  --font-primary: "Exo 2", sans-serif;
  --font-secondary: "Orbitron", sans-serif;
  --font-tertiary: "Montserrat", sans-serif;
  
  /* Breakpoints */
  --bp-mobile: 480px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-large: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.4s ease;
  
  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(74, 128, 255, 0.4);
}

/* Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Button Base Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--dark-bg);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.company-logo {
  height: 40px;
  width: auto;
}

.company-info {
  display: flex;
  flex-direction: column;
  font-family: var(--font-secondary);
}

.company-name {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.company-tagline,
.license-number {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1;
}

/* Showroom Gallery */
.showroom-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 8px;
  position: relative;
}

.showroom-gallery img {
  height: 50px;
  width: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.showroom-gallery img:hover {
  transform: scale(1.1);
  border-color: var(--primary-blue);
}

.close-button {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: var(--text-muted);
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.close-button:hover {
  background: rgba(255, 0, 0, 0.8);
  color: white;
}

/* Navigation Menu */
.navigation-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-primary);
}

.nav-link {
  position: relative;
  padding: 8px 0;
  transition: all var(--transition-normal);
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.phone-link {
  background: var(--gradient-primary);
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
}

.phone-link:hover {
  background: var(--gradient-hover);
  transform: translateY(-1px);
}

/* Mobile Navigation */
.mobile-quote-btn,
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-toggle {
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  margin: 2px 0;
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgb(0, 57, 110) 0%, #1a1a3a 100%);
  text-align: center;
  position: relative;
  padding-top: var(--nav-height);
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: var(--shadow-glow);
  line-height: 1.1;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Services Section */
.services-section {
  background: var(--section-bg-gradient);
  padding: var(--section-padding);
}

.services-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.service-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
}

.service-info h2 {
  font-family: var(--font-secondary);
  font-size: 2rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-info p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Service Cards - Original Design */
.srv_div {
  width: 490px;
  height: 235px;
  border: 2px solid #333f5584;
  background-color: #242e3f80;
  border-radius: 15px;
  display: flex;
  align-items: center;
  font-family: var(--font-primary);
  -webkit-box-shadow: 3px 26px 26px 5px rgba(0,0,0,0.68); 
  box-shadow: 3px 26px 26px 5px rgba(0, 0, 0, 0.329);
  transition: all ease 0.4s;
  backdrop-filter: blur(10px);
  margin: 1rem;
  flex-shrink: 0;
}

.srv_div:hover {
  border: 3px solid #4e6082;
  background-color: #2e3b51;
  width: 500px;
  height: 275px;
  transform: translateY(-5px);
  box-shadow: 3px 30px 40px 8px rgba(0, 0, 0, 0.5);
}

.srv_div img {
  height: 185px;
  border-radius: 10px;
  margin-left: 10px;
  width: 185px;
  object-fit: cover;
  transition: all ease 0.3s;
}

.srv_div:hover img {
  height: 200px;
  width: 200px;
}

.srv_div_v {
  width: 100%;
  margin-left: 15px;
  margin-right: 15px;
  background-color: transparent;
  height: inherit;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.srv_div_v h1 {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  margin: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.srv_div_v p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  font-size: 0.9rem;
}

.srv_div button {
  width: 90%;
  height: 35px;
  border: none;
  background: linear-gradient(to bottom, #1369cc, #184aa7);
  color: var(--text-primary);
  border-radius: 5px;
  font-family: var(--font-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: all ease 0.4s;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.srv_div button:hover {
  font-size: 1rem;
  border: 2px solid var(--primary-blue);
  background: linear-gradient(to bottom, #1575d8, #1a50b3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.srv_div button .material-symbols-outlined {
  font-size: 18px;
}

/* Services Container for Original Cards */
.services-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 2rem auto;
  padding: 1rem;
}

#servicecollectorbox {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  gap: 1rem;
  padding: 2rem;
}

/* For larger screens - show 2 cards per row */
@media (min-width: 1200px) {
  .services-cards-container {
    justify-content: space-evenly;
    gap: 2rem;
  }
  
  .srv_div {
    flex: 0 0 auto;
    margin: 1rem;
  }
}

/* For medium screens - ensure proper spacing */
@media (min-width: 992px) and (max-width: 1199px) {
  .services-cards-container {
    justify-content: space-around;
    gap: 1.5rem;
  }
}

@media (max-width: 1200px) {
  .srv_div {
    width: 450px;
    height: 300px!important;

  }
  
  .srv_div:hover {
    width: 480px;
    height: 250px;
  }
  
  .srv_div img {
    height: 170px;
    width: 170px;
  }
  
  .srv_div:hover img {
    height: 185px;
    width: 185px;
  }
}

@media (max-width: 992px) {
  .srv_div {
    width: 400px;
    height: 200px;
  }
  
  .srv_div:hover {
    width: 420px;
    height: 220px;
  }
  
  .srv_div img {
    height: 150px;
    width: 150px;
  }
  
  .srv_div:hover img {
    height: 165px;
    width: 165px;
  }
}

@media (max-width: 768px) {
  .srv_div {
    width: 100%;
    max-width: 400px;
    height: 180px;
    margin: 0.5rem;
  }
  
  .srv_div:hover {
    width: 100%;
    max-width: 420px;
    height: 200px;
    transform: translateY(-3px);
  }
  
  .srv_div img {
    height: 130px;
    width: 130px;
  }
  
  .srv_div:hover img {
    height: 145px;
    width: 145px;
  }
  
  .srv_div_v h1 {
    font-size: 1.3rem;
  }
  
  .srv_div_v p {
    font-size: 0.85rem;
  }
  
  .services-cards-container {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .srv_div {
    height: 160px;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .srv_div:hover {
    height: 166px;
  }
  
  .srv_div img {
    height: 80px;
    width: 80px;
    margin: 0 0 10px 0;
  }
  
  .srv_div:hover img {
    height: 90px;
    width: 90px;
  }
  
  .srv_div_v {
    margin: 0;
    text-align: center;
  }
  
  .srv_div_v h1 {
    font-size: 1.1rem;
  }
  
  .srv_div_v p {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  .srv_div button {
    width: 100%;
    height: 32px;
    font-size: 0.8rem;
  }
}

/* Quote Section */
.quote-section {
  padding: var(--section-padding);
  background: radial-gradient(circle at 20% 50%, rgba(82, 51, 204, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
}

.section-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quote-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(20, 25, 45, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-heavy);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(30, 35, 60, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: rgba(40, 45, 70, 0.9);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

.form-group select {
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  padding: var(--section-padding);
  text-align: center;
}

.footer-title {
  font-family: var(--font-secondary);
  font-size: 2rem;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  background: rgba(30, 36, 79, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.contact-item h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item a {
  color: var(--text-secondary);
  transition: color var(--transition-normal);
}

.contact-item a:hover {
  color: var(--primary-blue);
}

.contact-item p {
  color: var(--text-secondary);
}

.version-info {
  font-family: var(--font-secondary);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  user-select: none;
}

/* Mobile Responsive Design */
@media (max-width: 1024px) {
  .showroom-gallery {
    display: none;
  }
  
  .service-showcase {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --nav-height: 70px;
  }
  
  .navigation-menu {
    display: none;
  }
  
  .mobile-quote-btn {
    display: flex;
    background: var(--gradient-primary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
  }
  
  .mobile-quote-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-1px);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .company-name {
    font-size: 1.2rem;
  }
  
  .company-tagline,
  .license-number {
    font-size: 0.65rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .quote-form-container {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 0.75rem;
    --nav-height: 60px;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .company-logo {
    height: 30px;
  }
  
  .company-name {
    font-size: 1rem;
  }
  
  .company-tagline,
  .license-number {
    font-size: 0.6rem;
  }
  
  .mobile-quote-btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .quote-form-container {
    padding: 1rem;
    margin: 0 0.5rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-height: 44px;
  }
}

/* High-resolution displays */
@media (min-resolution: 2dppx) {
  .company-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Dark mode support (future-proofing) */
@media (prefers-color-scheme: dark) {
  /* Already dark by default, but can add specific dark mode adjustments here */
}

/* Print styles */
@media print {
  .navbar,
  .mobile-quote-btn,
  .mobile-menu-toggle,
  .showroom-gallery {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-inside: avoid;
  }
  
  * {
    background: white !important;
    color: black !important;
  }
}