  :root {
  --bg: #ffffff;
  --bg-alt: linear-gradient(45deg, #7fb2d5, #002fff, #9794c9); ;
  --text: #000000;
  --muted: #000000;
  --accent-blue: #2a2af0;
  --accent-yellow: #f5c242;
  --accent-gray: #dcdcdc;
  --accent-lavender: #373737;
  --radius: 12px;
  --max-width: 1200px;
  --gap: 24px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, .btn { cursor: pointer; }
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
h1 { font-size: 2.8rem; letter-spacing: -0.5px; text-transform: uppercase; margin-bottom: 0.5em; }
h2 { font-size: 2.2rem; letter-spacing: -0.3px; text-transform: uppercase; margin-bottom: 0.5em; }
h3 { font-size: 1.5rem; letter-spacing: -0.2px; margin-bottom: 0.5em; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.25rem; opacity: 0.9; }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.btn-secondary { background: transparent; color: var(--text); border-color: var(--muted); }
.btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: var(--text); }
.nav {
  background: rgba(168, 168, 169, 0.6);
  backdrop-filter: blur(8px);
  position: sticky;
  margin-bottom: 100px;
  padding: 5px;
  z-index: 1000;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  width: 70%
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;

}
.hero{
  background-image: url("assets/Learning.png");
  mask-image: linear-gradient(to bottom, rgb(255, 255, 255) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,mas rgb(255, 255, 255) 70%, transparent 100%);
}
.btn-primary{
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-yellow);
  border: 2px solid var(--accent-yellow);
  color: var(--text);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s, transform
}
.logo {
  width: 2.5rem; height: 2.5rem;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-yellow));
  border-radius: 50%;
}
.brand { display: flex; align-items: center; gap: 0.75rem; position: relative; left: -180px; padding-bottom: 5px; }
.brand div:nth-child(2) { font-size: 0.85rem; opacity: 0.8; }
.menu { display: flex; gap: 3rem; position: relative; left: -100px; }
.menu a { font-weight: 500; font-size: 1.2rem; display: inline-block; padding: 0.5rem 0; transition: opacity 0.2s; border-radius: 999px; padding: 5px; padding-left: 5px; box-shadow: inset 5px 0px 4px 0px rgba(0, 0, 0, 0.5); }
.menu a:hover { opacity: 0.8; color: lightblue;}
.hero {
  position: relative;
  padding: 20px;
  padding-bottom: 70px;
  
  overflow: hidden;
}
li a {
  color: var(--accent-yellow);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.hero-text { text-align: left; margin-top: 50px}
.hero-text h1 {font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase; 
  letter-spacing: -0.02em; 
  line-height: 1.1; 
}
.kicker{
  margin-bottom: 20px;
}
.hero-text .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-text .dot { width: 6px; height: 6px; background: var(--accent-yellow); border-radius: 50%; }
.image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 0.4s ease;
}
.image-frame:hover img { transform: scale(1.06); }
.section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 1.5rem; font-size: 2.2rem; }
.section-subtitle {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.electronics-peek {
  margin-top: 1.5rem;
}
.electronics-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.electronics-row {
  display: grid;
  flex-direction: row;

  
  flex: 1;
  text-align:left;
  background: var(--bg-alt);
  
  border-radius: var(--radius);
  padding: 1  rem;
  transition: transform 0.2s, border-color 0.2s;
}
.electronics-item img{
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
.electronics-item li{

  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--muted);
  align-items: left;
}
.electronics-item ul{
  align-items: left;
}
.features-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr 1fr;
}
.feature-card {
  background: var(--bg-alt);
  heigth: fit-content;  
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
  margin-bottom: 1rem;
}
.feature-card:hover {
  scale: 1.02;
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.12);
  border-radius: 20px;
}
.feature-icon {
  width: 48px; height: 48px; margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}
.feature-icon svg { width: 24px; height: 24px; fill: var(--muted); }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.feature-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.25rem;
}
.tag {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  border: 1px solid var(--muted);
  color: var(--muted);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}
