/* ================== FONTS ================== */
/* @font-face {
  font-family: 'Agency FB';
  src: url('fonts/AgencyFB.woff2') format('woff2'),
       url('fonts/AgencyFB.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
} */
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@100..700&family=Great+Vibes&display=swap');

/* Body and general text */
body, p, a, li, h3{
  font-family: 'Inter', "Inter Placeholder", sans-serif; /* paragraphs, links, lists */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.special-heading {
  font-family: 'Antonio', sans-serif; /* headings */
}

/* /* Special heading style if needed *
h7
.special-heading {
  font-family: 'Antonio', sans-serif;
} */

/* ================== NAVBAR ================== */
/* Header wrapper */
.header {
  width: 100%;
  padding: 15px 15px; /* कम padding */
  display: flex;
  background: transparent;
  justify-content: center;
}

/* Navbar main */
.navbar {
  display: grid;
  grid-template-columns: auto auto auto; /* left | logo | right */
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 40px;
  padding: 6px 15px; /* border धेरै नहोस् */
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: background 0.3s, color 0.3s;
  column-gap: 1px; /* logo र lists बीच दूरी */
}

/* Dark mode */
body.dark-mode .navbar {
  background: #111;
  border: 1px solid #333;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* Navigation lists */
.nav-left, .nav-right {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 25px; /* logo नजिक, तर equal spacing */
}

/* Nav links */
.nav-left li a, .nav-right li a {
  text-decoration: none;
  color: #115a63;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-left li a:hover, .nav-right li a:hover { color: #eeebeb; }

body.dark-mode .nav-left li a, body.dark-mode .nav-right li a { color: #fff; }
body.dark-mode .nav-left li a:hover, body.dark-mode .nav-right li a:hover { color: #0070f3; }

/* Logo */
.logo {
  display: flex;
  padding-left: 10%;
}
.logo img {
  width: 80px; /* border tight देखाउन logo अलि सानो */
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}
.logo img:hover { transform: scale(1.05); }

/* Contact button */
.btn-contact { 
  background: #115a63; 
  color: #fff; 
  padding: 6px 16px; /* compact */
  border-radius: 20px; 
  transition: background 0.3s; 
}
.btn-contact:hover { background: #115a63; }

/* Responsive gap adjust */
@media (max-width: 1024px) {
  .nav-left, .nav-right { gap: 14px; }
}
@media (max-width: 768px) {
  .nav-left, .nav-right { gap: 10px; }
}
@media (max-width: 480px) {
  .nav-left, .nav-right { gap: 6px; }
}

/* Hover preview image */
.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;   /* आवश्यकता अनुसार size adjust गर */
  height: auto;
  pointer-events: none; /* cursor block नगर्ने */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 9999;
}

/* ================== SCROLL NAVBAR ================== */
.navbar-scroll {
  display: flex;
  align-items: center;
  gap: 15px;
  position: fixed;
  top: -80px; /* hidden initially */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: top 0.3s ease, opacity 0.3s ease;
  z-index: 999;
  opacity: 0; /* optional: fade effect */
}

.navbar-scroll.show {
  top: 10px; /* visible on scroll */
  opacity: 1; /* fade in */
}

.navbar-scroll .navbar-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.navbar-scroll .navbar-cta {
  font-weight: bold;
  color: #115a63;
  font-size: 1rem;
}

.navbar-scroll .nav-scroll-links {
  display: flex;
  list-style: none;
  gap: 15px;
}

.navbar-scroll .nav-scroll-links li a {
  text-decoration: none;
  font-weight: 500;
  color: #111;
  transition: color 0.3s;
}

.navbar-scroll .nav-scroll-links li a:hover {
  color: #0070f3;
}
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid #115a63;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
}

.cursor-img {
  display: none;
  max-width: 240px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ================== HERO + SERVICES ================== */
.hero-wrapper, .services-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text{
  flex: 1;
  max-width: 50%;
}

.hero-text h1 {
    font-size: 6rem;
  margin-bottom: 20px;
  color: #115a63;
}

.hero-text h2 {
    font-size: 3.5rem;
  margin-top: 20px;
  color: #5a5a5a;
}


.hero-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-justify: auto;
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: #111;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #0070f3;
}

/* ================== SERVICES ACCORDION ================== */
.services-text h2{
  font-size: 3.6rem;
  margin-bottom: 20px;
  color: #115a63;
}

.services-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-justify: auto;
}

.services-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
}

.services-section h2 {
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.services-section p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

/* Accordion Items */
.accordion-item {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between; /* text left, icon right */
  align-items: center;
  cursor: pointer;
}

.accordion-item h3 {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
}

.accordion-icon {
  font-size: 1.4rem;
  line-height: 1;       /* icon align with text */
  margin-left: 10px;    /* gap between text and icon */
  transition: transform 0.3s ease;
}

/* Rotate icon when active */
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Accordion content (hidden by default) */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  margin-top: 10px;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

/* Show when active */
.accordion-item.active .accordion-content {
  max-height: 500px;
  opacity: 1;
}


/* Show content when active */
.accordion-item.active .accordion-content {
  max-height: 500px; /* enough for content */
  opacity: 1;
}

/* ================== ABOUT CARD ================== */
.about-card {
  flex: 1 1 45%;
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ================== STICKY IMAGE FRAMES ================== */
.hero-frame {
  position: sticky;
  top: 120px;
  width: 400px;
  height: 500px;
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 16px;
  transition: all 0.8s ease;
}

#frame-image {
  z-index: 1;
}

#services-image {
  z-index: 2;
  transform: translateY(100%);
  opacity: 0;
}

/* ================== JOURNEY SECTION ================== */
.journey {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.journey-text {
  flex: 1;
  max-width: 50%;
}

.journey-text h2 {
  font-size: 3.8rem;
  margin-bottom: 20px;
  color: #115a63;
}

.journey-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px; 
}

.career-timeline h3 {
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 5px;
}

.career-timeline p {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: #555;
}
.career-timeline {
  font-size: 1.4rem;
  line-height: 3;       
  margin-left: 10px;    
  transition: transform 0.3s ease;
}
.career-timeline .company {
  color: #5c5cff;
  font-weight: 600;
}

.career-header {
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  padding-bottom: 10px; 
  border-bottom: 1px solid #ddd; 
}

.career-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.career-date {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  font-size: 1.4rem;
  font-weight: 500;
  color: #494949;
}

.date{
  font-size: 1rem !important;
}

/* Sticky image frame for journey */
.journey .hero-frame {
  position: sticky;
  top: 120px;
  width: 400px;
  height: 500px;
  overflow: hidden;
}

.journey .hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 16px;
  transition: all 0.8s ease;
}

.journey #frame-image {
  z-index: 1;
}

