/* ================= Global Styles ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: #fff;
  color: #000;
  line-height: 1.6;
}

.top-line {
  background: linear-gradient(135deg, #6366f1 50%, #20a874 80%);
  color: white;
  text-align: right;
  font-weight: 300;
  letter-spacing: 0.5px;
  padding-right: 4px;

}

.top-line p {
  font-size: 12px;
  margin: 0;
}

.topline-mobile {
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
}


/* ================= navbar-container ================= */
nav > ul {
  margin: 0;
  padding: 0;
}

.navbar-container {
  position: sticky;
  width: 100%;
  top: 0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 80px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  border-bottom: #000 1px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 100%;
  height: 45px;
  object-fit: contain;
  margin-left: 120px;
}

.navbar-container ul {
  display: flex;
  list-style: none;
}

.navbar-container ul li a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  margin: 0 20px;
  transition: 0.3s;
}

.navbar-container ul li a:hover {
  color: #20a874;
}

.navbar-container ul li a.active {
  color: #6366f1;
}

/* ================= Hero Section ================= */
.hero {
  position: relative;
  color: rgb(255, 255, 255);
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
  padding: 0 clamp(16px, 4vw, 40px);
  height: 100vh;
  min-height: 600px;
}

/* hero background image */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../assets/general/world.png) no-repeat center center/cover;
  z-index: 1;
  filter: brightness(40%) contrast(110%);
  animation: heroBgZoom 25s ease-in-out infinite alternate;
}

/* gradient overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.35) 0%,
    rgba(32, 168, 116, 0.25) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

/* decorative floating shapes */
.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(60px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: #6366f1;
  top: 10%;
  left: 10%;
  animation: float 20s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: #20a874;
  bottom: 15%;
  right: 15%;
  animation: float 15s ease-in-out infinite reverse;
}

