/* ============================================
   PLUG UP - CHARGING SOLUTIONS
   Modern EV Charging Station Installer Website
   ============================================ */

/* ============ ROOT & TYPOGRAPHY ============ */
:root {
  --primary-blue: #009FE3;
  --dark-bg: #1a1a2e;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --text-muted: #666666;
  --border-light: #e0e0e0;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-gray);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ TOP BAR ============ */
.top-bar {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-bar-content {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.top-bar-left {
  display: flex;
  gap: 25px;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-left i {
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .top-bar-left {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
  }
  .top-bar {
    padding: 8px 0;
    font-size: 0.8rem;
  }
  .top-bar-left span {
    gap: 5px;
  }
}

@media (max-width: 400px) {
  .top-bar-left {
    gap: 10px;
    font-size: 0.7rem;
  }
}

/* ============ HEADER ============ */
.header {
  background-color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 40px;
}

.nav {
  display: flex;
  gap: 35px;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  font-size: 1rem;
}

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

.nav-link.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
  font-weight: 600;
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-gray);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav .nav-link {
  padding: 12px 20px;
  border: none;
  text-align: left;
  border-left: 3px solid transparent;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  background-color: var(--light-gray);
  border-left-color: var(--primary-blue);
  color: var(--primary-blue);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav {
    display: none;
  }
  .header-content {
    gap: 15px;
  }
}

/* ============ HERO SECTIONS ============ */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-overlay {
  display: none;
}

.blue-overlay::before {
  background: rgba(0, 159, 227, 0.5) !important;
}

.dark-overlay::before {
  background: rgba(0, 0, 0, 0.6) !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
  }
  h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #0085c0;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--white);
  background-color: transparent;
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.btn-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-link:hover {
  color: #0085c0;
}

/* ============ SECTIONS ============ */
.section {
  padding: 80px 0;
}

.light-bg {
  background-color: var(--light-gray);
}

.dark-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--white);
  min-height: 60vh;
  display: flex;
  align-items: center;
  z-index: 1;
}

.dark-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.dark-section > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
}

/* ============ TEXT UTILITIES ============ */
.text-center {
  text-align: center;
}

.link-more {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 1.1rem;
}

.link-more:hover {
  color: #0085c0;
}

/* ============ INSTALLATION SECTION ============ */
.installation-section {
  background-color: var(--white);
}

.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.content-col h2 {
  text-align: left;
  font-size: 2rem;
}

.content-col p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.image-col img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.rounded-image {
  border-radius: 10px;
}

@media (max-width: 768px) {
  .content-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .content-col h2 {
    text-align: center;
    font-size: 1.5rem;
  }
}

/* ============ SOLUTIONS GRID (4 CARDS) ============ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.solution-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  cursor: pointer;
}

.solution-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.solution-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 25px;
  text-align: center;
}

.card-content i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 10px;
  display: block;
}

.card-content h3 {
  color: var(--dark-gray);
  margin: 0;
  font-size: 1.2rem;
}

@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ SERVICE SECTIONS ============ */
.service-section {
  background-color: var(--white);
}

.service-section.light-bg {
  background-color: var(--light-gray);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.service-row.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-row.reverse .service-image {
  order: 2;
}

.service-row.reverse .service-content {
  order: 1;
}

.service-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-content h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.service-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .service-row.reverse {
    grid-template-columns: 1fr;
  }
  .service-row.reverse .service-image {
    order: 1;
  }
  .service-row.reverse .service-content {
    order: 2;
  }
  .service-content h2 {
    text-align: center;
    font-size: 1.5rem;
  }
}

/* ============ 3-STEP PROCESS ============ */
.process-section {
  background-color: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--primary-blue);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  text-align: center;
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
}

.step h3 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .steps-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    font-size: 1.1rem;
  }
}

/* ============ TRUST/ABOUT SECTION ============ */
.trust-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.trust-content h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 1.5rem;
}

