/* ============================================
   VOLERA BATTERIES - MODERN REDESIGN
   Clean, Interactive, Professional
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-color: #667eea;
  --accent-hover: #5568d3;
  --accent-light: rgba(102, 126, 234, 0.1);
  --text-primary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-secondary: rgba(255, 255, 255, 0.85);
  --bg-dark: #000000;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-accent: 0 8px 25px rgba(102, 126, 234, 0.3);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ===== SMOOTH SCROLLING ===== */
html {
  scroll-behavior: smooth;
}

/* ===== ENHANCED TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  font-weight: 600;
}

p {
  line-height: 1.7;
  color: var(--text-muted);
}

/* ===== MODERN BUTTON STYLES ===== */
.button {
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-accent);
  background: var(--bg-dark);
  border: 1px solid var(--accent-color);
}

.button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--accent-light);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 0;
}

.button:hover::before {
  width: 400px;
  height: 400px;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.button > div,
.button-icon {
  position: relative;
  z-index: 1;
}

/* ===== NAVBAR ENHANCEMENTS ===== */
.navbar_component {
  backdrop-filter: blur(12px) saturate(180%);
  background: rgba(0, 0, 0, 0.7);
  transition: var(--transition-smooth);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar_link {
  position: relative;
  transition: var(--transition-fast);
  padding: 0.75rem 1.25rem;
}

.navbar_link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.navbar_link:hover::after,
.navbar_link.w--current::after {
  width: 70%;
}

.navbar_link:hover {
  color: var(--accent-color);
}

/* ===== HERO SECTION ===== */
.hero_heading h1 {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero_rotating-badge {
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero_abstruct-image {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ===== BACKGROUND ELEMENTS ===== */
.bg-color-left,
.bg-color-right {
  filter: blur(140px);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.bg-color-left {
  background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
}

.bg-color-right {
  background: radial-gradient(circle, rgba(118, 75, 162, 0.3) 0%, transparent 70%);
}

/* ===== STATS/NUMBERS ENHANCEMENT ===== */
.home_about_item {
  transition: var(--transition-smooth);
  padding: 2rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.home_about_item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-accent);
}

.home_about_title h3 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

/* ===== IMAGE HOVER EFFECTS ===== */
.home_about_image,
.home_services_image,
.home_testimony_image,
.home_work_image {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.home_about_image img,
.home_services_image img,
.home_testimony_image img,
.home_work_image img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.home_about_image:hover img,
.home_services_image:hover img,
.home_testimony_image:hover img,
.home_work_image:hover img {
  transform: scale(1.08);
}

/* ===== SERVICE ACCORDION ENHANCEMENTS ===== */
.home_services_item {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.home_services_item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-color);
  transform: translateX(12px);
  box-shadow: var(--shadow-accent);
}

.home_services_icon {
  transition: var(--transition-smooth);
  width: 2.5rem;
  height: 2.5rem;
}

.home_services_item:hover .home_services_icon {
  transform: rotate(45deg) scale(1.1);
  color: var(--accent-color);
}

.home_services_number {
  color: var(--accent-color);
  font-weight: 600;
  opacity: 0.7;
}

.home_services_title {
  transition: var(--transition-fast);
}

.home_services_item:hover .home_services_title {
  color: var(--accent-color);
}

.home_services_text {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== TESTIMONIAL STYLING ===== */
.home_testimony_content {
  max-width: 900px;
  margin: 0 auto;
}

.home_testimony_content-wrap {
  width: 100%;
}

.home_testimony_quote {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  border-left: 3px solid var(--accent-color);
  padding-left: 2rem;
  position: relative;
}

.home_testimony_quote::before {
  content: '"';
  position: absolute;
  left: -0.5rem;
  top: -1rem;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.home_testimony_author {
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
  text-align: center;
}

.home_testimony_meta {
  text-align: center;
}

.home_testimony_slide-content {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.home_testimony_slide-content:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-color);
  box-shadow: var(--shadow-accent);
}

.home_testimony_arrow {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  transition: var(--transition-smooth);
}

.home_testimony_arrow:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
.section_contact {
  position: relative;
  overflow: hidden;
}

.contact_component {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact_content h2 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact_content > p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

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

.contact_card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact_card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-color);
  transform: translateY(-8px);
  box-shadow: var(--shadow-accent);
}

.contact_icon {
  width: 64px;
  height: 64px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  transition: var(--transition-smooth);
}

.contact_card:hover .contact_icon {
  background: var(--accent-color);
  color: var(--text-primary);
  transform: scale(1.1) rotate(5deg);
}

.contact_label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact_link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

.contact_link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition-smooth);
}

.contact_link:hover::after {
  width: 100%;
}

.contact_link:hover {
  color: var(--accent-hover);
  transform: translateY(-2px);
}

.contact_text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== FOOTER CTA ENHANCEMENT ===== */
.footer_cta {
  background: var(--primary-gradient);
  border-radius: 20px;
  padding: 3.5rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-accent);
  position: relative;
  overflow: hidden;
}

.footer_cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.footer_cta:hover::before {
  left: 100%;
}

.footer_cta:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.6);
}

.footer_cta-text {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--text-primary);
}

.footer_cta-icon {
  transition: var(--transition-smooth);
}

.footer_cta:hover .footer_cta-icon {
  transform: rotate(45deg) scale(1.2);
}

/* ===== FOOTER STYLING ===== */
.footer_link-item {
  transition: var(--transition-fast);
  padding: 0.5rem 0;
}

.footer_link-item:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer_link_title {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-w-id] {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* ===== LOADING ANIMATION FOR IMAGES ===== */
img {
  opacity: 0;
  animation: fadeIn 0.6s ease-in 0.2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ===== FOCUS STATES FOR ACCESSIBILITY ===== */
a:focus,
button:focus,
.button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ===== SECTION SPACING ===== */
section {
  position: relative;
  overflow: hidden;
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 991px) {
  .home_services_item:hover {
    transform: translateX(8px);
  }
  
  .home_about_title h3 {
    font-size: 2.5rem;
  }
  
  .footer_cta {
    padding: 2.5rem;
  }
  
  .contact_info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .button {
    padding: 0.75rem 1.5rem;
  }
  
  .home_services_item {
    padding: 1.5rem;
  }
  
  .home_testimony_slide-content {
    padding: 2rem;
  }
  
  .footer_cta {
    padding: 2rem;
  }
  
  .home_about_item {
    padding: 1.5rem;
  }
  
  .contact_card {
    padding: 2rem 1.5rem;
  }
  
  .contact_icon {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 479px) {
  .home_services_item:hover {
    transform: translateX(4px);
  }
  
  .navbar_link {
    padding: 0.5rem 1rem;
  }
  
  .contact_link {
    font-size: 1.125rem;
  }
  
  .contact_text {
    font-size: 1rem;
  }
}

/* ===== SMOOTH TRANSITIONS FOR ALL INTERACTIVE ELEMENTS ===== */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

/* ===== SELECTION STYLING ===== */
::selection {
  background: var(--accent-color);
  color: var(--text-primary);
}

::-moz-selection {
  background: var(--accent-color);
  color: var(--text-primary);
}