/* hero content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  width: 100%;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
  font-family: "Poppins", "Noto Sans JP", sans-serif;
  animation: fadeInUp 1s ease-out 0.2s both;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero h1 .jp-text {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  margin-top: 10px;
  opacity: 0.95;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.4s both;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-size: clamp(0.95rem, 1.2vw, 1rem);
  position: relative;
  overflow: hidden;
  min-width: 160px;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #20a874 0%, #6366f1 100%);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
  color: #ffffff;
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #6366f1;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBgZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* ================= Services ================= */
.services {
  padding: 6rem 0;
  background: var(--light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

/* Scroll Section Container */
.scroll-section {
  position: relative;
  width: 100%;
  padding: 100px 0;
}

.scroll-container {
  position: relative;
}

/* Each Card */
.scroll-card {
  position: sticky;
  top: 5vh; /* Sticks near top of viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 5px 0 5px rgba(142, 142, 142, 0.1);
  transition: transform 0.4s ease;
  height: 600px;
  margin-left: 100px;
  margin-right: 100px;
}

/* Image Side */
.card-image {
  flex: 1;
}
.card-image img {
  width: 600px;
  height: 400px;
  margin-left: 100px;
  border-radius: 15px;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}
.scroll-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* Content Side */
.card-content {
  flex: 1;
  text-align: center;
  justify-content: center;
}
.card-content h2 {
  font-size: 2rem;
  color: #6366f1;
  margin-bottom: 15px;
}
.card-content p {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.6;
}

/* Animation when scrolling (fade-up feel) */
.scroll-card {
  opacity: 1;
  transform: translateY(40px);
}

.scroll-card:nth-child(odd) {
  background: #ffffff;
}

.scroll-card:nth-child(even) {
  background: #ffffff;
}

.scroll-card:hover {
  opacity: 1;
  transform: translateY(0);
}

/* ================= Tech Tools ================= */
/* === Section Title === */
.tech-section {
  text-align: center;
  padding: 60px 0;
  background: #f9fafb;
}

.tech-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

/* === Infinite Scrolling Track === */
.tech-slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.tech-track {
  display: flex;
  animation: scroll 150s linear infinite; /* Slow infinite scroll */
  width: max-content;
}

.tool-item {
  flex: 0 0 auto;
  width: 120px;
  margin: 0 30px;
  text-align: center;
}

.tool-item img {
  width: 80px;
  height: 80px;
  /* filter: brightness(0) saturate(100%) invert(42%) sepia(83%) saturate(1385%) hue-rotate(220deg) brightness(96%) contrast(92%); */
  /* transition: filter 0.5s ease, transform 0.5s ease; */
}

.tool-item img:hover {
  filter: none;
  /* transform: scale(1.1); */
}

.tool-item p {
  font-size: 15px;
  color: #000000;
  margin-top: 12px;
}

/* === Infinite Loop Keyframe === */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* === Hide scrollbar === */
.tech-slider::-webkit-scrollbar {
  display: none;
}

/* ================= Projects ================= */
.projects {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

.projects h2 {
  font-size: 40px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #333;
}

.project-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.project-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  padding: 20px;
  transition:
  transform 0.3s ease,
  box-shadow 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-card img {
  width: 310px;
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
  align-items: center;
}

.project-card h3 {
  margin: 15px 0 10px;
  font-size: 1.3em;
  color: #222;
}

.project-card p {
  font-size: 0.95em;
  color: #555;
}


/*Button - more details*/

.details-btn {
  display: inline-block;
  padding: 10px 22px;
  border: #6366f1;
  background-color: transparent;
  color: #6366f1;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.details-btn:hover {
  background-color: #6366f1;
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Modal Project Images */
/* Modal Image */
.modal-body img {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  margin-bottom: 15px;
  display: block;
  object-fit: contain;
}

/* Modal Title */
.modal-body h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #334155;
  text-align: center;
}

/* Modal Text */
.modal-body p {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

/* Circle under the cross */
.modal-close-circle {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 35px;
  height: 35px;
  background-color: #6366f1;
  border-radius: 50%;
  z-index: 1056; /* higher than Bootstrap modal content */
}

/* close button */
.modal-close {
  position: absolute;
  height: 30px;
  width: 30px;
  top: 15px;
  right: 20px;
  font-size: 22px;
  color: #ffffff;
  background: #8b5cf6;
  border: #6366f1;
  border-radius: 20px;
  cursor: pointer;
  z-index: 1057;
  line-height: 1;
  transition: transform 0.2s ease;
}

.modal-close:hover {
  transform: scale(1.1);
}

.modal-description {
  overflow-y: scroll;
  max-height: 120px;
}

/* Modal Content Styling */
.modal-content {
  border-radius: 15px;
  padding: 20px;
}

/* Modal Body */
.modal-body {
  padding: 0 15px 15px 15px;
}

/* Scrollbar style */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #6366f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6366f1;
}

/* Scrollbar style for Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #6366f1 #f1f1f1;
}

/* ================= About section ================= */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.about-section {
  background: url("../assets/general/lightimg6.png") no-repeat center center/cover;
  height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
}

h2 {
  font-size: 40px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #333;
  text-align: center;
}

.about-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 700px;
  color: rgb(0, 0, 0);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  animation: fadeIn 2s ease-in-out;
}

.about-card h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #000000;
}

.about-card p {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 40px;
}

.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat {
  text-align: center;
}

.stat h2 {
  font-size: 2.5rem;
  color: #000000;
  margin: 0;
  transition: transform 0.3s ease;
}

.stat p {
  font-size: 1rem;
  color: #000000;
}

.stat:hover h2 {
  transform: scale(1.2);
  color: #c084fc;
}

.sat:hover p {
  transform: scale(1.2);
  color: #c084fc;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ratings & Reviews */
.reviews-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.reviews-section h2 {
  font-size: 40px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #333;
}

.reviews-section p {
  color: #666;
  margin-bottom: 40px;
}

.reviews-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.review-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.reviewer-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.review-card h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}

.review-card .position {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 15px;
}

.review-card .review-text {
  font-size: 0.95em;
  color: #555;
  line-height: 1.5;
}

/* Global Hubs */
.global-hubs {
  text-align: center;
  padding: 60px 20px;
}

.global-hubs h2 {
  font-size: 40px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #333;
}

.hub-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 75px;
  margin-top: 30px;
}

.hub-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  width: 350px;
}

.hub-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hub-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hub-info {
  padding: 15px;
}

.hub-info h3 {
  font-size: 18px;
  font-weight: 500;
}

.hub-info p {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 5px;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, #6366f1 0%, #20a874 100%);
  color: rgb(0, 0, 0);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-method p, a {
  color: #000000;
}

.contact-link {
  color: #000;
  text-decoration: none;
}


.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgb(0, 0, 0);
  font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(0, 0, 0, 0.7);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background-color: #ffffff; /* Light background color – change anytime */
  margin-top: 40px;
  font-family: "Poppins", sans-serif;
  color: #000;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; /* Proper spacing for logo + 4 columns */
  align-items: flex-start;
  gap: 90px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* Logo column */
.logo-column img {
  width: 250px;
  height: auto;
  display: block;
  margin-bottom: 10px;
  margin-top: 50px;
  margin-right: 40px;
}

.footer-column.logo-column{
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-column h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-column p {
  margin: 20px 0;
  line-height: 1.6;
  font-size: 12px;
}

.footer-column a {
  text-decoration: none;
  color: #000; /* Black text */
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #6366f1; /* Purple on hover */
}

/* bottom bar */
.footer-bottom {
  background-color: #6366f1;
  text-align: center;
  padding: 4px 0;
  width: 100%;
  position: relative;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: #ffffff;
}

/* ===== BACK TO TOP BUTTON ===== */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: 44px;
  height: 44px;
  background: rgba(219, 215, 215, 0.6);
  color: #6366f1;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
}

/* Show button when scrolled */
#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  bottom: 40px;
}

