/* ==========================================================================
   DHIYA'S TECH LOOM (PVT) LTD - Page Layouts & Specific Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO SECTION (Home)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background Cyber Grid Grid Glow */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 240, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-glow-orb {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(0, 114, 255, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-gold {
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(245, 175, 25, 0.12) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-motto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-glass-glow);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
}

.hero-motto-badge .sparkle {
  color: var(--gold-accent);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--gold-accent));
  border-radius: 3px;
  opacity: 0.7;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-bright);
}

.hero-stat-label {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Hero Right Visual Emblem Card */
.hero-visual-card {
  position: relative;
  padding: 2.5rem;
  background: rgba(11, 19, 43, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--glow-cyan);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo-box {
  width: 180px;
  height: 180px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.4));
  animation: floatAnim 4s ease-in-out infinite;
}

.hero-logo-box svg, .hero-logo-box img {
  width: 100%;
  height: 100%;
}

.hero-card-company {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-bright);
}

.hero-card-motto {
  font-size: 0.95rem;
  color: var(--gold-accent);
  font-style: italic;
  margin-top: 0.4rem;
}

/* --------------------------------------------------------------------------
   SERVICES GRID & CARDS
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--neon-cyan);
  color: #050811;
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-bright);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-features-list li {
  font-size: 0.875rem;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-features-list li::before {
  content: '✓';
  color: var(--neon-cyan);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   PROJECTS SHOWCASE & CARDS
   -------------------------------------------------------------------------- */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-thumbnail {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-glass);
}

.project-thumbnail-visual {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumbnail-visual {
  transform: scale(1.05);
}

.project-badge-pos {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}

.project-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
}

.project-tag {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Service Deliverables List with Badges inside Project Cards & Modal */
.project-deliverables {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
  padding: 0.9rem 1.1rem;
  background: rgba(5, 8, 17, 0.65);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: var(--radius-sm);
}

.deliverable-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
  padding: 0.25rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.deliverable-item:last-child {
  border-bottom: none;
}

.deliverable-name {
  color: var(--text-bright);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.deliverable-name::before {
  content: '▸';
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 700;
}

.badge-sm {
  padding: 0.22rem 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
}

/* Demo Notice Banner in Contact Form */
.demo-submission-notice {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 23, 42, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: fadeIn 0.3s ease;
}

.demo-notice-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gold-accent);
  font-size: 0.95rem;
}

.demo-notice-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.demo-direct-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.why-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.5rem;
}

.why-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   ABOUT PAGE & FOUNDER HIGHLIGHT
   -------------------------------------------------------------------------- */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

.mv-card {
  padding: 2.5rem;
}

.mv-card.mission {
  border-color: rgba(0, 240, 255, 0.3);
}

.mv-card.vision {
  border-color: rgba(245, 175, 25, 0.3);
}

.mv-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.mv-card.mission .mv-icon {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
}

.mv-card.vision .mv-icon {
  background: rgba(245, 175, 25, 0.15);
  color: var(--gold-accent);
}

/* Founder Showcase Card */
.founder-section {
  position: relative;
  margin-top: 3rem;
}

.founder-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  padding: 3rem;
  background: rgba(16, 23, 42, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--glow-gold);
}

.founder-avatar-box {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold-accent);
  background: linear-gradient(135deg, #0b132b 0%, #1e293b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.founder-avatar-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(245, 175, 25, 0.15);
  border: 2px solid var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.founder-name-tag {
  text-align: center;
}

.founder-name-tag h3 {
  font-size: 1.4rem;
  color: var(--text-bright);
}

.founder-name-tag p {
  font-size: 0.85rem;
  color: var(--gold-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.founder-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.founder-subtitle {
  font-size: 1rem;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.founder-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.founder-quote {
  padding: 1.25rem 1.5rem;
  background: rgba(245, 175, 25, 0.06);
  border-left: 3px solid var(--gold-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-bright);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.founder-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.founder-skill-tag {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(245, 175, 25, 0.12);
  border: 1px solid rgba(245, 175, 25, 0.3);
  color: var(--gold-accent);
  font-size: 0.82rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   CONTACT PAGE & FORM
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-card h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card p, .contact-card a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-bright);
}

.contact-card a:hover {
  color: var(--neon-cyan);
}

.contact-form-card {
  padding: 2.75rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(5, 8, 17, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: var(--text-bright);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  background: rgba(10, 14, 26, 0.9);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.5rem 2rem;
  cursor: pointer;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
}

.faq-toggle-icon {
  color: var(--neon-cyan);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-top 0.3s ease;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

/* Responsive Rules for Pages */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .hero-visual-card {
    display: none;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .founder-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .founder-avatar-box {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .services-grid, .projects-grid, .contact-layout, .about-hero-grid, .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
