/* Reset and Base Styles */
:root {
  --primary-color: #0b2545;    /* Dark Blue */
  --secondary-color: #13315c;  /* Medium Blue */
  --accent-color: #134074;     /* Light Blue/Accent */
  --light-bg: #f8f9fa;         /* Light Gray */
  --text-color: #495057;       /* Dark Gray for text */
  --heading-color: #212529;    /* Near Black for headings */
  --white: #ffffff;
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--heading-color);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

/* Utilities */
.section-padding {
  padding: 100px 0;
}

.bg-light-gray {
  background-color: var(--light-bg);
}

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

.btn-custom {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
}

.btn-custom:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-custom-outline {
  background-color: transparent;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  border: 2px solid var(--white);
  transition: var(--transition);
}

.btn-custom-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--text-color);
  font-size: 1.1rem;
}

/* Navbar */
.navbar {
  transition: var(--transition);
  padding: 20px 0;
  background-color: transparent;
}

.navbar.navbar-scrolled {
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white) !important;
  transition: var(--transition);
}

.navbar-scrolled .navbar-brand {
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--accent-color);
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: var(--transition);
}

.navbar-scrolled .nav-link {
  color: var(--text-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

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

.navbar-scrolled .nav-link:hover, .navbar-scrolled .nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(11, 37, 69, 0.7), rgba(11, 37, 69, 0.7)), url('../img/hero_bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  color: var(--white);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0.9;
}

/* About Us Section */
.about-img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-features {
  margin-top: 30px;
}

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

.feature-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-right: 20px;
  margin-top: 5px;
}

.feature-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

/* Services Section */
.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover h3, .service-card:hover p, .service-card:hover .service-icon {
  color: var(--white);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  transition: var(--transition);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-card p {
  transition: var(--transition);
}

/* Projects Section */
.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
  cursor: pointer;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 37, 69, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.project-item:hover img {
  transform: scale(1.1);
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-info {
  text-align: center;
  color: var(--white);
  transform: translateY(20px);
  transition: var(--transition);
}

.project-item:hover .project-info {
  transform: translateY(0);
}

.project-info h4 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

.project-icon {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.project-icon:hover {
  background-color: var(--accent-color);
  color: var(--white);
}

/* Companies Section */
.companies-section {
  padding: 60px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.company-logo {
  text-align: center;
  opacity: 0.5;
  transition: var(--transition);
  font-size: 3rem;
  color: var(--text-color);
}

.company-logo:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: #111;
  color: #ddd;
  padding: 80px 0 0 0;
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-widget p {
  color: #aaa;
}

.footer-widget h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

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

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

.footer-links a {
  color: #aaa;
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
  color: #aaa;
}

.footer-contact i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 5px;
}

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

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

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

.footer-bottom {
  background-color: #0a0a0a;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

.footer-bottom p {
  margin: 0;
  color: #888;
  font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 991px) {
  .navbar {
    background-color: var(--white);
    padding: 15px 0;
  }
  .navbar-brand {
    color: var(--primary-color) !important;
  }
  .nav-link {
    color: var(--text-color) !important;
    padding: 10px 0;
  }
  .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .section-padding {
    padding: 60px 0;
  }
  .about-img {
    margin-bottom: 30px;
  }
}
