/* Core Variables */
:root {
  --primary: #1e285a; /* Slightly deeper, more professional blue */
  --primary-light: #2d3b7d;
  --primary-dark: #0f1532;
  --accent: #d35400; /* Richer, more vibrant orange/rust */
  --accent-hover: #e67e22;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --text-main: #1f2937;
  --text-muted: #64748b;
  --white: #ffffff;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --glass: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

section {
  scroll-margin-top: 100px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
  scroll-margin-top: 100px;
}

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

/* Typography */
h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(211, 84, 0, 0.4);
}

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

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

.btn-large {
  padding: 18px 45px;
  font-size: 1.15rem;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  padding: 10px 0;
}

.header.scrolled {
  padding: 5px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo img {
  height: 50px;
  width: auto;
  border-radius: 8px; /* Optional for rounded logo */
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list a {
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset for header */
  background: linear-gradient(135deg, rgba(15, 21, 50, 0.92) 0%, rgba(26, 34, 74, 0.8) 50%, rgba(211, 84, 0, 0.3) 100%),
              url('images/Hero%20image.jpg') center/cover no-repeat fixed;
  color: var(--white);
  overflow: hidden;
}

.page-hero {
  position: relative;
  padding: 140px 0 80px;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 21, 50, 0.96) 0%, rgba(26, 34, 74, 0.95) 100%);
  color: var(--white);
}

.page-hero .hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.page-hero .hero-breadcrumb a {
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-hero > p {
  max-width: 720px;
  opacity: 0.9;
  color: rgba(255,255,255,0.92);
  font-size: 1.15rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Optional: Background pattern or faint overlay */
  background-image: radial-gradient(circle at 80% 20%, rgba(201, 75, 35, 0.15) 0%, transparent 40%),
                    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--white);
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.scroll-indicator span {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 767px) {
  .scroll-indicator {
    bottom: 20px;
  }
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--white);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 2s ease-out infinite;
}

@keyframes scrollMouse {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

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

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

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

.about-features {
  margin-top: 30px;
}

.about-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary);
}

.about-features i {
  color: var(--accent);
}

.about-image {
  position: relative;
  min-height: 400px;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-about-img {
  width: 80%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  border: 4px solid var(--white);
}

.sub-about-img {
  width: 60%;
  position: absolute;
  bottom: -40px;
  right: -20px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  border: 4px solid var(--white);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background-color: var(--bg-light);
}

.placeholder-img {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.service-content {
  padding: 0 30px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  margin-top: -30px;
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

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

.service-card p {
  color: var(--text-muted);
}

/* Gallery Marquee */
.overflow-hidden {
  overflow: hidden;
}

.gallery-track-container {
  width: 100%;
  margin-top: 20px;
  padding-bottom: 40px;
}

.gallery-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollGallery 35s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-track img {
  height: 320px;
  width: 450px;
  max-width: 80vw;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.gallery-track img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.1);
}

@keyframes scrollGallery {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 15px)); }
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--accent) 0%, #a13615 100%);
  color: var(--white);
  text-align: center;
  position: relative;
}

.cta h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background-color: var(--white);
  color: var(--accent);
}

.cta .btn-primary:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}

/* Footer */
.footer {
  background: radial-gradient(circle at 50% 0%, var(--primary-light) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding-top: 100px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}

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

.footer-logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-5px) rotate(8deg);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(211, 84, 0, 0.3);
}

.footer h3 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  padding-bottom: 10px;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

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

.footer-links ul a {
  color: rgba(255,255,255,0.6);
  display: inline-block;
  transition: var(--transition-fast);
}

.footer-links ul a:hover {
  color: var(--white);
  transform: translateX(8px);
}

.footer-links ul a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 8px;
  color: var(--accent);
  opacity: 0;
  transition: var(--transition-fast);
}

.footer-links ul a:hover::before {
  opacity: 1;
}

.footer-contact ul li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
}

.footer-contact i {
  color: var(--accent);
  margin-top: 5px;
}

