.table-container {
  width: 100%;
  padding: 0 15px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

table {
  width: 100%;
  min-width: 700px; /* Ensures horizontal scroll on small screens */
  border-collapse: collapse;
  background-color: #fff;
}

thead {
  background-color: #004080;
  color: white;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid #ddd;
  white-space: nowrap; /* Prevents wrapping */
  font-size: 14px;
}

tbody tr:hover {
  background-color: #f9f9f9;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* Top Navbar */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.top-nav.logo {
  color: white;
  margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
  font-size: 1.8em;
  letter-spacing: 1px;
  
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
}


.top-nav nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.top-nav nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding: 5px 10px;
  transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.top-nav nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, #00bfff, #004d99);
  transition: width 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.top-nav nav a:hover {
  color: #00bfff;
    font-family: 'Montserrat', sans-serif;
}

.top-nav nav a:hover::after {
  width: 100%;
    font-family: 'Montserrat', sans-serif;
}

/* Bottom Navbar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  z-index: 1000;
}

.bottom-nav a {
  color: white;
  font-size: 1.5em;
  transition: transform 0.3s ease, color 0.3s ease;
}

.bottom-nav a:hover {
  transform: scale(1.2);
  color: #00bfff;
}


/* Responsive Behavior */
@media (max-width: 768px) {
.top-nav {
    display: none;
}

.bottom-nav {
    display: flex;
}
}
/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
}

.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: white;
  max-width: 600px;
}

.hero-overlay h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.cta-button {
  background: linear-gradient(to right, #00bfff, #004d99);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
}

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

/* Services */
.service-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content:space-between;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.card i {
  font-size: 2em;
  margin-bottom: 10px;
  color: #004d99;
}

/* Projects */
.project-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
}

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

.project-card h3 {
  margin: 10px 0;
  font-size: 1.2em;
  color: #004d99;
}

.project-card p {
  padding: 0 10px 20px;
  font-size: 0.95em;
  color: #555;
}

/* Contact Form */
.form-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

form input, form textarea {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background: linear-gradient(to right, #00bfff, #004d99);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

form button:hover {
  background: linear-gradient(to right, #004d99, #00bfff);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
.top-nav {
    display: none;
}

.bottom-nav {
    display: flex;
}

.service-cards {
    flex-direction: column;
}

.card {
    margin-bottom: 20px;
}
.hero-overlay h1 {
    font-size: 2em;
}
}

/* Stats Section */
#stats {
  background: #fff;
  text-align: center;
  padding: 60px 20px;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat {
  font-size: 2em;
  color: #004d99;
}

.stat p {
  font-size: 1em;
  color: #333;
}

/* SVG Divider */
.svg-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}
.financial-summary-table th {
  font-weight: bold;
  padding-right: 10px;
}

.financial-summary-table th::before {
  content: "● ";
  font-size: 1.2em;
  margin-right: 5px;
}

.badge-profit {
  color: green;
  font-weight: bold;
}

.badge-loss {
  color: red;
  font-weight: bold;
}
.revenue-cost-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.year-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* Optional: allows wrapping on smaller screens */
}

.year-label {
  width: 80px;
  font-weight: bold;
}

.year-row input {
  flex: 1;
  min-width: 120px;
  padding: 6px;
}
.form-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.form-group label {
  width: 80px;
  font-weight: bold;
}

.form-group input {
  flex: 1;
  min-width: 120px;
  padding: 6px;
}

#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.heroSwiper img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
}
#formStatus {
  margin-top: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.section {
  padding: 60px 20px;
  text-align: center;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.info-card,.service-card {
  background: #fff;
  border-radius: 12px;
 box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.info-card:hover,.service-card:hover {
  transform: translateY(-10px);
}

.info-card img,.service-card img {
  width: 60px;
  margin-bottom: 15px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1 1 calc(33.333% - 20px); /* 3 per row with spacing */
  min-width: 200px;
}

.phone-combined.phone-wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.country-select {
  display: flex;
  align-items: center;
  gap: 6px;
}


.phone-input {
  display: flex;
  align-items: center;
}


#country-code {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  min-width: 30px; /* Adjust the minimum width as needed */
  max-width: 70px; /* Optional: set a maximum width */
}


#phone {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0 5px 5px 0;
}

.flag-icon {
  width: 20px;
  height: 15px;
  margin-right: 5px;
}

.info-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 25px;
  max-width: 320px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card:hover {
  transform: translateY(-10px);
}

.info-card img {
  width: 60px;
  margin-bottom: 20px;
  align-self: center;
}

.info-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #004080;
}

.info-card p {
  text-align: justify;
  line-height: 1.8;
  letter-spacing: 0.5px;
  word-spacing: 1px;
  margin-bottom: 10px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
}

table th, table td {
  text-align: left;
}
#other-projects table th, #other-projects table td {
  text-align: left;
}
