/* 
  AuthorWise Rebuilt Stylesheet
  Clean Vanilla CSS with CSS Variables, Flexbox, Grid, and Responsive Layouts
*/

:root {
  --primary-color: #002e5e;      /* Deep Navy Blue */
  --accent-color: #00aeef;       /* Bright Accent Blue */
  --secondary-color: #8dc63f;    /* Lime Green */
  --text-dark: #333333;          /* Dark Body Text */
  --text-muted: #666666;         /* Secondary Text */
  --bg-light: #f5f8ff;           /* Pale Blue/Gray Background */
  --bg-white: #ffffff;
  --text-light: #ffffff;
  
  --font-heading: 'Prompt', sans-serif;
  --font-body: 'Sarabun', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-width: 1140px;           /* Standard Bootstrap max-width from original */
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 10px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

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

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;                  /* Original Height: 90px */
}

.logo img {
  width: 268px;                  /* Original width */
  height: auto;
  max-height: 90px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item {
  position: relative;
  margin-left: 20px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  padding: 8px 16px;
  display: block;
  border-radius: 50px;           /* Capsule pill look matching original */
  transition: var(--transition-smooth);
}

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

.nav-link.active {
  background-color: var(--primary-color);
  color: #ffffff !important;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-top: 3px solid var(--accent-color);
  list-style: none;
  width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item a {
  padding: 12px 20px;
  display: block;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  border-bottom: 1px solid #f5f8ff;
  transition: var(--transition-smooth);
}

.dropdown-item:last-child a {
  border-bottom: none;
}

.dropdown-item a:hover {
  background-color: var(--bg-light);
  color: var(--accent-color);
  padding-left: 25px;
}

/* Hamburger & Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: var(--transition-smooth);
  background-color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-image: url("/assets/images/BannerBG.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 180px 0 140px;        /* Padding to accommodate nav and bottom wave */
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  color: var(--text-light);
  font-size: 56px;               /* Exact original font size */
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content h1 strong {
  display: block;
}

.hero-content h1 strong.text-lime {
  color: var(--secondary-color); /* #8dc63f */
}

.hero-content .hero-subtitle {
  display: block;
  font-size: 32px;               /* Exact original font size */
  font-weight: 400;
  color: var(--text-light);
  margin-top: 20px;
  line-height: 1.3;
}

.hero-content .hero-buttons {
  margin-top: 30px;
}

.btn {
  display: inline-block;
  background-color: #002e5e;
  color: var(--text-light);
  padding: 8px 20px;
  border-radius: 50px;           /* Pill-shaped buttons */
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn:hover {
  background-color: #244b75;
  color: var(--text-light);
  box-shadow: none;
}

.btn-secondary {
  background-color: #8dc63f;
  border: none;
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: #9ece5c;
  color: var(--text-light);
  box-shadow: none;
}

/* SVG Wave Divider */
.hero-wave {
  position: absolute;
  bottom: -1px;                  /* Fix rendering gap */
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 10;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;                  /* Fluid wave divider */
}

/* Services & Solutions Section */
.section {
  padding: 100px 0;
}

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

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

.section-header h2 {
  display: inline-block;
  margin-bottom: 15px;
}

.section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.card {
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  padding: 40px 30px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  border: 1px solid #f0f2f5;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 46, 94, 0.08);
  border-color: rgba(0, 174, 239, 0.25);
}

.card-icon {
  width: 70px;
  height: 70px;
  background-color: #f0f5ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.card:hover .card-icon {
  background-color: #e6f0ff;
  transform: scale(1.05);
}

.card-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.card-image {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #f5f8ff;
}

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

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

/* Background image cards for Solutions */
.card.card-bg-img {
  background-size: cover;
  background-position: center;
  position: relative;
  border: none;
  overflow: hidden;
  color: #ffffff;
  padding: 45px 35px;
}

.card.card-bg-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 46, 94, 0.9) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  transition: opacity 0.4s ease, background 0.4s ease;
}

.card.card-bg-img:hover::before {
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.9) 0%, rgba(0, 46, 94, 0.9) 100%);
}

.card.card-bg-img > * {
  position: relative;
  z-index: 2;
}

