/* ===================================================
   SOLAREDGE ODISHA — GLOBAL DESIGN SYSTEM
   =================================================== */

/* ---- CSS Variables ---- */
:root {
  --blue-900: #1E3A8A;
  --blue-800: #1e40af;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF6FF;

  --white:    #FFFFFF;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;

  --gold:     #F59E0B;
  --gold-light: #FEF3C7;
  --green:    #10B981;
  --green-wa: #25D366;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(30, 58, 138, 0.08);
  --shadow-md: 0 8px 30px rgba(30, 58, 138, 0.12);
  --shadow-lg: 0 20px 60px rgba(30, 58, 138, 0.18);
  --shadow-xl: 0 30px 90px rgba(30, 58, 138, 0.24);

  --glass-bg:      rgba(255, 255, 255, 0.85);
  --glass-border:  rgba(255, 255, 255, 0.6);
  --glass-dark-bg: rgba(15, 23, 42, 0.75);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: #EFF6FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: #EFF6FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
}

/* Optional brand colors on hover */
.social-btn:hover .fa-facebook-f { color: #1877F2; }
.social-btn:hover .fa-instagram { color: #E4405F; }
.social-btn:hover .fa-whatsapp { color: #25D366; }
.social-btn:hover .fa-youtube { color: #FF0000; }


.footer-links i {
  margin-right: 8px;
  color: #60a5fa; /* soft blue */
  font-size: 14px;
}

/* Align nicely */
.footer-links p,
.footer-links a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 250px;
  word-break: break-word;
}

/* Hover effect */
.footer-links a:hover {
  color: #ffffff;
}

/* WhatsApp highlight */
.footer-wa i {
  color: #25D366;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Container ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-900));
  color: white;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}
.btn-outline:hover {
  background: var(--blue-500);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-full { width: 100%; justify-content: center; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-wa);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ---- Glass Cards ---- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-100);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
 
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon svg { width: 36px; height: 36px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-900);
}
.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo-light .logo-main { color: white; }
.logo-light .logo-sub { color: var(--blue-400); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  background: var(--blue-50);
  color: var(--blue-600);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-left: auto;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- WhatsApp Float Button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--green-wa);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: float-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 40px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.08); }
}

/* ---- Sections General Spacing ---- */
section { padding: 96px 0; }

/* ---- Trust Band ---- */
.trust-band {
  padding: 40px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.trust-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  filter: grayscale(30%);
  transition: var(--transition);
  cursor: default;
}
.trust-item:hover { filter: none; transform: translateY(-3px); }
.trust-item span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Services Preview ---- */
.services-preview { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.service-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-900));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: var(--blue-100);
  transform: scale(1.05) rotate(-2deg);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
}
.service-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.6; }
.service-arrow {
  font-size: 1.3rem;
  color: var(--blue-500);
  transition: transform var(--transition);
  align-self: flex-start;
}
.service-card:hover .service-arrow { transform: translateX(6px); }

/* ---- Why Us ---- */
.why-us { background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%); }
.why-us .section-title { color: white; }
.why-us .section-tag { background: rgba(255,255,255,0.1); color: var(--blue-300, #93C5FD); border-color: rgba(255,255,255,0.2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.why-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-400);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 12px;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}
.why-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ---- FAQ ---- */
.faq-section { background: var(--white); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--blue-300); box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  background: transparent;
  text-align: left;
  gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { background: var(--blue-50); color: var(--blue-700); }
.faq-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue-500);
  transition: transform var(--transition);
  width: 24px;
  text-align: center;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  padding: 0 24px;
  background: var(--gray-50);
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 16px 24px 20px;
}

/* ---- Contact ---- */
.contact-section { background: var(--gray-50); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item strong { font-weight: 600; color: var(--gray-900); display: block; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--gray-500); font-size: 0.9rem; }
.contact-item a:hover { color: var(--blue-600); }
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue-700);
  transition: var(--transition);
}
.social-btn:hover { background: var(--blue-500); color: white; transform: translateY(-3px); }
.social-btn.whatsapp-social { background: #E7FDE8; border-color: #9BDCA1; color: #16A34A; }
.social-btn.whatsapp-social:hover { background: var(--green-wa); color: white; }

.contact-form {
  padding: 40px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--gray-900);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--gray-900);
  background: white;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 12px;
}

/* ---- Footer ---- */
.footer { background: var(--gray-900); color: white; }
.footer-top { padding: 64px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0;
}
.footer-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}
.footer-links h4 {
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  font-size: 0.95rem;
}
.footer-links a,
.footer-links p {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--blue-400); transform: translateX(4px); }
.footer-wa {
  color: var(--green-wa) !important;
}
.footer-wa:hover { color: white !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom-inner p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #0d1532;
  margin-bottom: 16px;
  position: relative;
}
.page-hero-sub {
  color: #0d1532;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ---- Animations ---- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-link { padding: 14px 18px; border-radius: var(--radius-md); text-align: center; font-size: 1rem; }
  .hamburger { display: flex; }
  .btn-whatsapp { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
}
