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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
}

/* CSS Variables for Design System */
:root {
  --primary-color: #c00000;
  --primary-dark: #c00000;
  --primary-light: #eff6ff;
  --secondary-color: #f1f5f9;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --background: #ffffff;
  --shadow-light: 0 4px 20px -4px rgba(59, 130, 246, 0.08);
  --shadow-medium: 0 10px 40px -10px rgba(59, 130, 246, 0.1);
  --gradient-hero: linear-gradient(135deg, #c00000, #c00000);
  --gradient-section: linear-gradient(180deg, #f1f5f9, #ffffff);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 0;
  line-height: 1.7;
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section {
  padding: 5rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.flex {
  display: flex;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

.flex-between {
  justify-content: space-between;
  align-items: center;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo img {
  height: 80px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  transition: all 0.3s ease;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0 20px;
}

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

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

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

.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* Mobile menu active states */
.mobile-menu.active .hamburger:nth-child(1) {
  transform: rotate(-45deg) translate(-7px, 6px);
}

.mobile-menu.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active .hamburger:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hero-reception.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  z-index: 3;
  position: relative;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-main-text {
  font-family: "Inter", sans-serif;
  font-size: 50px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-accent {
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px -10px rgba(59, 130, 246, 0.2);
}

/* About Section */
.about {
  background: var(--gradient-section);
}

.about-container {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.about-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

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

.about-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4rem 3rem;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 400;
}

.sectors-simple {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sectors-simple li {
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 0rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.sectors-simple li {
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 0rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sectors-simple li::before {
  display: none;
}

.sector-icon {
  color: var(--primary-color);
  font-size: 42px;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

/* Capabilities Section */
.capabilities {
  background: var(--gradient-section);
}

/* Contact Section */
.contact {
  background: var(--gradient-section);
}

.contact-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.contact-intro h2 {
  margin-bottom: 2rem;
}

.contact-intro p {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* New Contact Container Layout */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Column - Forms */
.contact-forms {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

/* Tabs */
.tabs {
  display: flex;
  background: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  flex: 1;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:hover {
  color: var(--primary-color);
  background: rgba(192, 0, 0, 0.05);
}

.tab-btn.active {
  color: var(--primary-color);
  background: white;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 2.5rem;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

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

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

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

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.1);
}

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

.form-group small {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* File input styling */
.form-group input[type="file"] {
  padding: 0.75rem;
  border: 2px dashed var(--border-color);
  background: var(--secondary-color);
  cursor: pointer;
}

.form-group input[type="file"]:hover {
  border-color: var(--primary-color);
  background: rgba(192, 0, 0, 0.05);
}

/* Right Column - Contact Details */
.contact-details {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  padding: 2.5rem;
  height: fit-content;
}

.contact-details h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-description {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

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

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

.contact-item .contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
}

.contact-item .contact-icon .material-icons {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.contact-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-text p {
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.contact-text a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--primary-dark);
}

.hotline,
.email-alt {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-details {
    order: -1;
  }

  .tabs {
    flex-direction: column;
  }

  .tab-btn {
    padding: 1rem 1.5rem;
  }

  .tab-content {
    padding: 2rem 1.5rem;
  }

  .contact-details {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-container {
    gap: 1.5rem;
  }

  .tab-content {
    padding: 1.5rem 1rem;
  }

  .contact-details {
    padding: 1.5rem 1rem;
  }

  .contact-details h3 {
    font-size: 1.5rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .contact-item .contact-icon {
    margin: 0 auto;
  }
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

.animate-bounce-in {
  animation: bounceIn 0.8s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Hover animations */
.contact-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-medium);
}

.sectors-simple li:hover {
  transform: translateX(10px);
  transition: transform 0.3s ease;
}

.sector-icon:hover {
  animation: pulse 0.6s ease-in-out;
}

.tab-btn:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Staggered animations for list items */
.sectors-simple li {
  opacity: 0;
  animation: slideInLeft 0.6s ease-out forwards;
}

.sectors-simple li:nth-child(1) {
  animation-delay: 0.1s;
}
.sectors-simple li:nth-child(2) {
  animation-delay: 0.2s;
}
.sectors-simple li:nth-child(3) {
  animation-delay: 0.3s;
}
.sectors-simple li:nth-child(4) {
  animation-delay: 0.4s;
}
.sectors-simple li:nth-child(5) {
  animation-delay: 0.5s;
}
.sectors-simple li:nth-child(6) {
  animation-delay: 0.6s;
}

/* Contact cards staggered animation */
.contact-item {
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
}

.contact-item:nth-child(1) {
  animation-delay: 0.1s;
}
.contact-item:nth-child(2) {
  animation-delay: 0.2s;
}
.contact-item:nth-child(3) {
  animation-delay: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 6px 16px;
  }

  .order_2 {
    order: 2;
  }

  .order_1 {
    order: 1;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 97px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
  }

  .hero-text.animate-fade-in {
    padding-top: 80px;
  }
  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 0 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 0.5rem 0;
    display: block;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-main-text {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .about-container {
    flex-direction: column;
  }

  .about-image {
    height: 300px;
  }

  .about-content {
    padding: 3rem 2rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  /* Reorder Our Capabilities section on mobile */
  .about-container:nth-of-type(2) .about-content {
    order: 2;
  }

  .about-container:nth-of-type(2) .about-image {
    order: 1;
  }

  .capabilities-content {
    grid-template-columns: 1fr;
  }

  .capabilities-image {
    order: -1;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 16px;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-main-text {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about-content {
    padding: 2rem 1.5rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-description {
    font-size: 1.1rem;
  }

  .sectors-list h3 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .hero-subtitle {
    font-size: 2rem;
  }
}

.contact-item {
  align-items: center;
}
