:root {
  --primary: #0b1f3a;
  --accent: #00b4d8;
  --text: #1a1a1a;
  --light: #f7f9fc;
}
html {
  scroll-behavior: smooth;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  color: var(--text);
  background: white;
}

/* UTILITIES */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1.5rem;
}

/* HEADER */
.header {
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-name {
  color: var(--accent); /* AjVinz */
}

.dot {
  color: var(--text); /* I.T Services */
  font-weight: 500;
}

/* NAV */
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* BUTTONS */
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.btn-outline {
  border: 1px solid var(--accent);
  padding: 10px 20px;
  border-radius: 4px;
  color: var(--accent);
  text-decoration: none;
}
/* LEARN MORE BUTTON */
.btn-learn {
  display: inline-block;
  margin: 1rem 1.5rem 1.5rem 1.5rem;
  padding: 10px 18px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-learn:hover {
  background: #009ecf; /* slightly darker on hover */
  transform: translateY(-2px);
}

#bg-music{
  display: none;
}
/* MUSIC TOGGLE BUTTON */
.music-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px; /* moved to left */
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: background 0.3s ease, transform 0.2s ease;
}
.contact-section {
  background: #0f172a;
  color: #fff;
  padding: 80px 20px;
}

.contact-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.contact-desc {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 15px;
  background: #020617;
  padding: 20px;
  border-radius: 12px;
  align-items: center;
}

.contact-item span {
  font-size: 1.8rem;
}

.contact-item h4 {
  margin: 0;
  font-size: 1rem;
}

.contact-item a,
.contact-item p {
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.95rem;
}
.map-section {
  background: #020617;
  padding: 80px 20px;
  color: #fff;
  display: flex;
  justify-content: center;
}

.map-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.map-desc {
  text-align: center;
  color: #cbd5e1;
  margin-bottom: 40px;
}

.map-container {
  width: 100%;
  max-width: 1100px;   /* controls map width */
  height: 450px;
  margin: 0 auto;      /* centers horizontally */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}



.music-toggle:hover {
  background: #009ecf;
  transform: scale(1.1);
}

/* HERO */
.hero {
  background: url('../images/background') no-repeat center center; /* path to your image */
  background-size: cover; /* cover entire section */
  color: white;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 1.5rem;
}

/* Optional overlay for better text readability */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay, adjust opacity */
  z-index: 0;
}

.hero .hero-content {
  position: relative;
  z-index: 1; /* ensures text is above overlay */
}

.hero h1 {
  font-size: 3rem;
  max-width: 600px;
}

.hero p {
  margin: 1.5rem 0;
  max-width: 500px;
  font-size: 1.1rem;
}


/* SOLUTIONS */
.solutions {
  background: var(--light);
  padding: 4rem 0;
}

.solutions h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* SOLUTION GRID */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  padding: 4rem 1.5rem;
}

/* CARD */
.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* IMAGE — 1:1 RATIO */
.card img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* FORCE SQUARE */
  object-fit: cover;    /* CLEAN CROPPING IF NEEDED */
  display: block;
}

/* CONTENT */
.card h3 {
  padding: 1.2rem 1.5rem 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.card p {
  padding: 0 1.5rem 1.8rem;
  font-size: 0.95rem;
  color: #555;
}


.footer {
  background: #020617;
  padding: 40px 20px 20px;
  color: #cbd5e1;
}

.footer-grid {
  display: flex;
  justify-content: center; /* centers content horizontally */
  align-items: center;
  text-align: center;
}

.footer-grid > div {
  max-width: 500px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 5px;
}

.footer p {
  margin: 0;
}

.copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}


@media (max-width: 900px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }


  .card img {
    height: 160px;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 100%;
    display: none;
    padding: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
