/* ==========================================================================
   INCUS IT - Modern Corporate Website Stylesheet (Pixel-Perfect Clone)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Montserrat:wght@400;500;600;700;800&family=Dancing+Script:wght@400;700&display=swap');

:root {
  --primary-color: #1e73be;
  --primary-hover: #155a96;
  --primary-rgb: 30, 115, 190;
  --topbar-bg: #00cfea;
  --sec-light-blue: #d7e3ee;
  --sec-soft-gray: #c9d7e3;
  --footer-bg: #5b5b5b;
  --preloader-bg: #004563;
  --cookie-bg: #0a0002;
  --text-dark: #0a0a0a;
  --text-body: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --border-color: #e5e5e5;
  --font-main: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-nav: 'Montserrat', sans-serif;
  --font-alt: 'Dancing Script', cursive;
  --header-height: 108px;
  --header-sticky-height: 70px;
  --topbar-height: 36px;
  --border-radius-btn: 9px;
  --transition-fast: 0.25s ease;
  --transition-normal: 0.35s ease;
  --shadow-card: 0 5px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 30px rgba(0, 0, 0, 0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--footer-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  background-color: #ffffff;
  overflow-x: hidden;
}

#wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

a:hover {
  color: var(--primary-color);
}

ul, ol {
  list-style: none;
}

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

h2 {
  font-size: 2rem;
  letter-spacing: 0.5px;
}

h3 {
  font-size: 1.45rem;
}

h4 {
  font-size: 1.15rem;
}

.uppercase {
  text-transform: uppercase;
}

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

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

.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-fluid {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Page Preloader
   ========================================================================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--preloader-bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  text-align: center;
}

.page-loader-logo {
  max-width: 180px;
  margin: 0 auto 25px;
  animation: pageLoadZoom 1.2s ease-out;
}

.page-loader-logo img {
  width: 100%;
}

.page-loader-spin .loading-spin {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.8s linear infinite;
}

@keyframes pageLoadZoom {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

/* Top bar */
#top-bar {
  background-color: var(--topbar-bg);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  color: #ffffff;
  transition: all var(--transition-fast);
}

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

.lang-selector {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
}

.lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  color: #333333;
  min-width: 140px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 6px;
  padding: 6px 0;
  display: none;
  z-index: 1010;
}

.lang-selector:hover .lang-dropdown {
  display: block;
}

.lang-dropdown li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: #333333;
}

.lang-dropdown li a:hover {
  background-color: #f5f8fa;
  color: var(--primary-color);
}

/* Masthead Main Header */
#masthead {
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: height var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logos */
.logo {
  flex-shrink: 0;
  width: 170px;
}

.logo a {
  display: block;
}

.logo img {
  height: auto;
  max-height: 80px;
  transition: max-height var(--transition-normal);
}

.logo .logo-dark,
.logo .logo-sticky {
  display: none;
}

.logo .logo-light {
  display: block;
}

/* Nav Menu */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-nav > li > a {
  font-family: var(--font-nav);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  position: relative;
  padding: 10px 0;
  transition: color var(--transition-fast);
}

.header-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

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

.header-nav > li.active > a::after,
.header-nav > li > a:hover::after {
  width: 100%;
}

/* Header Action Tools (Search + Button) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-search-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.header-search-btn:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 9px 24px;
  border-radius: var(--border-radius-btn);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.button.primary {
  background-color: var(--primary-color);
  color: #ffffff;
}

.button.primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 115, 190, 0.35);
  transform: translateY(-1px);
}

.button.success {
  background-color: var(--primary-color);
  color: #ffffff;
}

.button.success:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 115, 190, 0.35);
}

.button.is-smaller {
  padding: 8px 22px;
  font-size: 0.78rem;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px;
}

/* Header Sticky / Solid State */
#header.stuck,
#header.solid-header {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#header.stuck #top-bar {
  display: none;
}

#header.stuck #masthead,
#header.solid-header #masthead {
  height: var(--header-sticky-height);
}

#header.stuck .logo img,
#header.solid-header .logo img {
  max-height: 54px;
}

#header.stuck .logo .logo-light,
#header.solid-header .logo .logo-light {
  display: none;
}

#header.stuck .logo .logo-dark,
#header.solid-header .logo .logo-dark {
  display: block;
}

#header.stuck .header-nav > li > a,
#header.solid-header .header-nav > li > a {
  color: var(--text-dark);
}

#header.stuck .header-nav > li.active > a,
#header.stuck .header-nav > li > a:hover,
#header.solid-header .header-nav > li.active > a,
#header.solid-header .header-nav > li > a:hover {
  color: var(--primary-color);
}

#header.stuck .header-search-btn,
#header.solid-header .header-search-btn,
#header.stuck .mobile-nav-toggle,
#header.solid-header .mobile-nav-toggle {
  color: var(--text-dark);
}

