/* =====================================================
   CSS VARIABLES (THEME)
   ===================================================== */
:root {
  --primary-color: #0ea5e9;
  --secondary-color: #0369a1;
  --gold-color: #d4af37;
  --navy-color: #0f172a;
  --light-gray: #f8f9fa;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

/* =====================================================
   LAYOUT HELPERS
   ===================================================== */
.container,
.container-fluid {
  overflow-x: hidden;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
}

.navbar .container {
  position: relative;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* NAV LINKS */
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #333 !important;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* =====================================================
   BUTTONS (GLOBAL)
   ===================================================== */
.btn-primary-custom {
  background-color: var(--primary-color);
  border: none;
  padding: 5px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #c29d2e;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-quote {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.btn-quote:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(14, 165, 233, 0.4);
}

.btn-outline-custom {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
  height: 70vh;
  min-height: 420px;
  padding-top: 120px;
  overflow: hidden;
  position: relative;

  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.15) 80%,
      rgba(0, 0, 0, 0.55) 90%,
      rgba(0, 0, 0, 0.85) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(5, 10, 20, 0.9),
      rgba(10, 25, 50, 0.6)
    ),
    url('https://www.iss-shipping.com/wp-content/uploads/2022/06/shutterstock_102494108-1-1920x1080.jpg');

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* HERO CONTENT */
.hero-content {
  height: calc(50vh - 120px);
  min-height: 300px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  position: relative;
  z-index: 2;
}

.hero-section img {
  height: 200px;
  width: auto;
  object-fit: contain;
  align-items: center;

  position: relative;
  z-index: 2;
}

/* HERO TEXT */
.hero-section h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section p.lead {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
}

/* =====================================================
   SECTION TITLES
   ===================================================== */
.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy-color);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-section {
  background: linear-gradient(to bottom, #f8f9fa 0%, #e4e4e4 60%);
  padding: 80px 0;
}

/* SERVICE CARD BASE */
.service-card {
  position: relative;
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  height: 100%;
  overflow: hidden;
  cursor: pointer;

  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SERVICE CARD TOP IMAGE */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 90px;

  background-image: url("https://www.iss-shipping.com/wp-content/uploads/2022/06/shutterstock_102494108-1-1920x1080.jpg");
  background-size: cover;
  background-position: center;

  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

/* SERVICE CARD GRADIENT OVERLAY */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 90px;

  background: linear-gradient(
    to bottom right,
    rgba(15, 23, 42, 0.7),
    rgba(3, 105, 161, 0.6)
  );

  z-index: 1;
  pointer-events: none;
}

/* ENSURE CONTENT ABOVE OVERLAY */
.service-card > * {
  position: relative;
  z-index: 2;
}

/* REMOVE HOVER TRANSFORMATIONS */
.service-card::before,
.service-card::after {
  transition: none !important;
  transform: none !important;
}

/* ICON */
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 25px;

  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );

  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

/* SERVICE TEXT */
.service-card h3 {
  font-size: 1.4rem;
  color: var(--navy-color);
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* SERVICE EXPAND */
.service-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.service-card.expanded .service-details {
  max-height: 500px;
  opacity: 1;
  margin-top: 20px;
}

.service-details ul {
  padding-left: 20px;
}

.service-details li {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #555;
}

.service-details li::marker {
  color: var(--primary-color);
}

/* EXPAND BUTTON */
.expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
  padding: 80px 0;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  border-radius: 50%;
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why-choose-section {
  padding: 80px 0;
  background-color: white;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;

  background: rgba(14, 165, 233, 0.1);

  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.feature-content h3 {
  font-size: 1.3rem;
  color: var(--navy-color);
  margin-bottom: 10px;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background-color: rgba(9, 48, 81);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

footer h5 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

footer a:hover {
  color: var(--gold-color);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 12px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 10px;

  background: rgba(255, 255, 255, 0.1);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.copyright {
  margin-top: 40px;
  padding-top: 25px;
  text-align: center;
  font-size: 0.9rem;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {

  .hero-section {
    height: 75vh;
    min-height: 360px;
    padding-top: 100px;
  }

  .hero-content {
    height: calc(45vh - 100px);
    min-height: 260px;
  }

  .hero-section p {
    font-size: 0.95rem;
  }

  section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  .image-placeholder {
    min-height: 260px;
    border-radius: 12px;
  }

  footer {
    padding-top: 3rem;
  }
}
