/* Qatar Coverage - Main Stylesheet */
/* Color Palette: Emerald Green, White, Dark Grey */

:root {
  --emerald-primary: #10B981;
  --emerald-dark: #059669;
  --emerald-light: #34D399;
  --emerald-pale: #D1FAE5;
  --white: #FFFFFF;
  --grey-900: #111827;
  --grey-800: #1F2937;
  --grey-700: #374151;
  --grey-600: #4B5563;
  --grey-500: #6B7280;
  --grey-400: #9CA3AF;
  --grey-300: #D1D5DB;
  --grey-200: #E5E7EB;
  --grey-100: #F3F4F6;
  --grey-50: #F9FAFB;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--grey-800);
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--grey-900);
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--grey-700);
}

a {
  color: var(--emerald-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--emerald-dark);
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--grey-700);
}

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

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

.container-narrow {
  max-width: 800px;
}

/* Header & Navigation */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  border-radius: 50%;
  opacity: 0.9;
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--grey-900);
}

.logo-text span {
  color: var(--emerald-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grey-700);
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--grey-700);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--emerald-pale);
  color: var(--emerald-dark);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--grey-50) 0%, var(--emerald-pale) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--emerald-light) 0%, transparent 70%);
  opacity: 0.2;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  color: var(--grey-900);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--grey-600);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
}

.map-base {
  position: absolute;
  inset: 0;
  background: var(--grey-100);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.signal-ring {
  position: absolute;
  border: 2px solid var(--emerald-primary);
  border-radius: 50%;
  opacity: 0;
  animation: signal-expand 3s ease-out infinite;
}

.signal-ring:nth-child(1) { top: 45%; left: 45%; animation-delay: 0s; }
.signal-ring:nth-child(2) { top: 40%; left: 40%; animation-delay: 1s; }
.signal-ring:nth-child(3) { top: 35%; left: 35%; animation-delay: 2s; }

@keyframes signal-expand {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0.8;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

.signal-node {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--emerald-light);
}

.signal-node::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--emerald-light);
  border-radius: 50%;
  animation: node-pulse 2s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0; }
}

.node-1 { top: 30%; left: 25%; }
.node-2 { top: 50%; left: 60%; }
.node-3 { top: 70%; left: 35%; }
.node-4 { top: 25%; left: 70%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-dark));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--emerald-dark);
  border: 2px solid var(--emerald-primary);
}

.btn-secondary:hover {
  background: var(--emerald-pale);
  color: var(--emerald-dark);
}

/* Main Content */
main {
  flex: 1;
}

.page-header {
  background: linear-gradient(135deg, var(--grey-50) 0%, var(--emerald-pale) 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--grey-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  padding: 4rem 0;
}

.content-section:nth-child(even) {
  background: var(--grey-50);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--grey-600);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--grey-200);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-light);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--emerald-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--emerald-primary);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--grey-600);
  margin-bottom: 0;
}

/* Info Box */
.info-box {
  background: var(--emerald-pale);
  border-left: 4px solid var(--emerald-primary);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-box h4 {
  color: var(--emerald-dark);
  margin-bottom: 0.5rem;
}

.info-box p {
  color: var(--grey-700);
  margin-bottom: 0;
}

/* Feature List */
.feature-list {
  list-style: none;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-200);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--emerald-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}

.feature-list .icon::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--grey-200);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--grey-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: var(--grey-50);
}

.faq-question .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emerald-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--grey-700);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Contact Form */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background: var(--grey-50);
  border-radius: 16px;
  padding: 2rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  background: var(--emerald-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-primary);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--grey-500);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-item p {
  color: var(--grey-900);
  font-weight: 600;
  margin-bottom: 0;
}

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--grey-200);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--grey-800);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--grey-200);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--emerald-primary);
  box-shadow: 0 0 0 3px var(--emerald-pale);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  width: 100%;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column-text {
  padding-right: 2rem;
}

.two-column-visual {
  position: relative;
}

/* Infrastructure Visual */
.infrastructure-visual {
  background: var(--grey-50);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.tower-graphic {
  position: relative;
  width: 200px;
  height: 250px;
}

.tower-base {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: var(--grey-400);
  border-radius: 4px;
}

.tower-body {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 180px;
  background: linear-gradient(to top, var(--grey-500), var(--grey-400));
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.tower-antenna {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 40px;
  background: var(--grey-600);
  border-radius: 4px 4px 0 0;
}

.tower-signal {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border: 2px solid var(--emerald-primary);
  border-radius: 50%;
  opacity: 0.5;
  animation: tower-signal-pulse 2s ease-in-out infinite;
}

@keyframes tower-signal-pulse {
  0%, 100% { transform: translateX(-50%) scale(0.5); opacity: 0.8; }
  50% { transform: translateX(-50%) scale(1); opacity: 0; }
}

/* Coverage Map Visual */
.coverage-map-visual {
  background: var(--grey-100);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 1.5;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.coverage-zone {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.zone-1 {
  top: 20%;
  left: 30%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--emerald-light) 0%, transparent 70%);
}

.zone-2 {
  top: 40%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--emerald-primary) 0%, transparent 70%);
}

.zone-3 {
  top: 60%;
  left: 20%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--emerald-light) 0%, transparent 70%);
}

/* Footer */
.footer {
  background: var(--grey-900);
  color: var(--grey-400);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--grey-400);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--grey-400);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--emerald-light);
}

.footer-disclaimer {
  background: var(--grey-800);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--emerald-primary);
}

.footer-disclaimer p {
  color: var(--grey-300);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--grey-800);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--grey-500);
  font-size: 0.9rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-emerald { color: var(--emerald-primary); }
.bg-light { background: var(--grey-50); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.pt-4 { padding-top: 2rem; }

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    margin: 0 auto 2rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-illustration {
    max-width: 350px;
  }
  
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .two-column-text {
    padding-right: 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .header-content {
    flex-wrap: wrap;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--grey-200);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu a {
    padding: 0.75rem 1rem;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .contact-section {
    grid-template-columns: 1fr;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer h4 {
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-illustration {
    max-width: 280px;
  }
  
  .page-header {
    padding: 2rem 0;
  }
  
  .content-section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .header,
  .nav-toggle,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: #000;
  }
  
  .footer {
    background: #f0f0f0;
    color: #333;
  }
}