/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and base */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #24262e;
  background-color: #e4e0d7;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Header block */
.header-block {
  width: 100%;
  background-color: #24262e;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  user-select: none;
}

.header-transparent {
  width: 100%;
  background-color: transparent;
  box-shadow: none;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  user-select: none;
  position: absolute;
  z-index: 1200;
  top: 0;
}

/* Navigation */
.nav ul {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.nav a {
  color: #e4e0d7;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.nav a:hover {
  color: #ffffff;
  border-bottom-color: #e4e0d7;
}

.nav a.active {
  color: #ffffff;
  border-bottom-color: #e4e0d7;
  cursor: default;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  background: #111; /* fallback */
  color: white;
  overflow: hidden;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #24262e 0%, #1a1c22 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.video-placeholder video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1100;
  max-width: 700px;
  background: rgba(36, 38, 46, 0.7);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-content p {
  font-weight: 300;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 3rem;
  color: #bcd2e8;
}

/* Scroll down arrow */
.scroll-down {
  display: inline-block;
  font-size: 2.5rem;
  color: #bcd2e8;
  text-decoration: none;
  animation: bounce 2s infinite;
  user-select: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(10px);}
  60% {transform: translateY(5px);}
}

/* Sections */
.section-container {
  max-width: 900px;
  margin: 6rem auto;
  padding: 0 1rem;
  color: #222;
  text-align: center;
}

.section h2 {
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #24262e;
  letter-spacing: 0.05em;
}

.section p {
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: #24262e;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: #e4e0d7;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgb(36 38 46 / 0.1);
  padding: 2rem;
  color: #24262e;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  border: 2px solid #24262e;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgb(36 38 46 / 0.2);
}

.project-card h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #24262e;
}

.project-card p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  color: #24262e;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-card {
  background: #e4e0d7;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgb(36 38 46 / 0.1);
  padding: 2rem;
  color: #24262e;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgb(36 38 46 / 0.2);
}

.news-card .date {
  color: #24262e;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.news-card h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #24262e;
}

.news-card p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #24262e;
}

.news-card .read-more {
  color: #24262e;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border: 2px solid #24262e;
  border-radius: 6px;
}

.news-card .read-more:hover {
  background: #24262e;
  color: #e4e0d7;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgb(40 50 70 / 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgb(40 50 70 / 0.15);
}

.team-member-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin: 2rem auto 1rem;
  display: block;
  border: 3px solid #61a0ff;
}

.team-member-info {
  padding: 1.5rem;
  text-align: center;
}

.team-member h3 {
  color: #0a2f47;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-member .role {
  color: #61a0ff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-member p {
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  color: #61a0ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #0a2f47;
}

/* Footer */
.footer {
  background-color: #24262e;
  color: #e4e0d7;
  padding: 4rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.footer-section h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p {
  color: #e4e0d7;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.footer-links a {
  color: #e4e0d7;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #e4e0d7;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer-links a:hover::after {
  transform: scaleX(1);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(228, 224, 215, 0.1);
  text-align: center;
  color: #e4e0d7;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #e4e0d7;
}

.social-media {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
}

.social-media a {
  color: #e4e0d7;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-media a:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: #e4e0d7;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgb(36 38 46 / 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #24262e;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #24262e;
  border-radius: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #e4e0d7;
  color: #24262e;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #24262e;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: #24262e;
  color: #e4e0d7;
  border: 2px solid #24262e;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #e4e0d7;
  color: #24262e;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #e7f5ea;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.submit-btn:disabled {
  background-color: #94bfff;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .nav ul {
    gap: 1.25rem;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .section h2 {
    font-size: 2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
