/* style.css */
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* CSS Variables */
:root {
  --primary-color: #333333;
  --secondary-color: #555555;
  --accent-color: #ffd700;
  --background-color: #f5f5f5;
  --text-color: #ffffff;
  --subtext-color: #aaaaaa;
  --btn-hover-color: #cccccc;
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  --transition-duration: 0.3s;
  --font-primary: "Space Grotesk", sans-serif;
  --font-secondary: "DM Sans", sans-serif;
}

/* Global Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-secondary);
  color: var(--secondary-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: center;
}

p {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-duration);
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

button {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: background-color var(--transition-duration), transform 0.3s ease;
  border-radius: 5px;
}

button:hover {
  background-color: var(--btn-hover-color);
  transform: translateY(-3px);
}

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

/* Header */
header {
  position: fixed;
  width: 100%;
  background-color: var(--primary-color);
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .logo a {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: bold;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: var(--text-color);
  font-size: 1rem;
  transition: color var(--transition-duration);
}

.nav-links li a:hover {
  color: var(--accent-color);
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 4px;
  transition: all var(--transition-duration) ease;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--text-color);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 30px;
}

.hero-content .btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 50px;
  transition: background-color var(--transition-duration), transform 0.3s ease;
}

.hero-content .btn:hover {
  background-color: var(--btn-hover-color);
  transform: scale(1.05);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 50px;
  transition: background-color var(--transition-duration), transform 0.3s ease;
}

.btn:hover {
  background-color: var(--btn-hover-color);
  transform: scale(1.05);
  color: #000;
}

/* Methodology Section */
.methodology-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.methodology-section h2 {
  margin-bottom: 40px;
}

.methodology-section p {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.timeline-item {
  background-color: var(--text-color);
  color: var(--primary-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
}

.timeline-item h3 {
  margin-bottom: 10px;
}

.timeline-item p {
  color: var(--secondary-color);
}

/* Innovation Section */
.innovation-section {
  padding: 60px 0;
  color: var(--text-color);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.innovation-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 0;
}

.innovation-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.innovation-section p {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.widgets {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.widget {
  background-color: var(--background-color);
  color: var(--primary-color);
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color var(--transition-duration);
}

.widget:hover {
  transform: translateY(-5px);
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.widget h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.widget p {
  font-size: 1rem;
}

/* External Resources Section */
.external-resources-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.external-resources-section h2 {
  margin-bottom: 40px;
}

.external-resources-section ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.external-resources-section ul li a {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color var(--transition-duration), transform 0.3s ease;
}

.external-resources-section ul li a:hover {
  background-color: var(--accent-color);
  transform: scale(1.05);
}

/* Features Section */
.features-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.features-section h2 {
  margin-bottom: 40px;
}

.features-section p {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  background-color: var(--text-color);
  color: var(--primary-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, background-color var(--transition-duration);
}

.feature-item:hover {
  transform: translateY(-5px);
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.feature-item h3 {
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--secondary-color);
}

/* Team Section */
.team-section {
  padding: 60px 0;
  color: var(--text-color);
}

.team-section h2 {
  margin-bottom: 40px;
}

.team-section p {
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--background-color);
  color: var(--primary-color);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.team-member img {
  border-radius: 50%;
  margin-bottom: 15px;
}

.team-member h3 {
  margin-bottom: 5px;
}

.team-member p {
  color: var(--secondary-color);
}

/* News Section */
.news-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.news-section h2 {
  margin-bottom: 40px;
}

.news-article {
  background-color: var(--text-color);
  color: var(--primary-color);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.news-article:hover {
  transform: translateY(-5px);
}

.news-article h3 {
  margin-bottom: 10px;
}

.news-article p {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.news-article .read-more {
  color: var(--accent-color);
  font-weight: bold;
  transition: color var(--transition-duration);
}

.news-article .read-more:hover {
  color: var(--btn-hover-color);
}

/* UI Components Section */
.ui-components-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color);
}

.ui-components-section h2 {
  margin-bottom: 40px;
}

.progress-indicators {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.progress-item {
  background-color: var(--background-color);
  color: var(--primary-color);
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.progress-item:hover {
  transform: translateY(-5px);
}

.progress-item p {
  margin-bottom: 10px;
}

.progress-bar {
  background-color: var(--secondary-color);
  border-radius: 5px;
  overflow: hidden;
  height: 20px;
  margin-bottom: 5px;
}

.progress {
  background-color: var(--accent-color);
  height: 100%;
  width: 0;
  transition: width 1s ease;
}

.progress-item:hover .progress {
  width: var(--progress-width, 70%);
}

.progress-item span {
  font-weight: bold;
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background-color: var(--background-color);
}

.contact-section h2 {
  margin-bottom: 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  font-family: var(--font-secondary);
  transition: border-color var(--transition-duration);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  outline: none;
}

.contact-form .btn {
  align-self: center;
  padding: 15px 30px;
  font-size: 1rem;
}

/* Contact Details Section */
.contact-details-section {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--text-color);
}

.contact-details-section h2 {
  margin-bottom: 40px;
}

.contact-details-section p {
  margin-bottom: 10px;
  text-align: center;
}

.map {
  width: 200px;
  height: 150px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 10px;
  margin: 20px auto 0;
}

/* Footer */
footer {
  padding: 40px 0;
  background-color: var(--primary-color);
  color: var(--text-color);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-color);
  transition: color var(--transition-duration);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-media a {
  color: var(--text-color);
  font-size: 1.2rem;
  transition: color var(--transition-duration);
}

.social-media a:hover {
  color: var(--accent-color);
}

footer p {
  font-size: 0.9rem;
  color: var(--subtext-color);
}

/* Cookie Popup */
#cookie-popup {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 20px;
  text-align: center;
  display: none;
  z-index: 9999;
}

#cookie-popup p {
  margin-bottom: 10px;
}

#cookie-popup a {
  color: #ffd700;
  text-decoration: underline;
}

#cookie-popup button {
  background: #ffd700;
  color: var(--primary-color);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color var(--transition-duration);
}

#cookie-popup button:hover {
  background: #cccc00;
}

/* Success Page */
body.success-page {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100vh;
  background-color: var(--background-color);
}

.success-page .success-content {
  text-align: center;
}

.success-page h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.success-page p {
  font-size: 1.2rem;
  color: var(--secondary-color);
}

/* Privacy and Terms Pages */
body.privacy-page,
body.terms-page {
  padding-top: 100px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: 0;
    top: 90px;
    height: fit-content;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: fit-content;
    transform: translateX(100%);
    transition: transform var(--transition-duration) ease-in;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .burger {
    display: flex;
  }

  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger.toggle .line2 {
    opacity: 0;
  }

  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .nav-links li {
    margin: 20px 0;
  }

  .widgets {
    flex-direction: column;
    align-items: center;
  }

  .progress-indicators {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .features,
  .team-members,
  .progress-indicators {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.flex {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.grid {
  display: grid;
}

.gap-20 {
  gap: 20px;
}

/* Hover Effects for Read More Links */
.read-more {
  color: var(--accent-color);
  font-weight: bold;
  position: relative;
  transition: color var(--transition-duration);
}

.read-more::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  bottom: -2px;
  transition: width var(--transition-duration);
}

.read-more:hover::after {
  width: 100%;
}

/* Social Media Icons */
.social-media a {
  font-size: 1.5rem;
  transition: color var(--transition-duration);
}

.social-media a:hover {
  color: var(--accent-color);
}
