/* CSS Variables */
:root {
  --primary-color: #b20707;
  --dark-bg: #252525;
  --light-bg: #ffffff;
  --text-dark: #252525;
  --text-light: #ffffff;
  --text-black: #000000;
  --font-main: 'Inter', sans-serif;
  --font-mono: 'B612 Mono', monospace;
  --font-display: 'Playfair Display', serif;
}

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

body {
  font-family: var(--font-main);
  margin: 0;
  background-color: var(--light-bg);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

.container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

section {
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header Section */
.header-section-main {
  padding: 0;
  background-color: var(--light-bg);
}

.site-header {
  position: relative;
  padding-top: 120px;
}

.header-container {
  max-width: 1134px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 3vh;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 80px;
  height: 80px;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
  letter-spacing: 3.2px;
  white-space: nowrap;
}

/* Navigation */
.main-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  flex-wrap: nowrap;
  gap: 10px;
  position: relative;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  margin-right: auto;
  cursor: pointer;
  color: var(--text-dark);
  z-index: 1001;
  order: 1;
}

.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  transition: all 0.3s ease;
}

.nav-links a {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.contact-button {
  background-color: var(--text-black);
  color: var(--text-light);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  width: auto;
  min-width: max-content;
  margin-left: auto;
  white-space: nowrap;
  padding: 5px 28px;
  border-radius: 4px;
  transition: all 0.3s ease;
  order: 2;
}

.contact-button:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.nav-toggle, .contact-button {
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
}

/* Hero Banner */
.hero-banner {
  margin-top: 1vh;
  background-color: var(--primary-color);
  padding: 2vh 0px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}


.decorative-lines {
  margin-bottom: 25px;
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-direction: column;
  animation: slideInFromTop 1s ease-out;
}

.decorative-lines .line:first-child {
  height: 5px;
  background-color: var(--light-bg);
  margin-bottom: 4px;
  width: 100vw;
  border-radius: 0px;
  animation: expandWidth 1s ease-out 0.5s both;
}

.decorative-lines .line:last-child {
  height: 3px;
  background-color: var(--light-bg);
  margin-bottom: 4px;
  width: 100vw;
  border-radius: 0px;
  animation: expandWidth 1s ease-out 0.6s both;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 48px);
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 4vh;
  max-width: 900px;
}

/* Transition Section */
.transition-section {
  background: var(--dark-bg);
  padding: 30px 0;
}

.transition-text {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 20px;
}

.arrow-down {
  font-size: 24px;
  color: var(--primary-color);
}

/* We Are Section */
.we-are-section {
  background: var(--dark-bg);
  padding: 40px 0;
}

.service-card {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  border: none;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  margin-bottom: 20px;
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 4px;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.card-divider {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  margin: 0 auto 20px;
}

.card-description {
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 16px;
}

.btn-service {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-service:hover {
  background: #8b0000;
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Mission Section */
.mission-section {
  background: var(--light-bg);
  padding: 40px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.mission-icon {
  margin-bottom: 40px;
}

.decorative-diamond {
  width: 60px;
  height: 60px;
}

.mission-card {
  padding: 20px 20px;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.mission-card:hover {
  transform: translateY(-3px);
}

.mission-icon-wrapper {
  margin-bottom: 20px;
}

.mission-icon-img {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
}


.mission-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.mission-description {
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

/* Connect Section */
.connect-section {
  background: var(--dark-bg);
  padding: 40px 0;
}

.youtube-card {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.youtube-card:hover {
  transform: translateY(-5px);
}

.youtube-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

.youtube-card:hover .youtube-icon {
  transform: scale(1.05);
}

.youtube-icon i {
  color: white;
  font-size: 32px;
}

.youtube-card h5 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 18px;
}

/* Contact Section */
.contact-section {
  background: var(--light-bg);
  padding: 40px 0;
}

.social-icons {
  gap: 15px;
  margin-bottom: 30px;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 20px;
}

.social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  color: white;
}

.phone-number {
  background: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.phone-number:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(178, 7, 7, 0.3);
  color: white;
}

/* Footer */
.footer-section {
  background: var(--primary-color);
  color: white;
  padding: 20px 0;
}

.footer-logo {
  gap: 15px;
}

.footer-logo-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.footer-brand-text {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
}

.footer-links {
  margin-top: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
  font-size: 14px;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 0;
  }

  .nav-toggle {
    display: block;
    order: 1;
    margin-right: auto;
  }

  .contact-button {
    order: 2;
    margin-left: auto;
    font-size: 10px;
    padding: 8px 16px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    padding: 20px 0;
    order: 3;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
  }

  .nav-links.active ~ .contact-button {
    display: none;
  }
  
  .logo-icon {
    width: 45px;
    height: 45px;
  }

  .logo-text {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .site-header {
    padding-top: 90px;
  }

  .hero-content {
    height: auto;
    padding: 4px 0;
    margin-bottom: 0vh;
  }

  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 28px;
  }

  .transition-text {
    font-size: 24px;
  }

  .service-card,
  .mission-card,
  .youtube-card {
    margin-bottom: 15px;
  }

  .card-title,
  .mission-title {
    font-size: 20px;
  }

  .card-description,
  .mission-description {
    font-size: 14px;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
  }
  .social-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .phone-number {
    font-size: 16px;
    padding: 12px 24px;
  }

  .footer-links {
    text-align: center !important;
    margin-top: 20px;
  }

  .footer-links a {
    display: block;
    margin: 10px 0;
  }

  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .transition-text {
    font-size: 20px;
  }

  .card-title,
  .mission-title {
    font-size: 18px;
  }

  .card-description,
  .mission-description {
    font-size: 13px;
  }

  .btn-service {
    font-size: 14px;
    padding: 8px 16px;
  }

  .phone-number {
    font-size: 14px;
    padding: 10px 20px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .footer-brand-text {
    font-size: 16px;
  }

  .footer-links a {
    font-size: 12px;
  }
}

/* Desktop specific styles */
@media (min-width: 992px) {
  
  .hero-banner {
  margin-top: 4vh;
}

.hero-title {
  margin-top: 2vh;
  margin-bottom: 6vh;
}
.connect-section{
  padding-bottom: 8vh;
}
  .footer-links {
    text-align: right !important;
    margin-top: 0;
  }

  .footer-links a {
    display: inline;
    margin: 0 15px;
  }
}

/* Animation for smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states and transitions */
.service-card,
.mission-card,
.youtube-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes expandWidth {
  from {
    width: 0;
    opacity: 0;
    transform-origin: left;
  }
  to {
    width: 100vw;
    opacity: 1;
    transform-origin: left;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for better accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .mission-card,
  .youtube-card {
    border: 2px solid var(--text-dark);
  }
}

