
/* ========================================
   LUXURIOUS BLUE THEME CSS
   Multi-shaded Blue Elegant Design
   ======================================== */

/* CSS Variables for Blue Color Palette */
:root {
  /* Blue Color Palette */
  --navy-blue: #1a237e;
  --royal-blue: #3f51b5;
  --steel-blue: #607d8b;
  --sky-blue: #87ceeb;
  --pastel-blue: #e3f2fd;
  --light-blue: #bbdefb;
  --deep-blue: #0d47a1;
  --midnight-blue: #0c1445;
  
  /* Neutral Colors */
  --pure-white: #ffffff;
  --off-white: #fafbfc;
  --light-gray: #f5f7fa;
  --medium-gray: #90a4ae;
  --dark-gray: #37474f;
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  
  /* Spacing */
  --section-padding: 60px 0;
  --container-padding: 0 20px;
  --content-max-width: 1200px;
  
  /* Shadows */
  --shadow-light: 0 2px 15px rgba(26, 35, 126, 0.08);
  --shadow-medium: 0 8px 30px rgba(26, 35, 126, 0.12);
  --shadow-heavy: 0 15px 50px rgba(26, 35, 126, 0.15);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ========================================
   RESET AND BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--navy-blue);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--dark-gray);
  line-height: 1.7;
}

/* ========================================
   HEADER STYLES - COMPACT VERSION
   ======================================== */

header {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--royal-blue) 100%);
  box-shadow: var(--shadow-medium);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header > div {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pure-white);
}

.logo span {
  color: var(--sky-blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--pure-white);
  color: var(--pure-white);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.9rem;
}

.menu-toggle:hover {
  background-color: var(--pure-white);
  color: var(--navy-blue);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-menu a {
  color: var(--pure-white);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--sky-blue);
}

/* ========================================
   SECTION LAYOUTS
   ======================================== */

/* Base Section Styling */
section {
  max-width: var(--content-max-width);
  margin: 60px auto;
  padding: 50px 40px;
  background: var(--pure-white);
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  position: relative;
  text-align: justify;
}

/* Two-column sections with images */
section#about,
section#services,
section#industries,
section#why-automation {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* Alternate image position */
section#about,
section#industries {
  flex-direction: row;
}

section#services,
section#why-automation {
  flex-direction: row-reverse;
}

/* Content area in two-column sections */
section#about > div:first-child,
section#services > div:first-child,
section#industries > div:first-child,
section#why-automation > div:first-child {
  flex: 1;
}

/* Image area in two-column sections */
section#about > div:last-child,
section#services > div:last-child,
section#industries > div:last-child,
section#why-automation > div:last-child {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-medium);
}

/* Image styling */
section img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
  transition: var(--transition-smooth);
}

section img:hover {
  transform: scale(1.05);
}

/* Text-only sections */
section.text-only,
section#how-it-works,
section#why-AH,
section#service-area,
section#comparison,
section#buyers-guide,
section#faqs,
section#choose-product,
section#seo-content {
  display: block;
  text-align: justify;
}

/* Alternating section backgrounds */
section:nth-of-type(even) {
  background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--light-blue) 100%);
}

/* ========================================
   BUTTONS
   ======================================== */

a[href$=".html"], 
button,
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--royal-blue) 0%, var(--navy-blue) 100%);
  color: var(--pure-white);
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

a[href$=".html"]:hover,
button:hover,
.btn:hover {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-blue) 100%);
  box-shadow: var(--shadow-heavy);
  transform: translateY(-2px);
}

/* ========================================
   LISTS
   ======================================== */

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: var(--dark-gray);
  font-size: 1.05rem;
}

ul li:before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--royal-blue);
  font-weight: bold;
  font-size: 1.1rem;
}

/* ========================================
   TABLES
   ======================================== */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  background: var(--pure-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

table th,
table td {
  padding: 20px 16px;
  text-align: left;
  border-bottom: 1px solid var(--light-blue);
}

table th {
  background: linear-gradient(135deg, var(--royal-blue) 0%, var(--navy-blue) 100%);
  color: var(--pure-white);
  font-weight: 600;
  font-family: var(--font-secondary);
  font-size: 1rem;
}

table tr:hover {
  background-color: var(--pastel-blue);
  transition: var(--transition-fast);
}

/* ========================================
   FAQ SECTION
   ======================================== */

#faqs dl {
  max-width: 900px;
  margin: 0 auto;
}

#faqs dt {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy-blue);
  margin-bottom: 12px;
  margin-top: 32px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

#faqs dt:hover {
  color: var(--royal-blue);
}

#faqs dd {
  background: var(--pure-white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
  border-left: 4px solid var(--royal-blue);
  font-size: 1rem;
  line-height: 1.6;
}


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  :root {
    --section-padding: 40px 0;
    --container-padding: 0 15px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-blue);
    box-shadow: var(--shadow-heavy);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu ul {
    flex-direction: column;
    padding: 16px;
    gap: 0;
  }
  
  .nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu a {
    display: block;
    padding: 12px 0;
  }
  
  /* Section responsive */
  section {
    margin: 30px 15px;
    padding: 30px 20px;
  }
  
  /* Two-column layouts become single column on mobile */
  section#about,
  section#services,
  section#industries,
  section#why-automation {
    flex-direction: column !important;
    gap: 30px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  p {
    font-size: 1rem;
  }
  
  footer > div {
    flex-direction: column;
    text-align: center;
  }
  
  footer nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  

@media (max-width: 480px) {
  section {
    padding: 25px 15px;
    margin: 20px 10px;
  }
  
  body > div:last-child a {
    padding: 10px 14px;
    font-size: 0.8rem;
    min-width: 140px;
    gap: 10px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  p {
    font-size: 0.95rem;
  }
}

/* ========================================
   SMOOTH SCROLLING
   ======================================== */

html {
  scroll-behavior: smooth;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Floating Contact Buttons */
.vertical-contact-bar {
  position: fixed;
  top: 35%;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}


/* ===================== */
/* ✅ Responsive Mobile CSS */
/* ===================== */

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero {
    padding: 4rem 1rem;
    font-size: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 1rem;
  }

  .vertical-contact-bar {
    top: auto;
    bottom: 20px;
    right: 15px;
    flex-direction: row;
    gap: 10px;
  }

  .contact-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}
}

/* Container fixed vertically on right center */
.vertical-contact-bar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1100;
  padding: 8px;
  background: transparent;
}

/* Common styles for all buttons */
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  text-decoration: none;
  box-shadow: var(--shadow-light);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

/* Hover effect */
.contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Green button */
.contact-btn.whatsapp {
  background-color: #28a745; /* Bootstrap Green */
  border-color: #218838;
}

.contact-btn.whatsapp:hover {
  background-color: #218838;
}

/* Blue button */
.contact-btn.phone {
  background-color: #007bff; /* Bootstrap Blue */
  border-color: #0056b3;
}

.contact-btn.phone:hover {
  background-color: #0056b3;
}

/* Red button */
.contact-btn.email {
  background-color: #dc3545; /* Bootstrap Red */
  border-color: #a71d2a;
}

.contact-btn.email:hover {
  background-color: #a71d2a;
}

/* Responsive adjustment */
@media (max-width: 600px) {
  .vertical-contact-bar {
    right: 10px;
    gap: 12px;
  }
  .contact-btn {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}