/* ==========================================================================
   Hero Banners
   ========================================================================== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: 70% 54%;
  background-repeat: no-repeat;
  color: #ffffff;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.46);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 0 20px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease-out;
}

/* Subpage Hero Banner */
.page-hero-banner {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #ffffff;
  padding-top: 140px;
  padding-bottom: 100px;
}

.page-hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.48);
  z-index: 1;
}

.page-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

/* ==========================================================================
   Custom SVG Shape Dividers
   ========================================================================== */
.shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.shape-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.shape-divider--bottom {
  bottom: 0;
}

.shape-divider--top {
  top: 0;
}

/* ==========================================================================
   Section: Why Choose Us
   ========================================================================== */
.section-why-us {
  position: relative;
  background-color: var(--sec-light-blue);
  padding: 90px 0 110px;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.feature-box {
  background: transparent;
  text-align: center;
  padding: 20px 15px;
  transition: transform var(--transition-normal);
}

.feature-box:hover {
  transform: translateY(-6px);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-box h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.feature-box p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.7;
}

/* ==========================================================================
   Section: What We Do (Category Grid)
   ========================================================================== */
.section-what-we-do {
  position: relative;
  background-color: #ffffff;
  padding: 85px 0 95px;
}

.products-grid-packery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 290px;
  gap: 15px;
}

/* Specific Grid Spans */
.grid-item-col-1 {
  grid-column: span 1;
}

.grid-item-col-2 {
  grid-column: span 2;
}

.product-tile {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-tile-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.product-tile:hover .product-tile-bg {
  transform: scale(1.08);
}

.product-tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.36);
  transition: background var(--transition-fast);
}

.product-tile:hover .product-tile-overlay {
  background: rgba(0, 0, 0, 0.22);
}

.product-tile-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 320px;
  background-color: rgba(0, 0, 0, 0.58);
  padding: 16px 20px;
  text-align: center;
  border-radius: 4px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.product-tile:hover .product-tile-label {
  background-color: rgba(30, 115, 190, 0.85);
  transform: translate(-50%, -50%) scale(1.03);
}

.product-tile-label h4 {
  font-family: var(--font-nav);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.35;
}

/* ==========================================================================
   Section: Who We Are
   ========================================================================== */
.section-who-we-are {
  position: relative;
  background-color: var(--sec-soft-gray);
  padding: 95px 0 105px;
}

.who-we-are-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.who-we-are-text {
  text-align: center;
}

.who-we-are-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.who-we-are-text h3 {
  font-size: 1.35rem;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.who-we-are-text p {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 28px;
  line-height: 1.8;
}

.who-we-are-img {
  text-align: center;
}

.who-we-are-img img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 6px;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.12));
  transition: transform var(--transition-normal);
}

.who-we-are-img img:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   Section: Latest From Blog
   ========================================================================== */
.section-blog {
  position: relative;
  background-color: #ffffff;
  padding: 80px 0 90px;
}

.section-blog-title {
  text-align: center;
  position: relative;
  margin-bottom: 45px;
}

.section-blog-title h3 {
  font-size: 1.7rem;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.section-blog-title h3::before,
.section-blog-title h3::after {
  content: '';
  height: 2px;
  width: 45px;
  background-color: var(--border-color);
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 45px;
}

.blog-card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background-color: #f1f1f1;
}

.blog-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.08);
}

.blog-card-content {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-dark);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--primary-color);
}

.blog-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.blog-card-divider {
  width: 30px;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.1);
  margin-top: auto;
}

.blog-more-btn {
  text-align: center;
}

/* ==========================================================================
   Products Detail Page Styles
   ========================================================================== */
.products-list-section {
  padding: 70px 0 90px;
  background-color: #ffffff;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  margin-bottom: 70px;
  padding-bottom: 70px;
  border-bottom: 1px solid #eeeeee;
}

.product-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.product-row.reverse {
  direction: rtl;
}

.product-row.reverse .product-info {
  direction: ltr;
}

.product-img-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.product-img-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-img-box:hover img {
  transform: scale(1.05);
}

.product-info h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.product-info p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 26px;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.about-content-section {
  padding: 80px 0 100px;
  background-color: #ffffff;
}

.about-card {
  margin-bottom: 45px;
  padding: 35px 40px;
  border-radius: 8px;
  background-color: #f8fafc;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.about-card h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #444444;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-section {
  padding: 80px 0 100px;
  background-color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.contact-form-col h3,
.contact-info-col h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.contact-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background-color: #fdfdfd;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.15);
  background-color: #ffffff;
}

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

