/* Self-hosted fonts */
@import url('./fonts.css');

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
    color: #777777;
	background:#f0f4f7;
}
/* Prevent synthetic bold/italic that can cause text reflow */
body { font-synthesis: none; }
/* Reduce font swap layout shift by aligning fallback metrics */
body { font-size-adjust: 0.5; }
a { text-decoration: none; color: inherit; }
p {
    margin-bottom: 20px;
}
H1, H2, H3, H4 {
    margin-bottom: 20px;
	color:#1A1A1A;
}
/* Explicit heading sizes to avoid UA default changes (MDN deprecation note) */
h1 { font-size: 36px; line-height: 140%; }
/* Containers */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
.row { display: flex; flex-wrap: wrap; }

/* Header */
.site-header { background: #2cc3c3; padding: 1rem 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.nav ul { display: flex; gap: 1.5rem; list-style: none; }
.nav a {
    color: #fff;
    padding-bottom: 5px;
	font-size:15px;
    display: inline-block;
    border-bottom: 1px solid transparent; /* avoid layout shift on hover */
}
.nav a:hover,
.nav a.active {
    border-bottom-color: currentColor;
}

/* Hero */
section#hero {
    padding-top: 0px;
}
.section-hero { display: flex; }
.hero-inner { display: flex; width: 100%; max-width:1440px;margin:0 auto; contain: layout paint; }
.hero-text {
    width: 40%;
    background: #fff;
    padding: 7rem 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-img { width: 60%; aspect-ratio: 7 / 5; }
.hero-img picture, .hero-img img { display: block; width: 100%; height: auto; object-fit: cover; }
.btn { 
	background-color: #7DC6C6;
    font-family: "Open Sans", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 0px 0px 0px 0px;
    padding: 08px 024px 08px 024px;
	width: 156px;
}
section{
	padding:70px 0;
}

/* --- Mobile Nav Only --- */
.site-header {
  position: relative;
  z-index: 1000;         /* keep it above page content */
  overflow: visible;     /* ensure the dropdown isn't clipped */
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
  will-change: transform, opacity;
}
/* Transform into X when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* hide the middle bar */
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border-top: 1px solid #eee;
  z-index: 999;
  will-change: transform, opacity;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav ul li {
  border-bottom: 1px solid #eee;
  margin-bottom: 0px;
}
.mobile-nav ul li a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  background: #f5f5f5;
  color: #007bff;
}

@media (max-width: 768px) {
  nav.nav { display: none; } /* hide desktop nav */
  .hamburger { display: flex; } /* show hamburger */
}

.mobile-nav.show {
  display: flex;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Services */
.section-hero h1,
section h2 { 
	font-family: "Open Sans", Sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 140%;
    color: #1A1A1A; 
}
section#about,
section#services {
    background: #EDF7F7;
}
section h2 {
    text-align: center;
    width: 100%;
	margin-bottom:50px;
}
section#services h3 {
	font-family: "Open Sans", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
}
.service-btn {
    text-align: center;
    margin-top: 40px;
}
.service-icon {
    text-align: center;
    margin-bottom: 20px;
}
.service-icon img { width: 66px; height: 66px; object-fit: contain; }
.logo img { height: 40px; width: auto; display: block; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; }
.service-card { background: #fff; padding: 1.5rem; border-radius: 6px; }

/* Split sections */
.split-inner { display: flex; gap: 2rem; align-items: self-start; }
.split-inner.reverse { flex-direction: row-reverse; }
.split-img { aspect-ratio: 5 / 4; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { margin-bottom: 1rem; }
.split-text ul {
    margin-top: 0;
    padding-left: 1.2rem;
    list-style: disc;
    margin-bottom: 20px;
}
.split-text {
    width: 60%;
}
.split-img {
    width: 40%;
}
section#about h2,
section#what-we-do h2{
	text-align:left;
}
section#what-we-do {
    background: #F0F4F7;
}
#about .split-img {
    background: none;
    padding-bottom: 0;
    min-height: auto;
    flex: 0 0 500px; /* ensure the image area reserves 500px width on desktop */
    max-width: 500px;
}
/* Make About text a bit thinner so the image fits nicely */
#about .split-text { width: auto; flex: 1 1 auto; }
/* CTA */
section#cta .inner-text {
    --display: flex;
    border-style: solid;
    --border-style: solid;
    border-width: 2px 2px 2px 2px;
    --border-top-width: 2px;
    --border-right-width: 2px;
    --border-bottom-width: 2px;
    --border-left-width: 2px;
    border-color: #7DC6C6;
    --border-color: #7DC6C6;
    --border-radius: 12px 12px 12px 12px;
		background-image: image-set(
			url(../images/redy-bg.webp) type('image/webp'),
			url(../images/redy-bg.jpg) type('image/jpeg')
		);
    background-size: cover;
	padding: 70px 20px;
}
.section-cta { text-align: center; }

