:root {
  --primary-color: #003a9e;
  --secondary-color: #008cf0;
  --btn-color: #001264;
  --background-color: #f9f9f9;
  --text-color: #424242;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(14px, 1.2vw, 18px);
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.logo {
  margin-bottom: 0;
  height: 100%;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 8%;
  background: #fff;
  height: 6rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav h2 {
  color: var(--secondary-color);
}

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

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

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

.hero2 {
  height: 90vh;
  background-image: url('images/img4.jpeg');
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1f1f1f;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 3px;
}

.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);
}

/* HERO */
.hero {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: white;
  text-align: center;
  padding: 6rem 1.2rem;
}

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

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

.btn {
  display: inline-block;
  margin: 15px 10px;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  background: var(--btn-color);
  outline: none;
  border: 1px solid var(--btn-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn:hover {
  color: white;
  background: transparent;
}

.big-quote {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  text-align: center;
  margin: 40px auto;
  max-width: 800px;
  line-height: 1.4;
  position: relative;
  padding: 20px;
}

/* Decorative quotation marks */
.big-quote::before {
  content: "“";
  font-size: 80px;
  color: var(--primary-color);
  position: absolute;
  left: -10px;
  top: -20px;
}

.big-quote::after {
  content: "”";
  font-size: 80px;
  color: var(--primary-color);
  position: absolute;
  right: -10px;
  bottom: -40px;
}

.nice-text {
  color: var(--text-color);
  margin-top: 1rem;
  font-size: 1.2rem;
  /* font-style: italic; */
  font-weight: bold;
  /* font-family: 'Times New Roman', Times, serif; */
}

.nice-heading {
  color: var(--btn-color);
  margin-top: 1.1rem;
  font-size: 1.3rem;
  /* font-style: italic; */
  font-weight: bolder;
  /* font-family: 'Times New Roman', Times, serif; */
}

/* SECTIONS */
section {
  padding: 4.1rem 8%;
}

h2 {
  text-align: center;
  margin-bottom: 1.9rem;
}

hr {
  border: none;
  height: 1px;
  background: var(--secondary-color);
}

.carousel {
  align-items: center;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  padding: 20px;
  text-align: center;
}

.indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(73, 73, 73, 0.4);
  transition: 0.3s;
}

.dot.active {
  background: rgb(0, 0, 0);
  transform: scale(1.2);
}

/* GRID */
.grid {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); */
  grid-template-columns: repeat(auto-fit, minmax(400px, 520px));
  gap: 30px;
  justify-content: center;
}

.card {
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--secondary-color);
  /* background: var(--secondary-color); */
  background: #c49b6f;
  text-align: center;
  position: relative;
  padding: 2rem;
  border-radius: 12px;
  z-index: 1;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Gradient Border Effect */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  /* thickness of border */
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--btn-color), var(--accent-color));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.card:hover {
  background: white;
}

/* 007bff, #00c6ff, #7b2ff7, #ff7a18); */

/* ABOUT */
.about p {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

/* STATS */
.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
}

.stat {
  margin: 20px;
  font-size: 22px;
  font-weight: 600;
}

/* CONTACT */
.contact {
  text-align: center;
}

.contact p {
  margin: 10px 0;
}

/* FORM */
.form {
  text-align: center;
}

.form input {
  width: 250px;
  padding: 10px;
  margin: 10px;
}

.form button {
  padding: 12px 25px;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.split-section {
  padding: 1rem 8%;
  background: var(--background-color);
}

.split-container {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.linear-background {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

.split-image {
  display: flex;
  justify-content: center;
  width: 40%;
}

/* Image */
.split-image img {
  width: 90%;
  border-radius: 12px;
  display: block;
}

/* Text */
.split-text {
  width: 50%;
  padding-left: 2rem;
}

.split-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.split-text p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.space12 {
  width: 6px;
}

.sip-container {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: auto;
}

.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}


.numbers {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 3rem;
}

.numbers div {
  width: 45%;
  font-size: 3rem;
  color: #fff;
  text-align: center;
  line-height: 6rem;
  padding: 1rem;
  font-weight: 500;
  /* font-style: italic; */
  /* font-family: 'Times New Roman', Times, serif; */
}

.bold {
  font-weight: 500;
  /* font-style: italic; */
  /* font-family: 'Times New Roman', Times, serif; */
}

/* Form container */
.form {
  max-width: 400px;
  width: 90%;
  margin: 50px auto;
  padding: 30px 25px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Heading */
.form h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

/* Description */
.form p {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

/* Inputs */
.form input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Input focus effect */
.form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Button */
.form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.8s ease;
}

/* Button hover */
.form button:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.dual-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  width: 800px;
  max-width: 650px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.description {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* 🔵 Circular Progress */
.circle {
  --value: 0;
  /* default */
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--primary-color) calc(var(--value) * 1%), #e5e7eb 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
}

.circle::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
}

.circle span {
  position: absolute;
  font-weight: bold;
  font-size: 18px;
}

/* 🟢 Progress Bar */
.progress-bar {
  width: 100%;
  height: 10px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  height: 100%;
  width: var(--value);
  /* change this */
  background: #4f46e5;
  border-radius: 10px;
}

.text {
  line-height: 2rem;
  font-size: 26px;
  border-right: 2px solid #fff;
  white-space: wrap;
  overflow: visible;
}

.social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px
}
.social-media a{
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
}

/* Cursor blink */
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.typing {
  animation: blink 0.8s infinite;
}

/* MOBILE */
@media(max-width: 768px) {

  .dual-card {
    padding: 15px;
  }

  .circle {
    width: 100px;
    height: 100px;
  }

  .circle::before {
    width: 75px;
    height: 75px;
  }

  .form {
    padding: 20px 15px;
  }

  .form h2 {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

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

  .split-text {
    padding-left: 0;
    text-align: center;
    width: 100%;
  }

  .split-image {
    width: 100%;
  }

  .split-text h2 {
    font-size: 24px;
  }

  .numbers div {
    width: 300px;
    ;
  }

  nav {
    padding: 15px 20px;
    justify-content: space-between;
  }

  .hamburger {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 100px;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
  }

  nav ul.mobile-open {
    right: 0;
  }

  nav ul li {
    margin: 5px 0;
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.3s ease forwards;
    border-bottom: 1px solid var(--secondary-color);
  }

  nav ul li:nth-child(1) {
    animation-delay: 0.1s;
  }

  nav ul li:nth-child(2) {
    animation-delay: 0.2s;
  }

  nav ul li:nth-child(3) {
    animation-delay: 0.3s;
  }

  nav ul li:nth-child(4) {
    animation-delay: 0.4s;
  }

  nav ul li:nth-child(5) {
    animation-delay: 0.5s;
  }

  nav ul li:nth-child(6) {
    animation-delay: 0.6s;
  }

  .big-quote {
    font-size: 18px;
  }

  @keyframes slideIn {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  nav ul li a {
    font-size: 1.2rem;
    padding: 15px 20px;
    display: block;
  }

  #homeImage {
    width: 100%;
  }
}