/*-==============================
    CUSTOM PROPERTIES
-==============================*/
:root {
  --white: #fff;
  --black: #1f1f1f;
  --gray: #f6f6f6;
  --body-text: #595959;

  --cyan-light: #00e0ff;
  --cyan-dark: #00aacc;

  --primary-color: var(--cyan-light);
  --secondary-color: var(--cyan-dark);
  --bg-primary: var(--white);
  --bg-secondary: var(--gray);
  --text-primary: var(--black);
  --text-secondary: var(--body-text);
  --text-logo: var(--cyan-dark);

  --sans-serif: "Google Sans", sans-serif;
}

body.dark-mode {
  --white: #fff;
  --black: #1f1f1f;
  --gray: #f6f6f6;
  --body-text: #595959;

  --cyan-light: #00e0ff;
  --cyan-dark: #00aacc;

  --primary-color: var(--cyan-light);
  --secondary-color: var(--cyan-dark);
  --bg-primary: var(--black);
  --bg-secondary: var(--body-text);
  --text-primary: var(--white);
  --text-secondary: var(--gray);
  --text-logo: var(--cyan-light);
}
/*-==============================
    RESET
-==============================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*-==============================
    BASE
-==============================*/
body {
  font-family: var(--sans-serif);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

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

/*-==============================
    HEADER
-==============================*/
nav {
  padding: 2rem 0;
}

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

nav div ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

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

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

.theme-toggle {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: var(--bg-primary);
  transform: rotate(180deg);
}

.logo-img {
  max-height: 40px; /* Adjust as needed */
  width: auto;
  display: block; /* To remove extra space below image */
}

/*-==============================
    HERO
-==============================*/
.hero-section {
  padding: 6rem 0;
  text-align: center;
  background: url("asset/background.jpg") no-repeat center center/cover;
  color: var(--white); /* Ensure text is readable against the background */
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Subtle dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--white);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: var(--bg-primary);
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: var(--secondary-color);
}

/*-==============================
    TYPOGRAPHY
-==============================*/
h1,
h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  line-height: 1.2;
  font-weight: 700;
}

/*-==============================
    CONTENT
-==============================*/
.content-section {
  padding: 4rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.content-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(0, 224, 255, 0.1),
    rgba(0, 224, 255, 0.05)
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-color);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.values {
  padding: 4rem 0;
  text-align: center;
}

.values h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.value-item {
  padding: 2rem;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.value-item:hover {
  transform: translateY(-5px);
  background-color: rgba(
    0,
    224,
    255,
    0.1
  ); /* Using --cyan-light with transparency */
  box-shadow: 0 10px 25px rgba(0, 224, 255, 0.2); /* Tinted shadow with --cyan-light */
}

.value-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.value-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

/*-==============================
    FOOTER
-==============================*/
footer {
  background-color: var(--primary-color);
  padding: 3rem 0;
  /*border-top: 1px solid var(--secondary-color);*/
  text-align: center;
  margin-top: 4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bg-primary);
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/*-==============================
    MEDIA QUERIES
-==============================*/
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-grid.reverse {
    direction: ltr;
  }

  .content-image {
    height: 300px;
  }

  h2 {
    font-size: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
