/* ---------------------- */
/* GLOBAL STYLES */
/* ---------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

section {
  padding: 80px 20px; /* Top & Bottom padding, horizontal padding */
  margin: 0 auto;     /* Center content if needed */
  max-width: 1200px;  /* Prevent content from stretching too wide */
}

/* ---------------------- */
/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.navbar .logo {
  font-size: 28px;
  font-weight: 700;
}
.navbar .logo span {
  color: #7f5dff;
}

.admin-btn {
  padding: 8px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7f5dff, #9e2bff);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
}
.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(127,93,255,0.5);
}

/* ---------------------- */
/* HERO APP SECTION (FEATURED APP) */
.hero-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  padding: 40px 10%;
  border-radius: 30px;
  overflow: hidden;
  background: #000; /* fallback */
  box-shadow: 0 15px 60px rgba(127,93,255,0.25);
}

/* Hero background (iframe or image) */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-background img,
.hero-background iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  pointer-events: none; /* make iframe non-interactive */
  filter: brightness(0.3) blur(2px) /* subtle dark overlay */
}

/* Overlay content on top of background */
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

/* Logo + info side by side */
.hero-logo-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

/* Logo */
.hero-logo-container {
  display: inline-block;
  padding: 18px;
  border-radius: 30px;
  transition: background 0.3s, box-shadow 0.3s;
  position: relative; /* needed for shadow */
  
   /* Adaptive background for all logos */
  background: rgba(0, 0, 0, 0.5); /* semi-transparent dark */
  backdrop-filter: blur(10px);    /* soft blur behind logo */
  box-shadow: 0 10px 30px rgba(127,93,255,0.4); /* subtle glow */
}

.hero-logo-container img.hero-logo {
  width: 140px;       /* keeps your current size */
  height: 140px;
  border-radius: 30px;
  object-fit: contain;
  display: block;
  
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.4))
          drop-shadow(0 0 4px rgba(0,0,0,0.4));
}


/* Info */
.hero-info {
  flex: 1 1 300px; /* grow and shrink, minimum 300px */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-info h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero-info h2 {
  color: #ebebeb;
}

.hero-info p {
  color: #ccc;
  margin-bottom: 15px;
  font-size: 16px;
}

.hero-rating {
  font-size: 18px;
  color: #f5c518;
  margin-bottom: 15px;
}

/* Buttons */
.hero-buttons a {
  padding: 12px 25px;
  margin-right: 15px;
  border-radius: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #7f5dff, #9e2bff);
  transition: 0.3s;
  text-decoration: none;
}

.hero-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(127,93,255,0.4);
}

/* Responsive adjustments */
@media screen and (max-width: 900px) {
  .hero-logo-name {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-logo {
    margin-bottom: 20px;
  }
}


/* ---------------------- */
/* TABS */
.tabs {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 40px 0 20px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.tab-btn {
  padding: 12px 30px;
  background: #1a1a1a;
  border: none;
  border-radius: 15px;
  color: #ccc;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.tab-btn.active {
  background: linear-gradient(135deg, #7f5dff, #9e2bff);
  color: #fff;
}

/* ---------------------- */
/* PROJECT GRID / CARDS */
/*.projects-grid {*/
/*  display: grid;*/
/*  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));*/
/*  gap: 25px;*/
/*  padding: 0 10%;*/
/*}*/

/* Grid container */
.projects-grid {
  display: grid;
  gap: 25px;
  padding: 0 5%;

  /* Default: mobile first */
  grid-template-columns: 1fr; /* 1 column on small screens */
}

/* Tablet */
@media (min-width: 600px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
  }
}


.project-card {
  background: #1a1a1a;
  border-radius: 25px;
  padding: 25px 20px;
  text-align: center;
  transition: 0.4s;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(127,93,255,0.2);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(127,93,255,0.35);
}

.project-card img {
  width: 120px;
  height: 120px;
  /*max-width: 90%;*/
  border-radius: 25px;
  object-fit: contain;
  /*margin-bottom: 15px;*/
  background: #fff;
}

.project-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.project-card p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 12px;
}

.project-card .cta-btn {
  padding: 10px 18px;
  background: #7f5dff;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}
.project-card .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(127,93,255,0.35);
}

.card-header {
  display: flex;
  padding: 15px;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid #eee;
}

/* Project Meta */
/*.project-meta h3 {*/
/*  margin: 0;*/
/*  font-size: 1.2rem;*/
/*  font-weight: 600;*/
/*}*/

/* Platform container */
.platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* space between image and status */
}

