/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #003366;
  --secondary-color: #00a8e8;
  --accent-color: #1a936f;
  --dark-color: #0a1a2d;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --text-color: #333;
  --border-color: #e0e0e0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style-type: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-flex {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  display: inline-block;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-color);
}

.cta-header {
  width: 50%;
}

.cta-header h2 {
  display: inline-block;
}

.cta-header p {
  max-width: 100%;
  margin: 0 auto;
  color: var(--gray-color);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  height: 100%;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

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

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

.nav-links a.active {
  color: var(--secondary-color);
}

.abt {
  position: relative;
}

/* Show the mgmt div when #abt is hovered */
.abt:hover .mgmt {
  display: block;
}

.mgmt {
  display: none;
  position: absolute;
  bottom: -3.6rem;
  left: -2.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 8rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  min-width: 45%;
  max-width: 800px;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3.5rem;
}

.hero p {
  font-size: 1.3rem;
  color: var(--gray-color);
  margin-bottom: 2.5rem;
  max-width: 700px;
}

/* .hero-animation {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.animation-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.grid-line {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.05);
}

.horizontal-line {
  width: 100%;
  height: 1px;
}

.vertical-line {
  width: 1px;
  height: 100%;
}

Sequential Animation Elements
.animation-element {
  position: absolute;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animation-element.visible {
  opacity: 1;
  transform: translateY(0);
}

EV Station
.ev-station {
  left: 25%;
  bottom: 25%;
  width: 120px;
  height: 120px;
  background-color: var(--secondary-color);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
}

Telecom Tower
.telecom-tower {
  right: 30%;
  bottom: 20%;
  width: 80px;
  height: 180px;
  background-color: var(--primary-color);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 10px;
  color: white;
  font-size: 1.8rem;
}

Solar Icon
.solar-icon {
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
}

Data Flow Lines
.data-flow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.flow-line {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary-color),
    transparent
  );
  height: 2px;
  width: 100px;
  opacity: 0.7;
} */

.carousel-container {
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.08);
  height: 100%;
}

.carousel {
  display: flex;
  position: relative;
  transition: transform 700ms ease-in-out;
  height: 100%;
}

/* Individual Slide */
.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
/* .slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Navigation Buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 50%;
  padding: 12px;
  cursor: pointer;
  transition:
    background-color 300ms,
    transform 300ms;
  z-index: 10;
}

.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.75);
  transform: translateY(-50%) scale(1.1);
}

.nav-btn.prev {
  left: 16px;
}

.nav-btn.next {
  right: 16px;
}

.nav-btn svg {
  width: 24px;
  height: 24px;
  color: #374151;
}

/* Dots Indicator */
.dots-container {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: white;
  border: none;
  cursor: pointer;
  transition: all 300ms ease;
}

.dot.active {
  background-color: white;
  transform: scale(1.2);
}

.dot:not(.active) {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Services Grid */
.services-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  gap: 2rem;
  margin-top: 3rem;
  justify-content: center;
}

.service-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-height: 100%;
  max-width: 30%;
  border-top: 4px solid var(--secondary-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.service-list {
  margin-top: 1.5rem;
}

.service-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
  background-color: #e0e0e0;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-radius: 10px;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  transform: scale(1.2);
  color: var(--primary-color);
}

/* Clients */
.clients-section {
  background-color: var(--light-color);
}

.client-logos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}

.client-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-color);
  padding: 1rem 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

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

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Form */
.contact-form {
  min-width: 45%;
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* Pages */
.page-header {
  padding-top: 10rem;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  text-align: center;
}

.page-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.page-content {
  padding: 5rem 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-section {
  margin-bottom: 4rem;
}

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

.team-member {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.member-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-color: var(--light-color);
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  color: var(--secondary-color);
  overflow: hidden;
}

/* Services Page */
.service-detail {
  margin-bottom: 5rem;
}

.service-detail-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.service-detail-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-right: 1.5rem;
}

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

.service-subsection {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 168, 232, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 168, 232, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 168, 232, 0);
  }
}

/* Flow Animation */
@keyframes flow {
  0% {
    transform: translateX(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(100px) rotate(0deg);
    opacity: 0;
  }
}

/* Additional styles for enhanced content */

/* Sector-specific badges */
.sector-badge {
  display: inline-block;
  background-color: var(--light-color);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 0.3rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.sector-badge:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

.sector-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* AMC specific styles */
.amc-highlight {
  background: linear-gradient(135deg, #1a936f 0%, #0d6e4f 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 5px solid var(--secondary-color);
}

.amc-feature-list {
  margin-top: 1rem;
}

.amc-feature-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
  position: relative;
}

.amc-feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Service verticals grid */
.service-verticals-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

.vertical-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 250px;
  min-height: 100%;
  transition: var(--transition);
  border-top: 3px solid var(--secondary-color);
}

.vertical-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.contact-form-subsection {
  width: 45%;
}

.contact-info-subsection {
  width: 45%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  /* .hero-animation {
    display: none;
  } */

  .hero {
    text-align: center;
  }

  .service-verticals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 50%;
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-toggle {
    display: block;
  }

  .container-flex {
    flex-direction: column;
  }

  .carousel {
    width: 100%;
  }

  .slide-content h1 {
    font-size: 2.5rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .nav-btn {
    padding: 0.5rem;
  }

  .nav-btn svg {
    width: 20px;
    height: 20px;
  }

  .cta-header {
    width: 100%;
    text-align: center;
  }

  .client-logos {
    justify-content: center;
  }

  .contact-form {
    width: 100%;
    padding: 2rem 1.5rem;
  }

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

  .service-card {
    max-width: 50%;
  }

  .service-detail-header {
    flex-direction: column;
    text-align: center;
  }

  .service-detail-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .vertical-card {
    max-width: 50%;
  }

  .amc-feature-list li {
    font-size: 0.95rem;
  }
  .contact-form-subsection {
    width: 100%;
  }

  .contact-info-subsection {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
  }

  .slide-content h1 {
    font-size: 1.75rem;
  }

  .slide-content p {
    font-size: 0.875rem;
  }

  .service-flex {
    flex-direction: column;
    justify-content: start;
  }

  .service-card {
    max-width: 100%;
  }

  .service-verticals-flex {
    flex-direction: column;
    justify-content: start;
  }

  .vertical-card {
    max-width: 100%;
  }

  .sector-badges-container {
    justify-content: center;
  }
}
