/* 
   Sai Anamika Steel - Industrial Modern Theme 
   Business Ready Redesign 2024
*/

:root {
  /* Brand Colors */
  --primary-navy: #0F172A;
  --primary-dark: #020617;
  --primary-light: #1E293B;

  --accent-orange: #F59E0B;
  --accent-gold: #D97706;
  --accent-light: #FBBF24;

  /* Neutrals */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-gray: #F1F5F9;

  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Lines */
  --border-light: #E2E8F0;
  --border-dark: #CBD5E1;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Spacing */
  --container-width: 1280px;
  --header-height: 80px;
  --banner-height: 40px;
  --section-spacing: 6rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  padding-top: var(--banner-height);
  /* Push content down for fixed banner */
}

/* Sections */
section {
  position: relative;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
}

/* Announcement Banner */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--banner-height);
  /* Allow expansion */
  background: linear-gradient(to right, var(--primary-navy), var(--primary-dark));
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0 1rem;
  /* Add horizontal padding */
  text-align: center;
}

.announcement-bar i {
  color: var(--accent-orange);
  margin-right: 0.5rem;
}

/* Announcement Carousel */
.announcement-carousel {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.acc-slide {
  display: none;
  animation: fadeIn 0.5s;
  font-size: 0.9rem;
  /* Increased for better desktop visibility */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.acc-slide.active {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Increased gap */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: var(--section-spacing) 0;
}

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

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

.text-accent {
  color: var(--accent-orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: var(--primary-navy);
  border: 2px solid var(--accent-orange);
}

.btn-primary:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

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

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

/* Header & Navigation */
.header {
  position: fixed;
  top: var(--banner-height);
  /* Push header down by banner height */
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

/* Founders Section */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.founder-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-light);
}

.founder-card:hover {
  transform: translateY(-5px);
}

.founder-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  background-color: var(--bg-gray);
}

.founder-info {
  padding: 2rem;
  text-align: center;
}

.founder-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.founder-role {
  color: var(--accent-orange);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

.founder-quote {
  font-style: italic;
  color: var(--text-muted);
  position: relative;
}

.founder-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--border-dark);
  opacity: 0.3;
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  transition: height 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  transition: width 0.3s ease;
}

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

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Page Header */
.page-header {
  background-color: var(--primary-navy);
  padding: 8rem 0 4rem 0;
  text-align: center;
  color: var(--text-white);
  margin-top: 0;
}

.page-header h1 {
  color: var(--text-white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  color: var(--accent-orange);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 0;
  /* Override default */
}

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

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 1.5rem;
  color: var(--text-white);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-subtitle {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--accent-orange);
  color: var(--accent-orange);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
  font-size: 1.25rem;
  color: #E2E8F0;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Trust Bar */
.trust-bar {
  position: relative;
  z-index: 10;
  background: var(--bg-white);
  margin-top: -4rem;
  padding: 3rem 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.trust-item {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--border-light);
}

.trust-item:last-child {
  border-right: none;
}

.trust-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
}

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

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

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

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

.section-tag {
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 1rem;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--primary-navy);
}

.check-icon {
  color: var(--accent-orange);
  font-size: 1.2rem;
}

/* Why Choose Us */
.bg-light {
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-orange);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-orange);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-orange);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

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

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

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.product-link:hover {
  color: var(--accent-gold);
}

/* Brands Carousel */
.brands-section {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
  overflow: hidden;
}

