/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}
img { display: block; max-width: 100%; }

/* Header */
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 { font-weight: 700; color: #1a1a1a; }
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
nav a:hover {
  color: #0072ce;
}

/* Carousel */
.carousel { position: relative; overflow: hidden; }
.carousel-slide { display: none; position: relative; }
.carousel-slide img { width: 100%; height: 70vh; object-fit: cover; }
.carousel-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.5);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  text-align: center;
  color: #fff;
}
.carousel-text h2 { margin-bottom: 1rem; font-size: 2rem; }
.btn {
  padding: 0.6rem 1.2rem;
  background: #0072ce;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
}
.btn:hover { background: #005ea3; }
.fade { animation: fadeEffect 1.5s; }
@keyframes fadeEffect { from{opacity:0.4;} to{opacity:1;} }

/* Sections */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}
.section.light { background: #f9f9f9; }
.section-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
.section-inner .text { flex: 1 1 400px; text-align: left; }
.section-inner img { flex: 1 1 400px; border-radius: 8px; }

/* Grid Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: left;
}
.card h3 { margin-bottom: 0.5rem; }

/* Video Section */
/* Video Section */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  margin: 0 auto; /* center horizontally */
  max-width: 900px; /* matches clean content width */
  background: #000; /* optional black background behind iframe */
  border-radius: 8px; /* optional rounded corners */
  overflow: hidden;   /* hides any iframe overflow */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}
.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  padding: 0.8rem;
  background: #0072ce;
  color: #fff;
  border: none;
  border-radius: 5px;
}
.contact-form button:hover { background: #005ea3; }

/* Footer */
footer {
  background: #f4f4f4;
  color: #555;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .section-inner { flex-direction: column; text-align: center; }
  .carousel-text h2 { font-size: 1.4rem; }
}

