/* Base Styles */
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #f4f6f9;
  margin: 0;
  padding: 0;
}


/* Header */
.header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--bg-color, #fff);
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.logo {
  justify-self: start;
  font-weight: bold;
  font-size: 1.5rem;
}

.logo span {
  color: #005be4;
  font-weight: bold;
}


/* Navigation */
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  grid-column: 2;
}

.nav a {
  text-decoration: none;
  color: inherit;
}

.services-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
  padding: 2rem 1rem;
}

.logo a {
  text-decoration: none;
  color: inherit; /* Optional: keeps the text color same as surrounding */
}

.services-container h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  font-weight: 700;
}

.services-container p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-top: 0.5rem;
}

.service-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: var(--background-alt, #f9f9f9);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.service-section h2 {
  color: var(--primary, #003366);
  margin-bottom: 1rem;
}

.service-section ul {
  list-style: disc;
  margin: 1rem auto;
  text-align: left;
  max-width: 700px;
}


.contact-form-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

.contact-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
}

.contact-content form {
  flex: 1 1 45%;
  min-width: 300px;
}

.contact-content form input,
.contact-content form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.map-container {
  flex: 1 1 45%;
  min-width: 300px;
}

.partners-hero {
  background-color: #001f3f;
  color: white;
  padding: 4rem 1rem;
  text-align: center;
}

.why-partner {
  padding: 3rem 1rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.why-partner ul {
  list-style: none;
  padding: 0;
}

.why-partner li {
  padding: 0.75rem;
  font-weight: 500;
}

.featured-partners {
  text-align: center;
  padding: 2rem;
}

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.partner-logos img {
  width: 120px;
  height: auto;
}

.cta-partner {
  text-align: center;
  background-color: #f0f4f8;
  padding: 3rem 1rem;
}

.cta-partner .btn {
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background-color: #003366;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.footer {
  text-align: center;
  padding: 1rem;
  background-color: #001f3f;
  color: white;
}


/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown content - hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  min-width: 200px;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown menu links */
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: black;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: #f2f2f2;
}


/* Slideshow */
.slideshow-container {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.slide {
  display: none;
  animation: slideInRight 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/* What We Do with side images */
.what-we-do {
  padding: 3rem 1rem;
  background-color: #f8f9fa;
}

.we-do-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
  flex-wrap: nowrap; /* Keep it side-by-side */
}

.side-image {
  flex: 1 1 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-section {
  padding: 4rem 1rem;
  background-color: #f9fafc;
  text-align: center;
}

.services-section h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #003366;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #0057d9;
  margin-bottom: 0.5rem;
}

.service-card ul {
  padding-left: 1.2rem;
  margin-top: 0.8rem;
}

.service-card li {
  margin-bottom: 0.5rem;
}


.services-carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}


.service-slide {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
}


.service-slide img {
  max-width: 60%;
  width: 60%;      /* Force it to take full space */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}



.service-slide h3 {
  color: #0057d9;
}

.service-slide ul {
  padding-left: 1.2rem;
}

.carousel-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background-color: #003366;
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 1;
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}


.side-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  padding: 1rem;
}

.we-do-text {
  flex: 2 1 50%;
  max-width: 600px;
  text-align: center;
}


.side-image {
  width: 80px;
  height: auto;
}

.we-do-text {
  flex: 1 1 500px;
  max-width: 700px;
  text-align: center;
}

.services-carousel-section {
  background-color: #f8f9fc;
  padding: 60px 0;
  text-align: center;
}

.services-carousel-section h2 {
  color: #003366;
  font-size: 2rem;
  margin-bottom: 30px;
}


.service-slide ul {
  text-align: left;
  display: inline-block;
  margin-top: 10px;
}


.services-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}




.service-slide h3 {
  color: #003366;
  font-size: 1.5rem;
  margin-top: 10px;
}

.service-slide {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: #003366;
  color: white;
  border: none;
  padding: 12px 16px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background-color: #005599;
}


@media (max-width: 768px) {
  .service-slide img {
    width: 60px;
  }
}


/* === Form Styles === */
form {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

form input,
form textarea {
  width: 80%;
  padding: 0.8rem;
  font-size: 1rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  background-color: #005be4;
  color: #fff;
  cursor: pointer;
}

form button:hover {
  background-color: #003fb3;
}


/* Button */
.demo-btn {
  background-color: #0057d9;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero {
  background: url('../images/hero-bg.png') center center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}


.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Partners Page Styling */

.partners-hero {
  background-color: #f0f4f8;
  padding: 4rem 1rem;
  text-align: center;
}

.partners-hero h1 {
  font-size: 2.5rem;
  color: #0f172a;
}

.partners-hero p {
  font-size: 1.1rem;
  color: #334155;
  max-width: 700px;
  margin: 1rem auto 0;
}

.why-partner,
.featured-partners,
.cta-partner {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: auto;
}

.why-partner ul {
  list-style: disc;
  text-align: left;
  padding-left: 2rem;
  margin-top: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #1e293b;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Ensures logos wrap nicely on smaller screens */
  gap: 2rem;
  margin-top: 1.5rem;
}

.partners-page {
  padding-top: 2rem;
}

.partner-logos img {
  width: 140px;
  height: auto;
  object-fit: contain;
  margin: 0.5rem;
}


.cta-partner p {
  color: #334155;
  margin: 1rem 0;
}

.cta-partner .btn {
  background-color: #0f52ba;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.cta-partner .btn:hover {
  background-color: #0c3d91;
}


/* Services Tabs */
.services {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  background-color: #f4f7fb;
  flex-wrap: wrap;
}

.service-tab {
  padding: 1rem;
  cursor: pointer;
  font-weight: 500;
}

.service-tab.active {
  border-bottom: 2px solid #0057d9;
}

/* Managed Services Content */
.managed-services {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

.managed-services h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.managed-services ul {
  list-style-type: none;
  padding-left: 0;
}

.managed-services li {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-around;
  background-color: #111;
  color: white;
  padding: 2rem;
  flex-wrap: wrap;
}

.footer .logo span {
  color: #0099ff;
}

.footer-left,
.footer-mid,
.footer-right {
  flex: 1 1 200px;
  margin: 1rem;
}

.footer h4 {
  margin-bottom: 1rem;
}

.footer a {
  text-decoration: none;
  color: #ddd;
}

.footer ul {
  list-style-type: none;
  padding-left: 0;
}

.footer p {
  margin: 0.3rem 0;
}

.footer-note {
  background-color: #001f3f;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}


@media (max-width: 600px) {
  .partner-logos img {
    width: 80px;
  }
}


/* Responsive Design */
@media (max-width: 768px) {
  .services,
  .footer {
    flex-direction: column;
    text-align: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav a {
    margin: 0.5rem;
  }
}
