/* Base Styles */
:root {
  --bg-color: #f5f5f5;
  --text-color: #333333;
  --card-bg: #ffffff;
  --header-bg: #ffffff;
  --footer-bg: #e9e9e9;
  --section-bg: rgba(255, 255, 255, 0.9);
  --border-color: rgba(0, 0, 0, 0.1);
  --neon-glow: 0 0 5px rgba(0, 191, 255, 0.3), 0 0 10px rgba(0, 191, 255, 0.2),
    0 0 15px rgba(0, 191, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: background-color 0.3s, color 0.3s;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

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

section {
  padding: 80px 0;
  background-color: var(--section-bg);
  border-bottom: 1px solid var(--border-color);
}

h1,
h2,
h3,
h4 {
  margin-bottom: 20px;
  font-weight: 700;
}

p {
  margin-bottom: 15px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--white); /* default button background */
  color: var(--light-blue); /* default text color */
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #000000; /* always visible black border */
  cursor: pointer;
}

.btn:hover {
  background-color: var(--light-blue); /* fill with light blue */
  color: var(--white); /* text becomes white */
  box-shadow: var(--neon-glow); /* glow effect */
  border-color: var(--light-blue); /* border also becomes light blue */
}

a {
  text-decoration: none; /* removes underline */
  color: black; /* makes text black */
}

a:hover {
  color: black; /* keep it black on hover too */
}

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

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

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

.logo-icon {
  width: 50px; /* size */
  height: 50px; /* force equal width & height for perfect circle */
  border-radius: 50%; /* makes it circular */
  object-fit: cover; /* keeps the image proportionate inside circle */
  margin-right: 8px;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-color);
  font-family: sans;
}

nav ul {
  display: flex;
  list-style: none;
  align-items: center;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: var(--light-blue);
  text-shadow: var(--neon-glow);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  color: var(--text-color);
  background: none;
  border: none;
  cursor: pointer;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--text-color);
  margin-left: 20px;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  color: var(--light-blue);
  text-shadow: var(--neon-glow);
}

/* Hero Section with Carousel */
.hero {
  padding-top: 150px;
  position: relative;
  overflow: hidden;
}

.carousel {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-inner {
  width: 400%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  width: 25%;
  height: 100%;
  position: relative;
}

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

.carousel-caption {
  position: absolute;
  bottom: 50px;
  left: 50px;
  max-width: 500px;
  background-color: transparent;
  padding: 20px;
  border-radius: 5px;
  color: white;
}

.light-theme .carousel-caption {
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
}

.carousel-indicator.active {
  background-color: var(--light-blue);
  box-shadow: var(--neon-glow);
}

/* Section Common Styles */
/* .section-title {
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        } */

/* .section-title::after {
            content: '';
            position: relative;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--light-blue);
            box-shadow: var(--neon-glow);
        } */

/* About Section */
/* .section-title {
            text-align: left; 
            margin-bottom: 20px; 
        } */
.about-content {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.about-image:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-5px);
}

/* Services Section */
.services-content {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 40px;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card ul {
  margin-left: 5px;
}

.service-card {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 40px;
  color: var(--light-blue);
  margin-bottom: 15px;
}

/* Customers Section */
.customers-content {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 40px;
  align-items: center;
}

.customer-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.customer-logo {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.customer-logo:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-5px);
}

/* Testimonials Section */
.testimonials-content {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 40px;
  align-items: center;
}

.testimonial-card {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-5px);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--light-blue);
}

/* FAQ Section */
.faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
  box-shadow: var(--neon-glow);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

.faq-active .faq-answer {
  display: block;
}

/* contact  */
/* Contact Section */

/* .contact-section .section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
} */

/* Global Section Title */
.section-title {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

/* Global Section Subtitle */
.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.contact-section .section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #333;
}

.contact-form .btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form .btn:hover {
  background: #000;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #333;
}

.info-item i {
  font-size: 1.2rem;
  color: #000;
}

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

/* Career Section */

/* .career-section .section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
} */

.career-section .section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Intro */
.career-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.career-intro ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.career-intro ul li {
  margin: 10px 0;
  font-size: 1rem;
  color: #333;
  position: relative;
  padding-left: 20px;
}

.career-intro ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #000;
}

/* Job Openings */
.job-openings {
  margin-bottom: 50px;
}

.job-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
}

.job-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.job-card:hover {
  transform: translateY(-5px);
}

.job-card h4 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.job-card p {
  margin-bottom: 10px;
  color: #555;
}

.job-card .btn {
  background: #333;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  display: inline-block;
  transition: 0.3s;
}

.job-card .btn:hover {
  background: #000;
}

/* Application Form */
.career-form {
  max-width: 700px;
  margin: 0 auto;
}

.career-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.career-form input,
.career-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.career-form input:focus,
.career-form textarea:focus {
  border-color: #333;
}

.career-form .btn {
  background: #333;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.career-form .btn:hover {
  background: #000;
}

/* Responsive */
@media (max-width: 992px) {
  .job-list {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* Footer */
footer {
  background-color: var(--footer-bg);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--light-blue);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--light-blue);
  text-shadow: var(--neon-glow);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--card-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--light-blue);
  color: var(--white);
  box-shadow: var(--neon-glow);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content,
  .services-content,
  .customers-content,
  .testimonials-content {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-caption {
    left: 20px;
    bottom: 20px;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding-top: 120px;
  }

  .carousel {
    height: 300px;
  }

  .customer-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .customer-logos {
    grid-template-columns: 1fr;
  }

  .carousel-caption {
    left: 10px;
    bottom: 10px;
    padding: 10px;
  }

  .section-title {
    font-size: 24px;
  }
}


/* bottom to top button css */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: transparent;
  color: var(--accent, currentColor);
  border: 2px solid var(--accent, currentColor);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
  background: var(--accent, currentColor);
  color: var(--on-accent, #0beb12);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
