/* Managing the color scheme with blue as the primary color */
:root {
  --primary-color: #0078d7; /* Blue color */
  --primary-color-hover: #005bb5; /* Darker blue for hover effects */
  --secondary-color: #f4f4f9; /* Light background color */
  --text-color: #333; /* Default text color */
  --white: #fff; /* White color */
}

/* General styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--secondary-color);
}

/* Header styles */
header.site-header {
  padding: 8px 15px;
  background: #000; /* Black background */
  color: var(--white); /* White text for contrast */
}

header.site-header .brand {
  font-size: 0.85rem;
}

header.site-header .brand-icon {
  width: 24px;
  height: 24px;
}

header.site-header nav ul {
  display: flex;
  gap: 10px;
}

/* Social Sidebar Styles */
.social-sidebar {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 120, 215, 0.3);
}

.social-icon:hover {
  background: var(--primary-color-hover);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 120, 215, 0.5);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

/* Responsive Social Sidebar */
@media (max-width: 1024px) {
  .social-sidebar {
    right: 15px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 768px) {
  .social-sidebar {
    position: static;
    transform: none;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    padding: 20px 0;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Footer styles */
footer.site-footer {
  padding: 10px 20px;
  font-size: 0.9rem;
  background: var(--primary-color);
  color: var(--white);
}

footer.site-footer nav a {
  font-size: 0.8rem;
  color: var(--white);
}

/* Section spacing */
section {
  margin: 20px 0;
}

.section-heading {
  margin-bottom: 15px;
}

.container {
  padding: 10px 20px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #000;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(1100px, 92vw); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 0.78rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgb(26 28 30 / 0.75);
  border-bottom: 2px solid var(--border);
}
.nav-wrap { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; gap: 0.8rem; align-items: center; }
.brand-icon { width: 2.2rem; color: var(--primary-color); }
.brand strong { display: block; font-size: 1.15rem; }
.brand small { color: var(--muted); font-size: 0.75rem; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.8rem; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.lead { color: var(--muted); max-width: 60ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.7rem;
  font-weight: 700;
  border: 2px solid transparent;
  padding: 0.8rem 1.1rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 4px 4px 0 #0e131f;
}
.btn-outline { border-color: var(--primary-color); color: #dbe4ff; }
.btn-ghost { border-color: var(--border); color: var(--text); }

.hero-grid {
  display: grid;
  gap: 1.4rem;
  align-items: start;
}
.cta-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.3rem; }
.quick-metrics {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.75rem;
}
.quick-metrics li { background: var(--bg-soft); border: 2px solid var(--border); border-radius: 0.8rem; padding: 0.9rem; }
.quick-metrics strong { display: block; color: var(--accent); font-size: 1.2rem; }
.quick-metrics span { color: var(--muted); font-size: 0.82rem; }

.hero-card {
  background: linear-gradient(145deg, #29334d, #1f2330);
  border: 3px solid #5d70aa;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 8px 8px 0 #10131a;
}
.hero-card ul { margin: 0; padding-left: 1rem; color: #dce3ff; }

.trust-bar { padding: 1.1rem 0; border-top: 2px solid var(--border); border-bottom: 2px solid var(--border); background: #17191d; }
.trust-wrap { display: grid; align-items: center; gap: 0.9rem; }
.badge {
  width: fit-content;
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
}
.marquee { overflow: hidden; white-space: nowrap; border-top: 2px solid #2a313c; border-bottom: 2px solid #2a313c; }
.marquee-track { display: inline-block; padding: 0.4rem 0; animation: marquee 20s linear infinite; }
.marquee span { margin-right: 2rem; color: #e9edff; font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section-heading { margin-bottom: 1.2rem; }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.service-card svg {
  width: 1.7rem;
  height: 1.7rem;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 7px 7px 0 #121621;
}
.service-card p { color: var(--muted); }

.process { position: relative; }
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 3px solid var(--primary-color);
  display: grid;
  gap: 1rem;
}
.timeline-step {
  margin-left: 1rem;
  padding: 1rem;
  background: #1c2028;
  border: 2px solid var(--border);
  border-radius: 0.8rem;
  transform: translateY(16px);
  opacity: 0.2;
  transition: all .5s ease;
}
.timeline-step.visible {
  transform: translateY(0);
  opacity: 1;
  border-color: #4f72ff;
}

.testimonials-grid { display: grid; gap: 1rem; }
.testimonial-card {
  background: #1f232b;
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
}
.person { display: flex; align-items: center; gap: 0.75rem; margin-bottom: .8rem; }
.person img { border-radius: 50%; border: 2px solid var(--primary-color); }
.person h3 { margin: 0; font-size: 1rem; }
.person p { margin: 0; color: var(--muted); font-size: .85rem; }
.verified {
  margin-left: auto;
  background: var(--accent);
  color: #000;
  border-radius: 999px;
  width: 1.4rem;
  height: 1.4rem;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
}

.site-footer { border-top: 2px solid var(--border); background: #171b22; }
.footer-wrap { display: grid; gap: 1.2rem; align-items: center; }
.social-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-links a { border-bottom: 2px solid transparent; }
.social-links a:hover { border-color: var(--accent); }
.copyright { text-align: center; color: var(--muted); font-size: .8rem; }

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
  .trust-wrap { grid-template-columns: auto 1fr; }
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(160px, auto);
  }
  .service-card.large { grid-column: span 2; grid-row: span 2; }
  .service-card.wide { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-wrap { grid-template-columns: 1fr auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* Adding styles for the custom card */
.custom-card {
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 16px;
  margin: 16px;
  background-color: #fff;
  max-width: 300px;
}

.custom-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.custom-card p {
  font-size: 1rem;
  color: #555;
}

/* Styling for the one-page IT company layout */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f9;
}

header {
  background: var(--primary-color);
  color: var(--white);
  padding: 40px 20px;
  text-align: center;
}

header a {
  color: var(--white);
  text-decoration: none;
}

header a:hover {
  color: var(--primary-color-hover);
}

button {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

button:hover {
  background: var(--primary-color-hover);
}

footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: #fff;
  font-size: 0.9rem;
}

/* Styling for the dropdown menu */
nav {
  margin-top: 20px;
}

.dropdown-menu {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background 0.3s;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  list-style: none;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown-content li {
  margin: 0;
}

.dropdown-content a {
  color: #333;
  padding: 10px 15px;
  display: block;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background: #f4f4f9;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Adjusting the header size for a more compact layout */
header.site-header {
  padding: 10px 20px; /* Reduced padding */
}

header.site-header .brand {
  font-size: 1.2rem; /* Smaller font size for the brand */
}

header.site-header .brand-icon {
  width: 40px; /* Smaller logo size */
  height: 40px;
}

header.site-header nav ul {
  gap: 15px; /* Reduced spacing between menu items */
}

/* Removing unnecessary space between sections */
section {
  margin: 20px 0; /* Reduced margin between sections */
}

.section-heading {
  margin-bottom: 15px; /* Reduced bottom margin for section headings */
}

.container {
  padding: 10px 20px; /* Adjusted padding for a tighter layout */
}

/* Adjusting the footer size for a more compact layout */
footer.site-footer {
  padding: 10px 20px; /* Reduced padding */
  font-size: 0.9rem; /* Smaller font size */
}

footer.site-footer .footer-wrap {
  gap: 10px; /* Reduced spacing between footer elements */
}

footer.site-footer nav a {
  font-size: 0.8rem; /* Smaller font size for social links */
}

/* Making the header even more compact */
header.site-header {
  padding: 5px 15px; /* Further reduced padding */
}

header.site-header .brand {
  font-size: 1rem; /* Smaller font size for the brand */
}

header.site-header .brand-icon {
  width: 30px; /* Further reduced logo size */
  height: 30px;
}

header.site-header nav ul {
  gap: 10px; /* Further reduced spacing between menu items */
}

/* Enhanced Responsive Dropdown Menu Styles */
.dropdown-menu {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: 'Roboto', sans-serif;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background 0.3s;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none !important;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  list-style: none;
  padding: 0.75rem 0;
  z-index: 1000;
  min-width: 280px;
}

.dropdown-content.active {
  display: block !important;
}

.dropdown-content li {
  margin: 0;
  padding: 0;
}

.dropdown-content li a {
  color: #333;
  padding: 12px 20px;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: normal;
  transition: color 0.3s, background 0.3s;
}

.dropdown-content li a:hover {
  color: var(--primary-color-hover);
  background: #f5f5f5;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Responsive Design for Tablets */
@media (max-width: 768px) {
  .dropdown-content {
    width: 280px;
    max-width: 90vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .dropdown-content li a {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}

/* Responsive Design for Mobile */
@media (max-width: 480px) {
  .dropdown-menu {
    gap: 10px;
    flex-wrap: wrap;
  }

  .dropdown-menu a {
    padding: 8px 12px;
    font-size: 0.95rem;
  }

  .dropdown-content {
    width: calc(100vw - 20px);
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0;
  }

  .dropdown-content li a {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

/* Floating Chat Button Styles */
.chat-button-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 120, 215, 0.4);
  transition: all 0.3s ease;
  padding: 0;
}

.chat-button:hover {
  width: 200px;
  border-radius: 30px;
  background: var(--primary-color-hover);
  box-shadow: 0 6px 20px rgba(0, 120, 215, 0.6);
}

.chat-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.chat-name {
  display: none;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.chat-button:hover .chat-name {
  display: block;
  animation: slideIn 0.3s ease;
}

.chat-label {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  animation: fadeIn 0.5s ease;
}

.bot-name {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.bot-status {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  margin-top: 4px;
}

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

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

/* Responsive Chat Button for Mobile */
@media (max-width: 480px) {
  .chat-button-container {
    bottom: 20px;
    right: 20px;
    gap: 8px;
  }

  .chat-button {
    width: 50px;
    height: 50px;
  }

  .chat-button:hover {
    width: 150px;
  }

  .chat-name {
    font-size: 0.9rem;
  }

  .chat-label {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .bot-name {
    font-size: 0.85rem;
  }

  .bot-status {
    width: 7px;
    height: 7px;
  }
}
