/* ========================================
   Global Styles & Reset
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette - Based on DCT presentations */
  --primary-dark: #1a1f3a; /* Dark blue from presentations */
  --primary-blue: #2c3e7d; /* Medium blue */
  --accent-orange: #4a90e2; /* Corporate blue accent (professional & trustworthy) */
  --accent-orange-light: #5fa3e8; /* Light blue for hover effects */
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --medium-gray: #e1e8ed;
  --text-dark: #2d3748;
  --text-light: #718096;

  /* Typography */
  --font-main:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px 20px;

  /* Transitions */
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  gap: 20px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--accent-blue);
}

.nav-menu li {
  flex-shrink: 0;
}

.nav-menu .btn-primary {
  background: var(--accent-orange);
  color: var(--white);
  padding: 10px 20px;
}

.nav-menu .btn-primary:hover {
  background: var(--accent-orange-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-dark);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 3px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  background: var(--primary-dark);
  color: var(--white);
  padding: 140px 20px 80px;
  margin-top: 80px;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--accent-orange);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 50px 0;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--accent-orange);
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.btn-cta {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  margin-top: 20px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.btn-cta:hover {
  background: var(--accent-orange-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

/* ========================================
   Section Styles
   ======================================== */
section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-orange);
  margin: 20px auto;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 50px;
}

/* ========================================
   About Section
   ======================================== */
.about {
  background: var(--light-gray);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 40px;
}

.about-text h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 15px;
  margin-top: 25px;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text p {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text ul {
  list-style: none;
  padding: 0;
}

.about-text ul li {
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-orange);
  margin-bottom: 15px;
}

.feature-card h4 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Project Lifecycle Section
   ======================================== */
.lifecycle {
  background: var(--white);
  padding: 80px 20px;
}

.lifecycle-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.lifecycle-stage {
  background: var(--light-gray);
  padding: 30px 25px;
  border-radius: 12px;
  position: relative;
  transition: var(--transition);
  border-top: 4px solid var(--accent-orange);
}

.lifecycle-stage:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-top-color: var(--accent-orange-light);
}

.stage-number {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-orange);
  opacity: 0.15;
}

.stage-icon {
  font-size: 2.5rem;
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.lifecycle-stage h3 {
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.lifecycle-stage ul {
  list-style: none;
  padding: 0;
}

.lifecycle-stage ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.lifecycle-stage ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

/* Lifecycle Models */
.lifecycle-models {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 2px solid var(--medium-gray);
}

.lifecycle-models h3 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 40px;
}

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

.model-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid var(--medium-gray);
}

.model-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.15);
}

.model-icon {
  font-size: 3rem;
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.model-card h4 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.model-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Services Section
   ======================================== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  padding: 8px 0;
  color: var(--text-dark);
  position: relative;
  padding-left: 25px;
}

.service-card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

/* ========================================
   Projects Section
   ======================================== */
.projects {
  background: var(--light-gray);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.project-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-left: 4px solid var(--accent-orange);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.project-header {
  margin-bottom: 15px;
}

.project-header h3 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-tag {
  display: inline-block;
  background: var(--accent-orange);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-location,
.project-client {
  color: var(--text-light);
  margin: 10px 0;
  font-size: 0.95rem;
}

.project-location i {
  color: var(--accent-orange);
  margin-right: 5px;
}

.project-details {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.project-details li {
  padding: 8px 0;
  color: var(--text-dark);
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
}

.project-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

/* ========================================
   Team Section
   ======================================== */
.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.team-card {
  background: var(--light-gray);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-orange);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
  transition: var(--transition);
}

.team-card:hover .team-avatar {
  background: linear-gradient(
    135deg,
    var(--accent-orange),
    var(--accent-orange-light)
  );
  transform: scale(1.1);
}

.team-card h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.team-role {
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.team-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  background: var(--light-gray);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-info h3 {
  color: var(--primary-dark);
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--primary-dark);
  margin-bottom: 5px;
}

.contact-item a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-blue);
}

.contact-item p {
  color: var(--text-light);
}

.contact-social {
  margin-top: 40px;
}

.contact-social h4 {
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-orange);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid var(--medium-gray);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.btn-submit {
  grid-column: 1 / -1;
  background: var(--accent-orange);
  color: var(--white);
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit:hover {
  background: var(--accent-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-message {
  grid-column: 1 / -1;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--accent-orange);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.footer-contact i {
  color: var(--accent-orange);
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    gap: 10px;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

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

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

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

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

  .section-title {
    font-size: 2rem;
  }

  .services-grid,
  .projects-grid,
  .team-grid,
  .lifecycle-timeline,
  .models-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 15px 60px;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 15px;
  }
}

/* ========================================
   Language Switcher
   ======================================== */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid var(--medium-gray);
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--medium-gray);
  color: var(--text-dark);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  font-family: var(--font-main);
}

.lang-btn:hover {
  background: var(--light-gray);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.lang-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: var(--white);
}

.lang-btn.active:hover {
  background: var(--accent-orange-light);
  border-color: var(--accent-orange-light);
}

/* ========================================
   Language Switcher - Mobile
   ======================================== */
@media (max-width: 768px) {
  .language-switcher {
    border-left: none;
    border-top: 1px solid var(--medium-gray);
    padding-top: 15px;
    padding-left: 0;
    margin-left: 0;
    margin-top: 10px;
    justify-content: center;
    width: 100%;
  }
}
