:root {
  --blue-dark:   #00008b;
  --blue:        #00008b;
  --orange:      #FFA500;
  --orange-light:#FDBA74;
}

body {
  padding-top: 80px;
  padding-bottom: 80px;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-teal {
  background-color: #008080 !important;
}
.text-green {
  color: #008000;
}


/* Navbar */
.navbar {
  background-color: var(--blue-dark) !important;
}
.navbar-brand {
  color: var(--orange) !important;
}
.navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.3s ease, transform 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--orange-light) !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-section .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section {
  min-height: 100vh;
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}


/* Buttons */
.btn-primary {
  background-color: var(--blue) !important;
  color: #fff !important;
  border: none;
}
.btn-primary:hover {
  background-color: var(--blue-dark) !important;
}
.btn-accent {
  background-color: var(--orange) !important;
  color: #fff !important;
  border: none;
}
.btn-accent:hover {
  background-color: var(--orange-light) !important;
}
.btn-outline-accent {
  color: var(--orange);
  background-color: transparent;
  border: 2px solid var(--orange);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline-accent:hover {
  background-color: var(--orange);
  color: #fff;
}

/* Utilities */
.text-blue {
  color: var(--blue);
}
.text-orange {
  color: var(--orange);
}
.bg-accent {
  background-color: var(--orange);
  color: white;
}

/* Footer */
footer {
  background-color: var(--blue-dark);
}
footer.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: var(--blue-dark);
}

/* Responsive Images */
img, .responsive-img,
.project-card img,
.modal-body img,
.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  max-height: 400px;
}

/* Reduce image size for smaller screens */
@media (max-width: 768px) {
  img, .responsive-img,
  .project-card img,
  .modal-body img,
  .card img {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  img, .responsive-img,
  .project-card img,
  .modal-body img,
  .card img {
    max-height: 180px;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 8px 10px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text, .badge {
    font-size: 0.85rem;
  }

  .footer p {
    font-size: 0.8rem;
  }
}

/* Project Card Structure */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card img {
  flex-shrink: 0;
}

/* Grid Fix: Make cards stack on smaller screens */
@media (max-width: 767.98px) {
  .col-md-6,
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Optional: Ensure modals are scrollable on small screens */
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}


.profile-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}
@media (max-width: 480px) {
  .profile-img {
    width: 100px;
    height: 100px;
  }
}
.bg-teal {
  background-color: #008080 !important;
}
.text-orange {
  color: #FFA500 !important;
}
.text-blue {
  color: #00008b !important;
}
.bg-accent {
  background-color: #FFA500 !important;
  color: white;
}

@media (max-width: 576px) {
  .profile-img {
    max-width: 180px !important;
  }
}


