:root {
  --brand-primary: #060771;
    --brand-secondary: #f87b1b;
    --brand-white: #ffffff;
    --brand-gray: #eeeeee;
    --brand-accent: #FFDBB6;
    --font-heading: "Arial", serif;
    --font-body: "Work Sans", sans-serif;
}

/* Base typography */
body {
  font-family: var(--font-body);
    color: #020202;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-primary);
}

.subheading {
  font-family: var(--font-body);
    font-weight: 400;
}

/* Navbar */
.navbar {
  transition: box-shadow 0.2s ease;
}

.navbar .nav-link {
  font-weight: 500;
  padding-right: 1rem;
  padding-left: 1rem;
  color: var(--brand-primary);
}

.navbar .nav-link:hover {
  color: var(--brand-secondary);
}

.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  color: var(--brand-secondary);
}

/* Buttons */
.btn-primary {
  background-color: var(--brand-secondary);
    border-color: var(--brand-secondary);
    color: var(--brand-white);
}

.btn-primary:hover {
  background-color: #d96d0a;
    border-color: #d96d0a;
}

.btn-secondary {
  background-color: transparent;
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-secondary:hover {
  background-color: var(--brand-primary);
    color: var(--brand-white);
}

/* Hero badges */
.hero-badge {
  background: rgba(12, 1, 82, 0.7);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  color: var(--brand-white);
    font-size: 0.9rem;
    min-width: 160px;
}

/* Float animation */
@keyframes floatY {
  0%,
    100% {
      transform: translateY(0);
    }
  
    50% {
      transform: translateY(-10px);
    }
}

.float-slow {
  animation: floatY 4s ease-in-out infinite;
}

/* Sticky navbar shadow */
.sticky-shadow {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Floating icons */
.floating-icons {
  display: flex;
    gap: 2rem;
    align-items: center;
}

.floating-icons svg path {
  fill: var(--brand-primary);
}

/* 360 Digital Solutions */
.icon-circle {
  width: 80px;
  height: 80px;
  background-color: var(--brand-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.card:hover .icon-circle {
  background-color: var(--brand-primary);
    transform: translateY(-2px);
}

/* Fade-in animations */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Featured Projects */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-card img {
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-text {
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.portfolio-text h5 {
  color: #ffffff
}

.portfolio-card:hover .portfolio-text {
  transform: translateY(0);
}

/* Why Choose Us */
.counter-box {
  background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.counter {
  font-size: 48px;
    font-weight: 700;
  color: var(--brand-secondary);
  margin-bottom: 0.25rem;
}

/* Our Team */
.team-card {
  background-color: var(--brand-white);
    border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(17, 34, 78, 0.06);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-accent);
  }
  
  .team-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .team-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(17, 34, 78, 0.45),
        rgba(17, 34, 78, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .team-card:hover .team-image-wrapper::after {
    opacity: 1;
  }
  
  .team-card img {
    height: 320px;
    object-fit: cover;
    object-position: top;
  }
        .team-meta {
          padding: 18px 16px 20px;
        }
        .team-meta h5 {
          margin-bottom: 4px;
        }
        .team-meta small {
          display: inline-block;
          margin-bottom: 10px;
          color: #6c757d;
        }
        .team-meta small::before {
          content: "";
          display: inline-block;
          width: 6px;
          height: 6px;
          border-radius: 50%;
          background-color: var(--brand-secondary);
          margin-right: 6px;
          vertical-align: middle;
}

/* Client Logos Strip */
.logo-strip {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  width: calc(200px * 12);
  animation: scroll 30s linear infinite;
}

.logo-track img {
  width: 150px;
  height: auto;
  margin: 0 2rem;
  transition: filter 0.3s ease, transform 0.3s ease;
  }
  
  .logo-track img:hover {
    transform: translateY(-2px);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 6));
  }
}

/* Testimonials */
.testimonial-card {
  width: 100%;
    max-width: 850px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    padding: 32px 32px 36px;
  text-align: center;
  display: flex;
    flex-direction: column;
    align-items: center;
    height: 420px;
    /* fixed card height */
}

/* Avatar */
.testimonial-img {
  width: 110px;
    height: 110px;
  border-radius: 50%;
  object-fit: cover;
}

/* Rating stars */
.rating {
  color: #f5ad18;
  font-size: 1.25rem;
}

/* Text block: scroll if too long */
.testimonial-body {
  flex: 1;
  margin-top: 10px;
  max-height: 230px;
  /* adjust as needed */
  overflow-y: auto;
  /* avoid card growing taller */
}

/* Controls outside card */
.carousel-control-prev,
.carousel-control-next {
  width: auto;
  top: 50%;
  transform: translateY(-50%);
}

#testimonialCarousel .carousel-control-prev {
  left: -3rem;
  /* push outside card */
}

#testimonialCarousel .carousel-control-next {
  right: -3rem;
  /* push outside card */
}

/* Make controls look like circular buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--brand-primary);
  border-radius: 50%;
  padding: 0.75rem;
}

/* On smaller screens, bring arrows closer */
@media (max-width: 768px) {
  #testimonialCarousel .carousel-control-prev {
    left: -1rem;
  }

  #testimonialCarousel .carousel-control-next {
    right: -1rem;
  }

  .testimonial-card {
    height: 440px;
    /* little extra space for mobile wrapping */
  }
}
/* CTA Band */
.cta-band {
  background-color: var(--brand-accent);
  color: var(--brand-primary);
}

