/* ==========================================================================
   Shwet Cera Innovations - Premium Redesigned Header
   ========================================================================== */
:root {
  --ph-primary: #0B2E63;       /* Deep Luxury Navy */
  --ph-primary-dark: #071B33;  /* Midnight Navy */
  --ph-accent: #F4B400;        /* Ceramic Gold Accent */
  --ph-accent-light: #FFF8E1;  /* Soft Gold Tint */
  --ph-text-dark: #0F172A;     /* Rich Slate Black */
  --ph-text-muted: #64748B;    /* Muted Slate Gray */
  --ph-white: #ffffff;
  --ph-font: "Poppins", "Inter", sans-serif;
  --ph-topbar-height: 40px;
  --ph-header-height: 84px;
  --ph-glass-bg: rgba(255, 255, 255, 0.92);
  --ph-glass-border: rgba(255, 255, 255, 0.6);
  --ph-shadow-main: 0 20px 40px -15px rgba(11, 46, 99, 0.12);
  --ph-shadow-hover: 0 30px 60px -12px rgba(11, 46, 99, 0.22);
  --ph-transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset for Header Components */
.premium-header * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

/* Root Header Wrapper */
.premium-header {
  position: relative;
  width: 100%;
  z-index: 9999;
  font-family: var(--ph-font);
  background-color: var(--ph-white);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

/* Scroll Progress Bar at the top edge */
.ph-scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--ph-primary), var(--ph-accent), #38BDF8);
  z-index: 10005;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(244, 180, 0, 0.6);
}

/* --------------------------------------------------------------------------
   1. Top Utility Bar
   -------------------------------------------------------------------------- */
.ph-topbar {
  background: var(--ph-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 400;
  height: var(--ph-topbar-height);
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ph-topbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ph-topbar-left,
.ph-topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ph-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
}

.ph-topbar-item a {
  color: inherit;
  transition: color 0.25s ease;
}

.ph-topbar-item a:hover {
  color: var(--ph-accent);
}

.ph-topbar-item i {
  color: var(--ph-accent);
  font-size: 14px;
}

.ph-topbar-badge {
  background: rgba(244, 180, 0, 0.15);
  border: 1px solid rgba(244, 180, 0, 0.35);
  color: var(--ph-accent);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ph-topbar-badge i {
  font-size: 12px;
}

/* Hide topbar state on scroll */
.premium-header.ph-hide-topbar .ph-topbar {
  max-height: 0;
  opacity: 0;
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   2. Main Glass Header Bar
   -------------------------------------------------------------------------- */
.ph-mainbar {
  width: 100%;
  background: var(--ph-glass-bg);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(11, 46, 99, 0.08);
  box-shadow: var(--ph-shadow-main);
  transition: var(--ph-transition-smooth);
}

.ph-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--ph-header-height);
  transition: height 0.3s ease;
}

/* Sticky Header Dynamics */
.premium-header.ph-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: phSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 10px 30px rgba(11, 46, 99, 0.15);
}

.premium-header.ph-sticky .ph-mainbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(244, 180, 0, 0.25);
}

.premium-header.ph-sticky .ph-container {
  height: 72px;
}

@keyframes phSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   3. Brand Logo Section
   -------------------------------------------------------------------------- */
.ph-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.ph-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ph-logo-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  transition: var(--ph-transition-smooth);
}

.ph-logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.ph-logo-link:hover .ph-logo-img-wrapper {
  transform: translateY(-2px) scale(1.03);
}

.ph-logo-text {
  display: flex;
  flex-direction: column;
}

.ph-brand-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ph-primary);
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.ph-brand-title span {
  color: var(--ph-accent);
  background: linear-gradient(135deg, #F4B400 0%, #D99B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ph-brand-sub {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--ph-text-muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   4. Desktop Navigation & Links
   -------------------------------------------------------------------------- */
.ph-nav {
  display: none;
}

@media (min-width: 992px) {
  .ph-nav {
    display: block;
  }
}

.ph-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-menu-item {
  position: relative;
  padding: 10px 0;
}

.ph-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ph-text-dark);
  padding: 10px 16px;
  border-radius: 8px;
  position: relative;
  transition: var(--ph-transition-smooth);
}

.ph-link i.ph-dropdown-icon {
  font-size: 13px;
  color: var(--ph-text-muted);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.3s ease;
}