/* inner pages ---*/

section.inner-page-hero {
	background-image: image-set(
		url(../images/services-bg-960.webp) type('image/webp') 1x,
		url(../images/services-bg.webp) type('image/webp') 2x,
		url(../images/services-bg-960.jpg) type('image/jpeg') 1x,
		url(../images/services-bg.jpg) type('image/jpeg') 2x
	);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
	padding: 148px 0;
}
.titles {
    display: inline-block;
    color: #fff;
    text-align: center;
    width: 100%;
}
.titles span.breadcrumb_last{
	color: #7DC6C6;
}
section.inner-page-hero h1 {
    ont-family: "Open Sans", Sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 140%;
    color: #FFFFFF;
	width:100%;
	margin-bottom:20px;
}
section#compay {
    background: #fff;
}
section#compay h2{
    background: #fff;
    text-align: left;
}
section#compay .split-text {
    padding: 3% 0;
}

.timeline-section {
  background: #f0f9fb;
  padding: 60px 20px;
  text-align: center;
}

.timeline-title {
  margin-bottom: 70px;
  position: relative;
  display: inline-block;
}
.timeline-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: #7DC6C6;
  margin: 10px auto 0;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background: #7DC6C6;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 40px 60px;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.connector {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}
.timeline-item.left .connector {
  right: -7px;
  flex-direction: row-reverse;
}
.timeline-item.right .connector {
  left: -7px;
  flex-direction: row;
}

.circle {
  display: inline-block;
  border-radius: 50%;
  background: #7DC6C6;
  border: 3px solid #fff;
}

.circle.small {
  width: 14px;
  height: 14px;
  z-index: 2;
}

.circle.big {
  width: 22px;
  height: 22px;
  z-index: 2;
}
.line {
  height: 2px;
  background: #7DC6C6;
  flex: 1;
  min-width: 40px;
}

.timeline-item .content {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  display: inline-block;
  max-width: 450px;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 600;
}

.timeline-item p {
  margin: 0;
}
.project-section,
.team-section {
  text-align: center;
  background:#fff;
}
.team-title {
  position: relative;
  display: inline-block;
}

.team-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 3px;
  background: #7DC6C6;
  margin: 10px auto 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
  margin-top: 20px;
}
.project-section .team-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.team-member {
  background: #f0f9fb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,.1);
  text-align: left;
}
.team-member img {
  width: 100%;
  display: block;
}

.team-member .info {
  padding: 15px;
}
.team-member h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-member h3 a {
  color: #38bdf8;
  font-size: 1rem;
  text-decoration: none;
}

.team-member p {
  margin: 0;
}
.services-grid.two-grid {
    padding-top: 25px;
}
.lets-coonect .container .inner-text {
    /*max-width: 1200px;*/
    margin: 0 auto;
    border-radius: 10px;
}
.lets-coonect{
	background:#fff;
}
.contact-section .team-member {
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
	width: 100%;
}
section.contact-section {
    background: #fff;
}
.team-member ul.social-links li img {
    width: auto;
}
.contact-form {
    width: 100%;
    height: 100%;
    background: #EDF7F7;
    padding: 20px;
}
/* Contact form styling */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form label {
  font-weight: 600;
  color: #1A1A1A;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  color: #333;
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form button[type="submit"] {
  align-self: flex-start;
  padding: 12px 20px;
  background: #7DC6C6;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form button[type="submit"]:hover {
  background: #0284c7;
}
.team-member .conact-info p {
    margin-bottom: 20px;
}
.team-member ul.social-links {
    display: flex;
}
/* Responsive */
@media (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    text-align: left;
  }
  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }
  .connector {
    left: 0px !important;
    right: auto !important;
    flex-direction: row;
  }
  .line {
    min-width: 20px;
  }
  .timeline-item .content {
    max-width: 100%;
  }
  .right span.line {
    left: 20px;
    position: relative;
  }
  .right span.circle.big {
    left: 18px;
  }
  .circle.small{
	display:none;
  }
}