.brands-track {
  display: flex;
  gap: 4rem;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.brand-item {
  height: 60px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  flex-shrink: 0;
  /* Prevent squashing */
  margin-right: 2rem;
  /* Add margin for spacing */
}

.brand-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.brand-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  /* Remove inline-block gaps */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Global Section */
.global-section {
  background: var(--primary-navy);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.global-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.global-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: url('assets/world-map.png');
  /* Placeholder */
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.global-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

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

.g-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.g-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

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

.footer-brand h3 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.footer-desc {
  margin-bottom: 2rem;
  max-width: 300px;
}

.footer-heading {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

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

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.products-grid .product-card:nth-child(2),
.founders-grid .founder-card:nth-child(2),
.features-grid .feature-card:nth-child(2) {
  transition-delay: 0.2s;
}

.products-grid .product-card:nth-child(3),
.founders-grid .founder-card:nth-child(3),
.features-grid .feature-card:nth-child(3) {
  transition-delay: 0.4s;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive Utilities - Default (Desktop) */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: flex !important;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .trust-bar {
    margin: 0 1.5rem;
    margin-top: -3rem;
  }

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

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

/* Mobile Responsive */
@media (max-width: 768px) {

  /* Toggle Visibility */
  .mobile-only {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }

  h1 {
    font-size: 2.5rem;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .trust-bar {
    grid-template-columns: 1fr 1fr;
  }

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

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  /* Hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 0.5rem 0;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  transition: color 0.3s;
}

.mobile-nav-item i {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--primary-navy);
}

/* Mobile Responsiveness Overrides */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 70px;
    /* Space for bottom nav */
  }

  /* Hide top nav toggle since we have bottom nav - RESTORED per user request */
  .mobile-toggle {
    display: block !important;
  }

  /* Adjust Hero Text */
  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  /* Adjust Section Padding */
  .section-padding {
    padding: 3rem 0;
  }

  /* Adjust Grid Layouts */
  .products-grid,
  .features-grid,
  .founders-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .trust-bar {
    grid-template-columns: 1fr 1fr;
    margin-top: -3rem;
    padding: 1rem;
    /* Reduced padding */
    gap: 1rem;
    /* Reduced gap */
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
    padding-left: 0;
    padding-right: 0;
  }

  .trust-number {
    font-size: 1.8rem;
    /* Reduced font size */
  }

  .trust-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  /* Mobile Brands Carousel Adjustments */
  .brands-track {
    gap: 2rem;
    /* Reduce gap on mobile */
  }

  .brand-item {
    /* height: 60px; Inherited from desktop */
    opacity: 0.8;
    /* More visible by default */
    filter: grayscale(0%);
    /* Color by default on mobile */
    margin-right: 1.5rem;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 260px;
  right: 25px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* Mobile Adjustment for WhatsApp to clear Chat & Nav */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 160px;
  }
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  color: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    display: none;
  }
}



/* =========================================
       1. ANIMATION (Slide Up in 3 Seconds)
       ========================================= */
@keyframes klaroSlideUp {
  0% {
    transform: translateY(100%);
    /* Start hidden below */
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    /* End at position */
    opacity: 1;
  }
}

/* Apply Animation */
.klaro .cookie-notice {
  animation: klaroSlideUp 3s ease-out forwards !important;
}

/* =========================================
       2. GLOBAL COLORS & FONTS
       ========================================= */
.klaro .cookie-notice,
.klaro .cookie-notice .cn-body,
.klaro .cookie-notice p {
  color: #000000 !important;
  font-family: sans-serif, -apple-system, BlinkMacSystemFont !important;
  line-height: 1.5 !important;
}

/* ACCEPT BUTTON (#d97706) */
.klaro .cm-btn.cm-btn-success {
  background-color: #d97706 !important;
  border-color: #d97706 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}

/* REJECT BUTTON (Dark Grey) */
.klaro .cm-btn.cm-btn-danger {
  background-color: #4b5563 !important;
  color: #ffffff !important;
  border-radius: 4px !important;
}

/* "MORE" LINK (#d97706) */
.klaro .cookie-notice .cn-learn-more {
  color: #d97706 !important;
  font-weight: bold !important;
  text-decoration: underline !important;
  margin-left: 5px !important;
}

.klaro .cookie-notice a[href*="klaro"] {
  display: none !important;
}


/* =========================================
       3. DESKTOP VIEW (Bottom Left Card)
       ========================================= */
@media only screen and (min-width: 769px) {
  .klaro .cookie-notice {
    position: fixed !important;

    /* Card Position: Bottom Left */
    left: 20px !important;
    bottom: 20px !important;

    /* Card Size */
    width: 380px !important;
    right: auto !important;
    /* Override full width */

    /* Styling */
    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.15) !important;
    padding: 20px !important;
    z-index: 9999 !important;

    /* Stack Text on Top, Buttons Below */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Buttons Container */
  .klaro .cookie-notice .cn-buttons {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 15px !important;
  }

  /* Make buttons side-by-side (50% each) */
  .klaro .cm-btn {
    flex: 1 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 10px 0 !important;
  }

  .klaro .cookie-notice .cn-body {
    padding-right: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================
       4. MOBILE VIEW (Floating Card Above Nav)
       ========================================= */
@media only screen and (max-width: 768px) {
  .klaro .cookie-notice {
    position: fixed !important;

    /* Floating above bottom navbar */
    bottom: 65px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;

    background-color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2) !important;
    padding: 15px !important;
    z-index: 9999 !important;
  }

  /* Buttons Container */
  .klaro .cookie-notice .cn-buttons {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    gap: 10px !important;
    margin-top: 10px !important;
  }

  /* Make buttons side-by-side (50% each) */
  .klaro .cm-btn {
    flex: 1 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    font-size: 13px !important;
  }

  .klaro .cookie-notice .cn-body {
    text-align: center !important;
  }
}

/* =========================================
   5. SETTINGS MODAL CUSTOMIZATION (The Popup)
   ========================================= */

/* 1. White Background & Black Text (Removes Dark Theme) */
.klaro .cookie-modal.cm-modal {
  background-color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  color: #333333 !important;
}

/* 2. Header & Text Styling */
.klaro .cookie-modal .cm-header {
  border-bottom: 1px solid #e5e7eb !important;
}

.klaro .cookie-modal h1.title {
  color: #000000 !important;
  font-size: 1.25rem !important;
}

.klaro .cookie-modal p,
.klaro .cookie-modal span,
.klaro .cookie-modal label {
  color: #4b5563 !important;
  /* Dark grey text */
}

/* 3. The Close 'X' Button */
.klaro .cookie-modal .hide {
  color: #000000 !important;
}

.klaro .cookie-modal .hide svg {
  fill: #000000 !important;
}

/* 4. TOGGLES (Switches) */
/* Inactive State (Grey) */
.klaro .cm-switch .cm-switch-slider {
  background-color: #d1d5db !important;
}

/* Active State (Your Brand Amber) */
.klaro .cm-switch .cm-switch-input:checked+.cm-switch-slider {
  background-color: #d97706 !important;
  /* Amber */
}

/* The Round Knob (White) */
.klaro .cm-switch .cm-switch-slider:before {
  background-color: #ffffff !important;
}

/* 5. BUTTONS (Inside the Modal) */

/* Accept Buttons (Orange) */
.klaro .cookie-modal .cm-footer .cm-btn-success,
.klaro .cookie-modal .cm-footer .cm-btn-accept-all,
.klaro .cookie-modal .cm-footer .cm-btn-accept {
  background-color: #d97706 !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
}

/* Reject Button (Dark Grey) */
.klaro .cookie-modal .cm-footer .cm-btn-danger,
.klaro .cookie-modal .cm-footer .cm-btn-reject {
  background-color: #4b5563 !important;
  color: #ffffff !important;
  border: none !important;
}

/* 6. HIDE "Realized with Klaro!" */
.klaro .cookie-modal .cm-powered-by {
  display: none !important;
}

/* =========================================
   5. SETTINGS MODAL - FORCE WHITE THEME
   ========================================= */

/* 1. Target EVERYTHING inside the modal to be White */
.klaro .cookie-modal,
.klaro .cookie-modal .cm-modal,
.klaro .cookie-modal .cm-modal .cm-header,
.klaro .cookie-modal .cm-modal .cm-body,
.klaro .cookie-modal .cm-modal .cm-footer {
  background-color: #ffffff !important;
  background: #ffffff !important;
  /* Double check for gradients */
  color: #1a1a1a !important;
  /* Dark Black/Grey text */
}

/* 2. Fix the List Items (The cookie options) */
.klaro .cookie-modal .cm-list-label {
  color: #1a1a1a !important;
}

.klaro .cookie-modal .cm-list-description {
  color: #555555 !important;
}

/* 3. The Close 'X' Button - Make it Black */
.klaro .cookie-modal .cm-modal .hide {
  stroke: #000000 !important;
  fill: #000000 !important;
}

.klaro .cookie-modal .cm-modal .hide svg {
  stroke: #000000 !important;
  fill: #000000 !important;
}

/* 4. TOGGLES (Switches) */
/* The Rail (Inactive) */
.klaro .cm-switch .cm-switch-slider {
  background-color: #e5e7eb !important;
  /* Light Grey */
  border: 1px solid #d1d5db !important;
}

/* The Rail (Active/Checked) - YOUR AMBER COLOR */
.klaro .cm-switch .cm-switch-input:checked+.cm-switch-slider {
  background-color: #d97706 !important;
  border-color: #d97706 !important;
}

/* The Knob (Circle) */
.klaro .cm-switch .cm-switch-slider:before {
  background-color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* 5. BUTTONS inside Modal */
/* Accept Buttons -> Amber */
.klaro .cookie-modal .cm-footer .cm-btn-success,
.klaro .cookie-modal .cm-footer .cm-btn-accept-all,
.klaro .cookie-modal .cm-footer .cm-btn-accept {
  background-color: #d97706 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  border: none !important;
}

/* Reject Buttons -> Dark Grey */
.klaro .cookie-modal .cm-footer .cm-btn-danger,
.klaro .cookie-modal .cm-footer .cm-btn-reject {
  background-color: #374151 !important;
  color: #ffffff !important;
  border: none !important;
}

/* 6. Remove borders/separators if they look messy */
.klaro .cookie-modal .cm-header {
  border-bottom: 1px solid #f3f4f6 !important;
}

.klaro .cookie-modal .cm-footer {
  border-top: 1px solid #f3f4f6 !important;
}

/* 7. Hide "Realized with Klaro" */
.klaro .cookie-modal .cm-powered-by {
  display: none !important;
}

--------------------------
/* =========================================
   FIX: BUTTON LAYOUT IN SETTINGS MODAL
   ========================================= */

/* 1. Force the Footer to be a Row (Side-by-Side) */
.klaro .cookie-modal .cm-footer {
  display: flex !important;
  flex-direction: row !important;
  /* Horizontal alignment */
  justify-content: space-between !important;
  /* Spread them out */
  align-items: center !important;
  gap: 10px !important;
  /* Space between buttons */
  padding: 15px !important;
}

/* 2. Fix the Buttons (Stop them from being giant) */
.klaro .cookie-modal .cm-footer .cm-btn {
  width: auto !important;
  /* Stop taking full width */
  flex: 1 !important;
  /* Make all 3 buttons equal width */
  margin: 0 !important;
  /* Remove default margins */
  padding: 10px 5px !important;
  /* Adjust padding to fit text */

  /* Ensure text fits */
  font-size: 12px !important;
  white-space: nowrap !important;
  text-align: center !important;
}

/* 3. Specific fix for "Accept Selected" if it's too long */
.klaro .cm-btn-accept {
  flex-grow: 2 !important;
  /* Give the middle button slightly more space */
}

/* 4. Ensure the modal is wide enough to hold them */
@media only screen and (min-width: 400px) {
  .klaro .cookie-modal {
    min-width: 400px !important;
    /* Make the card slightly wider */
  }
}