/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #004080; /* Deep maritime blue */
  padding: 1rem 2rem;
}

.navbar .logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ff6600; /* Orange accent */
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #006699;
  list-style: none;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 5px;
}

.dropdown-menu li {
  margin: 0.5rem 0;
}

.dropdown-menu a {
  color: #fff;
  text-decoration: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,64,128,0.6), rgba(0,64,128,0.6)),
              url('../images/ship-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn-primary {
  background: #ff6600;
  color: #fff;
}

.btn-primary:hover {
  background: #e65c00;
}

.btn-secondary {
  background: #00a86b; /* Maritime green */
  color: #fff;
}

.btn-secondary:hover {
  background: #008f5a;
}

/* Sections */
section {
  padding: 3rem 2rem;
  position: relative;
}

section h2 {
  color: #004080;
  margin-bottom: 1rem;
  font-size: 2rem;
  border-bottom: 2px solid #004080;
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* Services Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.service-item {
  background: #e6f2ff;
  padding: 1.5rem;
  text-align: center;
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-item a {
  text-decoration: none;
  color: #004080;
  font-weight: bold;
}

.service-item:hover {
  background: #cce6ff;
  transform: translateY(-5px);
}

/* Fade-in Animation */
.hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  background: #004080;
  color: #fff;
  padding: 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-container h4 {
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links a,
.footer-contact a,
.footer-social a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: #ff6600;
}

.footer-social a {
  display: inline-block;
  margin: 0 0.5rem;
  background: #006699;
  padding: 0.5rem 0.8rem;
  border-radius: 50%;
  color: #fff;
}

.footer-social a:hover {
  background: #ff6600;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  border-top: 1px solid #006699;
  padding-top: 1rem;
}
/* Contact Section */
.contact-section {
  background: #f0f8ff;
  padding: 3rem 2rem;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  background: #e6f2ff;
  padding: 2rem;
  border-radius: 8px;
}

.contact-info h2, .contact-form h2 {
  margin-bottom: 1rem;
  color: #004080;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  margin-top: 1.5rem;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* space between logo and text */
}

.logo img {
  height: 50px;
}

.company-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff; /* white text to match navbar */
  letter-spacing: 1px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* space between logo and text */
}

.logo img {
  height: 50px;
}

.company-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff; /* white text to match navbar */
  letter-spacing: 1px;
}
/* Logo + Company Name */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 50px;
}

.company-name {
  font-size: 1.4rem; /* default for mobile */
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

/* Desktop styling */
@media (min-width: 992px) {
  .navbar {
    justify-content: space-between;
  }

  .logo {
    flex: 1;
    display: flex;
    justify-content: center; /* center logo + name horizontally */
  }

  .company-name {
    font-size: 2.8rem; /* twice the size on desktop */
  }

  .nav-links {
    flex: 1;
    justify-content: flex-end;
  }
}
/* Rounded box styling */
.rounded-box {
  background-color: #f9f9f9;   /* light background */
  border: 1px solid #ddd;      /* subtle border */
  border-radius: 12px;         /* rounded corners */
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* soft shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.rounded-box:hover {
  transform: translateY(-5px); /* slight lift */
  box-shadow: 0 8px 16px rgba(0,0,0,0.15); /* deeper shadow */
}
/* Container for side-by-side layout on desktop */
.shield-why-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
}

/* Individual boxes */
.shield-approach,
.why-choose {
  flex: 1 1 48%;
  background-color: #f8f9fa;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Headings and lists */
.shield-approach h2,
.why-choose h2 {
  color: #003366;
  margin-bottom: 1rem;
}

.shield-approach ul,
.why-choose ul {
  list-style: none;
  padding-left: 0;
}

.shield-approach li,
.why-choose li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

/* Responsive stacking for mobile */
@media (max-width: 768px) {
  .shield-why-container {
    flex-direction: column;
  }

  .shield-approach,
  .why-choose {
    flex: 1 1 100%;
  }
}
