/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --orange: #f97316;
  --yellow: #fef7cd;
  --yellow-light: #fff7ed;
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  font-family: inherit;
}

section {
  scroll-margin-top: 80px; /* To account for the fixed header */
}

.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-title-light {
  color: var(--white);
}

.title-underline {
  width: 4rem;
  height: 0.25rem;
  background-color: var(--orange);
  margin-bottom: 2rem;
}

.highlight {
  color: var(--orange);
  font-weight: 300;
}

.hidden {
  display: none;
}

/* Responsive utilities */
@media (max-width: 767px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px; /* Better touch target */
}

@media (max-width: 767px) {
  .btn {
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    min-height: 48px;
  }
}

.btn svg {
  margin-left: 0.5rem;
}

.btn-primary {
  background-color: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--orange);
}

.btn-full {
  width: 100%;
  background-color: var(--black);
  color: var(--white);
}

.btn-full:hover {
  background-color: var(--orange);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  border-bottom: 1px solid var(--black);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (max-width: 767px) {
  .header-container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

.logo h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .logo h1 {
    font-size: 1.5rem;
  }
}

.desktop-nav {
  display: none;
}

.nav-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--black);
  transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
  color: var(--orange);
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: var(--black);
  transition: color 0.3s;
}

.mobile-menu-btn:hover {
  color: var(--orange);
}

.mobile-nav {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  background-color: var(--white);
  border-bottom: 1px solid var(--black);
}

.mobile-nav.open {
  height: auto;
  padding: 1rem 0;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
}

.hero-shape {
  position: absolute;
  z-index: 0;
}

.hero-shape.top-right {
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background-color: var(--yellow);
  border-bottom-left-radius: 100%;
}

.hero-shape.bottom-left {
  bottom: 0;
  left: 0;
  width: 12rem;
  height: 12rem;
  background-color: var(--orange);
  border-top-right-radius: 100%;
}

.hero-container {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 2rem;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-title span {
  display: block;
}

.hero-text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.hero-video {
  position: relative;
  width: 100%;
  height: 16rem;
  margin-top: 2rem;
}

@media (min-width: 480px) {
  .hero-video {
    height: 18rem;
  }
}

@media (min-width: 768px) {
  .hero-video {
    height: 20rem;
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .hero-video {
    height: 24rem;
  }
}

.video-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--yellow-light);
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  overflow: hidden;
}

.featured-video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

/* Responsive iframe wrapper */
.video-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--yellow-light);
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.play-btn {
  position: absolute;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--orange);
  border-radius: 50%;
  color: var(--white);
  z-index: 10;
  cursor: pointer;
  transition: background-color 0.3s;
}

.play-btn:hover {
  background-color: #ea580c; /* Darker orange */
}

.video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
  }
}

.about-image-container {
  background-color: var(--yellow-light);
  padding: 2rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

.about-image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 480px) {
  .stats-grid {
    gap: 1.5rem;
  }
}

.stat-box {
  padding: 1.5rem;
  border-radius: 0;
}

@media (min-width: 768px) {
  .stat-box {
    padding: 2rem;
  }
}

.stat-box-yellow {
  background-color: var(--yellow-light);
  border-top-right-radius: 1.5rem;
}

.stat-box-orange {
  background-color: #fff7ed; /* Lighter orange */
  border-bottom-left-radius: 1.5rem;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

/* Projects Section */
.projects-section {
  background-color: var(--black);
  color: var(--white);
}

.projects-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .projects-grid {
    gap: 2rem;
  }
}

.project-iframe-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  border: 1px solid var(--orange);
  overflow: hidden;
  background-color: var(--black);
}

.project-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

.project-iframe:hover {
  transition: transform 0.2s ease-out;
  transform: scale(1.02);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
}

.project-card:hover .project-play-btn {
  background-color: var(--orange);
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--yellow-light);
  padding: 2rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote-mark {
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 1rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  margin-top: auto;
}

.author-name {
  font-weight: 700;
  font-size: 1.125rem;
}

.author-company {
  color: var(--gray-600);
}

/* Contact Section */
.contact-section {
  background-color: var(--black);
  color: var(--white);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    gap: 4rem;
  }
}

.contact-text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--gray-300);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  background-color: var(--orange);
  padding: 0.75rem;
  border-radius: 50%;
  margin-right: 1rem;
  color: var(--white);
}

.contact-type {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--gray-300);
}

.contact-form-container {
  background-color: var(--white);
  color: var(--black);
  padding: 1.5rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

@media (min-width: 768px) {
  .contact-form-container {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .contact-form-container {
    padding: 2.5rem;
  }
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-bottom: 2px solid var(--gray-300);
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--orange);
}

.form-input::placeholder {
  color: var(--gray-400);
}

textarea.form-input {
  resize: vertical;
  min-height: 6rem;
}

.form-message {
  padding: 1rem;
  border-radius: 0.25rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.form-message.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-message.error {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.form-message.hidden {
  display: none;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Footer */
.footer {
  padding: 2rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--black);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.copyright {
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-link {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--black);
  text-decoration: none;
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--orange);
}

/* Media Queries */
@media (max-width: 479px) {
  .hero-container {
    text-align: center;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.8rem;
  }
  
  .testimonials-grid {
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
}

@media (min-width: 480px) {
  .projects-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .desktop-nav {
    display: flex;
    gap: 2rem;
  }

  .mobile-menu-btn {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero-container {
    gap: 4rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .projects-grid {
    gap: 2.5rem;
  }
  
  .testimonials-grid {
    gap: 2.5rem;
  }
}