.intro-text {
  color: var(--primary-blue);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.trust-list {
  list-style: none;
  margin-bottom: 2rem;
  text-align: center;
}

.trust-list li {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  padding-left: 30px;
  position: relative;
}

.trust-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.trust-subsection {
  margin-top: 2rem;
}

.trust-subsection h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.trust-subsection p {
  color: var(--white);
  font-size: 1rem;
}

.trust-content .btn {
  margin-top: 2rem;
}

/* ============ PARTNERS SECTION ============ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.partner-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.partner-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.partner-card h3 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.partner-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============ CONTACT SECTION ============ */
.contact-section {
  background-color: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-col h2,
.contact-info-col h2 {
  text-align: left;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-gray);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--dark-gray);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.1);
}

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

.captcha-group input {
  max-width: 150px;
}

.contact-info-block {
  display: flex;
  gap: 20px;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info-block i {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-top: 3px;
  min-width: 30px;
}

.contact-info-block p {
  margin: 0;
  color: var(--text-muted);
}

.contact-info-block a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-block a:hover {
  color: #0085c0;
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============ MAP SECTION ============ */
.map-section {
  padding: 0;
}

.map-section iframe {
  width: 100%;
  display: block;
}

/* ============ FOOTER ============ */
.footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  align-items: start;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.footer-contact {
  text-align: right;
}

.footer-contact p {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--primary-blue);
  margin-right: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-blue);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-nav {
    text-align: center;
  }
  .footer-contact {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
}

/* ============ SCROLL ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE UTILITIES ============ */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
  .container {
    padding: 0 20px;
  }
  h1 {
    font-size: 2.8rem;
  }
  .nav {
    gap: 20px;
  }
  .nav-link {
    font-size: 0.9rem;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.4rem;
  }
  h2 {
    font-size: 2rem;
  }
  .hero {
    min-height: 55vh;
    padding: 50px 0;
  }
  .hero-content {
    max-width: 650px;
  }
  .content-row {
    gap: 30px;
  }
  .service-row {
    gap: 30px;
  }
  .steps-container {
    gap: 25px;
  }
  .footer-top {
    gap: 25px;
  }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  .hero {
    min-height: 45vh;
    padding: 40px 0;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-content {
    max-width: 100%;
    padding: 0 10px;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .trust-content {
    max-width: 100%;
    text-align: left;
  }
  .trust-content h2 {
    text-align: left;
    font-size: 1.6rem;
  }
  .trust-list {
    text-align: left;
  }
  .trust-list li {
    font-size: 0.95rem;
  }
  .dark-section {
    min-height: auto;
    padding: 60px 0;
  }
  .partner-card {
    padding: 25px;
  }
  /* Better touch targets for mobile */
  .btn {
    padding: 14px 28px;
    font-size: 1rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav .nav-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1rem;
  }
}

/* Phones */
@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .section {
    padding: 35px 0;
  }
  .top-bar {
    padding: 6px 0;
    font-size: 0.8rem;
  }
  .top-bar-left {
    gap: 5px;
  }
  .logo img {
    height: 35px;
  }
  .header {
    padding: 10px 0;
  }
  .hero {
    min-height: 40vh;
    padding: 30px 0;
  }
  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
  .btn-outline {
    width: auto;
  }
  .solution-card img {
    height: 180px;
  }
  .card-content {
    padding: 15px;
  }
  .card-content i {
    font-size: 1.5rem;
  }
  .step-icon {
    width: 65px;
    height: 65px;
    font-size: 1.5rem;
  }
  .contact-form-col h2,
  .contact-info-col h2 {
    text-align: center;
    font-size: 1.4rem;
  }
  .form-group input,
  .form-group textarea {
    padding: 14px 12px;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
  .footer {
    padding: 35px 0 15px;
  }
  .footer-logo img {
    height: 40px;
  }
  .footer-bottom {
    font-size: 0.8rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  h1 {
    font-size: 1.4rem;
  }
  .container {
    padding: 0 12px;
  }
  .hero {
    min-height: 35vh;
  }
}
