/* Google Font Import - Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary-sky: #4DA6FF;
  --primary-sky-hover: #338BFF;
  --primary-navy: #0A2540;
  --navy-light: #1E3E62;
  --navy-dark: #051424;
  --white: #FFFFFF;
  --bg-light: #F4F7FA;
  --bg-white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-muted: #6B7A8A;
  --border-color: #E2E8F0;
  --success: #10B981;
  --danger: #EF4444;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 8px 16px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 16px 32px rgba(10, 37, 64, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Layout */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Common Layout Elements */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 32px;
  color: var(--primary-navy);
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-sky);
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-sky);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-sky-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(77, 166, 255, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: var(--white);
}

.btn-navy:hover {
  background-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.2);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  color: var(--primary-navy);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--primary-navy);
  font-size: 16px;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-sky);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-btn {
  display: inline-flex;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-navy);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77, 166, 255, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--primary-sky);
}

.hero-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

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

.hero-image {
  width: 100%;
  max-width: 550px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.hero-image:hover {
  transform: scale(1.02);
  border-color: rgba(77, 166, 255, 0.3);
}

/* About Us Section */
.about {
  background-color: var(--bg-white);
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.about-graphics {
  background: linear-gradient(135deg, rgba(77, 166, 255, 0.1) 0%, rgba(10, 37, 64, 0.05) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.about-slogan-box {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  margin-top: -20px;
  margin-left: 20px;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--primary-sky);
}

.about-slogan-box h3 {
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
}

.about-text h3 {
  font-size: 24px;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.about-text p {
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  text-align: center;
  padding: 15px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--primary-sky);
}

.stat-card h4 {
  font-size: 24px;
  color: var(--primary-navy);
  font-weight: 700;
}

.stat-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Services Section */
.services-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.service-tab-btn {
  padding: 10px 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  transition: var(--transition);
}

.service-tab-btn:hover,
.service-tab-btn.active {
  background-color: var(--primary-navy);
  color: var(--white);
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-sky);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(77, 166, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-navy);
}

.service-icon-wrapper svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary-navy);
  fill: none;
  stroke-width: 2;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrapper svg {
  stroke: var(--primary-sky-hover);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 20px;
  color: var(--primary-navy);
  margin-bottom: 12px;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  flex-grow: 1;
}

.service-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background-color: rgba(77, 166, 255, 0.15);
  color: var(--primary-navy);
  border-radius: 40px;
  margin-top: 15px;
}

/* Action Forms Section (Tabs) */
.form-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.form-tabs-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-inset);
  display: flex;
  margin-bottom: 40px;
}

.form-tab-link {
  flex: 1;
  text-align: center;
  padding: 15px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.form-tab-link.active {
  background-color: var(--white);
  color: var(--primary-navy);
  box-shadow: var(--shadow-md);
}

.form-content-pane {
  display: none;
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.4s ease;
}

.form-content-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-sky);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(77, 166, 255, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-submit-container {
  margin-top: 10px;
}

.form-submit-container .btn {
  width: 100%;
}

/* Why Choose Us Section */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.why-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px;
  border-left: 4px solid var(--primary-sky);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.why-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: bold;
}

.why-card-content h3 {
  font-size: 18px;
  color: var(--primary-navy);
  margin-bottom: 8px;
  font-weight: 600;
}

.why-card-content p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Contact Us Section */
.contact {
  background-color: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(77, 166, 255, 0.1);
  color: var(--primary-navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-navy);
  fill: none;
  stroke-width: 2;
}

.contact-details h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
  font-size: 18px;
  color: var(--primary-navy);
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--primary-sky);
}

.contact-map-panel {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.contact-map-panel h3 {
  font-size: 22px;
  color: var(--primary-navy);
  margin-bottom: 20px;
}

.map-placeholder {
  flex-grow: 1;
  min-height: 250px;
  background-color: #E2E8F0;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--primary-navy);
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--text-muted);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  stroke: var(--primary-navy);
}

.map-placeholder a {
  margin-top: 15px;
}

/* Footer */
footer {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 60px 0 20px 0;
  border-top: 5px solid var(--primary-sky);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 15px;
}

.footer-brand h2 span {
  color: var(--primary-sky);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 15px;
}

.footer-links h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--primary-sky);
  margin-top: 5px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--primary-sky);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background-color: var(--primary-navy);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--primary-sky);
  font-weight: 500;
  min-width: 300px;
  max-width: 450px;
  animation: slideIn 0.3s ease forwards;
}

.toast.toast-success {
  border-left-color: var(--success);
}

.toast.toast-danger {
  border-left-color: var(--danger);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* Admin Dashboard Styles */
.admin-auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 160px);
  padding: 24px;
}

.admin-auth-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  text-align: center;
}

.admin-auth-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(10, 37, 64, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--primary-navy);
}

.admin-auth-icon svg {
  width: 30px;
  height: 30px;
}

.admin-auth-box h2 {
  font-size: 24px;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.admin-auth-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 25px;
}

.admin-container {
  display: none;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 30px;
  margin-top: 40px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.admin-title-section h2 {
  font-size: 26px;
  color: var(--primary-navy);
  font-weight: 700;
}

.admin-title-section p {
  color: var(--text-muted);
  font-size: 14px;
}

.admin-actions {
  display: flex;
  gap: 12px;
}

.admin-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 25px;
}

.admin-tab {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}

.admin-tab:hover {
  color: var(--primary-navy);
}

.admin-tab.active {
  color: var(--primary-sky);
  border-bottom-color: var(--primary-sky);
}

.table-filter-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-input {
  flex-grow: 1;
  min-width: 200px;
}

.filter-select {
  width: 180px;
}

.table-container {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

th {
  background-color: var(--bg-light);
  color: var(--primary-navy);
  font-weight: 600;
  padding: 16px;
  border-bottom: 2px solid var(--border-color);
}

td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-dark);
}

tr:hover td {
  background-color: rgba(77, 166, 255, 0.03);
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.action-btn-delete {
  color: var(--danger);
}

.action-btn-delete:hover {
  background-color: rgba(239, 68, 68, 0.1);
}

.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  stroke: var(--text-muted);
}

/* Mobile Responsiveness Rules */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-image-container {
    order: 2;
    margin-top: 20px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content-wrapper {
    grid-template-columns: 1fr;
  }

  .about-slogan-box {
    margin-left: 0;
    margin-top: 20px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    gap: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-btn {
    display: none; /* Hide double CTA on mobile header */
  }

  .burger-menu {
    display: flex;
  }

  /* When burger is open */
  .burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .burger-menu.open span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-content-pane {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions .btn {
    flex-grow: 1;
  }
}