.contact-info-card {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 35px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.info-item {
  margin-bottom: 25px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.info-item p {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.info-item a {
  color: var(--primary-color);
  font-weight: 600;
}

.info-item a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Blog & News Page Styles
   ========================================================================== */
.blog-listing-section {
  padding: 80px 0 100px;
  background-color: #ffffff;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.blog-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.sidebar-widget {
  background-color: #f8fafc;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.sidebar-widget h4 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  color: var(--text-dark);
}

.sidebar-widget ul li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.sidebar-widget ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-widget ul li a {
  font-size: 0.92rem;
  color: #444444;
  line-height: 1.45;
  display: block;
}

.sidebar-widget ul li a:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   Privacy Policy Page Styles
   ========================================================================== */
.privacy-section {
  padding: 80px 0 100px;
  background-color: #ffffff;
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.7rem;
  margin-top: 35px;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.privacy-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 18px;
}

/* ==========================================================================
   Footer & Bottom Bar
   ========================================================================== */
#footer {
  position: relative;
  background-color: var(--footer-bg);
  color: #ffffff;
}

.footer-upper {
  position: relative;
  padding: 85px 0 60px;
  text-align: center;
}

.footer-logo {
  max-width: 200px;
  margin: 0 auto 35px;
}

.footer-logo img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.footer-subscribe-box {
  max-width: 580px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.newsletter-input {
  flex: 1;
  padding: 13px 20px;
  border-radius: var(--border-radius-btn);
  border: none;
  font-family: var(--font-main);
  font-size: 0.95rem;
  background-color: #ffffff;
  outline: none;
}

.newsletter-btn {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 13px 30px;
  border-radius: var(--border-radius-btn);
  border: none;
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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

.absolute-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 0;
  font-size: 0.88rem;
  color: #d1d1d1;
}

.absolute-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #d1d1d1;
  margin: 0 8px;
  font-weight: 500;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copyright p {
  margin-bottom: 4px;
}

/* ==========================================================================
   Back To Top Button
   ========================================================================== */
#top-link {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-fast);
  z-index: 990;
}

#top-link.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#top-link:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
}

#top-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Cookie Notice Bar
   ========================================================================== */
.flatsome-cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--cookie-bg);
  color: #ffffff;
  padding: 16px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.flatsome-cookies.hide {
  transform: translateY(100%);
  pointer-events: none;
}

.flatsome-cookies__inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.flatsome-cookies__text {
  font-size: 0.92rem;
  color: #eeeeee;
  flex: 1;
  min-width: 260px;
}

.flatsome-cookies__accept-btn {
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: var(--border-radius-btn);
  padding: 8px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   Search Lightbox Modal
   ========================================================================== */
.search-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.search-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.search-lightbox-content {
  width: 90%;
  max-width: 650px;
  position: relative;
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
}

.search-lightbox.open .search-lightbox-content {
  transform: translateY(0);
}

.search-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
}

.search-lightbox-box {
  display: flex;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.search-lightbox-input {
  flex: 1;
  padding: 18px 24px;
  font-size: 1.15rem;
  font-family: var(--font-main);
  border: none;
  outline: none;
}

.search-lightbox-submit {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.search-lightbox-submit:hover {
  background-color: var(--primary-hover);
}

.search-live-results {
  background: #ffffff;
  border-radius: 8px;
  margin-top: 10px;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: none;
}

.search-result-item {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dark);
}

.search-result-item:hover {
  background-color: #f6f9fc;
  color: var(--primary-color);
}

/* ==========================================================================
   Mobile Sidebar Drawer Navigation
   ========================================================================== */
.mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 290px;
  max-width: 85%;
  height: 100%;
  background: #ffffff;
  z-index: 10002;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-sidebar.active {
  transform: translateX(0);
}

.mobile-sidebar-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-dark);
  cursor: pointer;
  margin-bottom: 20px;
}

.mobile-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 15px;
}

.mobile-sidebar-nav li a {
  font-family: var(--font-nav);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.mobile-sidebar-action {
  margin-top: 25px;
}

.mobile-sidebar-action .button {
  width: 100%;
}

/* ==========================================================================
   Modal Notification (Feedback)
   ========================================================================== */
.custom-toast {
  position: fixed;
  top: 25px;
  right: 25px;
  background-color: #2e7d32;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 11000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(-60px);
  opacity: 0;
  transition: all 0.35s ease;
}

.custom-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .products-grid-packery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
  .grid-item-col-2 {
    grid-column: span 2;
  }
  .blog-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-menu-wrapper,
  .header-actions .button {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .who-we-are-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-row,
  .product-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 30px;
  }
  .contact-grid,
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .absolute-footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .page-hero-title {
    font-size: 2rem;
  }
  .products-grid-packery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .grid-item-col-2 {
    grid-column: span 1;
  }
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }
  .blog-feed-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-btn {
    width: 100%;
  }
  #masthead {
    height: 75px;
  }
  .logo {
    width: 140px;
  }
}

/* Keyframe animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
