/* ==========================================================================
   Ocean Venture Marine Services - Custom Stylesheet
   Color Palette: Primary Deep Blue (#1a4567), Secondary Sky Blue (#50a0cd)
   ========================================================================== */

/* Import Google Fonts & FontAwesome */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  /* Colors */
  --primary: #1a4567;
  --primary-light: #255d88;
  --secondary: #50a0cd;
  --secondary-light: #7cbfe3;
  --dark: #112233;
  --dark-gray: #334455;
  --light-gray: #f4f8fb;
  --border-color: #e2eaf1;
  --white: #ffffff;
  --success: #2ec4b6;
  --whatsapp-color: #25d366;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(26, 69, 103, 0.05);
  --shadow-md: 0 8px 24px rgba(26, 69, 103, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 69, 103, 0.15);
  --shadow-sticky: 0 10px 30px rgba(0, 0, 0, 0.05);

  /* Layout & Transitions */
  --container-width: 1400px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --border-radius: 8px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--light-gray);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  border-radius: 2px;
}

.section-header p {
  color: var(--dark-gray);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 69, 103, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(80, 160, 205, 0.3);
}

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

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

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

.btn-white:hover {
  background-color: var(--light-gray);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Icon class */
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: relative;
  z-index: 1000;
  width: 100%;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.6rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: max-height var(--transition-normal), padding var(--transition-normal), opacity var(--transition-normal);
  overflow: hidden;
  max-height: 45px;
}

.top-bar .container {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 40px;
}

.top-bar-contact i.fa-phone {
  font-size: 13px;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar-contact a:hover {
  color: var(--secondary-light);
}

.top-bar-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.top-bar-socials a {
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
}

.top-bar-socials a:hover {
  color: var(--secondary-light);
  transform: scale(1.1);
}

/* Navigation Menu */
.navbar {
  background-color: var(--white);
  padding: 1.2rem 0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

/* Sticky Header Active State */
header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: var(--shadow-sticky);
}

header.is-sticky .top-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: none;
  opacity: 0;
}

header.is-sticky .navbar {
  padding: 0.8rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: height var(--transition-normal);
}

/* Slightly scale down logo when header is sticky */
header.is-sticky .logo img {
  height: 38px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition-normal);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Mobile Navigation Toggle animation */
.hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 550px;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 69, 103, 0.9) 30%, rgba(26, 69, 103, 0.4) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 650px;
}

