
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  background: #f3f6fa;
  color: #2a2a2a;
  transition: background 0.3s, color 0.3s;
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* Dark Mode */
.dark-mode {
  background: #0f172a;
  color: #f1f5f9;
}
.dark-mode header,
.dark-mode footer {
  background: #1e293b;
}
.dark-mode .service-block,
.dark-mode .service-card,
.dark-mode .testimonial{
  background: #1e293b;
  color: #f1f5f9;
}
.dark-mode .testimonials {
  background: #111827;
}

/* Layout */
header {
  background: linear-gradient(to right, #0f172a, #1e3a8a);
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 3px solid #0ea5e9;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
img.logo {
  height: 4rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Medium screens (tablets) */
@media (max-width: 1024px) {
  img.logo {
    height: 4rem;
  }
}

/* Small screens (mobile) */
@media (max-width: 768px) {
  img.logo {
    height: 3.5rem;
  }
}

/* Extra small devices (e.g. very small phones) */
@media (max-width: 480px) {
  img.logo {
    height: 3.5rem;
  }
}

nav ul {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
nav ul li a {
  color: #f1f5f9;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}
nav ul li a:hover {
  background: #0ea5e9;
  color: #0f172a;
}

main {
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */
.hero {
  padding: 5rem 2rem;
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: #fff;
  text-align: center;
  border-radius: 1rem;
}
.hero .highlight {
  color: #22d3ee;
}
.hero .btn-primary {
  background: #ffffff;
  color: #000000;
  padding: 0.75rem 1.5rem;
  margin-top: 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}
.hero .btn-primary:hover {
  background: #000000;
  color: #ffffff;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  margin-top: 1.5rem; /* Ensure vertical space */
  margin-bottom: 1rem; /* optional extra space */
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.cta a + a {
  margin-left: 1rem;
}

/* === Partners Section === */
.partners {
  padding: 4rem 2rem;
  background-color: #f8fafc;
  text-align: center;
  border-radius: 1rem;
}

.partners h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0f172a;
}

.partner-logos {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  gap: 3rem;
  position: relative;
  left: 0;
}

.logo-track img {
  height: 60px;
  flex-shrink: 0;
  filter: grayscale(0%);
  opacity: 0.7;
  transition: transform 0.3s, filter 0.3s, opacity 0.3s;
}

.logo-track img:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
  opacity: 1;
}

/* Dark Mode Support */
body.dark-mode .partners {
  background-color: #0f172a;
}
body.dark-mode .partners h2 {
  color: #e0f2fe;
}


/* Services */

img.ser-icon-img {
    width: 4rem;
    margin-bottom: 1rem;
}

.services-overview,
.service-detail {
  text-align: center;
  padding: 4rem 1rem;
}
.service-grid,
.service-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-card, .service-block {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: grid
;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.service-card:hover,
.service-block:hover {
  transform: translateY(-5px);
}

/* Testimonials */
.testimonials {
  background: none;
  padding: 4rem 2rem;
  text-align: center;
}
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.testimonial {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  max-width: 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Stats */
/* Linear background and padding */
.stats-section {
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  color: white;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
}

/* Container for counters */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    width: 100%;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

body.dark-mode .stats-section {
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: #f1f5f9;
}

body.dark-mode .partner-logos{
    background: #ffffff;
    border-radius: 0.5rem;
    padding: 0.2rem;
}

.partner-logos{
    padding:0.2rem;
}

section.Portfolio-counter-num

 {
    display: flex;
    gap: 3rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

/* Individual counter box */
.counter-box {
    display: inline-flex;
    gap: 0.5rem;
  flex: 1 1 43%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: center;
}

.counter-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.counter-box h3 {
  font-size: 48px;
  margin: 0;
  color: #ffffff; 
  font-weight: bold;
}

.counter-box p {
  font-size: 18px;
  margin-top: 10px;
  color: #f8fafc; /* Light */
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .counter-box {
    flex: 1 1 100%;
    width: 100%;
  }
}


/* CTA */
.cta {
  padding: 4rem 1.5rem;
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  text-align: center;
  color: #ffffff;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 1rem;
  margin-top: 5rem;
}
.cta .btn-secondary {
  background: #0ea5e9;
  color: #fff;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.cta .btn-secondary:hover {
  background: #0369a1;
}

body.dark-mode .cta {
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: #f1f5f9;
}

/* Footer */
footer {
  padding: 2rem;
  background: #f1f5f9;
  text-align: center;
  font-size: 0.9rem;
}

/* Utilities */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #22d3ee;
  color: #000;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  z-index: 9999;
}
.dark-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  color: #000;
  border: none;
  padding: 0.4rem 0.6rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

/* Typing Text */
.typing-text {
  font-weight: bold;
  font-size: 1.4rem;
  color: #22d3ee;
  display: inline-block;
  min-height: 1.5em;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .hero {
    padding: 3rem 1.5rem;
  }
  .stats {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .typing-text {
    font-size: 1.1rem;
  }
  .cta h2 {
    font-size: 1.3rem;
  }
  .cta .btn-secondary,
  .hero .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* Header base */
.site-header {
    background: #0f172a;
    color: white;
    padding: 1rem 2rem;
    display: block;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0ea5e9;
  text-decoration: none;
}

/* Menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #38bdf8;
}

.login-btn {
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: white !important;
  font-weight: bold;
}

/* === Header Base === */





/* Navigation */
.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #38bdf8;
}

.login-btn {
  background: linear-gradient(to right, #1e3a8a, #2563eb);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: white !important;
  font-weight: bold;
}

/* Right Actions (toggle + mobile) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}

/* Responsive Nav */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #0f172a;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
  }

  .nav-menu.nav-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* === Dark Mode === */
body.dark-mode .site-header {
  background: #1e293b;
  color: #e2e8f0;
}

body.dark-mode .nav-menu a {
  color: #e2e8f0;
}
body.dark-mode .nav-menu a:hover {
  color: #7dd3fc;
}

body.dark-mode .login-btn {
  background: #ffffff;
  color: #0f172a !important;
}

body.dark-mode .theme-toggle {
  color: #facc15;
}

body.dark-mode .nav-menu {
  background: #1e293b;
}

/* Footer Style */
/* ===== Footer ===== */
footer {
  background-color: #111827; /* Tailwind's gray-900 */
  color: #ffffff;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

footer p {
  font-size: 0.875rem; /* text-sm */
  text-align: center;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.footer-socials a svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  opacity: 0.8;
}

/* Hover colors for each icon */
.footer-socials a[aria-label="LinkedIn"]:hover {
  color: #60a5fa; /* Tailwind's blue-400 */
}

.footer-socials a[aria-label="Instagram"]:hover {
  color: #ec4899; /* Tailwind's pink-400 */
}

.footer-socials a[aria-label="Facebook"]:hover {
  color: #2563eb; /* Tailwind's blue-600 */
}

.footer-socials a[aria-label="YouTube"]:hover {
  color: #ef4444; /* Tailwind's red-500 */
}

/* Dark mode support */
body.dark-mode footer {
  background-color: #1e293b; /* Tailwind's gray-800 */
  color: #f1f5f9;
}

