/* Dark Navy Blue & Cyan Theme */
:root {
  --brand-primary: #03194b;      /* Dark Navy Blue */
  --brand-secondary: #021138;    /* Darker Navy Blue */
  --brand-accent: #459de9;       /* Cyan/Light Blue */
  --brand-light: #E8F4FF;        /* Very Light Blue */
  --brand-muted: #6BA3C0;        /* Muted Blue */
  --bg: #03194b;                 /* Dark Blue background */
  --text-primary: #fdfdfd;       /* Near White text */
  --text-secondary: #E8F4FF;     /* Light text */
  --radius: 10px;
  --shadow: 0 6px 20px rgba(69, 157, 233, 0.15);
}

/* typography and base */
body {
  font-family: 'Source Sans 3', 'Source Sans Pro', 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
}

.top-bar {
  background: var(--brand-primary);
  color: var(--text-primary);
  font-size: .9rem;
  padding: .4rem 0;
  position: relative;
  z-index: 1050; /* above sticky navbar */
}

/* Style top-bar links to be clickable */
.top-bar a {
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: color 0.3s ease, opacity 0.3s ease;
  padding: 0.25rem 0.5rem;
  pointer-events: auto !important;
}

.top-bar a:hover {
  color: var(--brand-accent);
  opacity: 0.9;
}

.navbar {
  background: var(--brand-primary);
  box-shadow: var(--shadow);
}

.navbar .nav-link {
  font-weight: 600;
  margin: 0 .4rem;
  color: var(--text-primary);
}

.navbar .nav-link:hover {
  color: var(--brand-accent) !important;
}

.hero {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  background-size: cover;
  background-position: center;
  /*background-attachment: fixed;*/
  background-repeat: no-repeat;
  color: var(--text-primary);
  padding: 3.8rem 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  position: relative;
  /*min-height: 400px;*/
  width: 100%;
}

.hero h1 { 
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: .8rem;
  color: var(--text-primary);
}

.lead {
    color: var(--text-primary);
}

.btn-brand {
    background: var(--brand-accent);
    color: var(--text-primary);
    border-radius: 10px;
    padding: .6rem 1.2rem;
    font-weight: 700;
    border: none;
    transition: transform .18s ease, background .18s ease;
}

