/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


:root {
  --bg: #ffffff;                 /* Pure white background */
  --bg-card: #f8fafc;            /* Clean near-white for cards */
  --fg: #0a1f44;                 /* Navy blue for primary text */
  --muted: #5b6b84;              /* Muted blue-gray for secondary text */

  --primary: #1f4ed8;            /* Royal blue (main brand/action color) */
  --primary-dark: #1839a6;       /* Deeper royal blue for hover/active */

  --accent: #0a1f44;             /* Navy blue accent (strong & professional) */
  --code: #2563eb;               /* Bright royal blue (tech/founder highlights) */

  --border: #e2e8f0;             /* Light cool-gray border */
  --shadow: rgba(10, 31, 68, 0.08);

  --gradient-bg: linear-gradient(
    135deg,
    #eef2ff,
    #ffffff
  ); /* Subtle royal-blue-tinted gradient */
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --bg: #020617;
    --bg-card: #020b1a;
    --fg: #e5e7eb;
    --muted: #94a3b8;

    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #60a5fa;
    --code: #38bdf8;

    --border: #1e293b;
    --shadow: rgba(0, 0, 0, 0.4);

    --gradient-bg: linear-gradient(
      135deg,
      #020617,
      #020b1a
    );
  }
}
 */



body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  overflow-x: hidden;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 20px;
}

/* ===== UTILITY ===== */
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}


/* ================= FOUNDER CARD ================= */

/* Founder Link Name Wrapping */
.founder-link {
  display: inline-block;      /* ensures the link can wrap */
  font-family: sans-serif;
  word-break: break-word;     /* breaks long words if needed */
  line-height: 1.2;           /* tight, neat stacking */
  white-space: normal;        /* allows wrapping */
  max-width: 100%;            /* restricts to container width */
  color: var(--primary);      /* theme color for link */
  text-decoration: underline; /* optional: underlined for clarity */
}

/* Founder Contact Info */
.founder-card .muted {
  display: flex;
  flex-wrap: wrap;            /* allows phone/email to wrap */
  gap: 0.4rem 0.6rem;         /* vertical and horizontal spacing */
  font-family: sans-serif;
  color: #111827;             /* dark text for readability */
}

.founder-card .muted a {
  color: #111827;             /* links match text color */
  text-decoration: none;      /* remove underline if preferred */
}

.founder-card .muted a:hover {
  text-decoration: underline; /* optional hover effect */
}

/* Mobile-specific stacking */
@media (max-width: 600px) {
  .founder-card {
    text-align: left;          /* align all content neatly */
  }

  .founder-card .muted {
    flex-direction: column;    /* stack phone/email vertically */
    gap: 0.25rem 0;            /* smaller gap for mobile */
  }

  .founder-link {
    font-size: 0.95rem;        /* slightly smaller for mobile */
  }
}


.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;        /* More rounded = modern */
  padding: 1.5rem;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--primary);
  border-radius: 12px;        /* Rounded buttons = trendy */
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25); /* Purple glow */
}

.btn.primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}


/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--bg);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: monospace;
}

.brand h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0; /* remove default margin */
}

.header-motto {
  font-size: 0.8rem; /* slightly smaller than h2 */
  color: var(--muted);
  margin-top: 0.15rem; /* very small gap from h2 */
  font-family: sans-serif;
  line-height: 1.1; /* tight stacking */
  letter-spacing: 1.85px;
}

/* Optional: adjust slightly for mobile */
@media (max-width: 600px) {
  .brand h2 {
    font-size: 1.1rem;
  }
  .header-motto {
    font-size: 0.75rem;
  }
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--fg);
  cursor: pointer;
}

nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  transition: right 0.3s ease;
  z-index: 999;
}

nav.active {
  right: 0;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s;
}

nav a:hover, nav a:focus {
  color: var(--primary);
}

nav a.cta {
  color: var(--primary);
  font-weight: bold;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Desktop nav (min-width: 900px) */
@media (min-width: 900px) {
  .menu-toggle, .menu-overlay {
    display: none;
  }

  nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
  }

  nav ul {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* ===== MAIN LAYOUT ===== */
main {
  flex: 1;
  padding: 1.5rem;
}

section {
  margin: 3rem 0;
}

h2, h3, h4 {
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.8rem;
  color: var(--primary);
}

h3 {
  font-size: 1.5rem;
  color: var(--accent);
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
}

/* ================= HERO SECTION ================= */

.hero {
  padding: 4rem 1.5rem;
  background: linear-gradient(
    135deg,
    #132c66,
    #051974
  );
  color: #f8fafc;
}

.hero-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

/* ---------- Left Content ---------- */

.hero h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5f5;
  max-width: 600px;
}

/* ---------- CTA Buttons ---------- */

.actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.75rem 1.4rem;
  border-radius: 0.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn.primary {
  background: #2563eb;
  color: #fff;
}

.btn.primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.btn:not(.primary) {
  border-color: #475569;
  color: #e5e7eb;
}

.btn:not(.primary):hover {
  background: #1e293b;
}

/* ---------- Cards ---------- */

.card {
  background: rgba(29, 18, 18, 0.06);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #e2e8f0;
}

.founder-link {
  color:white;
  text-decoration: none;
  font-weight: 600;
}

.founder-link:hover {
  text-decoration: underline;
}

.i-color {
  color: greenyellow;
}

.muted {
  font-size: 0.9rem;
  color: black;
}

.muted a {
  color: inherit;
  text-decoration: none;
}

.muted a:hover {
  text-decoration: underline;
}

/* ---------- Aside (Quick Services) ---------- */

aside.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #f8fafc;
}