.card.card-bg-img h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.35rem;
  font-weight: 600;
}

.card.card-bg-img p {
  color: #e0e6ed;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.card.card-bg-img .card-link {
  color: var(--accent-color);
  font-weight: 600;
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card.card-bg-img:hover .card-link {
  color: #ffffff;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-link {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.card-link::after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition-smooth);
}

.card-link:hover::after {
  transform: translateX(5px);
}

/* Partners Section */
.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 30px 0;
  flex-wrap: wrap;
}

.partner-logo {
  max-height: 75px;
  max-width: 240px;
  object-fit: contain;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

.partner-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Blog Posts Feed */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
  border: 1px solid #f0f0f0;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

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

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

.blog-info {
  padding: 25px;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

.blog-info h3 {
  font-size: 1.15rem;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3rem;
}

.blog-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Detail Content Layout (Solution & Services Pages) */
.inner-hero {
  background-color: var(--primary-color);
  padding: 130px 0 60px;
  color: var(--text-light);
  text-align: center;
}

.inner-hero h1 {
  color: var(--text-light);
  margin-bottom: 10px;
}

.inner-hero p {
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.detail-section {
  padding: 60px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.detail-grid.reverse .detail-content {
  order: 2;
}

.detail-grid.reverse .detail-image {
  order: 1;
}

.detail-content h2 {
  margin-bottom: 20px;
}

.detail-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.detail-list {
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.detail-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.detail-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Contact Us Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.contact-form-container {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #eaeaea;
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 5px rgba(0, 174, 239, 0.2);
}

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

.form-status {
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: none;
  font-family: var(--font-heading);
  font-weight: 500;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.contact-info-panel {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 40px;
  border-radius: 8px;
  height: 100%;
}

.contact-info-panel h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}

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

.info-icon {
  margin-right: 15px;
  font-size: 1.25rem;
  color: var(--accent-color);
}

.info-text p {
  margin-bottom: 5px;
}

.info-text strong {
  display: block;
  font-family: var(--font-heading);
}

/* Footer Section */
footer {
  background-color: #0b1522;
  color: #b0c0d0;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-about img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #b0c0d0;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-socials {
  display: flex;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--accent-color);
}

.social-icon img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

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

/* About Us homepage section */
.about-us-section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.about-us-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-us-content {
  display: flex;
  flex-direction: column;
}

.about-us-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  position: relative;
  padding-bottom: 0;
}

.about-us-title::after {
  display: none !important;
}

.about-us-subtitle {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-us-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.about-us-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 46, 94, 0.1);
  object-fit: cover;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
}

.lang-link {
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 50px;
  transition: var(--transition-smooth);
}

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

.lang-link.active {
  color: #ffffff !important;
  background-color: var(--primary-color);
}

.lang-separator {
  color: #dddddd;
  margin: 0 4px;
}

/* Nav Social Link */
.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #4267B2; /* Facebook Blue */
  color: #ffffff !important;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-social-link:hover {
  background-color: #365899;
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero-grid, .detail-grid, .contact-grid, .about-us-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .services-grid, .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .detail-grid.reverse .detail-content {
    order: 1;
  }
  
  .detail-grid.reverse .detail-image {
    order: 2;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--bg-white);
    width: 100%;
    height: calc(100vh - 80px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    overflow-y: auto;
    padding: 30px;
    align-items: flex-start;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 15px 0;
    width: 100%;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    width: 100%;
    padding-left: 20px;
    display: none;
  }
  
  .nav-item.active .dropdown-menu {
    display: block;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid, .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* Blog Social Sharing Component */
.blog-share-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 30px 0 40px;
  padding: 15px 20px;
  background-color: var(--bg-light);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  flex-wrap: wrap;
}

.blog-share-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-color);
}

.blog-share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.share-btn i {
  font-size: 1rem;
}

.share-btn-fb {
  background-color: #e8f0fe;
  color: #1877f2;
}
.share-btn-fb:hover {
  background-color: #1877f2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.2);
}

.share-btn-x {
  background-color: #f1f1f1;
  color: #000000;
}
.share-btn-x:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.share-btn-tiktok {
  background-color: #ffe6eb;
  color: #ff0050;
}
.share-btn-tiktok:hover {
  background-color: #010101;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(1, 1, 1, 0.2);
}