.btn-brand:hover {
  background: var(--brand-light);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.services .card {
  border: none;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
  background: linear-gradient(135deg, #0a2552, #051938);
  color: var(--text-primary);
}

.services .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(69, 157, 233, 0.2);
  background: linear-gradient(135deg, #0f2f63, #092247);
}

.card-title {
    color: var(--text-primary);
    font-weight: 700;
}

.form-control {
  border-radius: 6px;
  border: 1px solid var(--brand-accent);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.form-control::placeholder {
  color: var(--brand-muted);
}

    .form-control:focus {
        box-shadow: 0 0 0 3px rgba(69, 157, 233, 0.25);
        border-color: var(--text-primary);
        background: rgba(255, 255, 255, 0.12);
        color: var(--text-primary);
    }

.footer {
  background: var(--brand-primary);
  color: var(--text-primary);
  padding: 2.8rem 0;
}

    .footer a {
        color: var(----text-primary);
        text-decoration: none;
    }

.footer a:hover { 
  color: var(--text-primary);
  text-decoration: underline;
}

.text-muted {
    color: var(--text-primary) !important;
}

/* Service card layout (scoped) */
.service-card {
  background: linear-gradient(135deg, #0a2552, #051938);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(69, 157, 233, 0.1);
  color: var(--text-primary);
}

    .service-card h3 {
        margin-top: 0.15rem;
        margin-bottom: 0.5rem;
        color: var(--text-primary);
    }

.service-card p { 
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.service-card ul { margin-bottom: 0; }

.service-card .col-md-4 { 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width:576px) {
  .hero { padding: 2.4rem 1rem; }
  .hero h1 { font-size: 1.6rem; }
}

@media (max-width: 767px) {
  .service-card { padding: .9rem; }
  .service-card .col-md-4 { margin-bottom: .5rem; }
}

/* ===== Centralized styles moved from views ===== */

/* Service lists use themed circular check badges */
.service-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.service-list li i {
  /* small circular badge using theme colors */
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: rgba(69, 157, 233, 0.15);
  color: var(--brand-accent);
  font-size: 0.9rem;
  line-height: 1;
  margin-right: 0.6rem;
  flex: 0 0 auto;
  margin-top: 0.125rem; /* vertical alignment */
}

/* Hover card shared styles (How We Work + Team) */
.hover-card {
  transition: transform 0.3s ease-in-out;
  background: linear-gradient(135deg, #0a2552, #051938);
  color: var(--text-primary);
}

.hover-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(69, 157, 233, 0.2);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(69, 157, 233, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.3s ease;
  color: var(--brand-accent);
}

/* on hover use theme primary */
.hover-card:hover .icon-circle {
  background-color: var(--brand-accent);
  color: var(--brand-primary);
}

.hover-card:hover .icon-circle i {
  color: var(--brand-primary) !important;
}

/* Team card tweaks */
.team-card {
  transition: all 0.3s ease-in-out;
  background-color: linear-gradient(135deg, #0a2552, #051938);
  color: var(--text-primary);
}

.team-card:hover {
  transform: translateY(-10px);
}

.expertise-tags .badge {
  font-weight: 500;
  padding: 0.4em 0.9em;
  border: 1px solid rgba(69, 157, 233, 0.3);
  background-color: rgba(69, 157, 233, 0.1);
  color: var(--brand-accent);
}

.team-card:hover .icon-circle {
  background-color: var(--brand-accent);
  color: var(--brand-primary);
}

.team-card:hover .icon-circle i {
  color: var(--brand-primary) !important;
}

/* Responsive spacing for service layout */
@media (max-width: 767.98px) {
  .service-card .col-md-4 {
    margin-bottom: 1rem;
  }
}

/* Software logos scrollable section */
.software-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  justify-content: center;
}

.software-scroll-container {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1rem 0;
  position: relative;
}

/* Hide scrollbar completely */
.software-scroll-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.software-scroll-container::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

.software-logos-wrapper {
  display: flex;
  gap: 2rem;
  padding: 1rem 0.5rem;
  align-items: center;
  /* Will be positioned via JavaScript using transform */
  transform: translateX(0);
  will-change: transform;
}

/* No CSS transition; JavaScript performs smooth animation via RAF */

.software-logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  min-width: 160px;
  padding: 0.5rem;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.software-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(50%) brightness(1.2);
  opacity: 0.9;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.software-logo-item:hover img {
  opacity: 1;
  filter: grayscale(0%) brightness(1.3);
  drop-shadow(0 4px 8px rgba(69, 157, 233, 0.3));
}

/* ===== NEW INTERACTIVE SERVICES WITH LAPTOP MOCKUP ===== */

/* Services List Container */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Service Item Styling */
.service-item {
  /*background: linear-gradient(135deg, #0a2552, #051938);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(69, 157, 233, 0.1);
  border-left: 4px solid transparent;
  color: var(--text-primary);*/
}

    .service-item:hover {
        transform: translateX(8px);
        /*box-shadow: 0 6px 16px rgba(69, 157, 233, 0.2);
  background: linear-gradient(135deg, #0f2f63, #092247);
  border-left-color: var(--brand-accent);*/
    }

    .service-item.active {
        /*background: linear-gradient(135deg, #0f2f63, #092247);
  border-left-color: var(--brand-primary);
  box-shadow: 0 6px 16px rgba(69, 157, 233, 0.25);*/
    }

.service-item-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(69, 157, 233, 0.2), rgba(69, 157, 233, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-accent);
  transition: all 0.3s ease;
}

.service-item:hover .service-item-icon,
.service-item.active .service-item-icon {
  background: linear-gradient(135deg, var(--brand-accent), #3087d9);
  color: var(--brand-primary);
  transform: scale(1.1);
}

.service-item-content h5 {
  margin: 0 0 0.25rem 0;
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 1rem;
}

.service-item-content p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--brand-muted);
}

/* ===== LAPTOP MOCKUP STYLING ===== */

.laptop-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  padding: 2rem 0;
}

.laptop {
  position: relative;
  width: 100%;
  max-width: 550px;
  filter: drop-shadow(0 20px 40px rgba(69, 157, 233, 0.15));
}

/* Laptop Screen */
.laptop-screen {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border-radius: 16px 16px 0 0;
  padding: 16px;
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.laptop-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.laptop-screen-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #F0F7FF, #E8F4FF);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  color: var(--brand-primary);
}

.laptop-screen-content.animate-in {
  animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Screen Content - Placeholder */
.screen-placeholder {
  text-align: center;
  color: var(--brand-muted);
}

.placeholder-icon {
  font-size: 3rem;
  color: var(--brand-accent);
  margin-bottom: 1rem;
}

.placeholder-icon i {
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.screen-placeholder h6 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--brand-secondary);
}

.screen-placeholder p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--brand-muted);
}

/* Screen Content - Service Card */
.screen-content-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  color: var(--brand-primary);
}

