/* Base Styles */
:root {
  --primary-blue: #1A3863;
  --primary-terracotta: #C85231;
  --accent-gold: #E5A723;
  --accent-blue: #30AAD7;
  --bg-light-gray: #F5F6F8;
  --bg-cream: #FBF7F0;
  --text-dark: #4A4A4A;
  --text-medium: #767676;
  --accent-green: #5EB36E;
  --white: #FFFFFF;
  --black: #000000;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.iti {
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style-type: none;
}

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

/* Utility Classes */
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.text-white {
  color: var(--white);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-blue);
}

.text-accent {
  color: var(--primary-terracotta);
}

.bg-light {
  background-color: var(--bg-light-gray);
}

.bg-cream {
  background-color: var(--bg-cream);
}

.bg-blue {
  background-color: var(--primary-blue);
}

.bg-terracotta {
  background-color: var(--primary-terracotta);
}

.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.my-5 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #152c4e;
  color: var(--white);
}

.btn-accent {
  background-color: var(--primary-terracotta);
  color: var(--white);
}

.btn-accent:hover {
  background-color: #ab4628;
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  width: 220px;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 1.1rem;
  padding-bottom: 5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-terracotta);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 56, 99, 0.8) 0%, rgba(200, 82, 49, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-left: 10%;
  transform: skewY(-3deg);
  padding: 3rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hero-content > * {
  transform: skewY(3deg);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: var(--primary-terracotta);
}

.hero-text {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

/* Diagonal Sections */
.diagonal-section {
  position: relative;
  padding: 8rem 0;
  margin-top: -3rem;
  margin-bottom: -3rem;
  transform: skewY(-3deg);
  z-index: 1;
}

.diagonal-section > * {
  transform: skewY(3deg);
}

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

/* Features Section */
.features {
  background-color: var(--bg-light-gray);
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-terracotta);
}

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

.feature-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.feature-content {
  padding: 2rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-terracotta);
  margin-bottom: 1rem;
}

/* Process Section */
.process {
  background-color: var(--bg-cream);
  padding: 6rem 0;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.process-step {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  position: relative;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--primary-terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-title {
  margin-top: 1rem;
  font-size: 1.3rem;
}

/* About Section */
.about {
  padding: 6rem 0;
}

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

.about-img {
  position: relative;
}

.about-img img {
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-img::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--primary-terracotta);
  border-radius: 15px;
  z-index: -1;
}

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

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
  background-color: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  margin-top: 3rem;
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 56, 99, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  text-align: center;
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
  width: 200px;
}

.footer-about p {
  margin-bottom: 2rem;
}

.footer-heading {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-terracotta);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 1rem;
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 1.5rem;
  background-color: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-settings {
  background-color: transparent;
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
}

.cookie-settings:hover {
  background-color: var(--bg-light-gray);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-medium);
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--primary-terracotta);
}

.cookie-categories {
  margin: 2rem 0;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.category-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.category-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-blue);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.category-description {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Thank You Page */
.thank-you {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-light-gray);
}

.thank-you-content {
  max-width: 600px;
  padding: 3rem;
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--accent-green);
  margin-bottom: 2rem;
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Innovative Elements */
.floating-element {
  position: absolute;
  opacity: 0.1;
  z-index: -1;
}

.circle {
  border-radius: 50%;
}

.square {
  transform: rotate(45deg);
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.1;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 20px;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--primary-terracotta);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-content {
  position: relative;
  width: calc(50% - 40px);
  padding: 2rem;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  left: calc(50% + 40px);
}

.timeline-date {
  position: absolute;
  top: 0;
  width: 80px;
  height: 30px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.timeline-item:nth-child(odd) .timeline-date {
  right: -120px;
}

.timeline-item:nth-child(even) .timeline-date {
  left: -120px;
}

.timeline-dot {
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background-color: var(--primary-terracotta);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Statistics */
.statistics {
  padding: 6rem 0;
  background-color: var(--primary-blue);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.stat-title {
  font-size: 1.2rem;
  color: var(--white);
}

/* Map */
.map-container {
  height: 400px;
  margin-top: 3rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* Sector Cards */
.sector-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.sector-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.sector-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.sector-card-img {
  height: 200px;
  object-fit: cover;
}

.sector-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.sector-card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.sector-card-text {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Mobile Styles */
@media (max-width: 991px) {
  .hero-content {
    margin-left: 5%;
    margin-right: 5%;
    max-width: 90%;
    padding: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

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

  .about-img {
    order: 1;
  }

  .about-content {
    order: 2;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    padding: 1.5rem;
  }

  .timeline-item:nth-child(even) .timeline-content {
    left: 80px;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    left: 80px;
  }

  .timeline-dot {
    left: 31px;
  }

  .timeline-date {
    position: relative;
    top: -30px;
    left: 0 !important;
    right: auto !important;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }

  .logo img {
    height: 40px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 1.5rem 0;
    width: 100%;
  }

  .nav-link {
    display: block;
    font-size: 1.2rem;
    width: 100%;
  }

  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    margin: 2rem 1rem;
    padding: 1.5rem;
    transform: skewY(0);
  }

  .hero-content > * {
    transform: skewY(0);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .diagonal-section {
    transform: skewY(0);
    padding: 4rem 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .diagonal-section > * {
    transform: skewY(0);
  }

  .section-title {
    font-size: 2rem;
  }

  .cookie-consent {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

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

  .process-step {
    width: 100%;
  }

  .thank-you-content {
    padding: 2rem 1rem;
  }

  .thank-you-title {
    font-size: 2rem;
  }
}