/* ================== GLOBAL STYLES ================== */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)),
              url('../images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #f0f0f0;
}

img {
  max-width: 100%;
  height: auto;
}

/* ================== NAVBAR ================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  position: relative;
  margin-bottom: 100px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Logo */
.logo {
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  letter-spacing: 1.8px;
  font-family: 'Poppins', sans-serif;
}
.logo-asg {
  color: whitesmoke;
  font-weight: 300;
  font-size: 3.5rem;
  letter-spacing: 0px;
}
.logo-digi {
  color: #e0e0e0;
  font-weight: 100;
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.logo-digi .reverse-i {
  display: inline-block;
  transform: rotate(180deg);
  font-style: normal;
  font-family: 'Merriweather', serif;
  color: rgb(16, 218, 205);
  font-weight: 900;
}
.logo-digi .gold-i {
  color: orange;
  font-family: 'Merriweather', serif;
  font-weight: 900;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.nav-links a:hover {
  color: #42a5f5;
  text-shadow: 0 0 8px rgba(66, 165, 245, 0.6);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #e0e0e0;
}
.menu-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ================== HERO SECTION (Index Page) ================== */
.hero {
  padding: 100px 20px;
  text-align: center;
  background-color: #f0f9ff;
  margin-top: 70px;
}
.hero-content {
  background: #c4f3dd;
  padding: 40px;
  max-width: 700px;
  color: darkcyan;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: darkblue;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 1rem;
}
.hero h1 span {
  color: #facc15;
}
.hero p {
  font-size: 1.1rem;
  color: black;
  margin-bottom: 2rem;
}

/* ================== UNIQUE SECTION (Index Page) ================== */
.unique-section {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}
.unique-content {
  max-width: 900px;
  margin: auto;
  color: #333;
}
.unique-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}
.unique-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}
.unique-content ul {
  list-style: none;
  padding: 0;
  text-align: left;
}
.unique-content li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}
.unique-content li::before {
  content: "✔";
  color: #007bff;
  position: absolute;
  left: 0;
}

/* ================== BUTTONS ================== */
.btn, .service-btn, .hero-btn {
  display: inline-block;
  padding: 12px 24px;
  background: whitesmoke;
  color: black;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}
.hero-btn:hover,
.btn:hover, 
.service-btn:hover {
  background: lightgreen;
  transform: translateY(-2px);
}
.service-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ================== FOOTER ================== */
.footer {
  background: #111;
  color: #ccc;
  padding: 50px 30px 20px;
  margin-top: 200px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-column {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}
.footer-column h2, 
.footer-column h3 {
  color: #ffd700;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column li {
  margin-bottom: 10px;
}
.footer-column a, 
.footer-column p {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}
.footer-column a {
  position: relative;
  display: inline-block;
}
.footer-column a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  left: 0;
  bottom: -2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}
.footer-column a:hover::after {
  transform: scaleX(1);
}
.footer-column a:hover {
  color: #fff;
}
.social-icons a {
  margin-right: 10px;
  color: white;
  font-size: 18px;
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 14px;
  color: #aaa;
}

/* ================== FLOATING BUTTONS ================== */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.float-button.call-button {
  width: 50px;
  height: 50px;
  background-color: #2196F3;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
}
.whatsapp-chat {
  background-color: white;
  color: #1a73e8;
  border-radius: 30px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  transition: background-color 0.3s ease;
}
.whatsapp-chat img {
  width: 20px;
  height: 20px;
}
.whatsapp-chat:hover {
  background-color: #f1f1f1;
}


/* ================== NAVBAR LOGO FIX (Mobile) ================== */
@media (max-width: 768px) {
  .logo {
    font-size: 1.4rem;       /* smaller overall */
    gap: 4px;                /* tighter spacing */
    letter-spacing: 0.5px;
  }
  .logo-asg {
    font-size: 2.2rem;       /* smaller main text */
  }
  .logo-digi {
    font-size: 1rem;         /* smaller sub text */
  }
}

/* ================== NAVBAR MENU FIX (Mobile) ================== */
 @media (max-width: 480px) {
  .menu-toggle {
    display: block;   
   }
  
  
   /* show hamburger */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 180ms ease;
    z-index: 2000;  /* ✅ makes sure nav stays above everything */
    max-height: 100vh; /* ✅ ensures all items are scrollable if needed */
    overflow-y: auto;
  }

  .nav-links.open {
    transform: scaleY(1);
  }

  .nav-links a {
    display: block;
    color: #000;   /* ✅ black text */
    padding: 1rem;
    text-align: center;
  }
}
