<style>
   * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 1.7; color: #222; background: #f8f9fa; }
	


header {
  position: relative;
  background: url('../images/header_bg.webp') center/cover fixed no-repeat;
  color: #0d1b2a;
  height: 100vh;           
  width: 100%;             
  display: flex;           
  flex-direction: column;
  justify-content: center;  /* vertical centering */
  align-items: flex-start;  /* text aligned left */
  padding: 50 50px;          
  text-align: left;         
  overflow: hidden;
}

/* Center the button */
header .cta-btn {
  align-self: center;   /* centers the button in the header */
  margin-top: 20px;     /* optional spacing from text */
}

header img {
  max-width: 240px;
  margin-bottom: 40px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
}

header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
  text-align: left;
  padding: 0 50px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

.typing {
  display: inline-block;
  font-size: 4rem;
  color: #fff;
  font-weight: 1000;
  white-space: nowrap;
  overflow: hidden;
  


	/* background: linear-gradient(45deg, #fff, #fff ); */
	  /* -webkit-background-clip: text; */
	  /* -webkit-text-fill-color: transparent; */
	  
}


/* Keyframes */
@keyframes typing {
  from { width: 0; opacity: 1; }
  to   { width: 100%; opacity: 1; }
}
@keyframes blink  { 50% { border-color: transparent; } }

/* Line 1 */
.line1 {
  border-right: 3px solid #fff;
  width: 0;
  animation: typing 0.8s steps(30,end) forwards, hideCursor 0s forwards 0.9s;
}

.line2 {
  border-right: 3px solid #fff;
  width: 0;
  opacity: 0;
  animation: typing 1s steps(30,end) forwards 1.2s,
             hideCursor 0s forwards 2.2s;
  animation-fill-mode: forwards;
}

.line3 {
  border-right: 3px solid #fff;
  width: 0;
  opacity: 0;
  animation: typing 1.2s steps(40,end) forwards 2.2s,
             blink 0.6s step-end infinite 2.4s;
  animation-fill-mode: forwards;
}

@keyframes hideCursor { to { border-right-color: transparent; } }

.rotating-active {
  color: #FFD700; /* bright yellow */
}


header .cta-btn {
  background: #fff;
  color: #0000FF;
  border: none;
  padding: 15px 40px;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}

header .cta-btn:hover {
  background: #c9c9c9;
}

/* Mobile optimization */
@media (max-width: 768px) {
  header {
    align-items: left;   /* center content for smaller screens */
    text-align: center;
    padding: 0 20px;
  }

  header img {
    max-width: 180px;
    margin-bottom: 20px;
  }

  header h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .typing {
    font-size: 1.8rem;
  }

  header .cta-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  header {
    height: auto;      /* let content decide height */
    padding: 40px 15px;
  }

  header img {
    max-width: 150px;
  }

  header h1 {
    font-size: 1.6rem;
  }

  .typing {
    font-size: 1.4rem;
  }

  header .cta-btn {
    width: 100%;        /* full-width button */
    max-width: 280px;
    padding: 12px 0;
    font-size: 0.9rem;
  }
}


.floating-icon {
  position: absolute;
  right: -80px;   /* start off-screen */
  width: 60px;
  opacity: 0;
  transform: translateY(0) scale(1) rotate(0deg);
  animation-fill-mode: forwards;
}

/* Different paths, scale, and rotation */
.icon1 { animation: float1 6s ease-in-out infinite; animation-delay: 0s; }
.icon2 { animation: float2 6s ease-in-out infinite; animation-delay: 1s; }
.icon3 { animation: float3 6s ease-in-out infinite; animation-delay: 2s; }
.icon4 { animation: float4 6s ease-in-out infinite; animation-delay: 3s; }

@keyframes float1 {
  0%   { right: -80px; top: 30%; opacity: 0; transform: translateY(0) scale(0.8) rotate(-10deg); }
  10%  { opacity: 1; }
  50%  { right: 50%; top: 35%; transform: translateY(-15px) scale(1.1) rotate(5deg); }
  100% { right: 110%; top: 30%; opacity: 0; transform: translateY(0) scale(0.9) rotate(0deg); }
}