.ph-link:hover,
.ph-menu-item.active .ph-link {
  color: var(--ph-primary);
  background: rgba(11, 46, 99, 0.04);
}

.ph-link:hover i.ph-dropdown-icon {
  color: var(--ph-accent);
}

.ph-menu-item:hover .ph-link i.ph-dropdown-icon {
  transform: rotate(180deg);
  color: var(--ph-accent);
}

/* Animated active glow pill under nav item */
.ph-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--ph-primary), var(--ph-accent));
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ph-link:hover::after,
.ph-menu-item.active .ph-link::after {
  transform: translateX(-50%) scaleX(1);
}

/* --------------------------------------------------------------------------
   5. Compact Glass Dropdown Menu (Desktop)
   -------------------------------------------------------------------------- */
.ph-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px) scale(0.96);
  width: 440px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(11, 46, 99, 0.08);
  box-shadow: 0 20px 45px -10px rgba(11, 46, 99, 0.18), 0 0 0 1px rgba(244, 180, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 10px;
  z-index: 1000;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Invisible connector gap to prevent losing hover */
.ph-mega-dropdown::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

.ph-menu-item:hover .ph-mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px) scale(1);
}

.ph-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.ph-product-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid rgba(226, 232, 240, 0.7);
  transition: var(--ph-transition-smooth);
  text-decoration: none;
}

.ph-product-card:hover {
  background: var(--ph-white);
  border-color: rgba(244, 180, 0, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(11, 46, 99, 0.1);
}

.ph-product-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(11, 46, 99, 0.06);
  color: var(--ph-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: var(--ph-transition-smooth);
}

.ph-product-card:hover .ph-product-icon-box {
  background: var(--ph-primary);
  color: var(--ph-accent);
  transform: scale(1.05);
}

.ph-product-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ph-text-dark);
  flex: 1;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-product-card:hover .ph-product-name {
  color: var(--ph-primary);
}

.ph-card-arrow {
  font-size: 15px;
  color: var(--ph-text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.ph-product-card:hover .ph-card-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--ph-accent);
}

/* --------------------------------------------------------------------------
   6. Header Right Actions (Search & CTA Button)
   -------------------------------------------------------------------------- */
.ph-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ph-action-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(11, 46, 99, 0.12);
  background: rgba(11, 46, 99, 0.04);
  color: var(--ph-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--ph-transition-smooth);
}

.ph-action-btn:hover {
  background: var(--ph-primary);
  color: var(--ph-accent);
  border-color: var(--ph-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(11, 46, 99, 0.15);
}

/* Primary Header CTA Button */
.ph-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--ph-primary) 0%, #15458C 100%);
  color: var(--ph-white);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(244, 180, 0, 0.3);
  box-shadow: 0 6px 18px rgba(11, 46, 99, 0.18);
  transition: var(--ph-transition-smooth);
  position: relative;
  overflow: hidden;
}

.ph-cta-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ph-cta-btn:hover::before {
  opacity: 1;
}

.ph-cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--ph-primary-dark) 0%, var(--ph-primary) 100%);
  box-shadow: 0 10px 25px rgba(11, 46, 99, 0.25);
  color: var(--ph-accent);
  border-color: var(--ph-accent);
}

.ph-cta-btn i {
  font-size: 15px;
  transition: transform 0.25s ease;
}

.ph-cta-btn:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   7. Quick Search Panel Popover
   -------------------------------------------------------------------------- */
.ph-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--ph-primary-dark);
  padding: 18px 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.ph-search-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ph-search-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ph-search-input-wrapper {
  position: relative;
  flex: 1;
}

.ph-search-input-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ph-accent);
  font-size: 18px;
}

.ph-search-input {
  width: 100%;
  padding: 12px 18px 12px 46px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ph-white);
  font-size: 15px;
  outline: none;
  transition: var(--ph-transition-smooth);
}

.ph-search-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--ph-accent);
  box-shadow: 0 0 15px rgba(244, 180, 0, 0.2);
}

.ph-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.ph-search-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ph-search-close:hover {
  color: var(--ph-accent);
}

/* --------------------------------------------------------------------------
   8. Mobile Toggle Hamburger Icon
   -------------------------------------------------------------------------- */
.ph-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  cursor: pointer;
  z-index: 10002;
  padding: 2px;
}

@media (min-width: 992px) {
  .ph-toggle {
    display: none;
  }
}

