/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Barlow', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* HELPERS */
.container { width: 90%; max-width: 1200px; margin: auto; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.text-center { text-align: center; }
.section { padding: 4rem 0; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

/* BUTTONS */
.btn-primary {
  background: #333;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-primary:hover { background: #000; }

.btn-secondary {
  background: #fff;
  color: #333;
  border: 2px solid #333;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  margin-left: 1rem;
  transition: 0.3s;
}
.btn-secondary:hover { background: #333; color: #fff; }

/* Get Quote Button */
.btn-quote {
  background: #37c2ee;        /* default background */
  color: #fff;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(55,194,238,0.3);
}

.btn-quote:hover {
  background: #1b82b1;        /* darker shade of blue */
  color: #fff;
  transform: translateY(-3px) scale(1.05);  /* lift + slight zoom */
  box-shadow: 0 6px 14px rgba(27,130,177,0.45);
}


/* HEADER */
.top-bar {
  background: #333;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.3rem 0;
}
.top-bar a { color: #fff; margin-left: 1rem; }

.navbar {
  background: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky; top: 0; z-index: 1000;
}
.logo img {
  display: block;
  max-height: 70px;
  height: auto;
  width: auto;
 background: transparent; /* ensure no background added */
  image-rendering: crisp-edges; /* reduce blur/halo */
 -webkit-backface-visibility: hidden; /* fix flicker in some browsers */
}

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 1.5rem; position: relative; }
.nav-links a { color: #333; font-weight: 500; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #000; }
.nav-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; }

/* DROPDOWN */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 500;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 0.5rem 1rem; color: #333; }
.dropdown-menu a:hover { background: #f4f4f4; }

/* HERO SLIDER */
.hero-slider {
  position: relative;
  overflow: hidden;
  height: 100vh; /* Full screen height */
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
  color: #fff;
  padding: 8rem 0;
}
.slide.active { display: flex; align-items: center; justify-content: center; }

.slide .container {
  max-width: 800px;
}

.hero-slider h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero-slider span { font-weight: 700; }
.hero-slider p { margin-bottom: 2rem; }

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
}
.prev { left: 20px; }
.next { right: 20px; }
.prev:hover, .next:hover { background: rgba(0,0,0,0.8); }


/* SECTION HEADERS */
.section-header h2, .section-header h3 {
  margin-bottom: 0.5rem;
}
.section-header p { margin-bottom: 2rem; }

/* CARDS */

/* Ensure service cards always use white text */
.services .card {
  display: block;
  color: #fff;               /* force text white */
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Also make sure headings/icons inside stay white */
.services .card h4,
.services .card p,
.services .card i {
  color: #fff;
}

/* Hover effect: lift + glow */
.services .card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 20px rgba(55, 194, 238, 0.6); /* blue glow */
}
/* ---------- Service card: white text + visible glow (place at EOF of style.css) ---------- */

/* Target the clickable anchors you created in the services grid */
.services .grid-3 > a.card {
  display: block;                     /* full area clickable */
  color: #fff;                        /* enforce white text */
  text-decoration: none;
  cursor: pointer;
  position: relative;                 /* needed for z-index stacking */
  z-index: 0;
  transition: transform 0.28s cubic-bezier(.2,.9,.2,1), 
              box-shadow 0.28s ease, 
              filter 0.28s ease;
  -webkit-tap-highlight-color: transparent;
  will-change: transform, box-shadow;
}

/* Ensure inner elements keep white color */
.services .grid-3 > a.card h4,
.services .grid-3 > a.card p,
.services .grid-3 > a.card i {
  color: #fff;
}

/* Make the glow visible and stronger on hover (blue glow for blue cards) */
.services .grid-3 > a.card:hover {
  transform: translateY(-6px) scale(1.02);
  z-index: 5; /* bring above neighbors so glow isn't clipped by siblings */
  box-shadow:
    0 18px 40px rgba(0,0,0,0.18),                   /* soft ground shadow */
    0 0 28px 6px rgba(55,194,238,0.34);             /* blue outer glow */
  filter: saturate(1.05);
}

/* If the card is the blue variant, emphasise blue glow */
.services .grid-3 > a.card.service-blue:hover {
  box-shadow:
    0 18px 40px rgba(0,0,0,0.18),
    0 0 36px 8px rgba(55,194,238,0.40);
}

/* Dark cards get a subtle light glow (white-ish) so it reads well */
.services .grid-3 > a.card.service-dark:hover {
  box-shadow:
    0 18px 40px rgba(0,0,0,0.20),
    0 0 30px 6px rgba(255,255,255,0.10);
}

/* Ensure the grid/container won't clip the glow */
.services .grid-3 {
  overflow: visible; /* allow shadows to show outside grid cells */
}



.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.card:hover { transform: translateY(-5px); }
.card img { border-radius: 8px; margin-bottom: 1rem; }
.card i { font-size: 2rem; margin-bottom: 1rem; color: #333; }
.card h4 { margin: 1rem 0; color: #333; }

/* BENEFITS */
.benefits .card {
  text-align: center;       /* Center all content inside card */
}

.benefits .card img {
  display: block;
  margin: 0 auto 1rem;      /* Center horizontally, add space below */
  border-radius: 8px;
  max-width: 100%;
  height: 160px;            /* Consistent size */
  object-fit: cover;        /* Crop nicely if needed */
}
/* STATS */
/* Stats Section */
.stats {
  background: #f9f9f9;
  padding: 3rem 0;
}

.stats .grid-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 items in one line */
  gap: 2rem;
}

.stats .grid-3 > div {
  text-align: center;
}

.stats i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.counter {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

/* Responsive: stack on smaller devices */
@media (max-width: 768px) {
  .stats .grid-3 {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}
@media (max-width: 480px) {
  .stats .grid-3 {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}


/* PARTNERS */
/* Partners Section */
.partners {
  background: #f4f8fa;   /* subtle light background */
  padding: 4rem 0;
}

.partners h3 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: #333;
  position: relative;
}

.partners h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #37c2ee;   /* blue accent underline */
  margin: 0.5rem auto;
  border-radius: 3px;
}

.partners .grid-3 {
  gap: 2rem;
}

.partners img {
  background: #fff;          /* card effect */
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-height: 80px;
  object-fit: contain;
  margin: auto;
  filter: grayscale(100%);
  transition: filter 0.3s, transform 0.3s;
}

.partners img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}


/* CTA */
.cta {
  background: radial-gradient(circle at center, #37c2ee, #1b82b1); /* circular gradient blue */
  color: #fff;   /* ensure text stays visible */
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 12px;
}
.cta h2 { margin-bottom: 1rem; }
.cta p { margin-bottom: 2rem; }

/* FOOTER */
.footer {
  background: #222;
  color: #ccc;
  padding: 1rem 0;
}
.footer a { color: #ccc; margin-left: 1rem; transition: 0.3s; }
.footer a:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    padding: 1rem;
  }
  .nav-links.show { display: flex; }
  .nav-links li { margin: 1rem 0; }
  .nav-toggle { display: block; color: #333; }
}
/* Service Card Variants */
.service-blue {
  background: #37c2ee;
  color: #fff;
}
.service-blue i, .service-blue h4 { color: #fff; }

.service-dark {
  background: #464746;
  color: #fff;
}
.service-dark i, .service-dark h4 { color: #fff; }

/* Optional: hover effect */
.services .card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.services .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
/* Floating Back-to-Top Button */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;          /* Circle shape */
  border: none;
  background: #37c2ee;         /* Blue theme */
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
  opacity: 0;
  visibility: hidden;
  z-index: 2000;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: #464746; /* Dark gray on hover */
}
#backToTop i {
  font-size: 1.2rem;   /* arrow size */
  color: #fff;         /* arrow color */
  pointer-events: none; /* prevents accidental clicks on icon instead of button */
}
/* About Page Layout Fix */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;       /* aligns image + text in same vertical line */
}

.about-grid img {
  width: 100%;
  max-width: 500px;          /* keeps images neat */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-grid img {
    margin-bottom: 2rem;
  }
}
/* About Page Professional Alignment */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* two-column layout */
  gap: 3rem;
  align-items: center;              /* vertically align text with image */
}

.about-grid img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Service value cards inside About page */
.about-grid .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  text-align: center;
}

.about-grid .card {
  padding: 1.2rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.about-grid .card:hover {
  transform: translateY(-5px);
}

/* Stats section refinement */
.stats .grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stats .grid-3 > div {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.stats .grid-3 > div:hover {
  transform: translateY(-6px);
}

.stats i {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #37c2ee;
}

.counter {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-grid img {
    margin-bottom: 1.5rem;
  }
}
/* Why Choose Us - Feature List */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 per row */
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch; /* equal height cards */
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.feature i {
  font-size: 2rem;
  color: #37c2ee;
  margin-bottom: 0.8rem;
}

.feature h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.feature p {
  font-size: 0.95rem;
  color: #666;
}
/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* force 3 in a row */
  gap: 2rem;
  margin-top: 2rem;
}

/* Keep card style same as before */
.why-grid .card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-grid .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Let images keep their natural size */
.why-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* keep consistent look */
  margin-bottom: 1rem;
}

/* Responsive: stack neatly on smaller screens */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================
   CONTACT PAGE STYLING
   ================================ */
.contact-page .contact-section {
  padding: 4rem 0;
}

.contact-page .contact-form {
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: #fff;
}

.contact-page .contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-page .contact-form p {
  margin-bottom: 1.5rem;
  color: #666;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form textarea:focus {
  border-color: #37c2ee;
  box-shadow: 0 0 6px rgba(55, 194, 238, 0.3);
  outline: none;
}

.contact-page .contact-form textarea {
  height: 140px;
  resize: none;
}

.contact-page .contact-form .btn-submit {
  background: #37c2ee;
  color: #fff;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-page .contact-form .btn-submit:hover {
  background: #2aa5cc;
}

/* Contact Info Cards */
.contact-page .contact-info .info-card {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-page .contact-info .info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.contact-page .contact-info i {
  font-size: 2rem;
  color: #37c2ee;
  margin-bottom: 0.8rem;
  display: block;
}

.contact-page .contact-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.contact-page .map iframe {
  width: 100%;
  height: 350px;
  border: none;
}
/* Managed IT Services Page (scoped to avoid affecting others) */
.managed-page .managed-hero {
  background: #f4f8fa;
  padding: 3rem 1rem;
}
.managed-page .managed-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.managed-page .managed-hero p {
  color: #555;
}

.managed-services {
  margin: 3rem auto;
  display: grid;
  gap: 2rem;
}
.managed-services .service-block {
  display: flex;
  gap: 1rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.managed-services .service-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.managed-services .service-block i {
  font-size: 2rem;
  color: #37c2ee;
  flex-shrink: 0;
}
.managed-services .service-block h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  color: #333;
}
.managed-services .service-block p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.managed-cta {
  background: linear-gradient(135deg, #37c2ee, #1b82b1);
  color: #fff;
  padding: 3rem 1rem;
  border-radius: 12px;
  margin: 3rem auto;
}
.managed-cta h2 {
  margin-bottom: 0.5rem;
}
.managed-cta p {
  margin-bottom: 1.5rem;
}
/* Overlay for hero */
.hero-slider .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
}
.hero-text {
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero-text h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.hero-text p { margin-bottom: 1rem; }

/* Service grid redesign */
.services .card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.services .card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.services .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Benefits section icons */
.benefits .card {
  text-align: center;
  padding: 2rem 1.5rem;
}
.benefits .card i {
  font-size: 2rem;
  color: #37c2ee;
  margin-bottom: 1rem;
}
/* -------------------------
   Service Pages Consistency
-------------------------- */

/* Ensure hero overlays look consistent */
.hero-slider .overlay {
  background: rgba(0,0,0,0.45);
}

/* Service grid refinement */
.services .card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  min-height: 200px;   /* equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.services .card i {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* Benefits card styling */
.benefits .card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefits .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
.benefits .card i {
  font-size: 2rem;
  color: #37c2ee;
  margin-bottom: 0.8rem;
}
