:root {
  --primary: #0866ff;
  --bg: #ffffff;
  --text: #1c1e21;
  --muted: #606770;
  --light: #f5f6f7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  line-height: 1.6;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid #eee;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 12px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-weight: 700;
  font-size: 20px;
  transition: var(--transition);
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* CONTAINERS */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.header {
  background: var(--bg);
  border-bottom: 1px solid #e4e6eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--primary);
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 150px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

/* Hero slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.hero-slider-track img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  border: 1px solid white;
  color: white;
}

.btn-primary:hover {
  background: #0053cc;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
}

/* TOOLS SECTION */
.tools-section {
  padding: 80px 0;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.tool-card {
  background: var(--light);
  border-radius: 12px;
  padding: 20px;
  transition: 0.3s;
}

.tool-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.tool-card:hover {
  transform: translateY(-5px);
}

/* UPDATES */
.updates-section {
  background: var(--light);
  padding: 80px 0;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.update-card {
  background: white;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  padding: 15px;
  transition: box-shadow 0.3s;
}

.update-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.update-card img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

.date {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #f5f5f7;
  color: var(--muted);
  padding: 40px 20px 20px;
  border-top: 1px solid #fce5e5;
  font-size: 14px;
  line-height: 1.6;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.footer-col {
  min-width: 0;
}

.footer-heading {
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  font-size: 13px;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  font-size: 13px;
  transition: var(--transition);
}

.footer-link:hover,
.footer-link:focus {
  text-decoration: underline;
  color: var(--accent);
  transform: translateX(4px);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-extra {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid #eee;
  padding-top: 14px;
  padding-bottom: 28px;
  margin-top: 8px;
  background: transparent;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.footer-bottom .country {
  font-weight: 600;
  color: #111;
  font-size: 13px;
}

.footer-bottom .legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom .sep {
  color: var(--muted);
  margin: 0 6px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-col li {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .site-header {
    padding: 12px 16px;
  }
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom .legal {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 28px;
  }
  .site-header {
    padding: 12px 16px;
  }
  .nav a {
    margin-left: 12px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .update-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ALTERNATING SECTIONS */
.alt-section {
  padding: 100px 0;
  background: var(--bg);
}

.alt-section:nth-child(even) {
  background: var(--light);
}

.alt-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.alt-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.alt-text {
  flex: 1;
  min-width: 300px;
}

.alt-text h1 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.alt-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cta-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-link:hover {
  color: #004bcc;
  text-decoration: underline;
}

.alt-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  overflow: hidden;
  object-fit: contain;
}

.alt-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.alt-image img:hover {
  transform: scale(1.03);
}

/* REVERSE LAYOUT */
.reverse .alt-content {
  flex-direction: row-reverse;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .alt-text h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .alt-content {
    flex-direction: column !important;
    text-align: center;
  }

  .alt-image {
    order: -1;
  }

  .alt-text h1 {
    font-size: 1.6rem;
  }

  .alt-text p {
    font-size: 1rem;
  }

  .alt-image img {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .alt-text h1 {
    font-size: 1.4rem;
  }
  .alt-image img {
    max-width: 100%;
  }
}

/* IMAGE ROTATION EFFECTS */
.rotating-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: opacity 0.5s ease-in-out, transform 0.4s ease;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
}

.rotating-image:hover {
  transform: scale(1.03);
}

/* Slider Container */
.slider-container {
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-track img {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 16px;
}

.slider-container:hover .slider-track img {
  transform: scale(1.03);
}
/* ===== Separate Extra Slider ===== */
/* ===== Separate Extra Slider Section ===== */
.extra-slider-section {
  padding: 80px 0;
  background: var(--light);
  display: flex;
  justify-content: center;
  align-items: center;
}

.extra-slider-content {
  width: 90%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* ----- Left Text ----- */
.extra-slider-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
  padding-right: 20px;
}

.extra-slider-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
}

.extra-slider-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.learn-more-btn {
  display: inline-block;
  background: #0078ff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.learn-more-btn:hover {
  background: #005fcc;
}

/* ----- Right Image Slider ----- */
.extra-slider-container {
  flex: 1.2;
  min-width: 300px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.extra-slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.extra-slider-track img {
  width: 120%;
  flex-shrink: 0;
  object-fit: cover;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  align-self: center;
}

/* ----- Responsive Design ----- */
@media (max-width: 900px) {
  .extra-slider-content {
    flex-direction: column;
    text-align: center;
  }

  .extra-slider-text {
    padding-right: 0;
    text-align: center;
  }

  .extra-slider-container {
    width: 100%;
  }

  .extra-slider-text h2 {
    font-size: 1.8rem;
  }

  .extra-slider-text p {
    font-size: 1rem;
  }
}
