/* =============================================
   Veloria Digital Theme
   Blue (#0090D0) + Orange (#F08C10) + Navy (#003060)
   ============================================= */

/* ---- Bootstrap Color Overrides ---- */
:root {
  --bs-primary: #0090D0;
  --bs-primary-rgb: 0, 144, 208;
  --bs-secondary: #003060;
  --bs-secondary-rgb: 0, 48, 96;
  --bs-link-color: #0090D0;
  --bs-link-hover-color: #006da0;
}

/* Override Bootstrap .text-primary */
.text-primary {
  color: #0090D0 !important;
}

/* Override Bootstrap .text-secondary */
.text-secondary {
  color: #003060 !important;
}

/* Override Bootstrap .bg-primary */
.bg-primary {
  background-color: #0090D0 !important;
}

/* Override Bootstrap .bg-secondary */
.bg-secondary {
  background-color: #003060 !important;
}

/* Override Bootstrap .btn-primary */
.btn-primary {
  background-color: #0090D0 !important;
  border-color: #0090D0 !important;
  color: #fff !important;
}
.btn-primary:hover {
  background-color: #006da0 !important;
  border-color: #006da0 !important;
}

/* Override Bootstrap .btn-outline-primary */
.btn-outline-primary {
  color: #0090D0 !important;
  border-color: #0090D0 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary.active {
  background-color: #0090D0 !important;
  border-color: #0090D0 !important;
  color: #fff !important;
}

/* Override Bootstrap .btn-secondary */
.btn-secondary {
  background-color: #003060 !important;
  border-color: #003060 !important;
  color: #fff !important;
}
.btn-secondary:hover {
  background-color: #002040 !important;
  border-color: #002040 !important;
}

/* Override Bootstrap .btn-outline-secondary */
.btn-outline-secondary {
  color: #003060 !important;
  border-color: #003060 !important;
}
.btn-outline-secondary:hover {
  background-color: #003060 !important;
  color: #fff !important;
}

/* ---- Header / Navbar ---- */
#main_nav {
  border-bottom: 2px solid #f0f0f0;
  box-shadow: none !important;
  padding: 0.8rem 0;
}
#main_nav .navbar-brand {
  font-weight: 700;
}
#main_nav .nav-link {
  color: #333 !important;
  font-weight: 400;
  transition: color 0.2s;
  border-color: transparent !important;
  background-color: transparent !important;
}
#main_nav .nav-link:hover {
  color: #0090D0 !important;
  background-color: transparent !important;
  border-color: transparent !important;
}
#main_nav .nav-link:focus,
#main_nav .nav-link:active {
  color: #333 !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* ---- Decorative Geometric Shapes ---- */

/* Blue circle on hero */
.banner-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #ffffff !important;
}
.banner-wrapper::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 25px solid rgba(0, 144, 208, 0.1);
  border-radius: 50%;
  top: 50px;
  left: -30px;
  z-index: 0;
  pointer-events: none;
}

/* Orange diamond shape */
.banner-wrapper::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 18px solid rgba(240, 140, 16, 0.12);
  transform: rotate(45deg);
  top: 120px;
  right: 20%;
  z-index: 0;
  pointer-events: none;
}

/* Small decorative dot near recent work */
.recent-work-header {
  position: relative;
}
.recent-work-header::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(0, 144, 208, 0.12);
  border-radius: 50%;
  bottom: 20px;
  right: 30%;
  pointer-events: none;
}

/* ---- Hero Section ---- */
.banner-heading {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a1a !important;
}
.banner-heading strong {
  color: #F08C10;
  font-weight: 700;
}

/* ---- Service Section ---- */
.service-tag {
  background-color: #003060 !important;
}
.filter-btn.active,
.filter-btn.shadow {
  background-color: #0090D0 !important;
  border-color: #0090D0 !important;
  box-shadow: 0 4px 15px rgba(0, 144, 208, 0.3) !important;
}

/* ---- About Page ---- */
.objective-icon.bg-secondary {
  background-color: #003060 !important;
}
.progress-bar {
  background-color: #0090D0 !important;
}

/* ---- Footer ---- */
.footer-neo {
  background-color: #f8f8f8 !important;
}
.footer-neo a.text-muted:hover {
  color: #0090D0 !important;
}
.footer-bar {
  display: inline-block;
  width: 40px;
  height: 6px;
  border-radius: 3px;
}
.footer-bar-red {
  background-color: #0090D0;
}
.footer-bar-teal {
  background-color: #003060;
}
.footer-bar-yellow {
  background-color: #F08C10;
}

/* ---- Form Focus States ---- */
.form-control:focus {
  border-color: #0090D0;
  box-shadow: 0 0 0 0.2rem rgba(0, 144, 208, 0.15);
}

/* ---- Contact Icons with Orange Accent ---- */
.contact-icon .border {
  border-color: #F08C10 !important;
}
.contact-icon .text-secondary {
  color: #F08C10 !important;
}