.cta-band .btn {
  background-color: var(--brand-white);
  color: var(--brand-primary);
}

.cta-band .btn:hover {
  background-color: var(--brand-primary);
  color: var(--brand-white);
}
/* Footer */
.footer {
  background-color: var(--brand-primary);
  color: var(--brand-white);
}

.footer a {
  color: var(--brand-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--brand-secondary);
}

.footer .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff20;
    color: var(--brand-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.footer .social-icon:hover {
  background-color: var(--brand-secondary);
  color: var(--brand-white);
    transform: translateY(-2px);
}

.footer .newsletter-bar button {
  background-color: var(--brand-secondary);
  border: 1px solid #f87b1b;
}
.footer .bottom-bar {
  border-top: 1px solid #ffffff20;
  padding-top: 1rem;
}

/* Scroll-to-top button */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  color: var(--brand-white);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 999;
}
/* Chatbot */
.chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chat-toggle {
  background-color: var(--brand-primary);
  color: var(--brand-white);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.chat-toggle:hover {
  transform: scale(1.1);
}

.unread-badge {
  position: absolute;
  top: 0;
  right: 0;
}

.chat-drawer {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 350px;
  max-height: 500px;
  background-color: var(--brand-white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.chat-header {
  background-color: var(--brand-primary);
  color: var(--brand-white);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-close {
  background: none;
  border: none;
  color: var(--brand-white);
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-messages {
  flex-grow: 1;
  padding: 1rem;
  overflow-y: auto;
}

.chat-message {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.chat-message.user {
  align-items: flex-end;
}

.chat-message.bot {
  align-items: flex-start;
}

.chat-message .bubble {
  padding: 0.5rem 1rem;
  border-radius: 15px;
  max-width: 80%;
}

.chat-message.user .bubble {
  background-color: var(--brand-secondary);
  color: var(--brand-white);
}

.chat-message.bot .bubble {
  background-color: var(--brand-gray);
  color: var(--brand-primary);
}

.chat-message .timestamp {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.25rem;
}

.chat-typing-indicator {
  padding: 0.5rem 1rem;
}

.chat-typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 2px;
  animation: typing 1s infinite;
}

.chat-typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
    100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.chat-input {
  display: flex;
  padding: 1rem;
  border-top: 1px solid var(--brand-gray);
}

.chat-input input {
  flex-grow: 1;
  border: 1px solid #ccc;
  border-radius: 15px;
  padding: 0.5rem 1rem;
}

.chat-input button {
  margin-left: 0.5rem;
}

.chat-suggestions {
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--brand-gray);
  display: flex;
  gap: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--brand-primary);
  color: var(--brand-white);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  gap: 1rem;
}

.cookie-banner a {
  color: var(--brand-accent);
}
/* Responsive tweaks */
@media (max-width: 767.98px) {
  .hero-badge {
    min-width: 140px;
    font-size: 0.8rem;
  }

  .chat-drawer {
    right: 10px;
    width: calc(100% - 20px);
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .team-card {
    display: block;
  }
  .team-image-wrapper {
    display: block;
  }
  .team-card img {
    width: 100%;
    height: auto;
  }
}
/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #28a745;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1050;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-family: "Work Sans", sans-serif;
  font-size: 1rem;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-notification.error {
  background-color: #dc3545;
}

/* MailerLite Form */
.ml-form-embed {
  border: none !important;
  padding: 0 !important;
  margin: 1.5rem 0 !important;
}

.ml-form-formContent {
  display: flex;
  width: 100%;
}

.ml-form-fieldRow {
  flex-grow: 1;
}

.ml-form-formContent .form-control {
  width: 100%;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 100%;
}

.ml-form-submitRow {
  margin-left: -1px;
}

.ml-form-submitRow .primary {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: var(--brand-secondary);
  border-color: var(--brand-secondary);
  height: 100%;
}