/* Platform image */
.platform-img {
  width: 20px;
  height: 20px;
  object-fit: contain; /* keeps image proportions */
  display: block;
}

/* Platform status text */
.platform-status {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  font-weight: 500;
}


/* Card Body */
.card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.card-body .industry {
  font-weight: 500;
  color: #007BFF; /* Highlight industry */
}

.card-body .features {
  font-style: italic;
  color: #d2d2d2;
  display: -webkit-box;        /* Use flexbox-like container for line clamping */
  -webkit-box-orient: vertical; /* Vertical orientation */
  -webkit-line-clamp: 3;       /* Maximum 3 lines */
  overflow: hidden;            /* Hide the extra text */
  text-overflow: ellipsis;     /* Show ellipsis at the end */
  word-break: break-word;      /* Break long words if needed */
}

.card-body .description {
  color: #888;
}

/* Base status badge */
.platform-status {
  display: inline-block;
  padding: 2px 8px;           /* Small padding for pill shape */
  border-radius: 12px;        /* Rounded edges */
  font-size: 0.75rem;         /* Slightly smaller text */
  font-weight: 600;
  color: #fff;                /* Text color */
  text-transform: uppercase;  /* Optional: makes it uppercase */
}

/* Status colors */
.platform-status.live {
  background-color: #28a745; /* Green for Live */
}

.platform-status.development {
  background-color: #007bff; /* Blue for Under Development */
}

.platform-status.pending {
  background-color: #ffc107; /* Yellow for Pending/Other */
}

.platform-status.na {
  background-color: #6c757d; /* Gray for N/A */
}


/* ---------------------- */
/* PROJECT DETAILS PAGE */
.project-hero {
  margin-top: 100px;
  text-align: center;
  padding: 20px 10%;
}

.project-banner {
  min-height: 8rem;
  position: relative;
  border-radius: 30px;
  overflow: visible;
  box-shadow: 0 15px 50px rgba(127,93,255,0.35);
}

.project-banner-image {
  overflow: hidden;
  border-radius: 30px;
}


.project-banner-image img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}


.project-logo-container {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 18px;
  border-radius: 30px;
  z-index: 3;

  /* Adaptive background for all logos */
  background: rgba(0, 0, 0, 0.5); /* semi-transparent dark */
  backdrop-filter: blur(10px);    /* soft blur behind logo */
  box-shadow: 0 10px 30px rgba(127,93,255,0.4); /* subtle glow */
  display: flex;
  justify-content: center;
  align-items: center;
}


.project-logo {
  width: 120px;
  height: 120px;
  /*max-width: 20%;*/
  /*min-width: 70px;*/
  border-radius: 25px;
  /*border: 4px solid #fff;*/
  object-fit: contain;
  
   filter: drop-shadow(0 0 8px rgba(255,255,255,0.4))
          drop-shadow(0 0 4px rgba(0,0,0,0.4));
}

.project-info {
  margin-top: 70px;
  text-align: center;
}

.project-info h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.project-rating {
  font-size: 20px;
  color: #f5c518;
  margin-bottom: 12px;
}

.project-category {
  color: #ccc;
  margin-bottom: 15px;
}

.project-shortDesc {
  color: #aaa;
  margin-bottom: 20px;
}

.project-buttons a {
  padding: 12px 25px;
  margin: 10px;
  border-radius: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #7f5dff, #9e2bff);
  transition: 0.3s;
}
.project-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(127,93,255,0.35);
}

/* LONG DESCRIPTION & FEATURES */
.project-details {
  padding: 40px 10%;
}

.project-details h3 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.project-details ul {
  list-style: disc;
  padding-left: 20px;
  color: #ccc;
  margin-bottom: 20px;
}

