/* Variables */
:root {
  --primary-blue: #019DE9;
  --dark-blue: #06134b;
  --light-bg: #f8f9fa;
  --text-color: #4a5568;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 3px 6px rgba(0, 0, 0, 0.161);
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Arial', sans-serif;
  color: var(--dark-blue);
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
}

/* Container Adjustments */
@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1200px;
  }
}

/* Header and Navigation */
.navbar {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1030;
}

.navbar .container {
  padding-left: 5%;
  padding-right: 5%;
  max-width: 100%;
}

.navbar-brand {
  padding: 0.5rem 0;
  margin-left: -5%;
}

.navbar-brand img {
  max-height: 75px;
  width: auto;
}

.nav-link {
  color: var(--dark-blue);
  white-space: nowrap;
  min-width: max-content;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

/* Hero Section */
.hero-container {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/hero-background.png') center bottom no-repeat;
  background-size: cover;
  z-index: 0;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  background: rgba(37, 51, 75, 0.54);
  padding: 2rem;
  margin: 0 auto;
  color: white;
  text-align: center;
  position: relative;
  z-index: 2;
  border-radius: 8px;
  max-width: 800px;
}

.hero-title {
  font-size: min(6vw, 39px);
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-subtitle {
  font-size: min(3vw, 16px);
  font-style: italic;
  margin-bottom: 2rem;
}

/* Section Containers */
.section-container {
  padding: 0 60px;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color:var(--dark-blue);
  margin-bottom: 20px;
  padding-left: 10px;
}

.about-section-title {
  font-size: 20px;
  font-weight: bold;
  color:var(--dark-blue);
  margin-bottom: 20px;

}
.mission-section-title {
  font-size: 20px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;

}
/* Cards */
.card-base {
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

/* Service Cards */
.service-card {
  composes: card-base;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  padding: 2rem;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

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

.service-card .card-body {
  display: flex;
  flex-direction: column;
}

/* Case Study Cards */
.case-study-card {
  composes: card-base;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.case-study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.case-study-card .card-img-top {
  height: 300px;
  object-fit: cover;
}
.dark-navy{
  background-color: var(--dark-blue);
  color:white;

}
.case-study-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.case-study-card .btn {
  width: fit-content;
  margin-top: auto;
}

/* Value Cards */
.value-card {
  background: white;
  margin-top:15px;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.value-title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 15px;
}

.value-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--text-color);
}

/* Modal Styles */
.modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto;
}

.modal-content {
  border: none;
  border-radius: 8px;
}

.modal-header {
  background-color: var(--primary-blue);
  color: white;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 1.5rem;
}

.modal-body h6 {
  color: var(--primary-blue);
  margin-top: 1rem;
  font-weight: 600;
}

.modal-body ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.modal-footer {
  border-top: none;
  padding: 1rem 1.5rem;
}

/* Forms */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 0.75rem;
  margin-bottom: 1rem;
  width: 100%;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 2px rgba(1, 157, 233, 0.1);
  outline: none;
}

/* Buttons */
.btn-primary,
.contact-btn {
  background: var(--primary-blue);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary:hover,
.contact-btn:hover {
  background: #0185c7;
  color: white;
  transform: translateY(-2px);
}

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

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

/* Footer */
footer {
  background: var(--dark-blue);
  color: white;
  padding: 2rem 0;
  margin-top: auto;
  flex-shrink: 0;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.8s ease-in forwards;
}

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

/* Mobile Navigation */
@media (max-width: 991px) {
  .navbar-toggler {
    margin-right: 5%;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(6, 19, 75, 0.1);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-container {
    padding: 0 30px;
  }
  .service-card .card-img-top {
    height: 300px;
    object-fit: cover;
  }

  .hero-container {
    height: calc(100vh - 70px);
    padding: 20px 0;
  }

  .hero-content {
    width: 90%;
    padding: 1.5rem;
     margin-top:-100%;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .service-card,
  .case-study-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 0 15px;
  }

  .value-card,
  .service-card {
    padding: 1.5rem;
  }
}

/* Utility Classes */
.bg-light {
  background-color: var(--light-bg) !important;
}

.shadow-hover {
  transition: var(--transition);
}

.shadow-hover:hover {
  box-shadow: var(--shadow-md);
}
