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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Header and Navigation */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar {
  padding: 0.5rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 5px 0; /* Reduced vertical padding */
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c5aa0;
}

.logo-svg {
  height: 100px; /* Reduced from 120px */
  width: auto;
  margin: 0; /* Removed right margin */
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo i {
  margin-right: 0.5rem;
  font-size: 2rem;
}

/* Hide text when using SVG logo */
.logo.has-svg .logo-text {
  display: none;
}

/* Responsive logo */
@media (max-width: 768px) {
  .logo-svg {
    height: 65px; /* Slightly reduced from 75px */
    width: auto;
  }

  .logo {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .logo-svg {
    height: 50px; /* Reduced from 60px */
    width: auto;
  }

  .logo {
    font-size: 1rem;
  }
}

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

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #2c5aa0;
}

.login-btn {
  background: #2c5aa0;
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.login-btn:hover {
  background: #1e3d6f;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e3d6f 0%, #2c5aa0 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #2c5aa0;
  border: 2px solid #2c5aa0;
  box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
}

.btn-secondary:hover {
  background: #2c5aa0;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.btn-icon {
  background: none;
  border: none;
  color: #2c5aa0;
  cursor: pointer;
  padding: 5px;
  margin: 0 2px;
  border-radius: 3px;
  transition: background 0.3s;
}

.btn-icon:hover {
  background: #f0f0f0;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
  color: white;
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  margin-bottom: 3rem;
}

.hero-buttons .btn {
  margin: 0 0.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

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

.stat h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat p {
  opacity: 0.8;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
  color: white;
  padding: 120px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Services */
.services-preview,
.services-detailed {
  padding: 80px 0;
  background: white;
}

.services-preview h2,
.services-detailed h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c5aa0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card,
.project-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(44, 90, 160, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before,
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c5aa0, #1e3d6f);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before,
.project-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(44, 90, 160, 0.2);
}

.service-card i {
  font-size: 3rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-card.detailed {
  text-align: left;
}

.service-card.detailed ul {
  list-style: none;
  margin-top: 1rem;
}

.service-card.detailed ul li {
  padding: 0.25rem 0;
  color: #666;
}

.service-card.detailed ul li:before {
  content: "✓";
  color: #2c5aa0;
  font-weight: bold;
  margin-right: 0.5rem;
}

.service-category {
  margin-bottom: 4rem;
}

.service-category h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c5aa0;
  border-bottom: 3px solid #2c5aa0;
  padding-bottom: 0.5rem;
}

/* About Section */
.about-preview,
.about-detailed {
  padding: 80px 0;
  background: #f8f9fa;
}

.about-content,
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2c5aa0;
}

.about-text p {
  margin-bottom: 1rem;
  color: #666;
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mission Vision */
.mission-vision {
  padding: 80px 0;
  background: white;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mv-card {
  text-align: center;
  padding: 2rem;
}

.mv-card i {
  font-size: 3rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.mv-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

/* Team */
.team {
  padding: 80px 0;
  background: #f8f9fa;
}

.team h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c5aa0;
}

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

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.team-member p {
  color: #666;
  margin-bottom: 0.5rem;
}

/* Projects */
.projects-filter {
  padding: 20px 0;
  background: white;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #2c5aa0;
  background: transparent;
  color: #2c5aa0;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #2c5aa0;
  color: white;
}

.projects-gallery {
  padding: 40px 0 80px;
  background: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

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

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.project-location {
  color: #666;
  margin-bottom: 0.5rem;
}

.project-location i {
  margin-right: 0.25rem;
}

.project-description {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.project-type {
  background: #e3f2fd;
  color: #2c5aa0;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.project-status {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.project-status.completed {
  background: #e8f5e8;
  color: #2e7d32;
}

.project-status.ongoing {
  background: #fff3e0;
  color: #f57c00;
}

/* Contact */
.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c5aa0;
}

.contact-info > p {
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.8;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #2c5aa0;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #2c5aa0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c5aa0;
}

.offices {
  padding: 80px 0;
  background: #f8f9fa;
}

.offices h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c5aa0;
}

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

.office-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.office-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c5aa0;
}

.office-card p {
  margin-bottom: 0.5rem;
  color: #666;
}

.office-card i {
  margin-right: 0.5rem;
  color: #2c5aa0;
}

/* Login Styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
}

.login-card {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
  position: relative;
  z-index: 2;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header .logo {
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.login-header h2 {
  color: #333;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: #666;
  font-size: 0.9rem;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.input-group {
  position: relative;
}

.input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.input-group input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.input-group input:focus {
  outline: none;
  border-color: #2c5aa0;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-container input {
  margin-right: 0.5rem;
}

.forgot-password {
  color: #2c5aa0;
  text-decoration: none;
  font-size: 0.9rem;
}

.forgot-password:hover {
  text-decoration: underline;
}

.login-btn {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-spinner {
  margin-left: 0.5rem;
}

.login-divider {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
}

.login-divider:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
}

.login-divider span {
  background: white;
  padding: 0 1rem;
  color: #666;
  font-size: 0.9rem;
}

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

.demo-login p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.login-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.login-footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.login-footer a {
  color: #2c5aa0;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

.login-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/placeholder.svg?height=1080&width=1920");
  background-size: cover;
  background-position: center;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 90, 160, 0.8);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #2c5aa0;
  margin: 0;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #333;
}

.modal form {
  padding: 2rem;
}

/* Dashboard Styles */
.dashboard-container {
  display: flex;
  min-height: 100vh;
  background: #f8f9fa;
}

.sidebar {
  width: 250px;
  background: #2c5aa0;
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header .logo {
  color: white;
  justify-content: flex-start;
  text-decoration: none;
  transition: opacity 0.3s;
}

.sidebar-header .logo:hover {
  opacity: 0.8;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sidebar-nav i {
  margin-right: 0.75rem;
  width: 20px;
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer .btn {
  width: 100%;
  color: white !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.sidebar-footer .btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: white !important;
}

.dashboard-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 250px;
}

.dashboard-header {
  background: white;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.header-content h1 {
  color: #2c5aa0;
  margin: 0;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #2c5aa0;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar i {
  font-size: 2rem;
  color: #2c5aa0;
}

/* User dropdown styles */
.user-dropdown {
  position: relative;
  display: inline-block;
}

.user-dropdown-toggle {
  background: none;
  border: none;
  color: #2c5aa0;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-dropdown-toggle:hover {
  background: #f0f0f0;
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
  display: none;
}

.user-dropdown-menu.show {
  display: block;
}

.user-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
  background: none;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s;
}

.user-dropdown-item:hover {
  background: #f8f9fa;
}

.user-dropdown-item i {
  margin-right: 0.5rem;
  width: 16px;
}

.user-dropdown-divider {
  height: 1px;
  background: #eee;
  margin: 0.5rem 0;
}

.dashboard-content {
  flex: 1;
  padding: 2rem;
}

.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card i {
  font-size: 2rem;
  color: #2c5aa0;
}

.stat-info h3 {
  font-size: 1.8rem;
  margin: 0;
  color: #333;
}

.stat-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dashboard-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-card h3 {
  color: #2c5aa0;
  margin-bottom: 1rem;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.activity-item i {
  color: #2c5aa0;
  margin-top: 0.25rem;
}

.activity-time {
  font-size: 0.8rem;
  color: #666;
}

.progress-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.progress-item {
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #2c5aa0;
  transition: width 0.3s;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.projects-table {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.projects-table table {
  width: 100%;
  border-collapse: collapse;
}

.projects-table th,
.projects-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.projects-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.ongoing {
  background: #fff3e0;
  color: #f57c00;
}

.status-badge.completed {
  background: #e8f5e8;
  color: #2e7d32;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e3d6f 0%, #2c5aa0 100%);
  color: white;
  padding: 2rem 0; /* Reduced from 4rem */
  position: relative;
  overflow: hidden;
  font-size: 0.9rem; /* Added base font size */
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c5aa0, #1e3d6f, #2c5aa0);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem; /* Reduced from 3rem */
}

.footer-section h3 {
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  color: white;
  font-size: 1.1rem; /* Reduced from 1.2rem */
  font-weight: 600;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #fff;
  opacity: 0.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem; /* Reduced from 1.5rem */
  line-height: 1.5; /* Slightly tighter line height */
  font-size: 0.9em; /* Slightly smaller text */
}

.company-info .logo {
  margin-bottom: 0.75rem; /* Reduced from 1rem */
  transform: scale(0.8); /* Slightly reduce logo size in footer */
  transform-origin: left;
  margin-left: -10px; /* Compensate for the scale */
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem; /* Reduced from 1rem */
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em; /* Slightly smaller text */
}

.contact-info .contact-item i {
  margin-right: 0.75rem;
  color: white;
  width: 16px;
  text-align: center;
}

/* Icon fallbacks and Font Awesome fixes */
.fas,
.fa {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.far {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
  font-weight: 400 !important;
}

/* Fallback for common icons if Font Awesome fails to load */
.fa-hammer:before {
  content: "🔨";
}
.fa-drafting-compass:before {
  content: "📐";
}
.fa-clipboard-list:before {
  content: "📋";
}
.fa-map-marker-alt:before {
  content: "📍";
}
.fa-envelope:before {
  content: "✉️";
}
.fa-clock:before {
  content: "🕐";
}
.fa-user:before {
  content: "👤";
}
.fa-lock:before {
  content: "🔒";
}
.fa-eye:before {
  content: "👁️";
}
.fa-eye-slash:before {
  content: "🙈";
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

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

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

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-content,
  .about-grid,
  .contact-grid,
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Dashboard Mobile Styles */
  .dashboard-container {
    flex-direction: column;
  }

  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
  }

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

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .projects-table {
    overflow-x: auto;
  }

  .login-card {
    margin: 1rem;
    padding: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

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

.about-text-only {
  max-width: 800px;
  margin: 0 auto;
}