.journey #services-image {
  z-index: 2;
  transform: translateY(100%);
  opacity: 0;
}

/* ================== TECH STACK ================== */
.tech-stack-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 40px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* LEFT SIDE: TEXT + TECH ITEMS */
.tech-stack-text {
  flex: 1;
  max-width: 55%;
}

.tech-stack-text h2 {
  font-size: 4.5rem;
  margin-bottom: 20px;
  color: #115a63;
}

.tech-stack-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #444;
}

/* TECH ITEM */
.tech-item {
  display: flex;
  align-items: flex-start; 
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eaeaea;
}

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

.tech-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 12px;
  background: #f8f8f8;
  padding: 6px;
  transition: transform 0.3s ease;
  flex-shrink: 0; 
}

.tech-logo:hover {
  transform: scale(1.1);
}

.tech-item-content {
  flex: 1;
}

.tech-item-content h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 6px;
  color: #111;
}

.tech-item-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin: 0; 
}

/* RIGHT SIDE: HERO FRAME */
.hero-frame {
  position: sticky;
  top: 80px;              /* frame viewport ko top dekhi kati tala sticky start hune */
  width: 360px;
  height: 450px;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: auto;       /* right side ma stick garna */
  transform: translateY(-40px); /* extra adjust frame lai thora mathi sarna */
}


.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 16px;
  opacity: 0;              /* sabai images hidden initially */
  transform: translateY(20%); /* thora tala bata enter effect */
  transition: opacity 0.2s ease, transform 0.8s ease;
  z-index: 1;
}

.hero-frame img.active {
  opacity: 1;
  transform: translateY(-10%);  /* slightly lift image when active */
  z-index: 2;
}

/* ================== PROCESS SECTION ================== */
.process-wrapper {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  box-sizing: border-box;
}

.process-header {
  text-align: left;
  max-width: 100%;
}

.process-header h2 {
  font-size: 3.7rem;
  margin-bottom: 20px;
  color: #115a63;
}

.process-header p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* GRID LAYOUT */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.process-box {
  padding: 30px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 297px;
  text-align: left;
}

.process-box:nth-child(5) {
  grid-column: span 2;
}

.process-box h3 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
}

.process-box h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-align: left;
}

.process-box p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

/* BOX COLORS */
.process-box.dark {
  background: #111;
  color: #fff;
}

.process-box.color {
  background: #115a63;
  color: #fff;
}

.process-box.light {
  background: #f6f6f6;
  color: #111;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* RESPONSIVE */
@media (max-width:1024px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:1024px){
  .hero-wrapper, .services-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-frame {
    position: relative;
    width: 100%;
    height: auto;
  }
  .hero-text, .services-text, .about-card {
    max-width: 100%;
  }
}

@media (max-width:1024px){
  .journey {
    flex-direction: column;
    align-items: flex-start;
  }
  .journey .hero-frame {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
  .journey-text {
    max-width: 100%;
  }
}

@media (max-width:768px){
  .tech-item {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
  }
  .tech-logo {
    width: 40px;
    height: 40px;
  }
}

/* ================== SCROLL NAVBAR ================== */
.navbar-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  position: fixed;
  top: -60px; /* hidden initially */
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: top 0.3s ease;
  z-index: 999;
}

.navbar-scroll.show {
  top: 10px; /* visible on scroll */
}

.navbar-scroll .navbar-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.navbar-scroll .navbar-cta {
  font-weight: bold;
  color: #115a63;
  font-size: 1rem;
}
/* ================== CURSOR ================== */
.cursor {
  position: fixed;
  width: 15px;
  height: 15px;
  background-color: #115a63;  /* cursor color */
  border-radius: 100%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* Hover effect on buttons or links */
a:hover ~ .cursor,
.btn-contact:hover ~ .cursor {
  width: 50px;
  height: 50px;
  background-color: #ff0000; /* hover color */
}