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

:root {
  --primary-color: #0A4D68;
  --secondary-color: #088395;
  --accent-color: #05BFDB;
  --light-bg: #EBF4F6;
  --dark-text: #1A2332;
  --light-text: #5A6C7D;
  --white: #FFFFFF;
  --warning-bg: #FFF4E6;
  --warning-border: #F59E0B;

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--light-bg);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

h1 {
  font-size: 2.5em;
  line-height: 1.2;
  color: var(--dark-text);
  font-weight: 700;
}

h2 {
  font-size: 2em;
  line-height: 1.3;
  color: var(--dark-text);
  font-weight: 600;
}

h3 {
  font-size: 1.5em;
  line-height: 1.4;
  color: var(--dark-text);
  font-weight: 600;
}

p {
  color: var(--light-text);
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  color: var(--white);
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 1px;
}

header .nav-links {
  display: flex;
  gap: 30px;
}

header .nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 1.1em;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

header .nav-links a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.1" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z"></path></svg>') repeat-x;
  background-size: 200% 100%;
  animation: wave 15s linear infinite;
  opacity: 0.3;
}

@keyframes wave {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.hero h1,
.hero h2,
.hero p {
  color: var(--white);
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
  padding: 60px 20px;
}

.bg-white {
  background-color: var(--white);
}

.bg-light {
  background-color: var(--light-bg);
}

/* Card Styles */
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(10, 77, 104, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(10, 77, 104, 0.15);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

/* Icon Boxes */
.icon-box {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(10, 77, 104, 0.08);
  transition: all 0.3s ease;
}

.icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(10, 77, 104, 0.15);
}

.icon-box .icon {
  font-size: 3em;
  margin-bottom: 15px;
}

/* Warning Box */
.warning-box {
  background: var(--warning-bg);
  border-left: 5px solid var(--warning-border);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-text) 0%, var(--primary-color) 100%);
  color: var(--white);
  padding: 60px 20px 20px;
}

footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3em;
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95em;
}

footer a:hover {
  color: var(--accent-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Form Styles */
form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(10, 77, 104, 0.1);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  font-size: 1em;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

button,
.btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(8, 131, 149, 0.3);
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 131, 149, 0.4);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.max-w-800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  header nav {
    flex-direction: column;
    gap: 20px;
  }

  header .nav-links {
    flex-direction: column;
    gap: 15px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  .hero {
    padding: 60px 20px;
  }

  section {
    padding: 40px 20px;
  }

  form {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.75em;
  }

  h2 {
    font-size: 1.25em;
  }

  .card {
    padding: 20px;
  }

  .icon-box {
    padding: 20px;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  header,
  footer,
  .nav-links,
  button,
  form {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .card,
  .icon-box {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

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

.card,
.icon-box {
  animation: fadeIn 0.6s ease-out;
}

/* Stagger animation for grid items */
.grid-2 > *:nth-child(1),
.grid-3 > *:nth-child(1),
.grid-4 > *:nth-child(1),
.grid-5 > *:nth-child(1) {
  animation-delay: 0.1s;
}

.grid-2 > *:nth-child(2),
.grid-3 > *:nth-child(2),
.grid-4 > *:nth-child(2),
.grid-5 > *:nth-child(2) {
  animation-delay: 0.2s;
}

.grid-3 > *:nth-child(3),
.grid-4 > *:nth-child(3),
.grid-5 > *:nth-child(3) {
  animation-delay: 0.3s;
}

.grid-4 > *:nth-child(4),
.grid-5 > *:nth-child(4) {
  animation-delay: 0.4s;
}

.grid-5 > *:nth-child(5) {
  animation-delay: 0.5s;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

button:active {
  animation: pulse 0.3s ease-in-out;
}

/* Image Lazy Loading Effect */
img {
  animation: fadeIn 0.8s ease-out;
}