.project-details p {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Screenshots horizontal scroll */
.project-screenshots {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 15px;
  scroll-behavior: smooth;
}

.project-screenshots img {
  width: auto;
  height: auto;
  max-height: 450px;
  max-width: 300px;
  object-fit: contain;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(127,93,255,0.3);
  transition: 0.3s;
  cursor: pointer;
}
.project-screenshots img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(127,93,255,0.4);
}
.project-banner {
  position: relative;
  min-height: 400px; /* height for background */
  border-radius: 30px;
  overflow: visible;
  box-shadow: 0 15px 50px rgba(127,93,255,0.35);
}

.project-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  border-radius: 30px;
}

.project-banner-image img,
.project-banner-image iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  pointer-events: none; /* iframe non-interactive */
  filter: brightness(0.5) blur(1px); /* dark overlay for readability */
}

/* ---------------------- */
/* RESPONSIVE */
@media screen and (max-width: 900px) {
  .hero-card {
    flex-direction: column;
    padding: 40px 5%;
    align-items: center;
    margin: 2%;
  }
  .hero-screenshot img {
    max-width: 90%;
    margin: 20px 0 0 0;
  }
  .project-logo-container {
    bottom: -40px;
    padding: 12px;
  }
  .project-logo {
    width: 90px;
    height: 90px;
  }
  .project-banner-image img {
    max-height: 300px;
  }
  .project-screenshots img {
    max-width: 200px;
    max-height: 250px;
  }
}

@media screen and (max-width: 500px) {
  .hero-info h1 {
    font-size: 28px;
  }
  .hero-info p {
    font-size: 14px;
  }
  .project-info h1 {
    font-size: 24px;
  }
  .project-details h2,
  .project-details h3 {
    font-size: 18px;
  }
  .project-screenshots img {
    max-width: 140px;
    max-height: 180px;
  }
}

/* ---------------------- */
/* SECTION TITLES */
/* ---------------------- */
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin: 60px 0 30px 0;
  color: #fff;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #7f5dff, #9e2bff);
  margin: 10px auto 0 auto;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(127,93,255,0.3);
}

/* Responsive tweaks */
@media screen and (max-width: 900px) {
  .section-title {
    font-size: 28px;
    margin: 50px 0 25px 0;
  }
}

@media screen and (max-width: 500px) {
  .section-title {
    font-size: 24px;
    margin: 40px 0 20px 0;
  }
}

.project-card span img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: inline-block;
}

.site-footer {
  background: #000;
  color: #e5e7eb;
  padding: 80px 20px 30px;
  font-family: "Inter", sans-serif;
}

.footer-wrapper {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.footer-info h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.footer-info p {
  color: #9ca3af;
  max-width: 420px;
}

.footer-actions {
  margin-top: 25px;
}

.whatsapp {
  display: inline-block;
  margin-bottom: 15px;
  padding: 10px 18px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
}

.socials a {
  margin-right: 15px;
  color: #9ca3af;
  text-decoration: none;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #262626;
  color: #fff;
  padding: 12px;
  margin-bottom: 14px;
}

.enquiry-form button {
  background: #fff;
  color: #000;
  padding: 12px;
  width: 100%;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 60px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

@media (max-width: 900px) {
  .footer-wrapper {
    grid-template-columns: 1fr;
  }
}

.form-success {
  display: none;
  color: #22c55e;
  margin-top: 15px;
  font-size: 14px;
}

.enquiry-form select option {
  background-color: #000;
  color: #fff;
}

.hero-case-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 20px; /* spacing between columns */
  margin-top: 40px;
}

/* Each section styling */
.hero-case-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.hero-case-summary p {
  font-size: 0.7rem;
  line-height: 1.5;
  color: #ebebeb;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .hero-case-summary {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .hero-case-summary {
    grid-template-columns: 1fr; /* stack vertically on mobile */
  }
}
/* Responsive tweaks */
@media (max-width: 480px) {
  .project-card {
    flex-direction: column;
  }

  .card-header {
    flex-direction: column;
    align-items: center;
  }

  .project-logo {
    width: 50px;
    height: 50px;
  }
   
  .projects-grid {
      padding: 0px;
  }
  
  .hero-buttons a {
      margin: 2%;
  }
}
/* Hide anchor on mobile */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}



