/* ==========================================================================
   PANMARIS INTEGRATED GROUP PRIVATE LIMITED — CORPORATE DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --navy-primary: #071B2B;
  --navy-deep: #0B2638;
  --navy-light: #12344D;
  --green-marine: #6F9F24;
  --green-lime: #9CBC3C;
  --gold-soft: #C6B56A;
  --white: #FFFFFF;
  --off-white: #F5F7F4;
  --light-grey: #E8ECE9;
  --border-color: #DDE3E0;
  --text-dark: #17232D;
  --text-muted: #66737C;
  
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(7, 27, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(7, 27, 43, 0.10);
  --shadow-lg: 0 16px 40px rgba(7, 27, 43, 0.16);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
}

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

a:hover {
  color: var(--green-lime);
}

.btn-theme-primary {
  background: var(--green-marine);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  border: 1px solid var(--green-marine);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-theme-primary:hover {
  background: var(--green-lime);
  border-color: var(--green-lime);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-theme-outline {
  background: transparent;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-theme-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

.section-title-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-marine);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   TOP CONTACT BAR & STICKY HEADER
   ========================================================================== */

.top-bar {
  background-color: var(--navy-deep);
  color: var(--light-grey);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: var(--light-grey);
}

.top-bar a:hover {
  color: var(--green-lime);
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-wrapper.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-primary) !important;
  padding: 0.75rem 1rem !important;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--green-marine) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--green-marine);
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 82vh;
  background-color: var(--navy-primary);
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 5rem 0;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-youtube-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-youtube-iframe {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(7, 27, 43, 0.88) 0%, rgba(11, 38, 56, 0.72) 55%, rgba(7, 27, 43, 0.45) 100%);
  pointer-events: none;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 80% 20%, rgba(156, 188, 60, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(111, 159, 36, 0.18);
  border: 1px solid rgba(156, 188, 60, 0.35);
  color: var(--green-lime);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  color: var(--white);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.35rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.95rem;
  }
}

.hero-subtitle {
  color: #D0DCD5;
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Maritime Technical Compass Overlay Element */
.hero-compass-accent {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 450px;
  height: 450px;
  border: 1px dashed rgba(198, 181, 106, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.hero-compass-accent::before {
  content: '';
  position: absolute;
  inset: 40px;
  border: 1px solid rgba(156, 188, 60, 0.12);
  border-radius: 50%;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust-strip {
  background-color: var(--navy-primary);
  border-bottom: 3px solid var(--green-marine);
  padding: 1.75rem 0;
  color: var(--white);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(156, 188, 60, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--green-lime);
  flex-shrink: 0;
}

.trust-text h6 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  font-weight: 700;
}

.trust-text p {
  color: #A0B2C0;
  font-size: 0.825rem;
  margin: 0;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-img-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-accent-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(7, 27, 43, 0.92);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--green-lime);
  padding: 1rem 1.5rem;
  border-radius: 4px;
  color: var(--white);
}

.about-stat-card {
  background: var(--off-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.about-stat-card:hover {
  border-color: var(--green-marine);
  transform: translateY(-3px);
  background: var(--white);
}

.about-stat-card i {
  font-size: 1.75rem;
  color: var(--green-marine);
  margin-bottom: 0.5rem;
}

.about-stat-card h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.about-stat-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   SERVICES GRID & CARDS
   ========================================================================== */

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.service-card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--navy-primary);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-icon-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  background: rgba(7, 27, 43, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(156, 188, 60, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-lime);
  font-size: 1.25rem;
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-body h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy-primary);
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.btn-whatsapp-inquiry {
  background-color: #25D366;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-whatsapp-inquiry:hover {
  background-color: #1EBE5B;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   CAPABILITIES TABBED MATRIX
   ========================================================================== */

.capabilities-tabs {
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
}

.capabilities-tabs .nav-link {
  color: var(--text-muted) !important;
  font-weight: 600;
  border: none !important;
  padding: 1rem 1.5rem !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
}

.capabilities-tabs .nav-link.active {
  color: var(--navy-primary) !important;
  background: transparent !important;
  border-bottom-color: var(--green-marine) !important;
}

.capability-content-box {
  background: var(--off-white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 2.5rem;
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.capability-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--navy-primary);
}

.capability-list li i {
  color: var(--green-marine);
  font-size: 1.1rem;
}

/* ==========================================================================
   MARITIME COMPLIANCE SECTION
   ========================================================================== */

.compliance-section {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
  color: var(--white);
  position: relative;
}

.compliance-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition);
}

.compliance-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--green-lime);
}

.compliance-card h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.compliance-card p {
  color: #B0C2D0;
  font-size: 0.875rem;
  margin: 0;
}

/* Compliance Process Flow */
.compliance-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
  flex-wrap: wrap;
}

.flow-step {
  text-align: center;
  flex: 1;
  min-width: 140px;
  position: relative;
}

.flow-circle {
  width: 50px;
  height: 50px;
  background: rgba(111, 159, 36, 0.2);
  border: 2px solid var(--green-lime);
  color: var(--green-lime);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

.flow-step h6 {
  color: var(--white);
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   GALLERY MASONRY & LIGHTBOX
   ========================================================================== */

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background: var(--off-white);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.4rem 1.25rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background: var(--navy-primary);
  color: var(--white);
  border-color: var(--navy-primary);
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

@media (max-width: 576px) {
  .gallery-item img {
    height: 160px;
  }
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 27, 43, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.gallery-overlay span {
  color: var(--green-lime);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   CONTACT & INQUIRY FORM
   ========================================================================== */

.contact-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-control, .form-select {
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.form-control:focus, .form-select:focus {
  border-color: var(--green-marine);
  box-shadow: 0 0 0 0.2rem rgba(111, 159, 36, 0.2);
}

.contact-info-widget {
  background: var(--navy-primary);
  color: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green-lime);
  flex-shrink: 0;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--green-marine), var(--gold-soft));
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #C0D0DC;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--navy-primary);
  color: #90A0AF;
  padding: 4.5rem 0 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-heading {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--green-marine);
  margin-top: 0.4rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #A0B0C0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--green-lime);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 3.5rem;
  font-size: 0.825rem;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  background-color: #25D366;
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1040;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

/* Clean Auto-sliding Banner Carousel Styles */
.ad-banner-clean-link {
  height: 180px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  background-color: var(--navy-primary);
}

.ad-banner-clean-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
}

.ad-banner-clean-img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ad-banner-clean-link:hover .ad-banner-clean-img {
  transform: scale(1.05);
}

/* Single Auto-sliding Banner Styles */
.ad-banner-single-link {
  height: 220px;
  max-width: 1100px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  background-color: var(--navy-primary);
}

@media (max-width: 768px) {
  .ad-banner-single-link {
    height: 150px;
  }
}

.ad-banner-single-img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ad-banner-single-link:hover .ad-banner-single-img {
  transform: scale(1.03);
}