@keyframes float2 {
  0%   { right: -80px; top: 45%; opacity: 0; transform: translateY(0) scale(0.9) rotate(5deg); }
  10%  { opacity: 1; }
  50%  { right: 55%; top: 50%; transform: translateY(10px) scale(1.05) rotate(-5deg); }
  100% { right: 110%; top: 45%; opacity: 0; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes float3 {
  0%   { right: -80px; top: 60%; opacity: 0; transform: translateY(0) scale(1) rotate(-5deg); }
  10%  { opacity: 1; }
  50%  { right: 50%; top: 65%; transform: translateY(-10px) scale(1.1) rotate(10deg); }
  100% { right: 110%; top: 60%; opacity: 0; transform: translateY(0) scale(0.95) rotate(0deg); }
}

@keyframes float4 {
  0%   { right: -80px; top: 40%; opacity: 0; transform: translateY(0) scale(0.85) rotate(0deg); }
  10%  { opacity: 1; }
  50%  { right: 52%; top: 42%; transform: translateY(8px) scale(1.05) rotate(-8deg); }
  100% { right: 110%; top: 40%; opacity: 0; transform: translateY(0) scale(0.9) rotate(0deg); }
}

#about {
  position: relative;
  background: url('../images/about_bg2.webp') center/cover no-repeat;           
  padding: 100px 20px;
  border-radius: 20px;
  margin: 60px auto;
  overflow: hidden;
  display: flex;
  justify-content: flex-start; /* left align by default */
  align-items: center;
  min-height: 400px;
}

#about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0); 
  border-radius: 20px;
  }


#about .about-box {
position: relative; 
  background: rgba(0,0,0,0.05); /* white box with slight transparency */
  color: #0d1b2a;
  padding: 60px;
  border-radius: 20px;
  max-width: 600px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 1;
  flex: 0 0 auto;
}

.about-container {
  display: flex;
  justify-content: space-between; 
  gap: 40px;
  width: 100%;
}

.about-icons-grid {
  position: relative;
  width: 300px;
  height: 300px;
}

.grid-icon {
  position: absolute;
  width: 80px;
  height: 80px;
  transition: all 0.5s ease;
}

.about-icons-grid-wrapper {
  flex: 1; 
  display: flex;
  justify-content: center;
  align-items: center;
}



#about h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 700;
  color: #1b263b;
}

#about p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

