/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary-color: #f70a0b;
  --secondary-color: #003366;
  --text-dark: #212529;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 76px; /* Offset for fixed header */
}

/* Header & Navbar */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.navbar-brand {
  font-weight: 700;
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
}
.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 10px 15px !important;
  transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* Mega Menu */
@media all and (min-width: 992px) {
  .navbar .has-mega-menu { position: static !important; }
  .navbar .mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
    border-radius: 0 0 10px 10px;
    border: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block;
  }
  .navbar .has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
  }
}
.mega-title {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary-color);
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  padding-bottom: 5px;
}
.mega-list {
  list-style: none;
  padding: 0;
}
.mega-list li { margin-bottom: 10px; }
.mega-list a {
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}
.mega-list a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}
.mega-list i { margin-right: 10px; width: 20px; text-align: center; }

/* Hero Slider */
.hero-slider .carousel-item {
  height: 80vh;
  min-height: 500px;
  background-position: center;
  background-size: cover;
  position: relative;
}
.hero-slider .carousel-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 51, 102, 0.7);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 100%;
  z-index: 2;
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* General Sections */
.section-padding { padding: 80px 0; }
.bg-light-gray { background-color: var(--bg-light); }
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Cards */
.service-card, .tech-card, .industry-card, .job-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
}
.service-card:hover, .tech-card:hover, .industry-card:hover, .job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.card-title {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  border: none;
  transition: background 0.3s ease;
}
.btn-primary-custom:hover { background-color: var(--secondary-color); color: var(--white); }
.btn-outline-custom {
  background-color: transparent;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  border: 2px solid var(--white);
  transition: all 0.3s ease;
}
.btn-outline-custom:hover { background-color: var(--white); color: var(--secondary-color); }

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: #a0aec0;
  padding: 60px 0 30px;
}
.footer-title { color: var(--white); font-weight: 700; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a0aec0; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-color); }
.social-icons a {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: background 0.3s;
}
.social-icons a:hover { background: var(--primary-color); }

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 2.5rem; }
  .navbar .mega-menu { display: none; padding: 15px; border: 1px solid #eee; }
  .navbar .has-mega-menu.show .mega-menu { display: block; opacity: 1; visibility: visible; }
  .mega-list a { padding: 8px 0; border-bottom: 1px solid #f8f9fa; }
}