/* ============================================================
   1. GLOBAL VARIABLES & BASE STYLES + File Importing
============================================================ */
@import url('styles-mobile-devices.css');
@import url('chat.css');

:root {
  --primary-color: #0056b3;
  --secondary-color: #007bff;
  --background-color: #f4f7fa;
  --text-color: #222;
  --cta-color: #007bff;
  --cta-hover: #004c99;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* ============================================================
   2. HEADER & NAVIGATION
============================================================ */
header.sticky {
  top: 0;
  background: var(--primary-color);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

nav {
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: white;
  transition: 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* ============================================================
   3. HERO SECTION
============================================================ */
.hero {
  display: flex;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('assets/hero2.jpg') center/cover no-repeat;
  color: var(--primary-color);
  height: 60vh;
  text-align: center;
  align-items: end;
  justify-content: center;
}

.hero-overlay h1 {
  font-size: 4rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: 700;
}

.hero-overlay p {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
}

.cta-button-hero {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--cta-color);
  color: white;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: var(--cta-hover);
  transform: translateY(-2px);
}

/* ============================================================
   4. SECTION LAYOUT & TITLES
============================================================ */
section {
  width: 100%;
  padding: 40px 40px;
}

h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* ============================================================
   5. TECHNOLOGIES GRID (PROJECTS)
============================================================ */
#projects .section-title {
  color: var(--primary-color);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tech-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 15px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.tech-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tech-card:active {
  transform: scale(0.97);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.tech-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.tech-card h3 {
  font-size: 1.1rem;
  color: #007bff;
  margin-bottom: 6px;
}

.tech-card p {
  font-size: 0.9rem;
  color: #444;
}

/* ============================================================
   6. INVESTMENT PLANS SECTION
============================================================ */
#plans .heading-text {
  color: var(--primary-color);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
}

#plans .offered-plans {
  display: flex;
  justify-content: space-around;
  /* flex-wrap: wrap; */
}

#plans .inv-card-outerLayer {
  display: flex;
  width: 30vw;
  height: 50vh;
  margin-bottom: 40px;
}

#plans .left-part {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
}

#plans .left-part h3 {
  font-size: 2rem;
  color: var(--secondary-color);
}

#plans .right-part {
  padding: 20px 10px;
}

#plans .right-part img {
  width: 15vw;
  height: 45vh;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  object-fit: cover;
  object-position: center center;
}

/* ============================================================
   7. BENEFITS SECTION & CAROUSEL
============================================================ */
#benefits {
  width: 100%;
}

#benefits h2 {
  color: var(--primary-color);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
}

.benefit-carousel {
  width: 100%;
  max-width: 100%;
  display: flex;
  gap: 20px;
  padding: 20px;
  justify-content: space-around;
  box-sizing: border-box;
}

.benefit-card {
  width: 25%;
  min-width: 250px;
  max-width: 400px;
  height: 380px;
  scroll-snap-align: center;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  animation: fadeUp 0.8s ease forwards;
}

.benefit-card:first-child {
  margin-left: 0;
}

.benefit-card:last-child {
  margin-right: 0;
}

.benefit-card:nth-child(1) {
  animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
  animation-delay: 0.3s;
}

.benefit-card:nth-child(3) {
  animation-delay: 0.5s;
}


.benefit-overlay {
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 80%);
  color: #fff;
  padding: 25px 20px;
  border-radius: 0 0 16px 16px;
}

.benefit-overlay h3,
.benefit-overlay p {
  color: #fff !important;
  z-index: 1;
  position: relative;
}

.benefit-overlay h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: bold;
}

.benefit-overlay p {
  font-size: 0.95rem;
  color: #ddd;
}

/* ============================================================
  8. CLIENTS SECTION
============================================================ */
#clients h2 {
  color: var(--primary-color);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
}

.clients-section {
  padding: 80px 20px;
  text-align: center;
}

.client-timeline {
  display: flex;
  justify-content: space-around;
  overflow-x: auto;
  gap: 30px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.client-step {
  width: 25vw;
  height: 40vh;
  background: #ffffff;
  border-left: 6px solid #0056b3;
  border-radius: 14px;
  padding: 25px 20px;
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.1);
  scroll-snap-align: start;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.client-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 86, 179, 0.2);
}

.step-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70%;
  margin-bottom: 16px;
}

.step-logo img {
  border-radius: 10px;
  max-height: 90%;
  object-fit: fill;
  object-position: center center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.client-step:hover .step-logo img {
  transform: scale(1.05);
}

.step-info h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: #222;
}

.step-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}


/* ============================================================
  9. CONTACT SECTION
============================================================ */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.contact-left {
  flex: 1;
  min-width: 300px;
  background-color: #eee;
}

.contact-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-right {
  flex: 0.5;
  padding: 40px 30px;
  min-width: 300px;
}

.contact-right h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-right p {
  margin-bottom: 20px;
  color: #444;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.cta-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--cta-color);
  color: white;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: center;
  width: 100%;
  font-size: 1.2rem;
}

/* ============================================================
  10. ANIMATIONS
============================================================ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
  12. FOOTER STYLES
============================================================ */
footer {
  width: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  text-align: center;
  padding: 22px 10px 12px 10px;
  margin-top: 40px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

footer p {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
}