/* ==========================================================================
   GIYOSYS TECH PVT. LTD. - Main Stylesheet
   Technology: Bootstrap 5 (70-80%) + Custom CSS (20-30%)
   Brand Colors: Forest Green (#0a8744), Azure Blue (#0077d8), Dark Slate (#111827)
   ========================================================================== */

:root {
  --giy-green: #0a8744;
  --giy-green-dark: #075f30;
  --giy-green-light: #eaf7ef;
  --giy-green-subtle: #f0fbf4;
  --giy-blue: #0077d8;
  --giy-blue-light: #e8f4fd;
  --giy-dark: #111827;
  --giy-slate: #334155;
  --giy-muted: #64748b;
  --giy-border: #e2e8f0;
  --giy-card-bg: #ffffff;
  --giy-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Global Reset & Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--giy-font-sans);
  color: var(--giy-slate);
  background-color: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Top Announcement / Info Bar */
.top-bar {
  background-color: #0f172a;
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-bar a:hover {
  color: #38bdf8;
}

.top-bar .badge-gov {
  background: rgba(10, 135, 68, 0.25);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  font-weight: 500;
  font-size: 0.75rem;
}

/* Brand Logo Component */
.brand-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-container {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-logotext {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #111827;
  display: inline-flex;
  align-items: center;
}

.logo-inline-icon {
  width: 24px;
  height: 24px;
  margin: 0 1px;
  vertical-align: middle;
  border-radius: 50%;
  display: inline-block;
}

.brand-tm {
  font-size: 0.55rem;
  vertical-align: super;
  font-weight: 700;
  color: #475569;
  margin-left: 1px;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--giy-green);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.brand-tagline {
  font-size: 0.52rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.12em;
  margin-top: 1px;
}

/* Navigation Bar */
.navbar-custom {
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.navbar-custom .nav-link {
  color: #1e293b;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar-custom .nav-link:hover {
  color: var(--giy-green);
  background-color: var(--giy-green-light);
}

.navbar-custom .nav-link.active {
  color: var(--giy-green) !important;
  background-color: var(--giy-green-light);
  font-weight: 700;
}

.btn-giy-primary {
  background-color: var(--giy-green);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid var(--giy-green);
  border-radius: 6px;
  padding: 0.55rem 1.25rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-giy-primary:hover {
  background-color: var(--giy-green-dark);
  border-color: var(--giy-green-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 135, 68, 0.25);
}

.btn-giy-outline {
  background-color: transparent;
  color: var(--giy-green);
  font-weight: 600;
  border: 2px solid var(--giy-green);
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-giy-outline:hover {
  background-color: var(--giy-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 135, 68, 0.15);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #064e3b 100%);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(10, 135, 68, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #86efac;
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #cbd5e1;
  max-width: 620px;
  line-height: 1.6;
}

/* Page Hero Banner for Subpages */
.page-header-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 70%, #0a4f2b 100%);
  color: #ffffff;
  padding: 3.5rem 0 2.5rem;
  position: relative;
}

.page-header-banner h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Stats Ribbon */
.stats-card {
  background: #ffffff;
  border: 1px solid var(--giy-border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 135, 68, 0.12);
  border-color: #86efac;
}

.stats-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--giy-green);
  line-height: 1;
}

.stats-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--giy-slate);
  margin-top: 0.4rem;
}

/* Section Header Component */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--giy-green);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--giy-green-light);
  padding: 0.3rem 0.8rem;
  border-radius: 50rem;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: clamp(1.65rem, 2.75vw, 2.35rem);
  font-weight: 800;
  color: var(--giy-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--giy-muted);
  max-width: 680px;
}

/* Feature & Service Cards */
.giy-card {
  background: #ffffff;
  border: 1px solid var(--giy-border);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.giy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background-color 0.25s ease;
}

.giy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.giy-card:hover::before {
  background: var(--giy-green);
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: var(--giy-green-light);
  color: var(--giy-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.giy-card:hover .card-icon-box {
  background-color: var(--giy-green);
  color: #ffffff;
}

.card-icon-box-blue {
  background-color: var(--giy-blue-light);
  color: var(--giy-blue);
}

.giy-card:hover .card-icon-box-blue {
  background-color: var(--giy-blue);
  color: #ffffff;
}

.giy-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--giy-dark);
  margin-bottom: 0.65rem;
}

.giy-card-text {
  font-size: 0.93rem;
  color: var(--giy-muted);
  flex-grow: 1;
  line-height: 1.55;
}

/* Industry Badge / Grid */
.industry-card {
  background: #ffffff;
  border: 1px solid var(--giy-border);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.2s ease;
  height: 100%;
}

.industry-card:hover {
  border-color: var(--giy-green);
  background-color: var(--giy-green-subtle);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 135, 68, 0.08);
}

.industry-icon {
  font-size: 1.85rem;
  color: var(--giy-green);
  margin-bottom: 0.5rem;
}

.industry-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--giy-dark);
  margin-bottom: 0;
}

/* Process / Workflow Steps */
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--giy-green);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(10, 135, 68, 0.3);
}

/* Timeline / Milestones for About page */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid #cbd5e1;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.55rem;
  top: 0.15rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--giy-green);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--giy-green);
}

/* Leadership Profile Cards */
.leader-card {
  background: #ffffff;
  border: 1px solid var(--giy-border);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  border-color: #cbd5e1;
}

.leader-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  border: 4px solid var(--giy-green);
  box-shadow: 0 6px 18px rgba(10, 135, 68, 0.25);
  margin: 0 auto 1.25rem;
  background-color: #e2e8f0;
  display: block;
}

.hero-visual-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease;
}

.hero-visual-card:hover {
  transform: translateY(-4px);
}

.leader-badge {
  display: inline-block;
  background-color: var(--giy-green-light);
  color: var(--giy-green-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Gallery Items */
.gallery-filter-btn {
  border: 1px solid var(--giy-border);
  background: #ffffff;
  color: var(--giy-slate);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background-color: var(--giy-green);
  border-color: var(--giy-green);
  color: #ffffff;
}

.gallery-item-card {
  background: #ffffff;
  border: 1px solid var(--giy-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  height: 100%;
}

.gallery-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: #94a3b8;
}

.gallery-img-wrapper {
  position: relative;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 10;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

/* Contact Cards (Scope-compliant: No Form) */
.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--giy-border);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  height: 100%;
}

.contact-info-card:hover {
  border-color: var(--giy-green);
  box-shadow: 0 8px 24px rgba(10, 135, 68, 0.08);
}

.contact-icon-large {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--giy-green-light);
  color: var(--giy-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, #0a8744 0%, #075f30 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Footer */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 0.92rem;
  padding-top: 4.5rem;
  border-top: 4px solid var(--giy-green);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--giy-green);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.footer-contact-item i {
  color: #4ade80;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 3.5rem;
}

/* Business Card Showcase Container */
.business-card-preview {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border: 1px solid #cbd5e1;
  transition: transform 0.25s ease;
  max-width: 100%;
}

.business-card-preview:hover {
  transform: scale(1.02);
}

/* Utility / Misc */
.text-giy-green {
  color: var(--giy-green) !important;
}

.bg-giy-green {
  background-color: var(--giy-green) !important;
}

.bg-giy-light {
  background-color: var(--giy-green-light) !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 3.5rem 0 3rem;
  }
  .navbar-collapse {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    margin-top: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .brand-logotext {
    font-size: 1.35rem;
  }
  .logo-inline-icon {
    width: 20px;
    height: 20px;
  }
  .cta-banner {
    padding: 2rem 1.25rem;
  }
}