/* Custom Tooltip/Toast for TikTok Copy Link */
.share-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #333333;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.share-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Concrete Wording & Visual Enhancements Styles */

/* Before-After Comparison Section */
.comparison-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comparison-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid #f0f2f5;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.comparison-card.before-card {
  border-left: 5px solid #ff4d4d;
}

.comparison-card.after-card {
  border-left: 5px solid var(--secondary-color);
  background-color: #fcfdfa;
}

.comparison-card h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comparison-card.before-card h3 {
  color: #cc0000;
}

.comparison-card.after-card h3 {
  color: #5c9e2b;
}

.comparison-list {
  list-style: none;
}

.comparison-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

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

.comparison-item i {
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 1.1rem;
}

.before-card .comparison-item i {
  color: #ff4d4d;
}

.after-card .comparison-item i {
  color: var(--secondary-color);
}

.comparison-item strong {
  display: block;
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.before-card .comparison-item strong {
  color: #333;
}

.after-card .comparison-item strong {
  color: var(--primary-color);
}

/* Workflow Step Diagram Component */
.workflow-diagram {
  padding: 60px 0;
  background-color: var(--bg-white);
}

.workflow-steps-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

@media (max-width: 992px) {
  .workflow-steps-flow {
    flex-direction: column;
    align-items: center;
    gap: 45px;
  }
  .workflow-step-item::after {
    display: none !important;
  }
}

.workflow-step-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 20px 15px;
}

.workflow-step-item::after {
  content: '➔';
  position: absolute;
  top: 50px;
  right: -15px;
  font-size: 1.5rem;
  color: var(--accent-color);
  opacity: 0.5;
}

.workflow-step-item:last-child::after {
  display: none;
}

.workflow-step-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  border: 2px solid var(--accent-color);
  transition: var(--transition-smooth);
}

.workflow-step-item:hover .workflow-step-badge {
  background-color: var(--accent-color);
  color: #ffffff;
  transform: scale(1.1);
}

.workflow-step-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.workflow-step-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Deliverables Checklist Component */
.deliverables-container {
  margin-top: 30px;
  background-color: #f9fbfd;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  padding: 30px;
}

.deliverables-container h4 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
  border-bottom: 2px solid #eef2f7;
  padding-bottom: 10px;
}

.deliverables-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.deliverables-item {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
}

.deliverables-item i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.deliverables-item strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.deliverables-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
  margin: 0;
}

/* Cookie Consent Banner Styling */
.cookie-banner {
  position: fixed;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 720px;
  background: rgba(11, 21, 34, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
}

.cookie-banner.show {
  bottom: 24px;
  opacity: 1;
}

.cookie-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #d1dbe5;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner-icon {
  font-size: 1.5rem;
  color: #8dc63f;
  margin-top: 2px;
}

.cookie-banner-text a {
  color: #00aeef;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner-text a:hover {
  color: #5cd0ff;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 30px;
  font-family: 'Prompt', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-reject {
  background: transparent;
  color: #b0c0d0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-btn-accept {
  background: #8dc63f;
  color: #0b1522;
  border: none;
}

.cookie-btn-accept:hover {
  background: #a3dc54;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(141, 198, 63, 0.3);
}

@media (max-width: 768px) {
  .cookie-banner {
    width: 92%;
    padding: 18px;
    bottom: -300px;
  }
  
  .cookie-banner.show {
    bottom: 16px;
  }

  .cookie-banner-content {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }
}
/* Partners Grid Cards Layout */
.partners-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.partner-card {
  background: var(--bg-white);
  border: 1px solid rgba(0, 46, 94, 0.1);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 46, 94, 0.08);
  border-color: var(--accent-color);
}

.partner-card-logo-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.partner-card-logo {
  max-height: 70px;
  max-width: 220px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.partner-card:hover .partner-card-logo {
  transform: scale(1.03);
}

.partner-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.partner-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.partner-card h3 a:hover {
  color: var(--accent-color);
}

.partner-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  text-align: justify;
  text-align-last: center;
}