/* ✅ Mobile: center the box */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #about .about-box {
    padding: 40px;
    max-width: 100%;
  }

  .about-icons-grid-wrapper {
    margin-top: 30px;
    width: 100%;
    justify-content: center;
  }

  .about-icons-grid {
    width: 240px;  /* smaller grid for mobile */
    height: 240px;
  }

  .grid-icon {
    width: 60px;
    height: 60px;
  }
}

    nav { position: sticky; top: 0; background: #fff; padding: 15px 30px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); display: flex; justify-content: center; gap: 30px; z-index: 1000; }
    nav a { text-decoration: none; color: #1b263b; font-weight: 600; transition: color 0.3s; }
    nav a:hover { color: #415a77; }

    section { padding: 100px 20px; max-width: 1100px; margin: auto; }
    section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 20px; color: #1b263b; font-weight: 700; }
    section p { text-align: center; margin-bottom: 40px; font-size: 1.1rem; color: #444; }

    .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
    .card { background: url('../images/davide-baraldi-vhajiuceztc-unsplash.webp?auto=format&fit=crop&w=800&q=80') center/cover fixed no-repeat; border-radius: 20px; box-shadow: 0 6px 16px rgba(0,0,0,0.1); padding: 30px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
    .card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
    .card h3 { margin-bottom: 15px; font-size: 1.4rem; color: #0d1b2a; background: rgba(255,255,255,0.8); display: inline-block; padding: 5px 15px; border-radius: 10px; }
    .card p { font-size: 1rem; color: #111; background: rgba(255,255,255,0.8); padding: 10px; border-radius: 10px; }

    .cta {
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  background: url('../images/cta.webp') center/cover no-repeat;
	  position: relative;
	  color: #fff;
	  text-align: center;
	  padding: 80px 20px; /* slimmer height */
	  border-radius: 20px;
	  margin: 60px auto;
	  width: 100%;
	  min-height: 220px; /* shorter box */
	}

	.cta::after {
	  content: "";
	  position: absolute;
	  inset: 0;
	  background: rgba(255,255,255,0.4); /* subtle overlay */
	  border-radius: 20px;
	}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.cta h2 {
  margin-bottom: 15px;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
}



.cta p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #000;
}

.cta a {
  background: #e0e1dd;
  color: #0d1b2a;
  border: none;
  padding: 12px 35px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
}

.cta a:hover {
  background: #c9c9c9;
}

/* Mobile tweak */
@media (max-width: 600px) {
  .cta {
    padding: 60px 15px;
  }
  .cta h2 {
    font-size: 1.6rem;
  }
  .cta p {
    font-size: 1rem;
  }
}


.ticker {
  overflow: hidden;
  background: #f1f1f1;
  padding: 20px 0;
  margin: 40px 0;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 60px;
  width: max-content; /* fit content */
  animation: scroll 20s linear infinite;
}

.ticker-track img {
  height: 50px;
  object-fit: contain;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* half, because we duplicated */
  }
}

#working-together {
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#working-together h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #1b263b;
}

#working-together p {
  font-size: 1.1rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Card grid */
.grade-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 cards in a row */
  gap: 20px;
}

.grade-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.grade-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.grade-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0d1b2a;
}

.grade-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ✅ Mobile responsive */
@media (max-width: 1100px) {
  .grade-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
	
	.brand-heading {
    text-align: left;
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #1b263b;
    font-weight: 700;
	}
	
	.brand-heading img {
	  max-height: 30px;   /* adjust logo size */
	  max-width: 200px;   /* prevents oversized logos */
	  height: auto;
	  width: auto;
	  object-fit: contain;
	}
	
	.image-wrapper {
    position: relative;
    display: inline-block;
	}

	.coming-soon-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(211, 211, 211, 0.8); /* red overlay */
    color: #fff;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 5px;
    pointer-events: none;
	}

    .models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 40px 0; }
    .model-item { text-align: center; }
    .models-grid img { max-width: 100px; height: auto; margin: 0 auto; display: block; border-radius: 15px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
    .model-item p { margin-top: 10px; font-size: 0.9rem; font-weight: 600; }


	#contact { background: url('../images/closeup-office-wired-telephone.webp') center/cover fixed no-repeat; position: relative; border-radius: 20px; }
    #contact::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.8); border-radius: 20px; }
    #contact h2, #contact form { position: relative; z-index: 1; }
    form { max-width: 600px; margin: auto; display: flex; flex-direction: column; gap: 20px; }
    form input, form textarea { padding: 12px; border-radius: 10px; border: 1px solid #ccc; font-size: 1rem; width: 100%; }
    form button { padding: 15px; border-radius: 40px; border: none; background: #1b263b; color: #fff; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: 0.3s; }
    form button:hover { background: #0d1b2a; }


 footer {
     background: url('../images/v960-ning-32.webp')center / cover no-repeat;
     color:  #fff;
     text-align: center;
     padding: 30px;
     margin-top: 40px;
     font-size: 0.9rem;
 }

 footer p {
     margin: 5px 0;
 }

 html {
     scroll-behavior: smooth;
 }

 /* Navigation */
 nav {
     position: sticky;
     top: 0;
     width: 100%;
     background:  #fff;
     display: flex;
     justify-content: center; 
     align-items: center;
     padding: 10px 30px; 
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
     z-index: 1000;
     box-sizing: border-box;
     min-height: 70px; 
 }

 /* Logo flush left with vertical padding */
 .nav-logo {
     position: absolute; /* keep left-aligned */
     left: 0;
     top: 0;
     bottom: 0;
     display: flex;
     align-items: center; /* vertical centering */
     padding-left: 20px; /* spacing from left edge */
 }

 .nav-logo a {
     display: block;
     padding: 0;
 }

 .nav-logo img {
     max-width: 200px;
     height: auto;
 }

 /* Links centered */
 .nav-links {
     display: flex;
     gap: 30px;
     justify-content: center;
 }

 .nav-links a {
     text-decoration: none;
     color:  #1b263b;
     font-weight: 600;
     transition: color 0.3s;
 }

 .nav-links a:hover {
     color:  #415a77;
 }

 /* Mobile layout */
  @media(max-width: 768px) {
     nav {
         flex-direction: column;
         padding: 10px 20px;
         min-height: auto;
     }

     .nav-links {
         justify-content: center;
         gap: 15px;
         flex-wrap: wrap;
         margin-top: 10px;
     }

     .nav-logo {
         position: relative; /* stack normally on mobile */
         left: auto;
         top: auto;
         bottom: auto;
         padding-left: 0;
         margin-bottom: 10px;
     }
 }
  
/* Popup background */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Popup box */
.popup-content {
  position: relative;
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
  font-family: Arial, sans-serif;
}

/* Close button */
#popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

/* Thank you title */
#popup-title {
  font-size: 24px;
  margin: 15px 0 10px;
  color: #333;
}

/* Subtitle */
#popup-subtitle {
  font-size: 16px;
  color: #666;
}

/* Checkmark animation */
.checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto;
}
.checkmark svg {
  width: 100%;
  height: 100%;
}
.checkmark-circle {
  stroke: #4CAF50;
  stroke-width: 3;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-linecap: round;
  animation: stroke 0.6s ease forwards;
}
.checkmark-check {
  stroke: #4CAF50;
  stroke-width: 3;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-linecap: round;
  animation: stroke 0.4s ease forwards 0.7s;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

#site-map {
  background: #f8f9fa;
  padding: 60px 20px;
  border-radius: 20px;
  margin: 60px auto;
  max-width: 1200px;
}

#site-map h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1b263b;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: left;
}

.grid-container ul {
  list-style: none;
  padding-left: 0;
}

.grid-container a {
  color: #415a77;
  text-decoration: none;
}

.grid-container h3 {
  margin-bottom: 10px;
  color: #1b263b;
}
</style>