.hero-tagline {
  color: var(--secondary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  animation: fadeInUp 0.8s ease forwards;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease forwards;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 1.2s ease forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 1.4s ease forwards;
}

/* Custom Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Home Page Components
   ========================================================================== */

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: var(--secondary);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::after {
  width: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(80, 160, 205, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--white);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-link:hover {
  color: var(--secondary);
}

/* Why Choose Us & Statistics */
.why-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.why-image img {
  width: 100%;
  object-fit: cover;
}

.why-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.why-list {
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.why-item-icon {
  width: 24px;
  height: 24px;
  color: var(--success);
  flex-shrink: 0;
}

.why-item-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.why-item-text p {
  font-size: 0.95rem;
  color: var(--dark-gray);
}

/* Statistics Counter */
.stats-bar {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--secondary-light);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Call to Action (CTA) Section */
.cta-section {
  background: linear-gradient(rgba(26, 69, 103, 0.9), rgba(26, 69, 103, 0.9)), url('../images/hero_vessel.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}

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

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   About Page Components
   ========================================================================== */
.about-hero {
  background: linear-gradient(rgba(26, 69, 103, 0.8), rgba(26, 69, 103, 0.8)), url('../images/layup_vessel.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.about-hero p {
  font-size: 1.2rem;
  color: var(--secondary-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(80, 160, 205, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.value-icon svg {
  width: 26px;
  height: 26px;
}

.value-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--dark-gray);
}

/* QHSE Highlight */
.qhse-block {
  background-color: var(--primary);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 3.5rem;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.qhse-badge {
  text-align: center;
  border-right: 2px solid rgba(255, 255, 255, 0.1);
  padding-right: 3rem;
}

.qhse-badge h3 {
  font-size: 3rem;
  color: var(--secondary-light);
}

.qhse-badge p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

.qhse-text h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.qhse-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   Services Page Components
   ========================================================================== */
.service-detail-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.service-detail-section:last-child {
  border-bottom: none;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

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

.service-detail-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.service-detail-content {
  flex: 1.2;
}

.service-detail-content h3 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-detail-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-bullet-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.service-bullet-icon {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* ==========================================================================
   Fleet Page Components
   ========================================================================== */
.filter-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--light-gray);
  border: 1px solid var(--border-color);
  color: var(--dark-gray);
  padding: 0.6rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.fleet-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.fleet-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.fleet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.fleet-card:hover .fleet-image img {
  transform: scale(1.05);
}

.fleet-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
}

.fleet-info {
  padding: 1.8rem;
}

.fleet-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.fleet-info h4 {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fleet-specs {
  border-top: 1px solid var(--border-color);
  padding-top: 1.2rem;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 0.8rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.spec-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--dark-gray);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.spec-label i {
  color: var(--secondary);
  font-size: 0.85rem;
  width: 14px;
  text-align: center;
}

.spec-item strong {
  color: var(--dark);
  font-size: 0.9rem;
}

/* ==========================================================================
   Contact Page Components
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background-color: var(--white);
  padding: 1.8rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(80, 160, 205, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.contact-info-text p,
.contact-info-text a {
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.contact-info-text a:hover {
  color: var(--secondary);
}

.contact-socials-wrap {
  margin-top: 1rem;
}

.contact-socials-wrap h4 {
  margin-bottom: 0.8rem;
}

.contact-social-icons {
  display: flex;
  gap: 1rem;
}

.contact-social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-social-icons a:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-wrap {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form-wrap h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--light-gray);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(80, 160, 205, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  border-radius: 4px;
}

/* Map Section */
.map-section {
  width: 100%;
  height: 400px;
  background-color: var(--light-gray);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--dark-gray);
  background: linear-gradient(rgba(26, 69, 103, 0.05), rgba(26, 69, 103, 0.05));
  border-top: 1px solid var(--border-color);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.map-placeholder h4 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 1.5rem 0;
  border-top: 5px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 3px;
  background-color: var(--secondary);
}

.footer-about .logo svg {
  fill: var(--white);
}

.footer-about .logo-text {
  color: var(--white);
}

.footer-about p {
  margin: 1.2rem 0;
  font-size: 0.9rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '›';
  font-size: 1.2rem;
  color: var(--secondary);
  line-height: 1;
}

.footer-links a:hover {
  color: var(--secondary-light);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
}

.footer-contact-text a:hover {
  color: var(--secondary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Interactive UI Overlays & Floating Buttons
   ========================================================================== */

/* Scroll to Top Option */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--white);
  cursor: pointer;
  z-index: 999;
  transition: all var(--transition-normal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.scroll-top-btn svg {
  width: 22px;
  height: 22px;
}

/* Sticky Social Floating Side Menu / Sticky Contact Side Panel */
.sticky-social-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 999;
  box-shadow: var(--shadow-md);
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}

.sticky-social-item {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.sticky-social-item.call {
  background-color: var(--primary);
}

.sticky-social-item.email {
  background-color: var(--secondary);
}

.sticky-social-item.whatsapp {
  background-color: var(--whatsapp-color);
}

.sticky-social-item:hover {
  /*width: 54px;*/
  /* padding-left: 10px; */
}

.sticky-social-item.call:hover {
  background-color: var(--primary-light);
}

.sticky-social-item.email:hover {
  background-color: var(--secondary-light);
}

.sticky-social-item.whatsapp:hover {
  background-color: #20ba5a;
}

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

  .why-section,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .service-row {
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 2rem;
  }

  .footer-col:nth-child(4) {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  /* Sticky Navigation drawer for mobile */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 6rem 2rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 1000;
    gap: 1.5rem;
  }

  .nav-menu.is-active {
    right: 0;
  }

  .nav-cta {
    display: none;
  }

  .top-bar-contact {
    gap: 1rem;
  }

  .top-bar-socials {
    display: none;
    /* Hide socials in mobile top bar to save space */
  }

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

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .service-detail-image,
  .service-detail-content {
    width: 100%;
  }

  .service-bullet-list {
    grid-template-columns: 1fr;
  }

  .service-detail-image img {
    height: 250px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .qhse-block {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }

  .qhse-badge {
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: 2rem;
  }

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

  .footer-col:nth-child(4) {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .top-bar {
    display: none;
    /* Hide top bar on very small phones */
  }

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

  .hero-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

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

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

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================================================
   FontAwesome Icon Sizing & Spacing Fixes
   ========================================================================== */
.top-bar-contact i {
  color: var(--secondary-light);
  font-size: 0.95rem;
}

.top-bar-socials i {
  font-size: 1.1rem;
}

.sticky-social-item i {
  font-size: 1.35rem;
}

.sticky-social-item.call i {
  font-size: 1.1rem;
}

.service-icon i {
  font-size: 1.6rem;
}

.why-item-icon i {
  font-size: 1.2rem;
  color: var(--success);
  margin-top: 3px;
}

.value-icon i {
  font-size: 1.4rem;
}

.service-bullet-icon i {
  font-size: 0.9rem;
  color: var(--secondary);
}

.contact-info-icon i {
  font-size: 1.3rem;
}

.footer-contact-icon i {
  font-size: 1rem;
  color: var(--secondary);
}

.scroll-top-btn i {
  font-size: 1.25rem;
}

/* General alignment layout helper */
.top-bar-contact a i,
.why-item-icon i,
.service-bullet-icon i,
.contact-info-icon i,
.footer-contact-icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Home Video & Interactive Map Styles
   ========================================================================== */

/* Home Video Section */
.home-video-section {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.home-video-section .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-video-section .video-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

.home-video-section .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 69, 103, 0.85), rgba(26, 69, 103, 0.55));
  z-index: 1;
}

.home-video-section .video-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  padding: 0 1.5rem;
}

.home-video-section .video-content h2 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.home-video-section .video-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* Interactive Map Section */
.map-section-new {
  width: 100%;
  height: 400px;
  display: block;
}

.map-section-new iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .home-video-section {
    height: 60vh;
  }

  .home-video-section .video-bg {
    height: 120%;
    top: -10%;
  }

  .home-video-section .video-content h2 {
    font-size: 2rem;
  }

  .home-video-section .video-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .map-section-new {
    height: 300px;
  }
}