.ph-line {
  width: 100%;
  height: 3px;
  background-color: var(--ph-primary);
  border-radius: 4px;
  transition: all 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.ph-toggle.active .ph-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--ph-accent);
}

.ph-toggle.active .ph-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ph-toggle.active .ph-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--ph-accent);
}

/* --------------------------------------------------------------------------
   9. Mobile Menu Overlay Drawer
   -------------------------------------------------------------------------- */
.ph-mobile-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: -10px 0 30px rgba(7, 27, 51, 0.2);
  z-index: 10000;
  padding: 80px 24px 30px;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.ph-mobile-overlay.active {
  right: 0;
}

.ph-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ph-mobile-item {
  border-bottom: 1px solid rgba(11, 46, 99, 0.06);
}

.ph-mobile-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ph-text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ph-mobile-link.active,
.ph-mobile-link:hover {
  color: var(--ph-primary);
}

.ph-arrow {
  font-size: 16px;
  color: var(--ph-text-muted);
  transition: transform 0.3s ease;
}

.ph-mobile-item.open .ph-arrow {
  transform: rotate(180deg);
  color: var(--ph-accent);
}

/* Mobile Submenu Accordion */
.ph-mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #F8FAFC;
  border-radius: 10px;
  padding: 0 14px;
  margin-bottom: 8px;
}

.ph-mobile-sublink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  border-bottom: 1px dashed rgba(203, 213, 225, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ph-mobile-sublink:last-child {
  border-bottom: none;
}

.ph-mobile-sublink:hover {
  color: var(--ph-primary);
}

.ph-mobile-sublink i {
  color: var(--ph-accent);
}

/* Mobile Action CTA Footer inside drawer */
.ph-mobile-footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 46, 99, 0.08);
}

.ph-mobile-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ph-text-muted);
  text-decoration: none;
}

.ph-mobile-contact-item i {
  color: var(--ph-accent);
  font-size: 16px;
}

/* Backdrop Overlay */
.ph-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 27, 51, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ph-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   10. Responsive Tweaks
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .ph-mega-dropdown {
    width: 680px;
  }
}

@media (max-width: 991px) {
  .ph-topbar-right {
    display: none;
  }
  .ph-cta-btn span {
    display: none;
  }
  .ph-cta-btn {
    padding: 10px 14px;
  }
}

@media (max-width: 576px) {
  .ph-topbar-container {
    justify-content: center;
  }
  .ph-topbar-left {
    gap: 12px;
    font-size: 12px;
  }
  .ph-brand-sub {
    display: none;
  }
  .ph-brand-title {
    font-size: 16px;
  }
}


/* Premium Footer Styles */
.premium-footer {
  background-color: #071B33; /* Deep navy-black */
  color: #fff;
  font-family: var(--ph-font);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #0B2E63, #F4B400, #0B2E63) 1;
}

.pf-bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.pf-bg-glow--one {
  top: -140px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.1) 0%, rgba(244, 180, 0, 0) 70%);
}

.pf-bg-glow--two {
  bottom: -160px;
  left: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(30, 90, 168, 0.18) 0%, rgba(30, 90, 168, 0) 70%);
}

.pf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.pf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.pf-col {
  flex: 1;
  min-width: 250px;
}

.pf-col-about {
  flex: 1.5; /* Slightly wider for the description */
}

.pf-logo {
  margin-bottom: 25px;
}

.pf-logo img {
  height: 60px;
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.pf-description {
  font-size: 15px;
  line-height: 1.8;
  color: #d0d0d0;
  margin-bottom: 25px;
}

.pf-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.pf-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--ph-accent);
  border-radius: 2px;
}

.pf-links {
  list-style: none;
  padding: 0;
}

.pf-links li {
  margin-bottom: 12px;
}

.pf-links a {
  color: #d0d0d0;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.pf-links a i {
  margin-right: 8px;
  font-size: 12px;
  color: var(--ph-accent);
}

.pf-links a:hover {
  color: var(--ph-accent);
  transform: translateX(5px);
}

.pf-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: #d0d0d0;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.pf-contact-info li:hover {
  transform: translateX(4px);
}

.pf-contact-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244, 180, 0, 0.12);
  border: 1px solid rgba(244, 180, 0, 0.35);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.pf-contact-info li:hover .pf-contact-icon {
  background: var(--ph-accent);
  border-color: var(--ph-accent);
}

.pf-contact-icon i {
  color: var(--ph-accent);
  font-size: 15px;
  transition: color 0.3s ease;
}

