:root {
  --primary-color: #0165f6;
  --secondary-color: #182844;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #6b7280;
  --background-light: #ffffff;
  --background-dark: #0a0f1e;
  --grey-bg: #e5e7eb;
  --accent-gradient: linear-gradient(135deg, var(--primary-color), #0052cc);

  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  font-weight: 400;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  margin: 0;
  background-color: var(--background-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo a:hover {
  opacity: 0.8;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* NAVIGATION MENU */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
}

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

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 1rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  z-index: 100;
}



.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  font-weight: 400;
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(1, 101, 246, 0.1);
  color: var(--primary-color);
}

/* CTA BUTTON */
.cta-btn {
  background: var(--primary-color);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.2s ease;
  display: inline-block;
}

.cta-btn:hover {
  background: #0052cc;
  transform: translateY(-1px);
}

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hide mobile CTA on desktop */
.mobile-cta {
  display: none;
}

/* MOBILE STYLES */
@media (max-width: 992px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }

  .logo-img {
    height: 28px;
  }

  /* Show hamburger */
  .mobile-menu-toggle {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  /* Mobile menu container */
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }

  .nav-menu > li > a {
    display: block;
    padding: 1rem 0;
    font-weight: 600;
    font-size: 1rem;
  }

  /* MOBILE DROPDOWN */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(1, 101, 246, 0.03);
    padding: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
  }

  .dropdown-menu li {
    padding-left: 1rem;
    border-bottom: none;
  }

  .dropdown-menu a {
    padding: 0.7rem 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-gray);
  }

  .dropdown-menu a:hover {
    background: transparent;
    color: var(--primary-color);
  }



  /* Mobile CTA */
  .mobile-cta {
    display: block;
    margin-top: 1rem;
    border-bottom: none;
  }

  .mobile-cta .cta-btn {
    color:#fff;
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    display: block;
  }
}

/* DESKTOP DROPDOWN (hover only on desktop) */
@media (min-width: 993px) {
  .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .nav-container {
    padding: 0.875rem 1rem;
  }

  .logo-img {
    height: 26px;
  }

  .nav-menu {
    top: 55px;
    max-height: calc(100vh - 55px);
  }
}

.blog-hero {
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(1, 101, 246, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

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

.hero-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(1, 101, 246, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.blog-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.blog-hero p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.blog-section {
  padding: 5rem 0;
  background: var(--background-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.blog-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.blog-card.featured .blog-image {
  height: 100%;
  min-height: 400px;
}

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

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

.blog-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card.featured .blog-content {
  padding: 3rem;
  justify-content: center;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-category {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(1, 101, 246, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.blog-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.blog-card.featured .blog-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.blog-content p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.read-time {
  font-size: 0.875rem;
  color: var(--text-gray);
}

.blog-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-link:hover {
  gap: 0.75rem;
}



/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(1, 101, 246, 0.06),
    rgba(99, 102, 241, 0.04)
  );
  padding: 64px 0;
}

.cta-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
  margin-bottom: 40px;
}

.cta-container h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
}

.cta-container p {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* CTA Buttons */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-primary {
  background: var(--primary-color);
  color: #fff;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(1, 101, 246, 0.35);
}

.cta-secondary {
  border: 2px solid rgba(1, 101, 246, 0.25);
  color: var(--primary-color);
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  background: rgba(1, 101, 246, 0.08);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .cta-section {
    padding: 70px 20px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 320px;
    margin: auto;
  }
}






.footer {
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

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

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

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  
  flex-direction: column;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--text-light);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}
.footer-description {
  max-width: 360px;
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-primary);
  transform: translateY(-3px);
}


@media (max-width: 1024px) {
  .blog-card.featured {
    grid-template-columns: 1fr;
  }

  .blog-card.featured .blog-image {
    min-height: 300px;
  }

  .blog-hero h1 {
    font-size: 2.5rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 0.5rem;
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .blog-hero {
    padding: 8rem 0 4rem;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }

  .blog-hero p {
    font-size: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-card.featured {
    grid-column: 1;
  }

  .blog-content h2 {
    font-size: 1.25rem;
  }

  .blog-card.featured .blog-content h2 {
    font-size: 1.5rem;
  }

  .blog-newsletter {
    padding: 3rem 2rem;
  }

  .newsletter-content h3 {
    font-size: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .blog-hero h1 {
    font-size: 1.75rem;
  }

  .blog-newsletter {
    padding: 2rem 1.5rem;
  }

  .newsletter-content h3 {
    font-size: 1.25rem;
  }

  .newsletter-content p {
    font-size: 0.9375rem;
  }
}

    .popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.popup-modal {
  background: #fff;
  width: 100%;
  max-width: 720px;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  border: none;
  background: none;
  cursor: pointer;
}

.popup-title {
  margin-bottom: 20px;
  text-align: center;
}

/* Form layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.full-width {
  grid-column: span 2;
}

input, select, textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button[type="submit"] {
  margin-top: 16px;
  width: 100%;
  padding: 12px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
}

.footer-newsletter {
  margin-top: 20px;
}

.newsletter-title {
  color: #fff !important;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  max-width: 320px;
  margin-bottom: 20px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px;
  color: #333;
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #777;
}

.newsletter-btn {
  background: #0165f6 !important;
  border: none;
  width: 20% !important;
  border-radius: 6px;
  color: #111;
  font-size: 14px;
  height: 38px;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 0px !important;
}

.newsletter-btn:hover {
  background: #bbcbe2;
}

.success-state {
  display: none;
  color: #0165f6;
  margin-top: 15px;
  font-size: 14px;
}