.screen-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(69, 157, 233, 0.15), rgba(69, 157, 233, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--brand-primary);
}

.screen-content-card h5 {
  color: var(--brand-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  text-align: center;
}

.screen-description {
  color: var(--brand-primary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: center;
}

.screen-features {
  flex-grow: 1;
}

.screen-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.screen-features li {
  color: var(--brand-primary);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.3;
}

.screen-features li i {
  color: var(--brand-secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Laptop Bezel */
.laptop-bezel {
  background: linear-gradient(to bottom, #1a1a1a 0%, #0f0f0f 100%);
  height: 12px;
  border-radius: 0 0 8px 8px;
  position: relative;
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.2);
}

.laptop-bezel::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Laptop Stand/Base */
.laptop-base {
  background: linear-gradient(to right, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  height: 8px;
  border-radius: 0 0 4px 4px;
  position: relative;
  margin: 0 auto;
  width: 80%;
}

.laptop-base-inner {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 8px;
  background: linear-gradient(to bottom, var(--brand-primary), #1a1a1a);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Scrollable content for screen */
.screen-content-card::-webkit-scrollbar {
  width: 4px;
}

.screen-content-card::-webkit-scrollbar-track {
  background: transparent;
}

.screen-content-card::-webkit-scrollbar-thumb {
  background: rgba(69, 157, 233, 0.3);
  border-radius: 2px;
}

.screen-content-card::-webkit-scrollbar-thumb:hover {
  background: rgba(69, 157, 233, 0.5);
}

/* ===== SEMICIRCLE SERVICES LAYOUT ===== */
.semicircle-layout {
  width: 100%;
  max-width: 1600px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
}

.services-circle {
  position: relative;
  width: 1200px;
  height: 650px;
  overflow: visible;
}

/* Semicircle border line - LARGER arc to match wider service spacing */
.services-circle::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 1000px;
  height: 500px;
  border-top: 4px solid rgba(69, 157, 233, 0.3);
  border-left: 4px solid rgba(69, 157, 233, 0.22);
  border-right: 4px solid rgba(69, 157, 233, 0.22);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 -8px 40px rgba(69, 157, 233, 0.05) inset;
}

.services-circle .service-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 40;
}

/* Remove the per-item connecting line */
.services-circle .service-item::after {
  display: none;
}

/* Service item icon: circular only - NO BOX */
.services-circle .service-item .service-item-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(69, 157, 233, 0.9), rgba(3, 25, 75, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(69, 157, 233, 0.2);
}

/* Hover/active: filled circle with icon change */
.services-circle .service-item:hover .service-item-icon,
.services-circle .service-item.active .service-item-icon {
  background: linear-gradient(135deg, var(--brand-accent), #3087d9);
  color: var(--brand-primary);
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(69, 157, 233, 0.35);
  border-color: rgba(69, 157, 233, 0.5);
}

/* Service labels: clean text only - NO BOX */
.services-circle .service-item .service-label {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
  background: transparent;
  padding: 0;
  letter-spacing: 0.3px;
  margin: 0;
}

/* Hover/active: lift service item */
.services-circle .service-item:hover,
.services-circle .service-item.active {
  transform: translateY(-28px) scale(1.05);
  z-index: 50;
}

/* Fallback for older browsers - manual pixel-perfect positions ON the arc */
/* Services positioned with increased spacing to sit ON the semicircle border at exact angles */
.services-circle .service-item:nth-child(1) { left: 60px;  top: 395px; }
.services-circle .service-item:nth-child(2) { left: 125px; top: 230px; }
.services-circle .service-item:nth-child(3) { left: 240px; top: 90px; }
.services-circle .service-item:nth-child(4) { left: 425px; top: -10px; }
.services-circle .service-item:nth-child(5) { left: 640px; top: -22px; }
.services-circle .service-item:nth-child(6) { left: 840px; top: 65px; }
.services-circle .service-item:nth-child(7) { left: 970px; top: 215px; }
.services-circle .service-item:nth-child(8) { left: 1030px; top: 395px;}

/* Laptop centered inside semicircle - optimized size and position */
.laptop-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 280px;
  width: 400px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
}

.laptop {
  width: 100%;
  max-width: 400px;
  position: relative;
}

.laptop-screen {
  aspect-ratio: 16/10;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1400px) {
  .semicircle-layout {
    padding: 3.5rem 1rem;
  }

  .services-circle {
    width: 1100px;
    height: 600px;
  }

  .services-circle::before {
    width: 950px;
    height: 475px;
  }

  .services-circle .service-item:nth-child(1) { left: 35px;  top: 390px; }
  .services-circle .service-item:nth-child(2) { left: 100px; top: 215px; }
  .services-circle .service-item:nth-child(3) { left: 230px; top: 65px; }
  .services-circle .service-item:nth-child(4) { left: 400px; top: -15px; }
  .services-circle .service-item:nth-child(5) { left: 620px; top: -15px; }
  .services-circle .service-item:nth-child(6) { left: 790px; top: 75px; }
  .services-circle .service-item:nth-child(7) { left: 900px; top: 210px; }
  .services-circle .service-item:nth-child(8) { left: 960px; top: 375px; }

  .laptop-center { top: 260px; width: 380px; height: 240px; }
}

@media (max-width: 1200px) {
  .semicircle-layout {
    padding: 3rem 1rem;
  }

  .services-circle {
    width: 1000px;
    height: 550px;
  }

  .services-circle::before {
    width: 900px;
    height: 450px;
  }

  .services-circle .service-item:nth-child(1) { left: 10px;  top: 350px; }
  .services-circle .service-item:nth-child(2) { left: 80px; top: 185px; }
  .services-circle .service-item:nth-child(3) { left: 190px; top: 65px; }
  .services-circle .service-item:nth-child(4) { left: 340px; top: -15px; }
  .services-circle .service-item:nth-child(5) { left: 550px; top: -20px; }
  .services-circle .service-item:nth-child(6) { left: 715px; top: 65px; }
  .services-circle .service-item:nth-child(7) { left: 830px; top: 195px; }
  .services-circle .service-item:nth-child(8) { left: 880px; top: 350px; }

  .laptop-center { top: 245px; width: 360px; height: 225px; }
}

@media (max-width: 992px) {
  .semicircle-layout {
    padding: 2.5rem 1rem;
  }

  .services-circle {
    width: 900px;
    height: 500px;
  }

  .services-circle::before {
    width: 800px;
    height: 400px;
  }

  .services-circle .service-item {
    width: auto;
    gap: 0.8rem;
  }

  .services-circle .service-item:nth-child(1) { left: 5px;  top: 305px; }
  .services-circle .service-item:nth-child(2) { left: 70px; top: 170px; }
  .services-circle .service-item:nth-child(3) { left: 160px; top: 55px; }
  .services-circle .service-item:nth-child(4) { left: 275px; top: -10px; }
  .services-circle .service-item:nth-child(5) { left: 435px; top: -30px; }
  .services-circle .service-item:nth-child(6) { left: 580px; top: 30px; }
  .services-circle .service-item:nth-child(7) { left: 715px; top: 155px; }
  .services-circle .service-item:nth-child(8) { left: 770px;top: 305px; }

  .laptop-center { top: 230px; width: 330px; height: 210px; }

  .services-circle .service-item .service-item-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .services-circle .service-item .service-label { font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .software-logo-item { height: 100px; min-width: 140px; }
  .software-logos-wrapper { gap: 1.5rem; }
  .semicircle-layout {
    padding: 2rem 1rem;
  }

  .services-circle {
    width: 100%;
    max-width: 650px;
    height: 400px;
  }

  .services-circle::before {
    width: 600px;
    height: 300px;
  }

  .services-circle .service-item {
    width: auto;
    gap: 0.7rem;
  }

  .services-circle .service-item:nth-child(1) { left: -100px;  top: 225px; }
  .services-circle .service-item:nth-child(2) { left: -50px; top: 115px; }
  .services-circle .service-item:nth-child(3) { left: 30px; top: 30px; }
  .services-circle .service-item:nth-child(4) { left: 140px; top: -20px; }
  .services-circle .service-item:nth-child(5) { left: 260px; top: -20px; }
  .services-circle .service-item:nth-child(6) { left: 360px; top: 35px; }
  .services-circle .service-item:nth-child(7) { left: 440px;top: 130px; }
  .services-circle .service-item:nth-child(8) { left: 470px; top: 225px; }

  .laptop-center { top: 210px; width: 290px; height: 190px; }

  .services-circle .service-item .service-item-icon {
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
  }

  .services-circle .service-item .service-label { font-size: 0.85rem; }
}

@media (max-width: 576px) {
  .software-logos-wrapper { gap: 1rem; }
  .software-logo-item { height: 80px; min-width: 120px; }
  .software-logo-item img { width: 120px; }
  .semicircle-layout {
    padding: 1.5rem;
  }

  .services-circle {
    width: 100%;
    max-width: 480px;
    height: 340px;
  }

  .services-circle::before {
    width: 420px;
    height: 210px;
  }

  .services-circle .service-item {
    width: auto;
    gap: 0.5rem;
  }

  .services-circle .service-item:nth-child(1) { left: -65px;  top: 195px; }
  .services-circle .service-item:nth-child(2) { left: -55px; top: 100px; }
  .services-circle .service-item:nth-child(3) { left: -15px; top: 20px; }
  .services-circle .service-item:nth-child(4) { left: 60px; top: -20px; }
  .services-circle .service-item:nth-child(5) { left: 135px; top: -20px; }
  .services-circle .service-item:nth-child(6) { left: 220px; top: 20px; }
  .services-circle .service-item:nth-child(7) { left: 290px;top: 100px; }
  .services-circle .service-item:nth-child(8) { left: 300px; top: 195px; }

  .laptop-center { top: 190px; width: 250px; height: 160px; }

  .services-circle .service-item .service-item-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }

  .services-circle .service-item .service-label {
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

/* ===== DROPDOWN MENU STYLING ===== */
.navbar .dropdown-menu {
  border: none;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(69, 157, 233, 0.25);
  padding: 0.5rem 0;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar .dropdown-item {
  padding: 0.75rem 1.5rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  white-space: nowrap;
}

.navbar .dropdown-item:hover {
  background-color: rgba(69, 157, 233, 0.2);
  color: var(--brand-accent);
  border-left-color: var(--brand-accent);
  padding-left: 1.7rem;
}

.navbar .dropdown-item.active {
  background-color: rgba(69, 157, 233, 0.3);
  color: var(--brand-accent);
  border-left-color: var(--brand-accent);
}

.navbar .dropdown-toggle::after {
  margin-left: 0.5rem;
}

/* Enable dropdown on hover */
.navbar .dropdown:hover .dropdown-menu {
  display: block;
  animation: slideDown 0.3s ease;
}

.navbar .dropdown-toggle[aria-expanded="false"]:hover::after {
  transform: rotate(0deg);
}