aside.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

aside.card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: #e5e7eb;
}

aside.card li:last-child {
  border-bottom: none;
}

/* ================= DESKTOP LAYOUT ================= */

@media (min-width: 900px) {
  .hero-content-wrapper {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }

  .hero {
    padding: 6rem 2rem;
  }
}

/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 480px) {
  .hero {
    padding: 3.2rem 1.2rem;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}






/* ...................
..........FOR PHP EMBEDDED FORMS' ALERT SUCCESS */

.alert.success {
  background: #e6fffa;
  border: 1px solid #38b2ac;
  color: #065f46;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 500;
}










/* .........................
............SERVICES............... */

 .expand-content {

  color: #fff;

}

.service-tier ul li strong {

  color: var(--code);
}

/* ..........................
.........ABOUT ........... */


#about h2 {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
#about h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--code);
}


/* ===== SERVICES / PRICING / FAQ ===== */
.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.service-expand[data-expanded="true"] {
  background: #252525;
  border-color: var(--primary);
  color: var(--bg);
}

.service-expand[data-expanded="true"] .expand-toggle {
  background: var(--primary-dark);
  color: var(--bg);
}

.expand-toggle {
  margin-top: 0.75rem;
  width: 100%;
}

.badge {
  display: inline-block;
  background: var(--code);
  color: var(--bg);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}



/* ===== FORMS - BOTTOM BORDER ONLY ON HOVER/FOCUS ===== */
form input,
form textarea,
form select {
  width: 100%;
  padding: 0.6rem 0.4rem;
  background: transparent;
  border: none;               /* remove all borders */
  border-bottom: 2px solid transparent; /* only bottom border, initially transparent */
  color: var(--fg);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

/* Show bottom border on hover or focus */
form input:hover,
form input:focus,
form textarea:hover,
form textarea:focus,
form select:hover,
form select:focus {
  border-bottom-color: var(--primary);
  outline: none;  /* remove default focus outline */
}

/* Placeholder styling */
form ::placeholder {
  color: var(--muted);
  opacity: 1;
}

.select-outline {
  border: 1px solid black;
  border-radius: 8px;
  padding: 0.5rem;
  background: transparent;
  transition: border-color 0.3s ease;
}

/* ===== CENTERED CAROUSEL ===== */
.carousel-container {
  max-width: 800px;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.carousel-slide img {
  width: 100%;
  max-width: 500px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px var(--shadow);
  margin-bottom: 1.25rem;
}

.carousel-slide h3 {
  font-size: 1.3rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.carousel-slide p {
  color: var(--muted);
  max-width: 90%;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dots button.active {
  background: var(--primary);
}



/* ===== FOOTER ===== */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem 1.5rem;
  margin-top: 3rem;
  color: var(--fg);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  width: 10; /* Full width */
}

/* Brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-brand .logo {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.footer-brand h4 {
  font-size: 1.1rem;
  margin: 0;
}

/* Navigation */
.footer-content nav {
  width: 100%;
  max-width: 500px;
}

.footer-content nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.footer-content nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  text-align: center;
  padding: 0.25rem 0;
}

.footer-content nav a:hover {
  color: var(--primary);
}

.footer-content nav a.cta {
  color: var(--primary);
  font-weight: 600;
}

/* Bottom */
.footer-bottom {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

/* Tablet+ */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-content nav ul {
    grid-template-columns: repeat(3, auto);
    justify-items: start;
  }

  .footer-content nav a {
    text-align: left;
  }
}

/* Extra small screens (e.g., iPhone SE) */
@media (max-width: 480px) {
  .footer-content nav ul {
    grid-template-columns: 1fr;
  }
}


/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.1rem;
  color: white;
  background: #4a5568; /* Default dark gray */
  border-radius: 50%;
  transition: all 0.3s ease, transform 0.2s;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Branded Colors */
.footer-social a[href*="wa.me"] {
  background: #25D366; /* WhatsApp green */
}
.footer-social a[href*="wa.me"]:hover {
  background: #128C7E;
}

.footer-social a[href^="mailto"] {
  background: #D44638; /* Gmail red (works for email) */
}
.footer-social a[href^="mailto"]:hover {
  background: #B03328;
}

.footer-social a[href*="linkedin.com"] {
  background: #0A66C2; /* LinkedIn blue */
}
.footer-social a[href*="linkedin.com"]:hover {
  background: #074d99;
}

.footer-social a[href*="github.com"] {
  background: #333; /* GitHub black */
}
.footer-social a[href*="github.com"]:hover {
  background: #111;
}

.footer-social a[href*="x.com"],
.footer-social a[href*="twitter.com"] {
  background: #000000; /* X (Twitter) black */
}
.footer-social a[href*="x.com"]:hover,
.footer-social a[href*="twitter.com"]:hover {
  background: #333;
}

@media (max-width: 600px) {
  .footer-social {
    gap: 0.8rem;
  }
  .footer-social a {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1rem;
  }
}



/* ===== ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LOADING STATE ===== */
.form-submitting .btn {
  opacity: 0.7;
  pointer-events: none;
}





.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25D366; /* Official WhatsApp green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* On mobile, slightly smaller */
@media (max-width: 600px) {
  .whatsapp-widget {
    width: 50px;
    height: 50px;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}