/* CSS Variables */
:root {
  --font-size: 16px;
  --background: #ffffff;
  --foreground: oklch(0.145 0 0);
  --card: #ffffff;
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: #030213;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.95 0.0058 264.53);
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f3f3f5;
  --switch-background: #cbced4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: oklch(0.708 0 0);
  --radius: 0.625rem;
}

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

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
}

/* Video Hero Section */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( to bottom, rgba(3, 2, 19, 0.7) 0%, rgba(3, 2, 19, 0.5) 50%, rgba(3, 2, 19, 0.7) 100% );
}

.video-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 2rem 1rem;
}

.video-hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Typography */
h1 {
  font-size: 2.25rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
}

h2 {
  font-size: 1.875rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

h4 {
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

p {
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.hidden {
  display: none;
}

.text-primary {
  color: var(--primary);
}

.full-width {
  width: 100%;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: rgba(3, 2, 19, 0.9);
}

.btn-outline {
  border-color: var(--border);
  background-color: transparent;
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(2px);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.header-contact {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .header-contact {
    display: flex;
  }
}

.phone-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.phone-icon {
  width: 1rem;
  height: 1rem;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.menu-icon, .close-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav {
  border-top: 1px solid var(--border);
}

.mobile-nav-links {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-contact {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--background) 0%, rgba(233, 235, 239, 0.2) 100%);
  padding: 5rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(3, 2, 19, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  width: fit-content;
}

.badge-icon {
  width: 1rem;
  height: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-image {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.main-image {
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
  .main-image {
    height: 31.25rem;
  }
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}

.mute-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.mute-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.mute-btn .mute-icon,
.mute-btn .unmute-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-indicator {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.card-header span {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: rgba(236, 236, 240, 0.3);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.section-description-hero {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 90%;
    margin: 0 auto;
}

.main-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .main-services {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-image {
  position: relative;
  height: 20rem;
  overflow: hidden;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.service-icon {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: white;
}

.service-icon i {
  width: 2rem;
  height: 2rem;
}

.service-content {
  padding: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.feature-dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.additional-services {
  text-align: center;
}

.additional-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.additional-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .additional-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .additional-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.additional-card {
  background-color: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.additional-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.additional-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: rgba(3, 2, 19, 0.1);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.additional-card:hover .additional-icon {
  background-color: rgba(3, 2, 19, 0.2);
}

.additional-icon i {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.additional-card h4 {
  margin-bottom: 0.5rem;
}

.additional-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* About Section */
.about {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .about-title {
    font-size: 3rem;
  }
}

.about-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
}

.feature-card-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin: 0 auto 0.75rem;
}

.feature-card h4 {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.about-image {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .about-image img {
    height: 31.25rem;
  }
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.stat-overlay {
  position: absolute;
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  text-align: center;
}

.stat-overlay-top {
  top: -1.5rem;
  right: -1.5rem;
}

.stat-overlay-bottom {
  bottom: -1.5rem;
  left: -1.5rem;
}

.stat-overlay .stat-number {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--primary);
}

.stat-overlay .stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: rgba(236, 236, 240, 0.3);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr 2fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  background-color: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.25rem;
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.emergency-card {
  background-color: var(--destructive);
  color: var(--destructive-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.emergency-card h4 {
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.5rem;
}

.emergency-card p {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.emergency-number {
  font-size: 1.125rem;
  font-weight: 600;
}

.contact-form-container {
  display: flex;
  flex-direction: column;
}

.contact-form-card {
  background-color: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(113, 113, 130, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  width: 2rem;
  height: 2rem;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.social-link:hover {
  color: white;
}

.social-link i {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-section h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-icon {
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-contact-item span,
.footer-contact-item div {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .about-title {
    font-size: 1.5rem;
  }
  
  .floating-card,
  .stat-overlay {
    position: relative;
    margin-top: 1rem;
    left: 0;
    right: 0;
    bottom: auto;
    top: auto;
  }
}