.product-section .section-title,
.testimonials .section-title,
.cta-section .section-title { text-align: center; }
.product-grid,
.testimonials-grid {
  display: grid;
  gap: var(--grid-gap, 24px);
  grid-template-columns: 1fr 1fr;
}
.product-card{
  height:fit-content; 
  overflow:hidden;
}
.product-card,
.testimonial-card {
  background: var(--bg-alt);
  
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s;
}
.testimonial-card blockquote {
  padding: 0.5rem 1.25rem; font-style: italic; color: var(--muted); font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; font-weight: 600;
}
.product-card:hover,
.testimonial-card:hover { transform: translateY(-4px); }
.product-image,
.testimonial-avatar {
  width: 100%; height: 180px; overflow: hidden;
  background: #eee;
}
.product-image img,
.testimonial-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-info {
  padding: 1.5rem;
  text-align: left;
}
.product-info h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.product-info .price {
  font-weight: 700; font-size: 1.1rem; margin: 0.5rem 0;
}
.testimonial-card blockquote {
  margin: 1.25rem 0; font-style: italic; color: var(--muted);
}
.author-name {
  margin-top: 0.5rem; font-weight: 600; text-align: right; display: block;padding-right: 1rem;
}
.cta-section {
  text-align: center;
  background: var(--bg-alt);
}
.cta-group {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.footer {
  padding-top: 1rem;
  mask-image: linear-gradient(to top, rgb(255, 255, 255) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top,mas rgb(255, 255, 255) 70%, transparent 100%);
  background: linear-gradient(135deg, rgb(3, 90, 240) ,rgb(76, 76, 213));
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
}
.footer a { color: #fff; }
.footer a:hover { color: #ff0; }
/* Mobile-specific styles for iPhone 12 Pro width (max-width: 390px) */
@media (max-width: 400px) {

  * { overflow-x: hidden; width: 100%; }
  .nav-inner container{
    display: none;
  }

  .menu-toggle { display: flex; align-items:  center; cursor: pointer; margin-right: 10px }
  .hamburger {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    position: relative;
    transition: background 0.3s ease;
  }
  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, top 0.3s ease;
  }
  .hamburger::before { top: -8px; }
  .hamburger::after { top: 8px; }
  /* animate hamburger to X when checked */
  #nav-toggle:checked + .menu-toggle .hamburger { background-color: transparent; }
  #nav-toggle:checked + .menu-toggle .hamburger::before { transform: rotate(45deg); top: 0; }
  #nav-toggle:checked + .menu-toggle .hamburger::after { transform: rotate(-45deg); top: 0; }

  /* Hide default menu, show when checkbox checked */
  .menu { 
    display: none !important; 
    left: 0 !important; 
  }
  #nav-toggle:checked ~ .menu {
    display: flex !important;
    visibility: hidden;
    flex-direction: column !important;
    gap: 1rem !important;
    background: rgba(18,18,19,0.8) !important;
    padding: 1rem !important;
    border-radius: var(--radius) !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }

  /* Adjust nav inner layout for mobile */
  .nav-inner { 
    align-items: stretch !important; 
    flex-wrap: wrap !important; 
  }
  .brand { 
    left: 0 !important; 
  }
  /* Ensure full-width links */
  .menu a { 
    width: 100% !important; 
    text-align: center !important; 
    padding: 0.75rem 0 !important; 
  }

  /* Hero heading responsive – override inline styles */
  .hero-text h1 { 
    font-size: clamp(2rem, 6vw, 4rem) !important; 
    line-height: 1.2 !important; 
    margin-bottom: 0.5rem !important; 
    word-break: break-word !important; 
  }
  .hero-text h1 + h1 { 
    font-size: clamp(1.5rem, 4vw, 2.5rem) !important; 
    margin-top: 0 !important; 
    margin-bottom: 1rem !important; 
    word-break: break-word !important; 
  }
  .lead { 
    font-size: clamp(1rem, 4vw, 1.25rem) !important; 
  }

  /* Hide header background image on mobile */
  .hero-bg { 
    display: none !important; 
  }

  /* Hero layout: single column, centered text */
  .hero-inner { 
    grid-template-columns: 1fr !important; 
    text-align: center !important; 
  }
  .hero-text { 
    text-align: center !important; 
    margin-top: 0 !important; 
  }

  /* CTA buttons stack */
  .cta-group { 
    flex-direction: column !important; 
    align-items: stretch !important; 
    gap: 1rem !important; 
  }
  .cta-group .btn { 
    width: 100% !important; 
    text-align: center !important; 
    padding: 0.85rem 1.5rem !important; 
    font-size: 1rem !important; 
  }

  /* Features grid single column */
  .features-grid,
  .testimonials-grid { 
    grid-template-columns: 1fr !important; 
  }
  /* Feature card height auto – override inline height */
  .feature-column .feature-card { 
    height: auto !important; 
  }
  .electronics-row .electronics-item img { 
    max-height: 120px !important; 
    width: auto !important; 
  }

  /* Product grid two columns */
  .product-section .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: calc(var(--gap) * 0.8) !important;
  }

  /* Reduce section padding */
  .section { 
    padding: 0rem 0 !important; 
  }
  h2 { 
    font-size: 2rem !important; 
  }
  h3 { 
    font-size: 1.4rem !important; 
  }

  /* Hide decorative circles if any */
  .circle { 
    display: none !important; 
  }
  .feature-card {
    scale: 01 !important;
    margin-left: 20px;
  }
  .feature-grid{
    align-items:left;
  }
}

/* Styles for the contact section in the footer */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.contact-section {
  flex: 1;
  min-width: 200px;
  margin-right: 1rem;
}

.contact-section input {
  display: block;
  width: 100%;
  max-width: 300px; /* limit width for better look */
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Optional: style the footer-content to align right if needed */
.footer-content {
  text-align: right;
}

/* For small screens, stack the contact section above the footer content */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-section {
    margin-bottom: 1rem;
  }
  .contact-section input {
    max-width: 100%;
  }
}
