/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0b1623;
  color: #fff;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #000000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0065fd;
}

.logo span {
  color: #ffffff;
}

.logo .sub {
  font-size: 0.7rem;
  color: #0065fd;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar ul li a {
  text-decoration: none;
  color: #cfd8e3;
  font-weight: 500;
  transition: 0.3s;
}

.navbar ul li a:hover {
  color: #4a90ff;
}

/* Header social icons (renamed for header only) */
.header-social-icons i {
  color: #cfd8e3;
  margin-left: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.header-social-icons i:hover {
  color: #4a90ff;
}

/* ===== Hamburger Menu (CSS only) ===== */
.nav-toggle {
  display: none; /* hidden checkbox */
}

.nav-toggle-label {
  display: none; /* hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Show hamburger only on mobile */
@media (max-width: 900px) {
  .nav-toggle-label {
    display: flex;
  }

  /* Hide nav & socials by default */
  .navbar nav {
    display: none;
    width: 100%;
    background: #000;
    padding: 20px 0;
  }

  .navbar nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .header-social-icons {
    display: none;
    justify-content: center;
    padding: 10px 0;
    border-top: 1px solid #111;
    gap: 20px;
  }

  /* Show menu when toggle is checked */
  .nav-toggle:checked ~ nav,
  .nav-toggle:checked ~ .header-social-icons {
    display: flex;
    flex-direction: column;
  }
}

/* ---------- HERO ---------- */
.hero {
  text-align: center;
  /* keep your existing top padding, but tighten the bottom a bit */
  padding: 120px 10% 56px;
  margin-bottom: 0;

  /* smooth gradient like your screenshot */
  background: linear-gradient(180deg, #1a2638 0%, #182338 45%, #0b2f88 100%);
  color: #cfd8e3;
}

/* green-dot badges (keep yours if already working) */
.hero .features {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 16px 24px; margin-top: 18px; font-size: .95rem;
}
.hero .features span { position: relative; padding-left: 18px; }
.hero .features span::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 8px; height: 8px; transform: translateY(-50%);
  background: #22c55e; border-radius: 50%;
}

/* CTA link styled like a button */
.hero .cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #3c7cff, #2962ff);
  box-shadow: 0 8px 24px rgba(41,98,255,.35), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero .cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #4a88ff, #2f6aff);
  box-shadow: 0 12px 28px rgba(41,98,255,.45);
}

/* ---------- CARDS SECTION (directly under hero) ---------- */
.hero-services {
  /* pull section up so it tucks under the hero’s blue—kills the “line” */
  margin-top: -40px;
  padding: 40px 10% 72px;

  /* put a short top gradient to match the hero's bottom, then fade to your dark */
  background:
    linear-gradient(180deg, #0b2f88 0%, rgba(11,47,136,.65) 14px, #0d1524 40px),
    #0d1524;

  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}

/* card sizing & hover */
.hero-services .service-card {
  background: #0b1623;
  border: 1px solid #1c2a3f;
  border-radius: 10px;
  padding: 24px 20px;
  width: min(100%, 340px);      /* more compact cards */
  min-height: 210px;
  color: #fff;
  text-align: left;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hero-services .service-card:hover {
  transform: translateY(-6px);
  border-color: #3b6fff;
  box-shadow: 0 14px 32px rgba(0,0,0,.35), 0 0 24px rgba(59,111,255,.18);
}

.hero-services .service-card i {
  font-size: 1.8rem;
  color: #4a90ff;
  margin-bottom: 12px;
  display: inline-block;
}
.hero-services .service-card h3 {
  font-size: 1.05rem; margin: 0 0 8px; font-weight: 700; color: #e8eef8;
}
.hero-services .service-card p {
  font-size: .92rem; line-height: 1.5; color: #cfd8e3; margin: 0;
}

/* responsive tweak */
@media (max-width: 900px){
  .hero { padding-bottom: 48px; }
  .hero-services { margin-top: -28px; padding-top: 28px; }
  .hero-services .service-card { width: 100%; }
}

/* about section*/
.about {
  padding: 80px 10%;
  background-color: #1c2833;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.about p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #ffffff;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

/* Mission */
.mission h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.mission p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #cfd8e3;
  max-width: 100%;
  line-height: 1.6;
}

.mission-icons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.icon-box {
  text-align: center;
  width: 30%;
  min-width: 120px;
}

.icon-box span {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
  color: #4a90ff;
}

.icon-box strong {
  display: block;
  color: #fff;
  margin-bottom: 5px;
}

.icon-box p {
  font-size: 0.85rem;
  color: #cfd8e3;
}

/* Values Card */
.values-card {
  background: linear-gradient(145deg, #3b05a1, #0430f3e8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0px 20px 2.10px rgb(5, 0, 0);
  max-width: 100%;
}

.values-card h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.values-card ul {
  list-style: none;
  padding: 0;
}

.values-card li {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-bottom: 20px;
  color: #cfd8e3;
}

.values-card li i {
  font-size: 1.2rem;
  color: #4a90ff;
  margin-top: 3px;
}

.values-card strong {
  display: block;
  color: #fff;
  margin-bottom: 5px;
}

/* Responsive Fix for Mobile */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-icons {
    justify-content: center;
  }

  .icon-box {
    width: 45%;
    margin-bottom: 20px;
  }
}

/* ====== Our Services Section (Properly Centered) ====== */
.services {
  background-color: #0d1524;
  color: #ffffff;
  padding: 80px 20px;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-container h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.services-container p {
  font-size: 1rem;
  color: #cfd8e3;
  margin-bottom: 50px;
}

/* Services Grid (updated to force 3x2 layout) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* force 3 columns */
  gap: 30px;
  justify-items: center;
}

/* Responsive fallback */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background-color: #182133;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.service-icon {
  font-size: 2rem;
  color: #3b82f6;
  margin-bottom: 15px;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #cfd8e3;
  line-height: 1.5;
}


/* ===== Portfolio Section ===== */
.portfolio { 
  text-align: center;
  padding: 50px 0;
  background-color: #1c2833;
  color: #fff;
}

.portfolio-placeholder {
  border: 1px dashed #444;
  border-radius: 8px;
  max-width: 500px;
  margin: 30px auto;
  padding: 40px 20px;
  background-color: #1a1f2c;
}

.portfolio-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #3b82f6;
}

.portfolio h2 {
  font-weight: bold;
  color: #fff;
}

.portfolio p {
  color: #aaa;
}

.portfolio-placeholder h3 {
  color: #fff;
  margin-bottom: 10px;
}

.portfolio-placeholder p {
  color: #ccc;
  margin-bottom: 15px;
}

.portfolio-placeholder .stars {
  color: #555;
  font-size: 18px;
}

.client-reviews {
  background-color: #0D1523;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.client-reviews h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.client-reviews p {
  color: #d0d3d8;
  margin-bottom: 40px;
}

/* Review card */
.review-card {
  background-color: #191b1f;
  border: 1px dashed #3a4558;
  border-radius: 8px;
  display: inline-block;
  max-width: 450px;
  padding: 30px 20px;
}

.review-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.stars {
  margin-top: 15px;
  color: #555;
  font-size: 1.2rem;
}


/* Contact Section */
.contact-section {
  background-color: #1c2833;
  text-align: center;
  padding: 60px 20px;
  color: #fff;
}

.contact-section h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-section p {
  color: #bbb;
  max-width: 600px;
  margin: 0 auto 10px;
}

.contact-section .highlight-text {
  color: #fff;
  font-weight: bold;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

/* Contact Info */
.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info h3 {
  margin-bottom: 20px;
  color: #f4f4f4;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item .icon {
  font-size: 24px;
  margin-right: 10px;
}

.contact-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-social-icons img {
  width: 30px;
}

.coming-soon {
  background: gold;
  color: black;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
.contact-form {
  flex: 1;
  min-width: 300px;
  background: #22313f;
  padding: 30px;
  border-radius: 10px;
}

.contact-form h3 {
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  background: #2c3e50;
  border: none;
  color: white;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ffffff;
}

/* Contact button fix */
.contact-form button {
  background-color: #0044cc;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #0033aa;
}

/* ===== Footer (refined) ===== */ 
.footer {
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  padding-top: 30px;
}

.footer-content {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

.footer-logo {
  font-size: 1rem;
  font-weight: bold;
}
.footer-logo i {
  color: #3b82f6;
  margin-right: 5px;
}
.footer-logo .dev {
  color: #fff;
  font-weight: bold;
}
.footer-logo .web {
  color: #3b82f6;
  font-weight: bold;
}
.footer-logo .studio {
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin-left: 4px;
  color: #3b82f6;
}

.footer-col p {
  color: #ffffff;
  font-size: 0.9rem;
  margin: 12px 0;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-socials .social {
  font-size: 1rem;
  text-decoration: none;
}
.social.fb { color: #1877f2; }
.social.ig { color: #f10336; }   /* Instagram red/pink */
.social.li { color: #0a66c2; }   /* LinkedIn blue */

/* Quick Links and Contact links */
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin: 5px 0;
}
.footer-col ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.9rem;
}
.footer-col ul li a:hover {
  color: #4a90ff;   /* hover color */
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
}
.footer-col a:hover {
  color: #4a90ff;
}

/* Divider line */
.footer hr {
  border: none;
  border-top: 1px solid #222;
  margin: 15px auto;
  max-width: 1100px;
}

/* Bottom copyright */
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
  padding-bottom: 15px;
}
