/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #f9f9fb;
  color: #333;
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

/* Dark Mode */
body.dark-mode {
  background-color: #121212;
  color: #eee;
}

body.dark-mode header,
body.dark-mode footer {
  background-color: #1e1e1e;
  color: #ccc;
}

body.dark-mode .hero {
  background: linear-gradient(to right, #1e1e1e, #333);
}

body.dark-mode .cta {
  background-color: #00796b;
}

/* Header */
header {
  background-color: #0a2540;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

.services {
  padding: 40px 20px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.service-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.service-card h3 {
  color: #0a2540;
  margin-bottom: 10px;
}

.services-image {
  margin-top: 40px;
}

.services-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Dark Mode for Cards */
body.dark-mode .service-card {
  background-color: #1e1e1e;
  color: #eee;
}

body.dark-mode .service-card h3 {
  color: #00bcd4;
}


/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  background: linear-gradient(to right, #0a2540, #1e3c72);
  color: #fff;
  animation: fadeIn 1s ease-in-out;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta {
  background-color: #00bcd4;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.cta:hover {
  background-color: #0097a7;
}

/* Hero Image */
.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #eee;
  font-size: 0.9rem;
  color: #666;
  margin-top: 40px;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
  }

  nav a {
    display: block;
    margin: 10px 0;
  }
}

.contact-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 60px 40px;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  font-family: 'Segoe UI', sans-serif;
}

.contact-left {
  flex: 1;
  text-align: center;
}

.contact-left img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-right {
  flex: 1;
  background-color: #ffffff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-right h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #343a40;
}

.form-table {
  width: 100%;
  border-spacing: 12px;
}

.form-table td {
  vertical-align: top;
  padding: 8px;
}

.form-table label {
  font-weight: 600;
  color: #495057;
  display: inline-block;
  min-width: 100px;
}

.form-table input,
.form-table textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 16px;
  background-color: #fefefe;
  transition: border-color 0.3s ease;
}

.form-table input:focus,
.form-table textarea:focus {
  border-color: #007bff;
  outline: none;
}

.form-table button {
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-table button:hover {
  background-color: #0056b3;
}

.contact-info {
  margin-top: 30px;
  font-size: 16px;
  color: #212529;
}

.contact-info p {
  margin: 8px 0;
} 
