@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap");

/* Root variables for Light Theme */
:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --primary-color: indigo;
  --secondary-color: #f3f3f3;
  --card-bg-color: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --nav-bg-color: #ffffff;
  --nav-text-color: #333333;
  --hover-effect: linear-gradient(90deg, #6200ea, #3700b3);
}

/* Dark Theme Variables */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #121212;
    --text-color: #ffffff;
    --primary-color: rgb(70, 70, 206);
    --secondary-color: #1e1e1e;
    --card-bg-color: #1a1a1a;
    --shadow-color: rgba(255, 255, 255, 0.2);
    --nav-bg-color: #1e1e1e;
    --nav-text-color: #ffffff;
    --hover-effect: linear-gradient(90deg, #bb86fc, #3700b3);
  }
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Remove default list styles */
li {
  list-style: none;
}

/* Remove default anchor underline */
a {
  text-decoration: none;
  color: inherit;
}

/* Responsive Typography */
h1 {
  font-size: 3.2rem;
  font-weight: 500;
}

h2 {
  font-size: 2.8rem;
  font-weight: 500;
}

h3 {
  font-size: 2.4rem;
  font-weight: 500;
}

p {
  font-size: 1.6rem;
  line-height: 1.6;
}

/* Base Styles */
html {
  font-size: 62.5%;
  font-family: "Roboto", sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  background-image: url("../images/content-bg.jpg");
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}

/* Header */
.header {
  width: 100%;
  padding: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

.header.sticky {
  position: fixed;
  padding: 1rem;
  background: var(--nav-bg-color);
  box-shadow: 0px 3px 6px var(--shadow-color);
  transition: all 0.3s ease-in-out;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.navbar img {
  width: 14%;
  filter: drop-shadow(0 0 10px white);
  transition: filter 0.3s ease-in-out;
}

.navbar img:hover {
  filter: drop-shadow(10px 20px 30px white);
}

/* Hamburger Menu (for mobile responsiveness) */
.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--primary-color);
  transition: all 0.3s ease-in-out;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  margin-left: 5rem;
}

/* Navigation Links */
.nav-link {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  position: relative;
  padding-top: 5px;
  transition: color 0.3s ease-in-out;
}

/* Underline Animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, violet, indigo);
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
}

/* Active Link */
.nav-link.active {
  font-weight: bold;
  color: indigo;
}

/* Parallax Section */
.parallax-section {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: darkmagenta;
  text-shadow: 0 0 10px #fff;
  font-size: 10rem;
  font-weight: bold;
  cursor: default;
  animation: fadeIn 1.5s ease-in-out;
  overflow: hidden; /* Prevents unwanted scrolling issues */
}

/* Background Overlay */
.parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/bg-1.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(5px); /* Apply blur effect */
  z-index: -1; /* Keep it behind the content */
}

/* Parallax Header Text */
.parallax-section-header .line-1 {
  font-size: 6rem;
  font-weight: 700;
}

