/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
}

/* Ensure body fills viewport */
html, body {
  height: 100%;
  margin: 0;
}

/* Flex layout for sticky footer */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main content grows to push footer down */
main {
  flex: 1;
}

/* Footer styles */
.footer {
  background: #000;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  margin-top: auto; /* pushes footer to bottom */
}


/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6%;
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
}
.header .logo img {
  height: 40px;
  margin-right: 10px;
}
a.btn-primary {
  text-decoration: none;   /* remove underline */
  color: inherit;          /* use button text color */
  display: inline-block;   /* make it behave like button */
}
.nav a.active {
  color: #f1c40f;         /* highlight color */
  font-weight: 600;       /* make it bold */
  border-bottom: 2px solid #f1c40f; /* optional underline */
}

.nav a {
  margin: 0 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav a:hover { color: #f1c40f; }
.btn-primary {
  padding: 0.6rem 1.2rem;
  background: #f1c40f;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover { background: #d4ac0d; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* push content to left */
  text-align: left;            /* align text left */
  padding: 8% 10%;
  color: #fff;
  min-height: 80vh;

  background: url("webimages/captiveportal.png") no-repeat center center/cover;
}

/* Dark overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* Content */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: left;
}

/* Main Title */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #f1c40f;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Tagline */
.hero-tagline {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

/* Description */
.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #ddd;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Features */
.features {
  text-align: center;
  padding: 4rem 8%;
  background: #fafafa;
}
.features h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.subtitle {
  color: #666;
  margin-bottom: 2.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 2rem;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-card img {
  height: 50px;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #000;
}
.feature-card p {
  color: #444;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: #000;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}


/* Clients Sections */

.clients {
  background: #0d0d0d;
  padding: 60px 0;
  text-align: center;
}

.clients-title {
  font-size: 1.8rem;
  color: #f1c40f;
  margin-bottom: 40px;
  font-weight: 600;
}

.logo-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100px; /* adjust for logo height */
}

.logo-track {
  position: relative;
  height: 100%;
}

.logo-track img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 80px;
  transition: transform 0.3s ease;
}

.logo-track img:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Feature page */

.detailed-features {
  padding: 4rem 8%;
  background: #fafafa;
}

.page-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.feature-detail {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.feature-detail.reverse {
  flex-direction: row-reverse;
}

.feature-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.feature-info {
  flex: 1;
}

.feature-info h2 {
  font-size: 2rem;
  color: #f1c40f;
  margin-bottom: 1rem;
}

.feature-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

/* Contact Page */

.contact-section {
  padding: 60px 20px;
  text-align: center;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000000;
}

.contact-title span {
  color: #f1c40f;
}

.contact-subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #000000;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 50px;
  margin-bottom: 15px;
}

.contact-card h2 {
  font-size: 1.3rem;
  color: #f1c40f;
  margin-bottom: 10px;
}

.contact-card p {
  margin: 5px 0;
  color: #ddd;
}

.contact-card a {
  color: #f1c40f;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.funny-line {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #aaa;
  font-style: italic;
}

