/* General Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #0a2239; /* Dark Blue */
  color: #f0f0f0; /* Light Beige for better contrast */
  line-height: 1.8; /* Increased line height for readability */
}

/* Section Styles */
section {
  padding: 2rem;
}

h2 {
  color: #f8e9c1; /* Gold */
  font-size: 2rem; /* Larger font size for headers */
  font-weight: bold; /* Make headers visually distinct */
  margin-bottom: 1rem; /* Add spacing below headers */
}

h3 {
  color: #f8e9c1; /* Gold */
  font-size: 1.5rem; /* Slightly smaller than h2 */
  font-weight: bold;
  margin-bottom: 0.75rem;
}

p {
  color: #f0f0f0; /* Light Beige for better contrast */
  font-size: 1.1rem; /* Slightly larger font size for readability */
  margin-bottom: 1rem; /* Add spacing between paragraphs */
}

ul {
  color: #f0f0f0; /* Light Beige for better contrast */
  font-size: 1.1rem; /* Match paragraph font size */
  margin-left: 1.5rem; /* Indent list items for better structure */
}

li {
  margin-bottom: 0.5rem; /* Add spacing between list items */
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

th, td {
  color: #f0f0f0; /* Light Beige for better contrast */
  font-size: 1.1rem; /* Match paragraph font size */
  padding: 0.5rem;
  text-align: left;
}

thead th {
  background-color: #1e3a5f; /* Medium Blue for header row */
  color: #f8e9c1; /* Gold for header text */
  font-weight: bold;
}

tbody td {
  background-color: #0a2239; /* Dark Blue for body rows */
}

/* Links */
a {
  color: #3b6b8e; /* Light Blue */
  font-size: 1.1rem; /* Match paragraph font size */
  text-decoration: underline; /* Make links easily identifiable */
}

a:hover {
  color: #f8e9c1; /* Gold */
}

/* Responsive Design */
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem; /* Adjust header size for smaller screens */
  }

  h3 {
    font-size: 1.4rem; /* Adjust subheader size for smaller screens */
  }

  p, ul, li, th, td, a {
    font-size: 1rem; /* Adjust text size for smaller screens */
  }
}

/* Ensure consistent box-sizing for all elements */
* {
  box-sizing: border-box;
}

header {
  background: #1e3a5f; /* Medium Blue */
  color: #e8d8b5; /* Beige */
  padding: 0;
}

.logotitle {
  display: flex;
  font-size: 2.5rem;
}

.logotitle a {
  font-family: 'PT Sans Narrow', sans-serif; /* Font for MARESTELLA */
  font-size: 2.5rem; /* Increased font size */
  margin: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.navbar h1 {
  font-family: 'PT Sans Narrow', sans-serif; /* Font for MARESTELLA */
  font-size: 2.5rem; /* Increased font size */
  margin: 0;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.navbar a {
  color: #f8e9c1; /* Gold */
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 1rem 0;
  background: #1e3a5f; /* Medium Blue */
  color: #e8d8b5; /* Beige */
}

footer .image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}


/* Hero Section */
.hero {
  background: url('../images/background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  padding: 300px 0; /* Increased padding for larger screens */
  position: relative;
  color: #e8d8b5; /* Beige */
  text-align: center; /* Center-align content for better readability */
}

.hero h1 {
  font-family: 'PT Sans Narrow', sans-serif; /* Title font */
  font-size: 3rem; /* Adjusted font size for smaller screens */
  margin-bottom: 1rem;
}

.hero h3 {
  font-size: 1.5rem; /* Adjusted font size for better readability */
}

.hero p {
  font-size: 1rem; /* Adjusted font size for smaller screens */
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0; /* Reduced padding for mobile screens */
  }

  .hero h1 {
    font-size: 2.5rem; /* Adjust font size for smaller screens */
  }

  .hero h3 {
    font-size: 1.2rem; /* Adjust font size for smaller screens */
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0; /* Further reduce padding for very small screens */
  }

  .hero h1 {
    font-size: 2rem; /* Further adjust font size for very small screens */
  }

  .hero h3 {
    font-size: 1rem; /* Further adjust font size for very small screens */
  }
}


/* Section Styles */
section {
  padding: 2rem;
}

.rc-row {
  display: flex;
  flex-wrap: wrap; /* Allow columns to stack on smaller screens */
  justify-content: space-between;
  gap: 20px;
}

.rc-column {
  flex: 1;
  padding: 15px;
}

.rc-column:first-child {
  flex: 0 0 50%; /* Text column takes up half the screen width on wider displays */
}

.rc-column img {
  width: 100%; /* Ensure images scale properly */
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .rc-row {
    flex-direction: column; /* Stack columns vertically on smaller screens */
  }

  .rc-column:first-child {
    flex: 1; /* Text column takes full width on mobile screens */
  }
}

#about, #capabilities, #contact {
  background: #1e3a5f; /* Medium Blue */
  margin: 2rem 0;
  border-radius: 8px;
  padding: 2rem;
}

h2 {
  color: #f8e9c1; /* Gold */
}

/* Links */
a {
  color: #3b6b8e; /* Light Blue */
}

a:hover {
  color: #f8e9c1; /* Gold */
}

/* Logo Styles */
.logo {
  height: 50px; /* Adjust the height as needed */
  margin-right: 1rem;
  vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem; /* Adjust font size for smaller screens */
  }

  .hero h3 {
    font-size: 1.2rem; /* Adjust font size for smaller screens */
  }

  .rc-row {
    flex-direction: column; /* Stack columns vertically */
  }

  .rc-column img {
    width: 100%; /* Ensure images scale properly */
    height: auto;
  }

  section {
    padding: 1rem; /* Reduce padding for smaller screens */
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem; /* Further adjust font size for very small screens */
  }

  .hero h3 {
    font-size: 1rem; /* Further adjust font size for very small screens */
  }

  section {
    padding: 0.5rem; /* Further reduce padding for very small screens */
  }
}
