/* CSS Document */
/* styles.css */
/* — Reset & Base — */
:root {
  --primary: #005caa;
  --accent: #00aaff;
  --text: #333;
  --bg: #f9f9f9;
  --dark-bg: #222;
  --light-bg: #fff;
  --font: 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin:0; padding:0; }
html {
  scroll-behavior: smooth;
}
body { font-family: var(--font); color: var(--text); line-height:1.5; background: var(--bg); }
.container { max-width:1200px; margin:0 auto; padding:0 1rem; }

/* — Header/Footer — */

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
}

.logo span {
  font-weight: bold;
}

#nav-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  display: none;
}

.site-nav ul {
  display: flex;
  list-style: none;
}

.site-nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s;
}

.site-nav a:hover {
  color: var(--primary-color);
}

/* — Hero — */
.hero {
  background: linear-gradient(rgba(0,92,170,0.6), rgba(0,92,170,0.6)), url('/images/Fiber-Optic_Connectivity.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 8rem 0;
}
.hero-content h1 { font-size:3rem; margin-bottom:1rem; }
.hero-content p  { font-size:1.25rem; margin-bottom:2rem; }
.btn-primary.large {
  font-size:1.125rem; padding:1rem 2rem;
}

/* — Industries — */
.industries { padding:6rem 0; background: var(--light-bg); }
.industries h2 { text-align:center; font-size:2.5rem; margin-bottom:3rem; color:var(--primary); }

.industry-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:2rem;
}

.industry-card {
  background:#fff; border-radius:8px; overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  display:flex; flex-direction:column;
  transition: transform .3s, box-shadow .3s;
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}
.industry-card img {
  width:100%; height:180px; object-fit:cover;
}
.industry-card h3 {
  margin:1rem; font-size:1.5rem; color:var(--primary);
}
.industry-card p {
  margin:0 1rem 1rem; flex-grow:1;
}
.industry-card ul {
  list-style: disc inside;
  margin:0 1rem 1rem;
}

/* — About — */
.about { padding:6rem 0; }
.about h2 { text-align:center; font-size:2.25rem; margin-bottom:2rem; color:var(--primary); }
.about-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:2rem;
  align-items:center;
}
.about-image img { width:100%; border-radius:8px; }
.about-text p { margin-bottom:1rem; font-size:1.1rem; }
.about-text ul { list-style: disc inside; }

/* — Contact — */
.contact { padding:6rem 0; background: var(--light-bg); }
.contact h2 { text-align:center; font-size:2.25rem; margin-bottom:2rem; color:var(--primary); }
.contact-form { max-width:600px; margin:0 auto; }
.form-group { margin-bottom:1.5rem; }
.form-group label { display:block; margin-bottom:.5rem; }
.form-group input,
.form-group textarea {
  width:100%; padding:.75rem; border:1px solid #ccc; border-radius:4px;
}
.btn-primary {
  background:var(--accent); color:#fff; text-decoration:none;
  border:none; border-radius:4px; cursor:pointer;
  transition: background .3s;
}
.btn-primary:hover { background:var(--primary); }

/* — Footer — */
.site-footer {
  background: #222;
  color: #bbb;
  text-align: center;
  padding: 2rem 0;
}

.site-footer a {
  color: #bbb;
  margin: 0 0.5rem;
  text-decoration: none;
}

/* — Responsive — */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
  }
  .site-nav.active {
    display: block;
    background: #fff;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  .site-nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  .site-nav a {
    margin: 0.5rem 1rem;
  }
}
