@import "./footer.css";
@import "./main-banner.css";
@import "./our-team.css";
@import "./new-insight.css";
@import "./our-experience.css";
@import "./reviews.css";
@import "./our-process.css";
@import "./our-services.css";
@import "./about-us.css";
@import "./our-work.css";

/* 
heading:  'Funnel Display', sans-serif;
medium : 'Space Grotesk', sans-serif;
p:       "Kanit", Sans-serif;
small: "Kanit", Sans-serif;
buttons: "Space Grotesk", Sans-serif;
subheading: "Teko", sans-serif;
*/



:root {
  color-scheme: light dark;
  --font-heading: "Funnel Display", sans-serif;
  --font-subheading: "Teko", sans-serif;
  --font-medium: "Space Grotesk", sans-serif;
  --font-body: "Kanit", sans-serif;
  --color-green:#7ccfb6;
  --color-bright-green:#87ffdb;
  --color-white:#f7f7eb;
  --color-black:#000;
  --color-red:#fa480a;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* transition:all 0.3s ease; */
}

body {
  margin: 0;
  font-family: var(--font-body);
  padding:0
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn-circle{
      width: 150px;
    height: 150px;
    background-color: #f7f7eb;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
    font-family: var(--font-medium);
    font-weight: 700;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    transition: all 0.3s ease;
}
.btn-circle svg {
    width: 20px;
    height: 20px;
    margin-bottom: 5px;
}
.btn-circle:hover{
      transform: scale(1.02);
    background-color: var(--color-green);
    color: var(--color-white);
}

.heading-animation  span{
  background-image: linear-gradient(to right, #000 50%, #bbb 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    background-clip: text;
    color: transparent;
    display: block;
    width: fit-content;
}

.heading-badge{
      border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-medium);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color:#111;
}
.heading-badge:before{
      content: '';
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
}
.heading-badge-green{
  border: 1px solid #7efebf;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-medium);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color:#7efebf;
}
.heading-badge-green:before{
      content: '';
    width: 6px;
    height: 6px;
    background-color: #7efebf;
    border-radius: 50%;
}

.heading-badge-white{
  border: 1px solid var(--color-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-medium);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color:var(--color-white);
}
.heading-badge-white:before{
      content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-white);
    border-radius: 50%;
}

header {
  /* margin-bottom: 16px; Removed to allow hero overlap */
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index: 1000;
  transition: all 0.3s ease;
}
header.sticky{
  top:-70px;
}

/* Clock Animation */
@keyframes clockRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.clock-hands {
  transform-origin: 12px 12px; /* Center of 24x24 SVG */
  animation: clockRotate 4s linear infinite;
}

/* Mail Animation */
@keyframes mailOpen {
  0%, 100% { transform: rotateX(0deg); }
  50% { transform: rotateX(180deg); }
}

.mail-flap {
  transform-origin: 12px 8px; /* Pivot at top of flap */
  animation: mailOpen 2s ease-in-out infinite;
}

/* Pre-Header Styles */
.pre-header {
  padding: 15px 0;
  border-bottom: none;
  background-color: white;
  position: relative;
  z-index: 20;
}

.pre-header__wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.pre-header__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pre-header__icon-box {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F3F0FF;
  color: #7ccfb6;
  border-radius: 8px;
}

.pre-header__icon-box svg {
  width: 24px;
  height: 24px;
}

/* Clock Animation */
@keyframes clockRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.clock-hands {
  transform-origin: 12px 12px; /* Center of 24x24 SVG */
  animation: clockRotate 4s linear infinite;
}

.pre-header__content {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  gap: 10px;
}

.pre-header__label {
  font-family: var(--font-body);
  font-size: 14px;
  color: #666;
  line-height: 1.2;
}

.pre-header__value {
  font-family: var(--font-medium);
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  line-height: 1.2;
}

.pre-header__value:hover {
  color: #7ccfb6;
}

.pre-header__separator {
  width: 1px;
  height: 40px;
  background-color: #7ccfb6;
  margin: 0 24px;
}

/* Main Header Styles */
.main-header {
  position: relative;
  z-index: 10;
  padding: 20px 0;
  margin-top: 0px;
  overflow-x: clip;
  transition: all 0.3s ease; /* Smooth transition for sticky */
}
header.sticky .main-header{
  padding:0;
  background-color: #002733;
  box-shadow: 0px 5px 20px 0px #00273385;
}
/* Sticky Class */
.main-header.sticky {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 10px 0; /* Shrink padding */
}

/* 
   We want the white background to start at the container's left edge (with a curve)
   and extend to the right edge of the viewport.
*/


.main-header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  /* Adjust as needed */
  padding-left: 40px;
  /* Increased space from the curve edge */
  gap: 120px;
}

/* Logo */
.main-header__logo {
  position: relative;
}

.main-header__logo-bg {
  position: absolute;
  left: -111px;
  top: -24px;
  width: 385px;
  height: 100px;
  z-index: -1;
}

.main-header__logo-bg img {
  width: 100%;
  height: auto;
  transition:all 0.3s;
}

.sticky .main-header__logo-bg img{
  opacity: 0;
  visibility: hidden;
}

.main-header__logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.main-header__logo-icon {
  max-width: 150px;
  width: 100%;
}