/* Hover effect */
#backToTop:hover {
  background: #6366f1;
  color: #ffffff;
  transform: scale(1.1);
}

/* Icon styling */
#backToTop i {
  font-size: 22px;
  color: currentColor;
}

#backToTop svg {
  width: 40px;
  height: 40px;
  display: block;
  fill: currentColor;
}

/* ================= Responsive ================= */

/* ================= Responsive (Tablet & Mobile) ================= */

@media (max-width: 1024px) {
  .navbar-container {
    padding: 15px 40px;
  }

  .top-line p {
  font-size: 10px;
  margin: 0;
}

.topline-mobile {
  color: #ffffff;
  text-decoration: none;
  font-size: 10px;
}

  .logo-img {
    margin-left: 20px;
  }

  .navbar-container ul {
    margin-right: 0;
  }

  .scroll-card {
    flex-direction: column;
    height: auto;
    margin: 40px 20px;
  }

  .card-image img {
    width: 100%;
    height: auto;
    margin-left: 0;
  }

  .card-content h2 {
    text-align: center;
  }

  .card-content p {
    text-align: center;
  }

  .reviews-section {
    margin-top: 60px;
  }

  .hub-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-container {
    gap: 40px;
  }

  .logo-column img {
    margin-left: 10px;
  }

  .contact-info h2 {
    text-align: center;
  }
}

/* ===== Mobile view (under 768px) ===== */
@media (max-width: 768px) {
  /* Hide default navbar-container links */
  .navbar-container ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    right: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.85) 10%, rgba(32, 168, 116, 0.85) 100%);
    width: 200px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    text-align: center;
    padding: 15px 0;
    z-index: 1500;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .navbar-container ul li a.active {
    color: #ffffff;
  }

  .logo-img {
    width: 100%;
    height: 40px;
    align-content: center;
  }

  .navbar-container ul.active {
    display: flex;
  }

  .navbar-container ul li {
    margin: 10px 20px;
  }

  .btn-primary,
  .btn-outline {
    display: flex;
    gap: 10px;
  }

  /* ===== Hamburger icon ===== */
  .hamburger {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 21px;
    right: 20px;
    z-index: 1100;
    width: 30px;
    height: 22px;
  }

  .hamburger div {
    width: 28px;
    height: 3px;
    background-color: #000;
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 3px;
  }

  /* Change hamburger to 'X' when active */
  .hamburger.active div:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* General layout adjustments */


  .services-grid {
    grid-template-columns: 1fr;
  }

  .scroll-section {
    padding-top: 10px;
  }

  .project-container {
    flex-direction: column;
    align-items: center;
  }

  .project-card img {
  width: 100%;
  }

  .reviews-container {
    justify-content: center;
    padding-top: 5px;
  }

  .about-section {
    padding: 8px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-content h2{
    align-items: center;
    align-content: center;
  }


  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .logo-column img {
    align-items: center;
    margin-left: 45px;
  }

  #backToTop {
    right: 16px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: 100vh;
    padding: 0 16px;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero h1 {
    margin-bottom: 15px;
  }

  .hero p {
    margin-bottom: 30px;
    font-size: 0.95rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 300px;
    padding: 12px 28px;
    margin: 0 auto;
  }

  .shape {
    display: none;
  }
}

/* ===== Small mobile (under 480px) ===== */
@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
    padding: 0 12px;
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero h1 {
    margin-bottom: 12px;
  }

  .hero h1 .jp-text {
    margin-top: 8px;
  }

  .hero p {
    margin-bottom: 25px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    gap: 10px;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    padding: 11px 24px;
    font-size: 0.9rem;
    margin: 0 auto;
  }

  .about-card {
    padding: 25px;
  }

  .about-card h1 {
    font-size: 1.8rem;
  }

  .reviews-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hub-card {
    width: 90%;
  }

  .project-card {
    width: 90%;
  }

  .about-section {
    padding-bottom: 100px;
    padding-top: 200px;
  }

  .footer-column h3 {
    font-size: 18px;
  }

  .footer-column p {
    font-size: 10px;

  }
}