/* ---- Selection Color ---- */
::selection {
  background-color: rgba(0, 144, 208, 0.2);
  color: #1a1a1a;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #0090D0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #006da0;
}

/* ---- General ---- */
a {
  color: #0090D0;
  transition: color 0.2s;
}
a:hover {
  color: #006da0;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 144, 208, 0.1) !important;
}

/* ---- Logo ---- */
.navbar-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* ---- Responsive ---- */

/* Large desktops (1200px+) */
@media (min-width: 1200px) {
  .banner-heading {
    font-size: 3.5rem;
  }
}

/* Tablets landscape (992px - 1199px) */
@media (max-width: 1199px) {
  .banner-heading {
    font-size: 2.8rem;
  }
  #main_nav .navbar-nav {
    gap: 0.25rem;
  }
}

/* Tablets portrait (768px - 991px) */
@media (max-width: 991px) {
  .banner-heading {
    font-size: 2.4rem;
  }
  .h2 {
    font-size: 32px;
  }
  .h3 {
    font-size: 24px;
  }

  /* Navbar mobile menu */
  #main_nav .navbar-nav {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.5rem;
    padding: 1rem 0;
  }
  #main_nav .nav-link {
    padding: 0.5rem 1rem !important;
  }
  #main_nav .flex-fill {
    margin: 0 !important;
  }

  /* Hero section */
  #index_banner .carousel-inner {
    height: auto;
    min-height: 50vh;
  }
  #index_banner .carousel-item {
    min-height: 50vh;
  }
  .banner-content {
    padding-bottom: 2rem !important;
  }

  /* Contact page */
  .contact-header {
    margin-bottom: 2rem;
  }
  .contact-img {
    text-align: center;
  }
  .contact-img img {
    max-width: 300px;
  }

  /* About page */
  .objective {
    margin-bottom: 2rem;
  }

  /* Service cards */
  .service-work.card {
    margin-bottom: 1rem;
  }

  /* Footer */
  .footer-neo .row > div {
    margin-bottom: 1rem;
  }
}

/* Mobile phones (576px - 767px) */
@media (max-width: 767px) {
  .banner-heading {
    font-size: 2rem;
  }
  .h2 {
    font-size: 28px;
  }
  .h3 {
    font-size: 22px;
  }

  /* Hero */
  #index_banner .carousel-inner {
    height: auto;
    min-height: 40vh;
  }
  #index_banner .carousel-item {
    min-height: 40vh;
  }
  .banner-content {
    width: 100% !important;
  }

  /* Decorative shapes smaller */
  #index_banner::before {
    width: 150px;
    height: 150px;
    border-width: 15px;
  }
  #index_banner::after {
    width: 100px;
    height: 100px;
    border-width: 10px;
    right: 5%;
  }
  .banner-wrapper::before {
    width: 120px;
    height: 120px;
    border-width: 12px;
  }
  .banner-wrapper::after {
    width: 80px;
    height: 80px;
    border-width: 8px;
  }

  /* Service filter buttons */
  .service-tag .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .service-tag .nav-item {
    margin: 0.25rem !important;
  }

  /* Recent work cards */
  .recent-work.card {
    margin-bottom: 1rem;
  }

  /* Contact form */
  .contact-form .col-lg-6 {
    width: 100%;
  }

  /* About progress section */
  .creative-content {
    flex-direction: column;
  }

  /* Images responsive */
  .contact-img img,
  .banner-img img {
    max-width: 100%;
    height: auto;
  }

  /* Footer */
  .footer-neo {
    text-align: left;
  }
  .footer-neo .text-lg-end {
    text-align: left !important;
  }

  /* Logo */
  .navbar-logo {
    height: 34px;
  }
  .footer-logo {
    height: 30px;
  }
}

/* Small phones (max-width: 575px) */
@media (max-width: 575px) {
  .banner-heading {
    font-size: 1.6rem;
  }
  .h2 {
    font-size: 24px;
  }
  .h3 {
    font-size: 20px;
  }

  /* Hero */
  #index_banner .carousel-inner {
    min-height: 35vh;
  }
  .banner-body {
    font-size: 0.9rem;
  }
  .banner-button {
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem !important;
  }

  /* Decorative shapes hidden on very small screens */
  #index_banner::before,
  #index_banner::after,
  .banner-wrapper::before,
  .banner-wrapper::after {
    display: none;
  }

  /* Service cards full width */
  .service-work.card {
    margin: 0 0 1rem 0 !important;
  }

  /* Contact page */
  .contact-icon {
    width: 60px;
  }

  /* About objective icons */
  .objective-icon {
    width: 5rem;
  }

  /* Logo smaller */
  .navbar-logo {
    height: 30px;
  }
  .navbar-brand .h4 {
    font-size: 1rem !important;
  }
  .footer-logo {
    height: 28px;
  }
}
