/* ===== COLOR PALETTE ===== */
:root {
  --primary-blue: #0261aa;
  --accent-yellow: #feb813;
  --accent-red: #f04f23;
  --teal-green: #00aa9c;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar-custom {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #014d8a 100%);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  backdrop-filter: blur(10px);
}

.navbar-custom .container-fluid {
  padding: 0 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo {
  height: 55px;
  width: auto;
  margin-right: 1rem;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.navbar-logo:hover {
  transform: scale(1.08);
}

.brand-text {
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  display: none;
}

@media (min-width: 768px) {
  .brand-text {
    display: inline;
  }
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 600;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-yellow) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-yellow);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-toggler {
  border: 2px solid var(--accent-yellow) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(254, 184, 19, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23feb813' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  width: 1.5rem;
  height: 1.5rem;
}

.offcanvas {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #014d8a 100%) !important;
  width: 100% !important;
  max-width: 100% !important;
}

.offcanvas-header {
  border-bottom: 2px solid var(--accent-yellow);
  padding: 1.5rem;
}

.offcanvas-title {
  color: var(--accent-yellow);
  font-weight: 800;
  font-size: 1.5rem;
}

.btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.btn-close:hover {
  opacity: 1;
}

.offcanvas-body {
  padding: 1.5rem 0;
}

.offcanvas-body .nav-link {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.offcanvas-body .nav-link:hover {
  background-color: rgba(254, 184, 19, 0.15);
  padding-left: 2rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, var(--teal-green) 0%, #00897b 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  color: var(--text-light);
  margin-top: 60px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--accent-yellow);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary-custom,
.btn-secondary-custom {
  padding: 0.85rem 2.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--accent-red) 0%, #d63d1a 100%);
  color: var(--text-light);
  box-shadow: var(--shadow);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, #ffa500 100%);
  color: var(--primary-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent-yellow);
}

.btn-secondary-custom:hover {
  background: var(--accent-yellow);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: scale(1.02);
}

.about-section h3 {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-section p {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}

.feature-item h5 {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== VALUES SECTION ===== */
.values-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
}

.values-card {
  background: var(--text-light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  height: 100%;
}

.values-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.values-card h3 {
  color: var(--accent-yellow);
  font-weight: 800;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--primary-blue);
  padding-bottom: 1rem;
}

.values-card p {
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.objectives-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.objectives-list li {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  position: relative;
}

.objectives-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-yellow);
  font-weight: bold;
  font-size: 1.25rem;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
}

.project-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

#projectCarousel {
  border-radius: 15px;
  overflow: hidden;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  background: linear-gradient(90deg, rgba(2, 97, 170, 0.5) 0%, transparent 100%);
  transition: all 0.3s ease;
}

.carousel-control-next {
  background: linear-gradient(90deg, transparent 0%, rgba(2, 97, 170, 0.5) 100%);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: linear-gradient(90deg, rgba(2, 97, 170, 0.8) 0%, transparent 100%);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
}

.contact-form-wrapper {
  background: var(--text-light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.contact-form .form-control {
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f5f5f5;
}

.contact-form .form-control:focus {
  border-color: var(--primary-blue);
  background-color: var(--text-light);
  box-shadow: 0 0 0 0.2rem rgba(2, 97, 170, 0.25);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-lg);
}

.contact-item i {
  font-size: 2rem;
  color: var(--accent-yellow);
  min-width: 50px;
  text-align: center;
}

.contact-item h5 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-dark);
  margin: 0;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #014d8a 100%);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

footer h5 {
  color: var(--accent-yellow);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer p {
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

footer .nav-link {
  color: var(--text-light) !important;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

footer .nav-link:hover {
  color: var(--accent-yellow) !important;
  padding-left: 0.5rem;
}

footer .text-success {
  color: var(--accent-yellow) !important;
  transition: all 0.3s ease;
}

footer .text-success:hover {
  color: var(--accent-red) !important;
}

footer hr {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

footer .text-info {
  color: var(--accent-yellow) !important;
}

.list-inline-item a {
  font-size: 1.5rem;
  margin: 0 0.75rem;
  transition: all 0.3s ease;
  color: var(--accent-yellow) !important;
}

.list-inline-item a:hover {
  transform: scale(1.2) rotate(5deg);
  color: var(--accent-red) !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .navbar-logo {
    height: 50px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }

  .about-section h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
    margin-top: 50px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .about-section,
  .projects-section,
  .contact-section,
  .values-section {
    padding: 3rem 0;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .values-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .values-card h3 {
    font-size: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-item i {
    min-width: auto;
  }

  .project-image {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .navbar-logo {
    height: 45px;
    margin-right: 0.75rem;
  }

  .brand-text {
    font-size: 1.25rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .offcanvas-title {
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .about-section h3 {
    font-size: 1.25rem;
  }

  .contact-form-wrapper {
    padding: 1rem;
  }

  .contact-form .form-control {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }

  footer h5 {
    font-size: 1rem;
  }

  footer p {
    font-size: 0.9rem;
  }

  .list-inline-item a {
    font-size: 1.25rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  padding: 0 1.5rem;
}

img.img-fluid {
  width: 100%;
  height: auto;
  display: block;
}