.parallax-section-header .line-2 {
  font-size: 3rem;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-in animation for sections */
.about-content,
.services,
.technology,
.working-with-us,
.contact-us {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* About Section */
.about-section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* About Content */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.about-content.show {
  opacity: 1;
  transform: translateY(0);
}

/* Reverse flex order */
.reverse {
  flex-direction: row-reverse;
}

/* About Text */
.about-text {
  flex: 1;
  padding: 3rem;
  background-color: rgba(230, 230, 250, 0.9);
  border-radius: 10px;
}

/* About Text Paragraph */
.about-text p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #000;
  text-shadow: 0 0 10px #fff;
  margin-top: 1.5rem;
}

/* About Heading */
.about-heading {
  font-size: 3rem;
  font-weight: bold;
  color: darkorchid;
  position: relative;
  padding-left: 15px;
  filter: drop-shadow(0 0 10px #fff);
}

/* About Heading Gradient Bar */
.about-heading::before {
  content: "";
  position: absolute;
  left: 0;
  transform: translateY(20%);
  height: 80%;
  width: 5px;
  background-image: linear-gradient(180deg, violet, indigo, blue);
  border-radius: 5px;
}

/* About Image */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

/* Common Section Properties */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  position: relative;
}

/* Section Title Gradient Bar */
.section-title span {
  width: 5px;
  min-height: 20px; /* Ensures it has a minimum visible height */
  background: linear-gradient(180deg, violet, indigo, blue);
  margin-right: 15px;
  display: inline-block;
}

/* Services Section */
.services {
  padding: 80px 0;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: darkorchid;
  margin-bottom: 2rem;
}

.dark {
  color: #333;
}

.section-title span {
  width: 5px;
  height: 20px; /* Adjusted for better visibility */
  background: linear-gradient(180deg, blue, indigo, violet);
  margin-right: 15px;
  display: inline-block;
}

.section-description {
  font-size: 1.6rem;
  color: #000;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.service-card {
  background: lavender;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  cursor: pointer;
  transform: translateY(-10px);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 30%;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.service-card p {
  font-size: 1.5rem;
  color: #666;
  line-height: 1.6;
}

/* Technology Section */
.technology {
  padding: 60px 20px;
  text-align: center;
  background-color: rgba(230, 230, 250, 0.6);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.technology .section-header .section-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: darkorchid;
}

.section-header .about-content {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: #666;
  text-align: center;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.tech-card-in {
  background: lavender;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: darkorchid;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-card-in:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.tech-grid img {
  width: 20%;
  margin-bottom: 2rem;
}

.mdl-card__title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.mdl-card__supporting-text {
  font-size: 1rem;
  color: #666;
}

.tech-card-in-p {
  font-size: 1.5rem;
}

/* Clients Section */
.clients-section {
  text-align: center;
  padding: 60px 20px;
  background-color: lavender;
  overflow: hidden;
}

.clients-section h1 {
  font-size: 3rem;
  color: darkorchid;
  margin-bottom: 30px;
}

/* Wrapper for scrolling */
.clients-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Clients Slider */
.clients-slider {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollClients 20s linear infinite;
}

/* Client Box */
.client-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  text-align: center;
}

.client-box img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

.client-box p {
  font-size: 1.4rem;
  color: #555;
  font-weight: bold;
}

/* Smooth scrolling effect */
@keyframes scrollClients {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pause animation on hover */
.clients-slider:hover {
  animation-play-state: paused;
}

/* Working With Us Section */
.working-with-us {
  background: linear-gradient(30deg, blue 20%, indigo, violet);
  padding: 60px 20px;
  text-align: center;
}

.working-with-us .section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

.working-with-us .about-content {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #f8f9fa;
}

/* Grid Layout */
.working-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

/* Individual Cards */
.working-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.working-card i {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 10px;
}

.working-card h3 {
  font-size: 1.7rem;
  color: darkorchid;
  margin-bottom: 10px;
}

.working-card p {
  font-size: 1.5rem;
  color: #666;
}

/* Hover Effect */
.working-card:hover {
  cursor: pointer;
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Leadership and Team */
.team-section {
  text-align: center;
  padding: 50px 20px;
}

.team-section h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: darkorchid;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  justify-content: center;
}

.team-card {
  width: 100%;
  background: lavender;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  margin-bottom: 10px;
}

.team-card h3 {
  margin-top: 10px;
  font-size: 2.3rem;
  color: #333;
}

.designation {
  font-size: 1.5rem;
  color: #007bff;
  font-weight: bold;
  margin-top: 5px;
}

.experience {
  font-size: 1.5rem;
  color: #555;
  margin-top: 10px;
  text-align: justify;
  line-height: 1.9;
}

/* Contact Us Section */
.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-color: rgba(230, 230, 250, 0.6);
}

.contact-section h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  color: darkorchid;
}

.contact-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.contact-form h1 {
  text-align: center;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

textarea {
  resize: none;
  height: 100px;
}

button {
  width: 100%;
  padding: 10px;
  background: darkorchid;
  color: white;
  border: none;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: darkmagenta;
}

/* Phone Input Container */
.phone-container {
  display: flex;
  gap: 10px;
}

#countryCode {
  width: 30%;
}

#mobile {
  flex: 1;
}

/* Footer Section */
.footer {
  background: lavender;
  color: #000;
  padding: 40px 20px;
  font-size: 14px;
  box-shadow: inset rgba(0, 0, 0, 0.16) 0px 10px 20px,
    rgba(0, 0, 0, 0.23) 0px 10px 20px;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

/* Footer Sections */
.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 100%;
  text-align: center;
}

.about {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-tagline {
  font-style: italic;
  color: indigo;
  margin-bottom: 10px;
  text-align: center;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid darkorchid;
  display: inline-block;
  padding-bottom: 5px;
  margin-left: 1rem;
}

.footer-section p {
  margin: 5px 0;
  margin-left: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin-left: 1rem;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: #000;
  font-size: 1.5rem;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: darkorchid;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.social-icons a {
  color: darkorchid;
  font-size: 20px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: blue;
}

/* Contact Information */
.contact p i {
  color: darkorchid;
}

.contact p a {
  font-size: 1.6rem;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}

.contact p a:hover {
  color: darkorchid;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding: 1.5rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: indigo;
}

/* Alert Messages */
.alert {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  display: none;
  text-align: center;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  font-size: 1.5rem;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  font-size: 1.5rem;
  border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 20px;
  }

  .footer-section h3,
  .footer-section p,
  .footer-section ul {
    margin-left: 0;
  }

  .social-icons {
    justify-content: center;
  }
}

@media only screen and (max-width: 990px) {
  /* Header */
  .header {
    padding: 2rem;
  }

  body {
    background-size: cover;
  }

  /* Navigation */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 9rem;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s ease-in-out;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 1000;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 2.5rem 0;
  }

  /* Navbar Image */
  .navbar img {
    width: 100px;
    min-width: 20%;
  }

  /* Hamburger Menu */
  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger .bar {
    transition: 0.3s;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Parallax Section */
  .parallax-section-header .line-1 {
    font-size: 4rem;
  }

  .parallax-section-header .line-2 {
    font-size: 2rem;
  }

  .parallax-section {
    height: 100vh;
  }

  /* About Section */
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    padding: 2rem;
  }

  .about-image img {
    width: 80%;
    max-width: 300px;
    margin: auto;
    display: block;
  }

  .about-heading::before {
    height: 5px;
    width: 50px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Who We Are Section */
  .who-we-are-content {
    flex-direction: column;
    text-align: center;
  }

  .who-we-are-text {
    padding: 0;
  }

  .who-we-are-heading::before {
    height: 5px;
    width: 50px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Technology Cards */
  .tech-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    max-width: 100%;
  }

  .tech-image,
  .tech-card-img {
    width: 50px;
    height: 50px;
    margin: auto;
  }

  .tech-content {
    width: 100%;
    padding: 15px;
  }

  .tech-content h3 {
    font-size: 1.5rem;
  }

  .tech-content p {
    font-size: 1rem;
  }
}
