/*
  VEEKA & ARADU clone stylesheet
  This stylesheet defines the look and feel of the website cloned from
  veeka‑aradu.lovable.app. Colours, typography and layout were chosen to
  closely mirror the original design while remaining responsive and easy
  to maintain.
*/

/* CSS Variables for consistent theming */
:root {
  --primary: #0a2e63;        /* dark blue */
  --secondary: #ee9b00;      /* warm orange */
  --primary-light: #284b7a;  /* lighter blue */
  --secondary-light: #f4b74d;/* lighter orange */
  --light-bg: #f7fafc;       /* soft off‑white */
  --dark-bg: #0f172a;        /* very dark blue for contrast */
  --text-dark: #1f2937;      /* dark grey for body text */
  --text-light: #f9fafb;     /* near white for dark backgrounds */
  --border: #e5e7eb;         /* light grey border colour */
  --shadow: rgba(0, 0, 0, 0.06);
  --radius: 0.5rem;
}

/* Global resets and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

u
l {
  list-style: none;
}

/* Utility classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.3s ease;
  text-align: center;
}

.btn:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.section-badge {
  display: inline-block;
  background: var(--secondary-light);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  text-align: center;
}

.section-desc {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

/* Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 4px var(--shadow);
  z-index: 1000;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.125rem;
}

.logo-icon {
  font-size: 1.5rem;
  margin-right: 0.25rem;
}

/* Custom logo images */
.logo-img {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
}

.company-logo-img {
  width: 150px;
  max-width: 100%;
  height: auto;
  margin-right: 1rem;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  padding-top: 96px; /* account for fixed nav */
  background: radial-gradient(circle at 30% 30%, var(--primary-light) 0%, var(--primary) 70%), url('');
  color: var(--text-light);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-light);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--light-bg);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--light-bg);
}

.hero-graphic {
  display: none; /* hide on small screens */
}

/* Energy orbit graphic for larger screens */
@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
  .hero-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .energy-orbit {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--secondary-light), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.2);
  }
  .energy-icon {
    font-size: 4rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    /* Rotate the energy icon continuously */
    animation: rotate 20s linear infinite;
  }
  .orbit {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    animation: rotate 20s linear infinite;
  }
  .orbit1 {
    width: 320px;
    height: 320px;
    top: -30px;
    left: -30px;
  }
  .orbit2 {
    width: 380px;
    height: 380px;
    top: -60px;
    left: -60px;
    animation-duration: 30s;
  }
  @keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
}

/* About section */
.about {
  padding: 5rem 0;
  background: var(--light-bg);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 4px var(--shadow);
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--text-dark);
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 4px var(--shadow);
  text-align: center;
}

.feature-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.feature-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary);
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Company section */
.company-info {
  padding: 5rem 0;
  background: var(--light-bg);
}

.company-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.company-logo .logo-box {
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px var(--shadow);
}

.company-icon {
  font-size: 4rem;
  color: var(--text-light);
}

.company-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.company-text p {
  max-width: 600px;
  color: var(--text-dark);
}

.company-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.comp-feature {
  text-align: center;
}

.comp-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.comp-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.comp-feature p {
  font-size: 0.875rem;
  color: var(--text-dark);
}

/* Results section */
.results {
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--text-light);
  padding: 5rem 0;
  text-align: center;
}

.results-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.results-desc {
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.result-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.result-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-light);
}

.result-label {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: var(--text-light);
}

.result-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Packages section */
.packages {
  padding: 5rem 0;
  background: var(--light-bg);
}

.packages-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

.packages-desc {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

.packages-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.highlight-item {
  background: var(--primary-light);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.tab-nav {
  display: flex;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  background: #fff;
}

.tab-btn {
  flex: 1 1 0;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.3s ease;
}

.tab-btn:hover {
  background: var(--light-bg);
}

.tab-btn.active {
  background: var(--secondary-light);
  color: var(--primary);
}

.tab-content {
  margin-bottom: 3rem;
}

.package-note {
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 0.875rem;
}

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

.package-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 4px var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.package-card.popular {
  border-color: var(--secondary);
}

.popular-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
}

.package-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.package-features {
  flex: 1;
  margin-bottom: 1rem;
}

.package-features li {
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  position: relative;
  padding-left: 1.25rem;
}

.package-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 0.875rem;
}

/* Important notes and special offer */
.important {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.note-item {
  flex: 1;
  font-size: 0.875rem;
}

.note-sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .important {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.special-offer {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px var(--shadow);
}

.special-offer h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.special-offer p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Contact section */
.contact {
  padding: 5rem 0;
  background: var(--light-bg);
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 4px var(--shadow);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-form .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text-dark);
  background: var(--light-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(238, 155, 0, 0.3);
}

.contact-form button {
  margin-top: 1rem;
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 4px var(--shadow);
}

.info-icon {
  font-size: 2rem;
  color: var(--secondary);
}

.go-solar {
  background: var(--primary);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 4px var(--shadow);
}

.go-solar h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--secondary-light);
}

.go-solar p {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--secondary-light);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-about p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--secondary-light);
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
}

.footer-links ul a:hover {
  color: var(--secondary-light);
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2rem;
}

/* ------------------------------------------------------------------------------------ */
/* Additional styles for WhatsApp bar and chatbot */

/* WhatsApp contact bar */

/* Chatbot styles */
.chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--secondary);
  color: var(--text-light);
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px var(--shadow);
  z-index: 1000;
}

.chatbot-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  max-width: calc(100% - 40px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 10px var(--shadow);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.chat-header {
  background: var(--primary);
  color: var(--text-light);
  padding: 0.75rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.chat-header button {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.chat-messages {
  padding: 0.75rem;
  height: 200px;
  overflow-y: auto;
  background: var(--light-bg);
  font-size: 0.875rem;
}

.chat-messages .msg {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.chat-messages .user {
  text-align: right;
  color: var(--primary);
}

.chat-messages .bot {
  text-align: left;
  color: var(--secondary);
}

#chat-form {
  display: flex;
  border-top: 1px solid var(--border);
}

#chat-input {
  flex: 1;
  border: none;
  padding: 0.75rem;
  font-size: 0.875rem;
}

#chat-input:focus {
  outline: none;
}

#chat-form button {
  background: var(--primary);
  color: var(--text-light);
  border: none;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

#chat-form button:hover {
  background: var(--secondary);
}

/* Floating WhatsApp button */
.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25d366;
  color: #fff;
  padding: 0.75rem;
  border-radius: 50%;
  box-shadow: 0 2px 4px var(--shadow);
  font-size: 1.25rem;
  line-height: 1;
  z-index: 1000;
  text-decoration: none;
      background-image: url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/icons/whatsapp.svg');
              background-size: 60% 60%;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent;
}

.whatsapp-icon:hover {
  background: #1ebf53;
}

/* Mobile responsiveness adjustments */
@media (max-width: 768px) {
  /* Stack nav content vertically on small screens */
  .nav-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
  }
  .nav-links a {
    display: block;
    padding: 0.5rem 0;
  }
  /* Center hero text and adjust sizes */
  .hero-content {
    text-align: center;
    padding: 2rem 1rem;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  /* Stack contact form fields */
  .contact-form .form-row {
    flex-direction: column;
  }
  .contact-form .form-group {
    width: 100%;
  }
  /* Stack footer sections */
  footer .container {
    flex-direction: column;
    gap: 1rem;
  }
}
