/* Global Styles for Softcube Website */
:root {
  --primary: #1872A2;
  --secondary: #249DDB;
  --accent: #259FDB;
  --text-color: #112335;
  --background: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background: var(--background);
  color: var(--text-color);
  line-height: 1.6;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Make all images responsive */
img {
  max-width: 100%;
  height: auto;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--primary);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}
.logo {
  height: 80px;
}
/* Desktop nav default */
.nav-links {
  display: flex;
  gap: 10px;
}
/* Burger button hidden on desktop */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
  width: auto;          /* <-- FIX */
  white-space: nowrap;  /* Keeps text in one line */
}

.btn:hover {
  background: var(--secondary);
}
.btn:active {
  background: var(--accent);
}

.intro-section {
  margin-top: 120px;
  text-align: center;
  padding: 40px;
}
footer {
  background: var(--primary);
  padding: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

footer nav {
  display: flex;
  gap: 15px;
}

/* Ensure footer items align perfectly in a row */
.footer-container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

/* Make CTA buttons consistent */
.footer-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.footer-btn:hover {
  background: var(--secondary);
}

/* WhatsApp icon fixes */
.footer-btn img {
  width: 22px;
  height: auto;
  display: inline-block;
}
/* Footer responsive scaling */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  .nav-links {
    display: none;          /* Hidden until toggled */
    position: absolute;
    top: 70px;
    right: 20px;
    flex-direction: column;
    background: var(--primary);
    padding: 15px;
    border-radius: 8px;
    width: 200px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.show {
    display: flex;          /* When toggled */
  }
}