/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
:root {
  --primary-color: #0d6efd; /* Default Bootstrap Blue - CHANGE THIS to your specific Swiftlink blue */
  --secondary-color: #6c757d; /* Default grey */
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --navbar-height: 70px; /* Adjust if needed */
}

body {
  font-family: 'Open Sans', sans-serif; /* Example Font - Use Google Fonts or system fonts */
  color: #444;
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #0a58ca; /* Darker shade of primary */
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif; /* Example Heading Font */
  font-weight: 700;
  color: var(--dark-color);
}

/*--------------------------------------------------------------
# Navigation Bar
--------------------------------------------------------------*/
.navbar {
  /* background-color: #fff !important; */ /* Use bg-light or remove for default */
   min-height: var(--navbar-height);
}

.navbar-brand img {
  max-height: 45px; /* Adjust logo height */
}

.navbar .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary-color);
}

.navbar .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.navbar .btn-primary:hover {
     background-color: #0a58ca;
    border-color: #0a58ca;
}

/* Sticky top padding adjustment */
/* body {
  padding-top: var(--navbar-height);
} */


/*--------------------------------------------------------------
# Hero Section (Homepage)
--------------------------------------------------------------*/
.hero-section {
  height: 75vh; /* Adjust height as needed */
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/img/hero-background.jpg') no-repeat center center;
  background-size: cover;
  position: relative; /* Needed if you add absolute elements inside */
}

.hero-section h1 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 3rem; /* Adjust size */
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-section .btn-light {
    font-weight: 600;
}
.hero-section .btn-outline-light {
    font-weight: 600;
    border-width: 2px;
}

/*--------------------------------------------------------------
# Page Header (Internal Pages)
--------------------------------------------------------------*/
.page-header {
  padding: 60px 0;
  background: linear-gradient(rgba(0, 50, 100, 0.7), rgba(0, 30, 70, 0.7)), url('../assets/img/port-image.jpg') no-repeat center center; /* Use a generic header bg */
  background-size: cover;
}

.page-header h1 {
  color: #fff;
   font-size: 2.5rem;
}

.page-header .lead {
   color: rgba(255, 255, 255, 0.8);
}

/*--------------------------------------------------------------
# Sections General Styling
--------------------------------------------------------------*/
section {
  overflow: hidden; /* Prevents horizontal scroll issues */
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: calc(50% - 25px); /* Center the line */
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Service Cards (Homepage)
--------------------------------------------------------------*/
.service-card {
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    object-fit: contain; /* Or 'cover' if icons are square */
    margin-bottom: 1rem;
}

.service-card .card-title {
    font-weight: 600;
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Why Choose Us / Features Icons
--------------------------------------------------------------*/
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
}
.feature-icon.large-icon {
    width: 80px;
    height: 80px;
}

.feature-icon i {
    font-size: 1.5rem; /* Adjust icon size */
}
.feature-icon.large-icon i {
    font-size: 2rem;
}


/*--------------------------------------------------------------
# Partner Logos
--------------------------------------------------------------*/
.partner-logos {
    gap: 1.5rem; /* Spacing between logos */
}
.partner-logo {
    max-height: 50px; /* Adjust height */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/*--------------------------------------------------------------
# Services Page Specific
--------------------------------------------------------------*/
.service-section {
    scroll-margin-top: 80px; /* Offset for sticky nav when linking via # */
}
.service-icon-inline i {
    vertical-align: middle;
    margin-right: 10px;
}

.mission-list i {
    vertical-align: middle;
}

/*--------------------------------------------------------------
# Contact Page
--------------------------------------------------------------*/
.contact-details i {
    font-size: 1.2rem;
}

.map-section {
    padding: 0;
}
.map-responsive {
    overflow: hidden;
    padding-bottom: 40%; /* Adjust aspect ratio (height / width * 100) */
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  font-size: 0.9rem;
}

.footer h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.footer .footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
  padding: 4px 0;
}

.footer .footer-link:hover {
  color: #fff;
}

.footer address {
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
}
.footer address a {
    font-style: normal;
}

.footer hr.footer-hr {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.footer small {
     color: rgba(255, 255, 255, 0.6);
}


/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  .hero-section {
    height: 60vh;
  }
  .hero-section h1 {
     font-size: 2.5rem;
  }
  .page-header {
      padding: 40px 0;
  }
   .page-header h1 {
     font-size: 2rem;
  }
  .map-responsive {
      padding-bottom: 60%; /* Adjust aspect ratio for mobile */
  }
}

@media (max-width: 767.98px) {
    .navbar-collapse {
        border-top: 1px solid #ddd;
        margin-top: 0.5rem;
    }
    .navbar .btn-primary {
        width: 100%;
        margin-top: 0.5rem;
        margin-left: 0 !important;
    }
    .hero-section {
        height: 50vh;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
     .hero-section .lead {
        font-size: 1rem;
    }
     .partner-logo {
        max-height: 40px;
    }
     .why-us .col-md-3 { /* Target specific cols if needed */
        margin-bottom: 1.5rem;
     }
}