/* ===== VARIABLES & RESET ===== */
:root {
  --primary: #0066cc;
  --primary-dark: #004999;
  --accent: #ff9900;
  --bg-light: #e6f2ff;
  --bg-alt: #ffffff;
  --text: #003366;
  --shadow: rgba(0,0,0,0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-alt) 100%);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  min-height: 100vh;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Navigation */
.main-nav {
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  box-shadow: 0 2px 8px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav .nav-logo img {
  max-height: 50px;
}
.main-nav .nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.main-nav .nav-links li a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.main-nav .nav-links li a:hover {
  color: var(--primary-dark);
}

/* Header */
.main-header-left {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 100px 20px 60px;
  color: #fff;
  text-align: left;
  position: relative;
}
.main-header-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.main-header-left .logo-left {
  position: relative;
  max-width: 100px;
  margin-bottom: 20px;
  z-index: 1;
}
.main-header-left .header-text {
  position: relative;
  z-index: 1;
}
.main-header-left h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.main-header-left p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* SERVICE SECTION AS CARD */
.service-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  animation: fadeInUp 1s ease both;
}
.service-section .service-content {
  background: var(--bg-alt);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  flex-wrap: wrap;
}
.service-section.alt-bg .service-content {
  background: var(--bg-light);
}
.service-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.3s, filter 0.3s;
}
.service-image:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 5px var(--primary));
}
.service-text h2 {
  margin-top: 0;
  color: var(--primary-dark);
}

/* add a padlock icon before each service heading for thematic flair */
.service-text h2::before {
  content: '🔒';
  display: inline-block;
  margin-right: 8px;
  font-size: 1.2rem;
  vertical-align: middle;
}
.service-text p {
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.2s;
  margin-right: 10px;
  margin-top: 10px;
  font-weight: 600;
}
.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Lists */
ul {
  padding-left: 20px;
}
ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Form container */
.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  min-height: 80vh;
  padding: 20px;
}
.form-container iframe {
  width: 100%;
  max-width: 900px;
  height: 900px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background: var(--bg-alt);
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text);
  box-shadow: 0 -2px 8px var(--shadow);
}
footer a {
  color: var(--primary);
}
footer p {
  margin: 5px 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .service-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .service-image {
    margin-bottom: 20px;
  }
  .btn {
    width: 80%;
    text-align: center;
    margin: 10px 0;
  }
  .main-nav .nav-links {
    display: none; /* hide for mobile; hamburger could be added later */
  }
}
