/* Google Fonts import is done in the HTML */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ff7700;
  --primary-dark: #e66c00;
  --primary-light: #ff8c33;
  --dark: #000000;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 5px;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--dark);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--dark-gray);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background-color: var(--light-gray);
}

/* Header */
header {
  background-color: var(--dark);
  color: var(--white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--white);
}

.logo span {
  color: var(--primary);
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--white);
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

nav ul li a.active,
nav ul li a:hover {
  color: var(--primary);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

nav ul li a.active::after,
nav ul li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--white);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("img/vessel.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
}


.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* About Preview Section */
.about-preview {
  padding: 80px 0;
}

.about-preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-preview-text h2 {
  position: relative;
  margin-bottom: 2rem;
}

.about-preview-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

/* Services Preview Section */
.services-preview {
  padding: 80px 0;
  background-color: var(--light-gray);
  text-align: center;
}

.services-preview h2 {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.services-preview h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

/* CTA Section */
.cta {
  background-color: var(--primary);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background-color: var(--dark);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-logo span {
  color: var(--primary);
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--primary);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

/* Page Banner */
.page-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/placeholder.svg?height=400&width=1600");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

/* About Page Specific Styles */
.about-content {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text h2 {
  position: relative;
  margin-bottom: 2rem;
}

.about-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.mission,
.vision {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.mission h2,
.vision h2 {
  color: var(--dark);
  margin-bottom: 1.5rem;
  position: relative;
}

.mission h2::after,
.vision h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.values {
  margin-bottom: 60px;
}

.values h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.values h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value-item {
  text-align: center;
  padding: 30px;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-10px);
}

.value-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.team h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.team h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  text-align: center;
  margin-bottom: 30px;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 5px solid var(--primary);
}

.team-member h3 {
  margin-bottom: 5px;
}

.team-member p {
  color: var(--primary);
  font-weight: 500;
}

/* Services Page Specific Styles */
.services-content {
  padding: 80px 0;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.services-intro h2 {
  position: relative;
  margin-bottom: 2rem;
  display: inline-block;
}

.services-intro h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 80px;
  align-items: center;
}

.service-details h3 {
  margin-bottom: 20px;
  position: relative;
}

.service-details h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.service-details ul {
  margin-top: 20px;
  padding-left: 20px;
}

.service-details ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.service-details ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.service-image {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.clients {
  padding: 80px 0;
  background-color: var(--light-gray);
  text-align: center;
}

.clients h2 {
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.clients h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

/* Contact Page Specific Styles */
.contact-content {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-container,
.contact-info {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-form-container h2,
.contact-info h2 {
  margin-bottom: 30px;
  position: relative;
}

.contact-form-container h2::after,
.contact-info h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(255, 119, 0, 0.2);
}

.form-status {
  margin-top: 20px;
  padding: 10px;
  border-radius: var(--border-radius);
  display: none;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
}

.info-item h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.map-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.map-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder {
  position: relative;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.map-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 30px;
  border-radius: var(--border-radius);
}

.contact-departments {
  padding: 80px 0;
}

.contact-departments h2 {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.contact-departments h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.department-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.department-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.department-card h3 {
  margin-bottom: 10px;
}

.department-card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary);
  font-weight: 500;
}

.department-card a:hover {
  text-decoration: underline;
}

/* Vessel Tracker Page Specific Styles */
.vessel-tracker-content {
  padding: 80px 0;
}

.tracker-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.tracker-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.search-container {
  display: flex;
  max-width: 400px;
  width: 100%;
}

.search-container input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  border-right: none;
}

.search-container button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 20px;
}

.filter-container select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  background-color: white;
  min-width: 200px;
}

.tracker-map-container {
  height: 600px;
  margin-bottom: 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.tracker-map {
  height: 100%;
  width: 100%;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vessel-info-panel {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.vessel-info-panel h3 {
  margin-bottom: 20px;
  position: relative;
}

.vessel-info-panel h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.select-prompt {
  color: var(--medium-gray);
  font-style: italic;
}

.vessel-detail-item {
  display: flex;
  margin-bottom: 15px;
}

.detail-label {
  font-weight: 500;
  width: 150px;
}

.vessel-list-container {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.vessel-list-container h3 {
  margin-bottom: 20px;
  position: relative;
}

.vessel-list-container h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.loading-vessels {
  text-align: center;
  padding: 20px;
  color: var(--medium-gray);
  font-style: italic;
}

.tracking-faq {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.tracking-faq h2 {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.tracking-faq h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
  transform: translateX(-50%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
}

.faq-question::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 20px;
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px 20px;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 90px;
    left: -100%;
    background-color: var(--dark);
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  nav ul.active {
    left: 0;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .about-preview-content,
  .about-grid,
  .service-item,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(even) {
    direction: ltr;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links h3::after,
  .footer-services h3::after,
  .footer-contact h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact p {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .tracker-controls {
    flex-direction: column;
  }

  .search-container {
    max-width: 100%;
  }

  .filter-container select {
    width: 100%;
  }
}