.footer-newsletter p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  outline: none;
  font-size: 16px; /* Crucial: Prevents iOS auto-zoom on focus */
  color: var(--white);
  transition: var(--transition-fast);
}

.newsletter-form input:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
}

/* Fix browser autocomplete yellow background */
.newsletter-form input:-webkit-autofill,
.newsletter-form input:-webkit-autofill:hover, 
.newsletter-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  -webkit-box-shadow: 0 0 0px 1000px #212853 inset; /* Matches footer background */
  transition: background-color 5000s ease-in-out 0s;
}

.newsletter-form button {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  padding: 0 25px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.newsletter-form button:hover {
  background-color: var(--accent-hover);
  padding-left: 30px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 30px 0;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-info-panel {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 50px 40px;
}

.contact-info-panel h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info-panel > p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.method-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.method-item i {
  font-size: 1.5rem;
  color: var(--accent);
  background: rgba(255,255,255,0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-item h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.method-item p, .method-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.method-item a:hover {
  color: var(--accent);
}

.contact-form-panel {
  padding: 50px 40px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.row-item {
  flex: 1;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--text-main);
  transition: var(--transition-fast);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(211, 84, 0, 0.1);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

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

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpAnim 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUpAnim {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Specific reveal variants */
.reveal.fade-left { transform: translateX(-40px); }
.reveal.fade-right { transform: translateX(40px); }
.reveal.scale-up { transform: scale(0.9); }

.reveal.active.fade-left,
.reveal.active.fade-right { transform: translateX(0); }
.reveal.active.scale-up { transform: scale(1); }

/* Button Ripple */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  animation: rippleAnim 0.6s linear;
}

@keyframes rippleAnim {
  0% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }
  100% {
    width: 500px;
    height: 500px;
    opacity: 0;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 99;
}

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

.back-to-top:hover {
  background-color: var(--primary);
  transform: translateY(-5px);
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-hover));
  z-index: 1001;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Custom Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  transform: translateY(30px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-icon {
  font-size: 4rem;
  color: #2ecc71;
  margin-bottom: 20px;
}

.modal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

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

.trust-grid,
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 40px;
}

.trust-card,
.credential-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 21, 90, 0.06);
  transition: var(--transition-fast);
}

.trust-card:hover,
.credential-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.trust-card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(211, 84, 0, 0.14);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.trust-card h3,
.credential-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  color: var(--primary);
}

.trust-card p,
.credential-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .trust-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== REBRANDING TOAST ===== */
.rebrand-toast {
  position: fixed;
  bottom: 30px;
  right: -500px;
  width: 380px;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  z-index: 10000;
  transition: right 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), 
              bottom 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 0.5s ease;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Subtle glowing accent overlay inside the toast */
.rebrand-toast::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(211,84,0,0.15) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  animation: slowPulse 6s infinite alternate;
}

@keyframes slowPulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 1; }
}

.rebrand-toast.show {
  right: 30px;
  opacity: 1;
  pointer-events: auto;
}

.toast-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.toast-badge {
  background: linear-gradient(135deg, #d35400, #ff8c00);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.4);
}

.toast-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(5px);
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent);
  transform: rotate(90deg) scale(1.1);
}

.toast-body {
  text-align: left;
  position: relative;
  z-index: 1;
}

.toast-old-name {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  margin-bottom: 8px;
  display: block;
}

.toast-new-name {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.toast-new-name i {
  color: #4ade80;
  font-size: 1.2rem;
  margin-right: 5px;
  filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.5));
}

.toast-tagline {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.5;
  display: block;
}

.toast-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--accent), #e67e22);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition-smooth);
  text-align: center;
  box-shadow: 0 8px 20px rgba(211, 84, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.toast-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(211, 84, 0, 0.5);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .rebrand-toast {
    width: 90%;
    right: 5%;
    bottom: -500px;
    left: 5%;
  }
  .rebrand-toast.show {
    bottom: 30px;
    right: auto;
  }
}
