/* ==========================
   Root Colors & Variables
========================== */
:root {
  --primary: #0d6efd;       /* main blue accent */
  --accent: #34d399;        /* green accent */
  --text: #111;             /* main text */
  --muted: #6b7280;         /* secondary text */
  --surface: #f9fafb;       /* card / surface background */
  --soft: #e5e7eb;          /* subtle borders */
  --bg: #ffffff;             /* body background */
}

/* ==========================
   Global Reset & Body
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================
   Navbar
========================== */
.navbar .bi {
  font-size: 0.95rem;
  opacity: 0.85;
}

.nav-link:hover .bi {
  opacity: 1;
}

/* ==========================
   Hero Section
========================== */
.sigma-hero {
    position: relative;
    min-height: 88vh;
    width: 100%;

    display: flex;
    align-items: center;

    background-image: url("https://www.sigmagroup.com.np/assets/images/background.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* white / gray dim overlay */
.sigma-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(255,255,255,0.55),
        rgba(255,255,255,0.35)
    );

    z-index: 1;
}

/* content always above overlay */
.sigma-hero > * {
    position: relative;
    z-index: 2;
}

/* ================= Custom Breadcrumb ================= */
.custom-breadcrumb {
  background: rgba(0, 0, 0, 0.03); /* subtle light background */
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  display: inline-flex;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›"; /* modern separator */
  color: #6c757d;
  padding: 0 0.5rem;
}

.custom-breadcrumb .breadcrumb-item a {
  color: #0d6efd; /* primary color */
  font-weight: 500;
  transition: color 0.3s;
}

.custom-breadcrumb .breadcrumb-item a:hover {
  color: #0a58ca; /* darker blue on hover */
  text-decoration: underline;
}

.custom-breadcrumb .breadcrumb-item.active {
  color: #495057;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sigma-hero {
        min-height: 60vh;              /* mobile à¤®à¤¾ height à¤˜à¤Ÿà¤¾à¤‰à¤¨à¥‡ */
        background-position: top;      /* face / subject visible */
    }

    .sigma-hero::before {
        background: rgba(255,255,255,0.55); /* mobile à¤®à¤¾ extra clarity */
    }
}

/* ðŸ“± Small phones */
@media (max-width: 480px) {
    .sigma-hero {
        min-height: 55vh;
    }
}




.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.sigma-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.2;
}

.sigma-hero h1 span {
  color: var(--primary);
}

.sigma-hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #0a174f;
  margin-top: 1.6rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================
   Section Headings
========================== */
.section-head {
  text-align: center;
  margin-bottom: 70px;
}

.section-head .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--text);
  margin-top: 0.5rem;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ==========================
   Grid Layout
========================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* ==========================
   Cards (Services / General)
========================== */
.card, .company-card, .principle-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: all 0.35s ease;
}

.card:hover, .company-card:hover, .principle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card h3, .company-card h3, .principle-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.card p, .company-card p, .principle-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ==========================
   Company / Principle Icons
========================== */
.company-icon, .principle-icon, .about-icon i, .leadership-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.company-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(13,110,253,0.1);
}

.company-icon i {
  font-size: 1.2rem;
  color: var(--primary);
}

.principle-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(17,24,39,0.08);
}

.principle-icon i {
  font-size: 1.3rem;
  color: var(--text);
}