.main-header__logo-icon img {
  filter: drop-shadow(1px 1px 1px #000);
  width: 100%;
  height: auto;
}


.main-header__nav-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  background-color: #fff;
  position: relative;
      border-radius: 50px 0 0 0px;
}

.sticky .main-header__nav-wrapper{
      background-color: #002733;
}

.main-header__nav-wrapper-beforeimg {
  position: absolute;
  left: -98px;
  top: 0px;
  width: 150px;
  height: 75px;
  z-index: -1;
  
}


.main-header__nav-wrapper-beforeimg img {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.sticky .main-header__nav-wrapper-beforeimg img{
  opacity: 0;
  visibility: hidden;
}

.main-header__nav-wrapper-aftereimg {
  position: absolute;
  right: calc(-1 * (78vw - 15px - 100%));
  top: 0px;
  width: calc(100vw - 15px - 100%);
  bottom: 0;
  z-index: -1;
  background-color: #fff;
}
.sticky .main-header__nav-wrapper-aftereimg{
  background-color: #002733;
}

/* Nav */
.main-header__nav {
  margin-left: auto;
  /* Push to right */
  margin-right: 40px;
}

.main-header__nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-header__nav-link {
  text-decoration: none;
  color: #1F1F1F;
  font-family: var(--font-medium);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  transition: color 0.3s;
  display: block;
      padding: 27px 10px;
      transition:all 0.3s;
}
.sticky .main-header__nav-link{
  padding:18px 10px;
  color: var(--color-white);
}

.main-header__nav-link:hover {
  color: #7ccfb6;
}

/* Actions */
.main-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-header__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #7efebf;
  color: #111;
  padding: 12px 28px;
  border-radius: 4px;
  /* Or 0 if sharp, looks slightly rounded */
  text-decoration: none;
  font-family: var(--font-medium);
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s;
      box-shadow: 1px 0px 4px 0px #7ccfb6;
    border-radius: 5px;
}
.main-header__btn span{
  height:30px;
  width:40px;
  border-radius:5px;
  display:flex;
  align-items:center;
  justify-content: center;
  border: none;
  overflow:hidden;
}
.main-header__btn span svg{
  /* stroke:#111; */
  margin-left: -116px;
  animation:animatearrow 2s ease infinite;
}
@keyframes animatearrow{
  0%{
    margin-left: -116px;
  }
 
  100%{
       margin-left: 45px;
  }
}

.main-header__btn:hover {
  background-color: #fff;
  color: #111;
}


/* Hero Section Adjustment */
.hero-section {
  /* Move hero up to sit behind the header */
  margin-top: -100px;
  /* Overlap with main header */
  padding-top: 100px;
  /* Compensation */
  z-index: 1;
  position: relative;
}


@media (max-width: 1024px) {
  .main-header__nav {
    display: none;
    /* Mobile menu needed normally, but task doesn't specify */
  }

  .main-header__wrapper {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .pre-header__wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .pre-header__separator {
    display: none;
  }

  .main-header::before {
    left: 15px;
    /* simplified for mobile */
  }
}




.tech-section {
  height: calc(100vh - 70px);
  padding-top: 0px;
  background-color: #002733;
      background: linear-gradient(180deg, rgba(17, 17, 17, 1) 0%, rgba(0, 39, 51, 0.8) 99%);
  position:relative;
}
.tech-section .container{
  position: relative;
}
.tech-section__header{
  display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 40px;
    position:absolute;
    top:150px;
    left:50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    justify-content: space-evenly;
    width:100%;
    border-bottom:1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 40px;
}
.tech-section__header__badge{
  border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-medium);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color:var(--color-white);
}
.tech-section__header__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}
.tech-section__header__content{    max-width: 700px;}
.tech-section__header__content h2{
font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-white);
}
.tech-section__header__content p{
font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-white);
    line-height: 1.5;
}



#physics-container{
  position:relative;
  height:100%;
  overflow:hidden;
}

.circle-label{
  position:absolute;
  border-radius:50%;
  background:white;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  font-weight:600;
  color:black;
  pointer-events:none;
  z-index:2; /* above canvas */
}


.circle-label img {
  width: 40%;
  height: 40%;
  object-fit: contain;
}



.header2{

}

.header2 .pre-header{      background-color: #002733;}
.header2 .pre-header__icon-box{  background-color:transparent;    color: #7efebf;}
.header2 .pre-header__label{color:var(--color-white);}
.header2 .pre-header__value{color:#7efebf;}
.header2 .main-header__logo-bg img{filter: brightness(0) saturate(100%) invert(14%) sepia(16%) saturate(3330%) hue-rotate(152deg) brightness(92%) contrast(103%);}
.header2 .main-header__logo-icon img{filter:none;}
.header2 .main-header__nav-wrapper-beforeimg{filter: brightness(0) saturate(100%) invert(14%) sepia(16%) saturate(3330%) hue-rotate(152deg) brightness(92%) contrast(103%);}
.header2 .main-header__nav-wrapper{    background-color: #002733;}
.header2 .main-header__nav-wrapper-aftereimg{    background-color: #002733;}
.header2 .main-header__nav-link{color:var(--color-white);}
.header2 .main-header__nav-link:hover{color:#7efebf;}