.pf-contact-info li:hover .pf-contact-icon i {
  color: var(--ph-primary);
}

.pf-contact-info a {
  color: #d0d0d0;
  display: block;
  transition: color 0.3s ease;
}

.pf-contact-info a:hover {
  color: var(--ph-accent);
}

.pf-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.pf-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.pf-social-link:hover {
  background-color: var(--ph-accent);
  transform: translateY(-4px) scale(1.08);
  color: var(--ph-primary);
  box-shadow: 0 10px 20px rgba(244, 180, 0, 0.3);
}

.pf-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.pf-copyright {
  color: #888;
  font-size: 14px;
  margin: 0;
}

.pf-copyright a {
  color: var(--ph-accent);
}

.pf-to-top {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.pf-to-top:hover {
  background: var(--ph-accent);
  border-color: var(--ph-accent);
  color: var(--ph-primary);
  transform: translateY(-50%) translateY(-4px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .premium-footer {
    padding: 60px 0 30px;
  }
  
  .pf-row {
    gap: 40px; /* Maintenance gap */
  }
}

@media (max-width: 576px) {
  .premium-footer {
    padding: 50px 0 20px;
  }
  
  .pf-row {
     /* On very small phones, stack is natural due to wrap, but ensure centering if desired? */
     /* default is aligned left which is fine for readability */
     gap: 30px;
  }
  
  .pf-col {
    min-width: 100%; /* Force full width on small mobile */
  }

  .pf-bottom {
    flex-direction: column;
    gap: 16px;
  }

  .pf-to-top {
    position: static;
    transform: none;
  }

  .pf-to-top:hover {
    transform: translateY(-4px);
  }
}




.premium-cta-section {
    position: relative;
    padding: 100px 0;
    /* Vibrant, lighter gradient for contrast */
    background: linear-gradient(120deg, #082247 0%, #1E5AA8 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    z-index: 1;
}

/* Background Pattern/Overlay - Enhanced */
.premium-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Added pattern for texture */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0%, transparent 25%),
        linear-gradient(45deg, rgba(0,0,0,0.03) 25%, transparent 25%, transparent 50%, rgba(0,0,0,0.03) 50%, rgba(0,0,0,0.03) 75%, transparent 75%, transparent);
    background-size: 100% 100%, 100% 100%, 20px 20px;
    z-index: -1;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Content Side (Left) */
.cta-content {
    flex: 1;
    max-width: 650px;
}

.cta-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffffff;
}

.cta-title span {
    color: #F4B400; /* Golden Yellow Accent */
    position: relative;
    display: inline-block;
}

.cta-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.5;
}

.cta-description {
    font-size: 1.6rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    max-width: 800px; /* Ensure lines don't get too long with larger text */
}

/* Actions Side (Right) */
.cta-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 250px;
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Primary Button (White) */
.cta-btn-primary {
    background: #ffffff;
    color: #082247;
    border: 2px solid #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: #E7EEF8;
    color: #082247;
}

/* Secondary Button (Outline) */
.cta-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-3px);
    color: #ffffff;
}