.about-icons, .leadership-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.about-icon, .leadership-icon {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.about-icon i, .leadership-icon i {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

/* ==========================
   Vision / Text Blocks
========================== */
.vision {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #374151;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

/* ==========================
   Contact Form
========================== */
.contact-card {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.contact-card .form-control {
  border: 1px solid var(--soft);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
}

.contact-card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
}

.contact-card button {
  margin-top: 1rem;
  width: 100%;
  border-radius: 999px;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ==========================
   Footer
========================== */
.sigma-footer {
  background: #f8f9fb;
  padding: 3rem 0 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: center;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #374151;
  margin-left: 1.2rem;
  text-decoration: none;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 1px;
  background: #111;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-copy {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.8rem;
}
/* ================= FOOTER – APPLE / IBM STYLE ================= */


.footer-brand{
  display:inline-block;
  margin-left:8px;
  font-weight:500;
  font-size:1rem;
  color:#0f172a;
}

.f-item p{
  margin-top:18px;
  max-width:520px;
  font-size:0.95rem;
  line-height:1.7;
  color:#475569;
}

/* Address List */
.address ul{
  list-style:none;
  padding:0;
  margin-top:24px;
}

.address ul li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:14px;
  font-size:0.92rem;
  color:#334155;
}

/* Bootstrap Icons */
.address ul li i{
  font-size:1.05rem;
  color:#64748b;
  margin-top:2px;
  flex-shrink:0;
}

/* Links */
.address ul li a{
  color:#334155;
  transition:color .2s ease;
}

.address ul li a:hover{
  color:#0f172a;
}

/* Footer column spacing harmony */
footer .col-md-6 {
  padding-top: 12px;
}


/* Footer background (if wrapper exists) */
footer,
.footer-area{
  background:#f8fafc;
  border-top:1px solid rgba(15,23,42,.08);
  padding:70px 0 50px;
}

/* Small devices refinement */
@media(max-width:768px){
  .f-item p{
    font-size:0.9rem;
  }

  .address ul li{
    font-size:0.9rem;
  }
}
/* Remove underline from footer links */
.address ul li a{
  text-decoration: none !important;
}

/* On hover â€“ no underline, only color change */
.address ul li a:hover{
  text-decoration: none !important;
  color:#0f172a;
}


/* ==========================
   Section Spacing
========================== */
section {
  padding: 5.5rem 0;
}
/* ================= HERO BUTTON â€“ GLASS / APPLE STYLE ================= */

.sigma-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:40px;

  padding:12px 22px;
  border-radius:999px;

  font-size:0.95rem;
  font-weight:500;
  letter-spacing:.01em;

  color:#0f172a;
  text-decoration:none;

  background:rgba(255,255,255,.65);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  box-shadow:
    0 6px 16px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.6);

  transition:
    background .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

/* Hover */
.sigma-btn:hover{
  background:rgba(255,255,255,.85);
  box-shadow:
    0 10px 24px rgba(15,23,42,.18);
  transform:translateY(-1px);
}

/* Arrow */
.sigma-btn::after{
  content: '→';
  font-size:1rem;
  transition:transform .25s ease;
}

.sigma-btn:hover::after{
  transform:translateX(4px);
}

/* ==========================
   Responsive
========================== */
@media(max-width:768px){
  .grid { gap: 20px; }
  .contact-card { padding: 2rem; }
}
#typed-text {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.2;
  color: #111;
  white-space: nowrap; /* keep text on one line */
  overflow: hidden; /* hide overflowing letters */
}

#typed-text .typing {
  border-right: 2px solid #0d6efd; /* cursor */
  display: inline-block;
  padding-right: 3px;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 50%, 100% { border-color: #0d6efd; }
  25%, 75% { border-color: transparent; }
}


/* Leadership Section */
#leadership {
  background: #ffffff;
  padding: 5.5rem 1.5rem;
  text-align: center;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.leader-card {
  background: var(--bg);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: left;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.leader-card i {
  display: block;
  margin-bottom: 1rem;
}

.leader-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.leader-card .role {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.leader-card .vision {
  font-size: 1rem;
  line-height: 1.7;
  color: #d1d5db;
  text-align: justify;
}

/* Section Head */
#leadership .section-head {
  max-width: 700px;
  margin: 0 auto 4rem;
}

#leadership .eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}

#leadership h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #111;
  letter-spacing: -0.02em;
}

/* Responsive */
@media(max-width:768px){
  .leader-card {
    text-align: center;
  }
}


/* Services Section */
.sigma-services {
  background: #f8f9fb;
  padding: 5rem 1.5rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.8rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(125, 211, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: #111;
}

.service-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
}

/* Section Head */
.sigma-services .section-head {
  max-width: 700px;
  margin: 0 auto 4rem;
}

.sigma-services .eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}

.sigma-services h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #111;
  letter-spacing: -0.02em;
}

/* Responsive */
@media(max-width:768px){
  .service-card {
    text-align: center;
  }
}



/* Container */
.sigma-impact-vision {
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
}

/* Grid for horizontal layout */
.impact-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  width: 100%;
}

/* Cards styling */
.impact-card, .vision-card {
  background: #f8f9fb;
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 12px 35px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.impact-card:hover, .vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

/* Eyebrow */
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Headings */
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  margin-top: 0.2rem;
}

/* Text */
.vision-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #374151;
  margin-top: 1.5rem;
}

/* Responsive for smaller screens */
@media(max-width: 768px){
  .impact-vision-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-card, .vision-card {
    text-align: center;
  }
}


.sigma-cta {
  background: linear-gradient(180deg, #f0f9ff 0%, #d1fae5 100%);
  border-radius: 24px;
  padding: 6rem 1.5rem;
  text-align: center;
  max-width: 100%;
  margin: 0 auto 5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sigma-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.sigma-cta .section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.sigma-cta .section-head h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: #111;
  line-height: 1.3;
  margin-top: 0.2rem;
}

.sigma-cta .vision {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
  max-width: 720px;
  margin: 1.8rem auto 2.5rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.search-modal {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
}
/*search model*/
.search-input {
  font-size: 2rem;
  padding: 16px;
  border: none;
  border-bottom: 2px solid #000;
  border-radius: 0;
  outline: none;
  width: 100%;
  max-width: 600px;
}

.search-results {
  text-align: left;
  margin-top: 10px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.search-item {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

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

.search-item:hover {
  background: rgba(0,0,0,0.05);
}

.highlight {
  background-color: yellow;
  font-weight: 600;
}


@media(max-width:768px){
  .sigma-cta {
    padding: 4rem 1.2rem;
  }

  .sigma-cta .section-head h2 {
    font-size: 1.9rem;
  }

  .sigma-cta .vision {
    font-size: 1rem;
  }
}