
:root {
  --primary: #0B5D8A;
  --secondary: #1CA3B3;
  --accent: #34D399;
  --dark: #0F172A;
  --light: #F8FAFC;
  --gray: #64748B;
  --light-gray: #E2E8F0;
  --warning: #F59E0B;
  --success: #10B981;
  --error: #EF4444;
  --gradient: linear-gradient(135deg, #0B5D8A 0%, #1CA3B3 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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


h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary);
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
}


.navbar {
  padding: 1rem 0;
  background-color: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--dark);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}


.hero {
  position: relative;
  background-color: var(--light);
  overflow: hidden;
  padding: 8rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.05;
  z-index: 0;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--gray);
}

.hero-image {
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}


.btn {
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient);
  border: none;
  color: white;
}

.btn-primary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

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


.card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: fit-content !important;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.card-body {
  padding: 2rem;
}

.card-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--gray);
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}


.features-section {
  background-color: var(--light);
  position: relative;
}

.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: white;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.5rem;
}


.projects-section {
  background-color: white;
}

.project-filters {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.project-filter {
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  background-color: var(--light);
  color: var(--dark);
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-filter.active,
.project-filter:hover {
  background: var(--gradient);
  color: white;
}

.project-card {
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
}

.project-image {
  height: 300px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.project-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.project-category {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.project-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-description {
  max-height: 100px;
  opacity: 1;
  margin-top: 1rem;
}


.process-section {
  background-color: var(--light);
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.process-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--light-gray);
  margin-right: 1.5rem;
  line-height: 1;
}

.process-content {
  flex: 1;
}

.process-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-description {
  color: var(--gray);
}


.sustainability-section {
  background-color: white;
}

.sustainability-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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


.contact-form {
  background-color: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  padding: 3rem;
}

.form-control {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--light-gray);
  background-color: var(--light);
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(11, 93, 138, 0.25);
}

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

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.iti {
  width: 100%;
}


.modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}

.modal-header {
  border-bottom: none;
  padding: 2rem 2rem 1rem;
}

.modal-body {
  padding: 1rem 2rem 2rem;
}

.modal-title {
  font-weight: 700;
}

.modal-img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}


.quick-contact-card {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 1000;
  max-width: 300px;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.quick-contact-card.show {
  transform: translateY(0);
  opacity: 1;
}

.quick-contact-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--gray);
}


.footer {
  background-color: var(--dark);
  color: white;
  padding: 5rem 0 2rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  margin-right: 0.5rem;
  color: var(--secondary);
}

.footer-contact p {
  margin-bottom: 1rem;
}

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

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
}


.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  z-index: 9999;
  display: none;
}

.cookie-consent.show {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.cookie-consent-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.cookie-consent-text {
  margin-bottom: 1.5rem;
}

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

.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  overflow-y: auto;
}

.cookie-settings.show {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

.cookie-settings-content {
  background: white;
  border-radius: 1rem;
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.cookie-category {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1.5rem;
}

.cookie-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

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

.cookie-category-title {
  font-weight: 700;
  margin-bottom: 0;
}

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

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

.cookie-category-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--light-gray);
  transition: .4s;
  border-radius: 24px;
}

.cookie-category-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .cookie-category-slider {
  background-color: var(--success);
}

input:focus + .cookie-category-slider {
  box-shadow: 0 0 1px var(--success);
}

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

input:disabled + .cookie-category-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category-description {
  color: var(--gray);
  margin-bottom: 0;
  font-size: 0.875rem;
}


.thank-you-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0;
}

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

.thank-you-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.thank-you-text {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2rem;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content ul, 
.legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--gray);
  font-style: italic;
  margin-bottom: 3rem;
}


@media (max-width: 991.98px) {
  .hero {
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-sm {
    padding: 2.5rem 0;
  }
  
  .quick-contact-card {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-sm {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .process-step {
    flex-direction: column;
  }
  
  .process-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .cookie-consent {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-sm {
    padding: 1.5rem 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .project-image {
    height: 250px;
  }
}