/* Icon support in buttons */
.cta-btn i {
    margin-left: 10px;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .premium-cta-section {
        padding: 80px 0;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .cta-content {
        max-width: 800px;
    }

    .cta-title {
        font-size: 3rem;
    }

    .cta-actions {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 767px) {
    .premium-cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .cta-btn {
        width: 100%;
    }
}

/* ==========================================================================
   Page Loader Styles — Powder Particle Loader
   White powder particles fall and collect into the logo on a deep blue
   background, the logo glows, then the tagline fades in.
   ========================================================================== */
#premium-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0B2E63;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#premium-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Ambient powder drifting down across the whole screen */
.loader-ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.loader-ambient-particle {
    position: absolute;
    top: -10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
    animation-name: loaderAmbientFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes loaderAmbientFall {
    0% {
        transform: translateY(-10px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(110vh) translateX(var(--drift, 20px));
        opacity: 0;
    }
}

.loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-stage {
    position: relative;
    width: 200px;
    height: 155px;
}

/* Particles converging inward to "build" the logo */
.loader-burst {
    position: absolute;
    inset: -60px;
    z-index: 1;
    pointer-events: none;
}

.loader-burst-particle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    background: #f4f1e9; /* off-white, like a fine mineral powder grain */
    box-shadow: 0 0 3px rgba(244, 241, 233, 0.7);
    opacity: 0;
    animation-name: loaderBurstConverge;
    animation-timing-function: cubic-bezier(0.33, 0, 0.2, 1);
    animation-fill-mode: forwards;
}

@keyframes loaderBurstConverge {
    0% {
        transform: translate(var(--sx), var(--sy)) scale(1);
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    75% {
        transform: translate(calc(var(--sx) * 0.08), calc(var(--sy) * 0.08)) scale(0.9);
        opacity: 1;
    }
    100% {
        transform: translate(0, 6px) scale(0.5);
        opacity: 0;
    }
}

/* Powder pile building up beneath the logo as it's "poured" in */
.loader-mound {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    z-index: 1;
    height: 0;
    background: linear-gradient(180deg, #ffffff 0%, #efe9db 100%);
    border-radius: 50% 50% 6% 6% / 100% 100% 0% 0%;
    box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.35);
    animation: loaderMoundRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards,
        loaderMoundFade 0.5s ease 1.35s forwards;
}

.loader-mound-bump {
    position: absolute;
    top: -6px;
    width: 34%;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.9;
}

.loader-mound-bump--1 {
    left: -2%;
}

.loader-mound-bump--2 {
    left: 32%;
    top: -10px;
    height: 20px;
}

.loader-mound-bump--3 {
    right: -2%;
}

@keyframes loaderMoundRise {
    from {
        height: 0%;
    }
    to {
        height: 68%;
    }
}

@keyframes loaderMoundFade {
    to {
        opacity: 0;
    }
}

.loader-logo-real {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.92);
    animation: loaderLogoReveal 1s ease-out 1.15s forwards,
        loaderLogoGlow 2.4s ease-in-out 2.15s infinite;
}

@keyframes loaderLogoReveal {
    0% {
        opacity: 0;
        transform: scale(0.92);
        filter: drop-shadow(0 0 0 rgba(244, 180, 0, 0));
    }
    60% {
        opacity: 1;
        transform: scale(1.04);
        filter: drop-shadow(0 0 18px rgba(244, 180, 0, 0.55));
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(244, 180, 0, 0.35));
    }
}

@keyframes loaderLogoGlow {
    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(244, 180, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(244, 180, 0, 0.6));
    }
}

.loader-tagline {
    margin-top: 26px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    opacity: 0;
    animation: loaderFadeInUp 0.8s ease-out 2.05s forwards;
}

.loader-tagline .loader-dot {
    color: #F4B400;
    margin: 0 10px;
}

/* Scrolling strip of the actual products being manufactured */
.loader-products {
    margin-top: 16px;
    width: 260px;
    max-width: 80vw;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    opacity: 0;
    animation: loaderFadeInUp 0.6s ease-out 2.35s forwards;
}

.loader-products-track {
    display: inline-flex;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    animation: loaderMarquee 10s linear infinite;
}

.loader-products-track .loader-dot {
    color: #F4B400;
    margin: 0 8px;
}

@keyframes loaderMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes loaderFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion: skip the particle choreography, just fade branding in */
#premium-loader.is-reduced-motion .loader-mound,
#premium-loader.is-reduced-motion .loader-products-track {
    animation: none;
    opacity: 0;
}

#premium-loader.is-reduced-motion .loader-logo-real {
    animation: loaderFadeInUp 0.5s ease-out 0.1s forwards;
}

#premium-loader.is-reduced-motion .loader-tagline {
    animation: loaderFadeInUp 0.5s ease-out 0.4s forwards;
}

#premium-loader.is-reduced-motion .loader-products {
    animation: loaderFadeInUp 0.5s ease-out 0.6s forwards;
}

@media (prefers-reduced-motion: reduce) {
    .loader-ambient-particle,
    .loader-burst-particle,
    .loader-mound {
        display: none;
    }

    .loader-products-track {
        animation: none;
    }

    .loader-logo-real {
        animation: loaderFadeInUp 0.5s ease-out 0.1s forwards !important;
    }

    .loader-tagline {
        animation: loaderFadeInUp 0.5s ease-out 0.4s forwards !important;
    }

    .loader-products {
        animation: loaderFadeInUp 0.5s ease-out 0.6s forwards !important;
    }
}

@media (max-width: 576px) {
    .loader-stage {
        width: 160px;
        height: 124px;
    }

    .loader-tagline {
        font-size: 11px;
        letter-spacing: 2px;
    }
}