/* Footer */
.site-footer { background: #0f1e2e; color: #fff; padding: 3rem 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; }
.footer-grid h4 {
    margin-bottom: 1rem;
    color: #fff;
}

/* Profile */
section#profile {
    background-image: image-set(
        url(../images/tokyo.webp) type('image/webp'),
        url(../images/tokyo.jpg) type('image/jpeg')
    );
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
section#profile h2 {
	font-family: "Open Sans", Sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #1E83EC;
}
section#profile tr {
    background: #F2F2F2;
}
section#profile tr:nth-child(2n) {
    background: #fff;
}
.profile table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.profile td { border: 1px solid #ccc; padding: 0.75rem; vertical-align: top; }
.profile h2 { text-align: center; margin-bottom: 1.5rem; }

section#copyright {
    background: #232733;
    color: #fff;
    text-align: center;
    padding: 30px 0 10px;
}
ul li{
	list-style:none;
}

.subscribe-section {
  background: #111827;
  color: #fff;
  padding: 40px 20px;
}
.subscribe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Respect reduced motion preferences to avoid unnecessary work */
@media (prefers-reduced-motion: reduce) {
  .hamburger span { transition: none; }
  .mobile-nav.show { animation: none; }
}

/* Desktop-specific performance hints */
@media (min-width: 1024px) {
  /* Isolate large sections to limit reflow scope */
  .services-grid,
  .team-section,
  .project-section,
  .section-cta,
  #core-values,
  #compay {
    contain: layout paint;
  }
  /* Ensure hero area is fixed-height on desktop to avoid shifts */
  .section-hero,
  .section-hero .hero-inner { height: 700px; min-height: 700px; }
  .hero-img { height: 100%; min-height: 100%; aspect-ratio: auto; }
  .hero-img picture, .hero-img img { height: 100%; }
  /* Reserve header/nav height to prevent shifts from font swap */
  .header-inner { min-height: 64px; }
  .nav { display: flex; align-items: center; }
  .nav a { line-height: 24px; }
  .nav ul { white-space: nowrap; }
  .logo { display: flex; align-items: center; min-height: 40px; }
  /* Keep hero text block stable on desktop */
  .hero-text { height: 100%; min-height: 420px; }
}
.subscribe-text h2 {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}
.subscribe-text { text-align: center; }
.subscribe-form form {
  display: flex;
  gap: 10px;
}
.subscribe-form input {
  padding: 16px;
  border: none;
  border-radius: 4px;
  flex: 1;
  min-width: 250px;
}
.subscribe-form button {
  padding: 12px 20px;
  background: #7DC6C6;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  will-change: background-color, transform;
  margin-left: -15px;
}
.subscribe-form button:hover {
  background: #0284c7;
}
.subscribe-text h2 {
    font-size: 36px;
    margin: 0;
    color: #fff;
    margin-right: 20px;
}
ul li{
	margin-bottom:10px;
}
.split-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.split-text ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-weight: 500;
    color: #666;
}
.split-text ul li::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 18px;
    width: 16px;
    height: 2px;
    background: #6ec1e4;
    transform: rotate(-30deg);
    transform-origin: left center;
}
.split-text ul li::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 0.45em;
    border: solid #6ec1e4;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(-78deg);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-text, .hero-img { width: 100%; }
  .split-inner { flex-direction: column; display: inline-block;}
  .subscribe-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .subscribe-form form {
    width: 100%;
    justify-content: center;
  }
  .subscribe-form input {
    width: 100%;
  }
    .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    text-align: left;
  }
  .timeline-item.left,
  .timeline-item.right {
    left: 0;
  }
  .timeline-item::before {
    left: 12px;
  }
  .timeline-item .content {
    max-width: 100%;
  }
  #hero .hero-inner {
	display: inline-block;
  }
  /* Show the hero image on mobile and remove background image from text */
  #hero .hero-img { display: block; }
  .hero-text { background: #fff; }
#hero .hero-text h1,
#hero .hero-text p {
    color: #000;
    background: #ffffff70;
    padding: 20px;
}
#hero .hero-text h1 {
	margin:0px;
	padding-bottom:0px;
}
.section-hero h1, section h1, section.inner-page-hero h1, section h2{
	font-size:36px;
}
section {
    padding: 30px 0;
}
  .split-text,
  .split-img {
    width: 100%;
  }
  #about .split-img { flex: 1 1 100%; max-width: 100%; }
#about .split-img {
    min-height: 300px;
}
section#about h2, section#what-we-do h2 {
    margin-top: 20px;
}
.circle.big {
    left: 38px;
    position: relative;
}
.subscribe-text h2 {
    margin-right: 0;
    line-height: 40px;
}

}
/* Removed aggressive content-visibility to prevent layout shifts on load */
