/*
Theme Name: Minimal Elementor Theme
Theme URI: 
Description: A minimal, cache-friendly theme optimized for Elementor
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Author: Your Name
Author URI: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimal-elementor-theme
Tags: elementor, minimal, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@font-face {
  font-family: "Supreme";
  src: url("../fonts/Supreme-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.content-area {
  padding: 2em 0;
}

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

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

/* Header Styles */
.site-header {
  padding: 1rem 0;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
}

.primary-navigation {
  margin-top: 1rem;
}

/* Footer Styles */
.site-footer {
  padding: 1rem 0;
  margin-top: 2rem;
  text-align: center;
}

/* ========================================
   STARTERELEMENTS TYPOGRAPHY
======================================== */

:root {
  --primary: #0078ff;
  --text: #111111;
  --muted: #000000;
  --card: #f7f7f7;

  --h1: 68px;
  --h2: 60px;
  --h3: 26px;
  --h4: 24px;
  --h5: 18px;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.container {
  /* width: min(1240px, 90%); */
  margin: auto;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Supreme", sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0;
}

h1 {
  font-family: "Supreme", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0;
  font-size: var(--h1);
}

h2 {
  font-size: 60px;
  font-weight: 700;
  line-height: 0.9;
}

h3 {
  font-weight: 500 !important;
  font-size: var(--h3);
  line-height: 1.1;
  font-size: 26px;
}

h4 {
  font-size: var(--h4);
  line-height: 1.1;
}

p {
  color: var(--muted);
}

/* ========================================
   HERO
======================================== */

.se-hero {
  padding: 140px 0 90px;
}

.se-hero h1 {
  margin-bottom: 24px;
}

.se-hero h1 span {
  color: var(--primary);
}

.hero-description {
  max-width: 820px;
  margin-bottom: 32px;
}

.hero-btn {
  display: inline-flex;
  font-family: "Supreme", sans-serif;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  padding: 16px 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-note {
  margin-top: 16px;
  font-size: 14px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 100px;
}

.feature-card {
  background: #f7f7f7;
  padding: 28px;

  display: flex;
  flex-direction: column; /* if items are stacked vertically */
  gap: 15px;
  border-radius: 18px;
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  background: #0078ff;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

.feature-card h2 {
  font-size: 24px;
  margin: 18px 0 12px;
}

.feature-card p {
  font-size: 14px;
}

/*=====================================
 BENEFITS
======================================*/

.se-benefits {
  padding: 140px 0;
}

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

.section-header h2 {
  font-family: "Supreme", sans-serif;
  font-size: 60px;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.section-header span {
  color: #0078ff;
}

.section-header p {
  max-width: 520px;
  margin: auto;

  font-size: 15px;
  line-height: 1.2;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.benefit-box {
  background: #f7f7f8;

  border-radius: 16px;

  padding: 34px;

  transition: 0.35s ease;

  border: 1px solid transparent;
}

.benefit-box:hover {
  transform: translateY(-4px);

  border-color: #e7e7e7;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.benefit-box h3 {
  font-size: 26px;

  margin-bottom: 14px;

  color: #111;
}

.benefit-box p {
  font-size: 15px;

  line-height: 1.2;

  margin-bottom: 28px;
}

.benefit-box ul {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px 24px;

  list-style: none;

  padding: 0;

  margin: 0;
}

.benefit-box li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;

  border-radius: 5px;
  padding: 5px 15px;

  font-size: 14px;

  color: #444;

  font-weight: 500;
}

.benefit-box li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #0078ff;
  font-size: 18px;

  width: 18px;
  min-width: 18px;
  height: 18px;

  flex: 0 0 18px;

  line-height: 1;
}

/* MOBILE */

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

  .benefit-box {
    padding: 26px;
  }

  .benefit-box ul {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 42px;
  }
  @media (max-width: 768px) {
    .benefit-box li {
      gap: 10px;
    }

    .benefit-box li {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      max-width: 100%;
      gap: 10px;
    }
  }
}

/* ========================================
   FAQ
======================================== */

/* ==========================
   FAQ SECTION
========================== */
.se-templates {
  padding: 140px 0;
}
.se-faq {
  padding: 140px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
}

.faq-content h2 {
  font-family: "Supreme", sans-serif;
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.faq-content h2 span {
  color: #0078ff;
}

.faq-content p {
  font-size: 14px;
  color: #666;
  max-width: 300px;
  margin-bottom: 25px;
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: #0078ff;
  color: #fff;

  text-decoration: none;

  padding: 12px 18px;

  border-radius: 999px;

  font-size: 18px;
  font-weight: 600;

  transition: 0.3s ease;
}

.faq-btn:hover {
  transform: translateY(-2px);
}

.faq-btn span {
  width: 22px;
  height: 22px;
  background: #fff;
  color: #0078ff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
}

.faq-wrapper {
  width: 100%;
}

.faq-wrapper details {
  background: #f7f7f7;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-wrapper summary {
  cursor: pointer;
  list-style: none;

  padding: 22px 24px;

  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;

  position: relative;
}

.faq-wrapper summary::-webkit-details-marker {
  display: none;
}

.faq-wrapper summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #0078ff;
  font-size: 18px;
  font-weight: 600;
}

.faq-wrapper details[open] summary::after {
  content: "−";
}

.faq-wrapper details p {
  padding: 0 24px 22px;
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* MOBILE */

/* MOBILE */

@media (max-width:768px){

    .faq-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .faq-content h2{
        font-size:42px;
    }

    .faq-content p{
        max-width:100%;
    }

    .faq-wrapper summary{
        padding:18px 48px 18px 18px;
        font-size:16px;
        line-height:1.5;
    }

    .faq-wrapper summary::after{
        right:18px;
        top:20px;
        transform:none;
        font-size:20px;
    }

    .faq-wrapper details p{
        padding:0 18px 18px;
        font-size:15px;
        line-height:1.6;
    }

}

/* ===================================
   BLOG SECTION
=================================== */

.se-blog {
  padding: 140px 0;
}

.blog-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.blog-header h2 {
  font-family: "Supreme", sans-serif;
  font-size: 60px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.blog-header span {
  color: #0078ff;
}

.blog-header p {
  font-size: 14px;
  color: #666;
  max-width: 460px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.blog-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-image {
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: 0.4s ease;
}

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

.blog-content {
  padding: 18px;
}

.blog-content h3 {
  font-family: "Supreme", sans-serif;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #111;
}

.blog-content p {
  font-size: 13px;
  line-height: 1.5;
  color: #777;
  margin: 0;
}

.blog-footer {
  text-align: center;
  margin-top: 40px;
}

.blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: #0078ff;
  color: #fff;

  text-decoration: none;

  padding: 12px 20px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 600;

  letter-spacing: 0.03em;
}

.blog-btn span {
  width: 22px;
  height: 22px;

  background: #fff;
  color: #0078ff;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
}

/* MOBILE */

@media (max-width: 768px) {
  .blog-header h2 {
    font-size: 42px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
  .se-blog {
    padding: 100px 0;
  }
}

/* ==========================
   CTA SECTION
========================== */

.se-cta {
  padding: 120px 0;
}

.cta-box {
  background: #0078ff;

  border-radius: 8px;

  text-align: center;

  padding: 60px 40px;

  max-width: 1200px;

  margin: 0 auto;
}

.cta-box h2 {
  font-family: "Supreme", sans-serif;

  font-size: 60px;

  line-height: 0.9;

  letter-spacing: -0.04em;

  color: #fff;

  margin-bottom: 12px;
}

.cta-box p {
  max-width: 520px;

  margin: 0 auto 24px;

  color: rgba(255, 255, 255, 0.8);

  font-size: 14px;

  line-height: 1.4;
}

.cta-btn {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  background: #ffffff;

  color: #0078ff;

  text-decoration: none;

  padding: 12px 18px;

  border-radius: 999px;

  font-size: 12px;

  font-weight: 600;

  letter-spacing: 0.03em;

  text-transform: uppercase;

  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.cta-btn span {
  width: 22px;
  height: 22px;

  background: #0078ff;
  color: #fff;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
}

/* MOBILE */

@media (max-width: 768px) {
  .cta-box {
    padding: 40px 20px;
  }

  .cta-box h2 {
    font-size: 42px;
  }

  .cta-box p {
    font-size: 13px;
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {
  h1 {
    font-size: 42px;
    line-height: 1em;
  }

  h2 {
    font-size: 38px;
  }
  h3 {
    font-size: 22px;
  }
  p {
    font-size: 14px;
    color: #666;
  }

  .hero-features,
  .benefits-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .se-hero {
    padding: 90px 0 60px;
  }

  .se-templates {
    padding: 100px 0;
  }
  .se-benefits {
    padding: 0px;
  }
}
/* ==================================
   FOOTER
================================== */

.se-footer {
  padding: 80px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 80px;

  padding-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 24px;
}

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

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

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #111;
  text-decoration: none;

  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;

  transition: 0.3s ease;
}

.footer-menu a:hover {
  color: #0078ff;
}

.footer-cta {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-btn {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  background: #0078ff;

  color: #fff;

  text-decoration: none;

  padding: 12px 18px;

  border-radius: 999px;

  font-size: 12px;

  font-weight: 600;

  text-transform: uppercase;
}

.footer-btn span {
  width: 22px;
  height: 22px;

  background: #fff;
  color: #0078ff;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid #ececec;

  padding-top: 20px;

  text-align: center;
}

.footer-bottom p {
  margin: 0;

  font-size: 12px;

  color: #666;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {
  .se-footer {
    padding: 60px 0 20px;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .footer-brand {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

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

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

  .footer-menu a {
    display: block;
  }

  .footer-cta {
    text-align: center;
    align-items: center;
    width: 100%;
  }

  .footer-cta h3 {
    font-size: 24px;
    max-width: 100%;
  }

  .footer-btn {
    margin: 0 auto;
  }

  .footer-bottom {
    text-align: center;
  }
}
/* =========================
   HEADER
========================= */

.se-header {
  padding: 18px 0;

  position: sticky;
  top: 0;
  z-index: 999;

  background: #f7f7f7;
}

.header-inner {
  display: grid;

  grid-template-columns: 1fr auto 1fr;

  align-items: center;
}

.header-nav {
  display: flex;
  gap: 24px;
}

.header-nav a {
  text-decoration: none;

  color: #111;

  font-size: 14px;

  font-family: "IBM Plex Sans", sans-serif;
}

.header-logo {
  justify-self: center;
}

.header-logo img {
  width: 170px;
  height: auto;

  display: block;
}

.header-cta {
  justify-self: end;
}

.header-btn {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  color: #111;

  text-decoration: none;

  font-size: 12px;

  font-weight: 600;

  text-transform: uppercase;
}

.header-btn span {
  width: 20px;
  height: 20px;

  background: #0078ff;

  color: #fff;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 11px;
}

/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
  display: none;

  background: none;

  border: none;

  cursor: pointer;

  padding: 0;
}

.menu-toggle span {
  display: block;

  width: 24px;
  height: 2px;

  background: #111;

  margin: 5px 0;
}

.mobile-menu {
  position: fixed;

  top: 70px;
  left: 0;

  width: 100%;

  background: #fff;

  padding: 30px;

  display: none;

  z-index: 998;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;

  gap: 18px;
}

.mobile-menu nav a {
  text-decoration: none;

  color: #111;

  font-size: 18px;

  font-family: "Supreme", sans-serif;
}

.mobile-btn {
  display: inline-flex;

  margin-top: 25px;

  background: #0078ff;

  color: #fff;

  text-decoration: none;

  padding: 14px 18px;

  border-radius: 999px;
}

@media (max-width: 768px) {
  .desktop-nav,
  .header-cta {
    display: none !important;
  }

  .se-header {
    padding: 14px 0;
  }

  .header-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;
  }

  .header-logo {
    margin: 0;
  }

  .header-logo img {
    /* width: 120px; */
    height: auto;
    display: block;
  }

  .menu-toggle {
    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    width: 28px;
    height: 28px;

    background: none;
    border: none;
    padding: 0;

    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;

    background: #0078ff;

    margin: 2px 0;

    border-radius: 2px;
  }

  .mobile-menu {
    position: fixed;

    top: 60px;
    left: 0;

    width: 100%;

    background: #fff;

    padding: 24px;

    display: none;

    z-index: 9999;
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile-menu nav a {
    font-family: "Supreme", sans-serif;

    font-size: 24px;

    color: #111;

    text-decoration: none;
  }

  .mobile-btn {
    margin-top: 25px;

    display: inline-flex;

    background: #0078ff;

    color: #fff;

    padding: 14px 20px;

    border-radius: 999px;

    text-decoration: none;
  }
}

/* new mobile */
/* Toggle Button */

/* Toggle Button */

/* ==========================
   MOBILE MENU
========================== */

.menu-toggle1 {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  z-index: 1001;
}

.menu-toggle1 span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #0078ff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.menu-toggle1 span:nth-child(1) {
  top: 12px;
}

.menu-toggle1 span:nth-child(2) {
  top: 19px;
}

.menu-toggle1 span:nth-child(3) {
  top: 26px;
}

/* Close Icon */

.menu-toggle1.active span:nth-child(1) {
  top: 19px;
  transform: translateX(-50%) rotate(45deg);
}

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

.menu-toggle1.active span:nth-child(3) {
  top: 19px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ==========================
   DROPDOWN
========================== */

.mobile-menu1 {
  display: none;

  background: #fffbf6;

  width: 100%;

  border-top: 1px solid #ececec;

  padding: 28px 24px 36px;

  box-sizing: border-box;

  text-align: center;
}

.mobile-menu1.active {
  display: block;
}

/* Navigation */

.mobile-nav1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.mobile-nav1 a {
  color: #111;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  transition: 0.25s;
}

.mobile-nav1 a:hover {
  color: #0078ff;
}

/* Button */

.mobile-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  margin-top: 34px;

  background: #0078ff;

  color: #fff;

  text-decoration: none;

  border-radius: 999px;

  padding: 8px 8px 8px 22px;

  font-weight: 600;
}

.mobile-btn::after {
  content: "→";

  width: 30px;
  height: 30px;

  background: #fff;

  color: #111;

  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 16px;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 991px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle1 {
    display: block;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .menu-toggle1,
  .mobile-menu1 {
    display: none !important;
  }
}
/* Mobile */

@media (max-width: 991px) {
  .menu-toggle1 {
    display: block;
  }
}

/* Template archieve*/

.templates-page {
  padding: 80px 0;
}

.container {
  max-width: 1320px;
  margin: auto;
  padding: 0 20px;
}

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

.templates-header h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.templates-header h1 span {
  color: #0078ff;
}

.templates-header p {
  max-width: 620px;
  margin: auto;
}

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

.template-card {
  background: #fff;

  overflow: hidden;
  transition: 0.3s;
}

.template-card:hover {
  transform: translateY(-6px);
}

.template-card a {
  color: inherit;
  text-decoration: none;
}

.template-image img {
  width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.template-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
}

.template-info h3 {
  margin: 0;
  font-size: 18px;
}

.template-price {
  font-weight: 700;
}

.pagination {
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 991px) {
  .templates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .templates-header h1 {
    font-size: 38px;
  }
}

.template-header {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 80px;
  align-items: stretch; /* Make both columns the same height */
}

.template-left {
  display: flex;
  flex-direction: column;
}

.template-title {
  margin: 0;
  font-size: 68px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -2px;
}

body.menu-open {
  overflow: hidden;
}
.template-excerpt {
  margin: 10px 0;
  max-width: 430px;
  font-size: 15px;
  line-height: 1.5;
  color: #666;
}

.template-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.purchase-btn {
  background: #0078ff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.demo-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  /* padding: 40px; */
  text-decoration: none;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  background: #f7f7f7;
}

.demo-circle {
  width: 24px;
  height: 24px;
  border: 1px solid #d7d7d7;
  border-radius: 50%;
  flex-shrink: 0;
}
.last_updt {
  color: #0078ff;
}
/* RIGHT COLUMN */
.template-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Push to bottom */
  align-items: flex-end;
  text-align: right;
}

.template-right span {
  color: #8a8a8a;
  font-size: 13px;
  margin-bottom: 4px;
}

.template-right strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.template-header {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 80px;
  min-height: 180px;
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  background: #f5f5f5;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 767px) {
  .template-gallery {
    gap: 12px;
  }

  .gallery-item {
    border-radius: 10px;
  }
}

.template-details-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 90px;
  margin: 90px 0;
}

.template-details-left {
  min-width: 0;
}

.detail-block {
  margin-bottom: 70px;
}

.detail-block h3 {
  margin-bottom: 18px;
  color: #111;
}

.detail-block p {
  color: #555;
}

.detail-block ul {
  margin: 0;
  padding-left: 18px;
}

.detail-block li {
  margin-bottom: 8px;
  color: #555;
  line-height: 1.8;
}

.template-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.sidebar-block {
  margin-bottom: 45px;
}

.sidebar-block h4 {
  margin-bottom: 16px;
}

.category-pill {
  display: inline-flex;
  padding: 8px 18px;
  background: #0078ff;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.sidebar-block ul {
  margin: 0;
  padding-left: 18px;
}

.sidebar-block li {
  margin-bottom: 8px;
  color: #555;
  line-height: 1.8;
}

@media (max-width: 991px) {
  .template-details-section {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .template-sidebar {
    position: relative;
    top: auto;
  }
}

/* =========================================
   HEADER
========================================= */

.template-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 70px;
}

.template-left {
  flex: 1;
}

.template-right {
  flex-shrink: 0;
  text-align: right;
}

.template-title {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  margin-bottom: 0px;
}

.template-excerpt {
  max-width: 700px;

  line-height: 1.7;
}

.template-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================================
   GALLERY
========================================= */

.template-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 80px 0;
}

.gallery-item {
  border-radius: 18px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  display: block;

  object-fit: cover;
}

/* =========================================
   DETAILS
========================================= */

.template-details-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 80px;
  align-items: start;
  margin: 80px 0 120px;
}

.template-details-left {
  min-width: 0;
}

.detail-block {
  margin-bottom: 60px;
}

.detail-block:last-child {
  margin-bottom: 0;
}

.detail-block h3 {
  margin-bottom: 18px;
}

.detail-block p,
.detail-block li {
  line-height: 1.8;
}

.detail-block ul,
.sidebar-block ul {
  margin: 0;
  padding-left: 20px;
}

.template-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.sidebar-block {
  margin-bottom: 40px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {
  .template-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .template-right {
    text-align: left;
  }

  .template-gallery {
    gap: 18px;
  }

  .template-details-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .template-sidebar {
    position: static;
    order: -1;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .templates-page {
    padding: 80px 0;
  }

  .template-title {
    font-size: 36px;
  }

  .template-excerpt {
    font-size: 15px;
  }

  .template-buttons {
    flex-direction: column;
  }

  .purchase-btn,
  .demo-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .template-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 50px 0;
  }

  .gallery-item {
    border-radius: 12px;
  }

  .template-details-section {
    gap: 40px;
    margin: 50px 0 80px;
  }

  .detail-block {
    margin-bottom: 40px;
  }

  .detail-block h3 {
    font-size: 22px;
  }

  .template-sidebar {
    margin-bottom: 20px;
  }

  .sidebar-block {
    margin-bottom: 28px;
  }
}

/* contact */

.contact-page {
  padding: 120px 20px;
  background: #fff;
}

.contact-page .container {
  max-width: 720px;
  margin: 0 auto;
}

.contact-heading {
  text-align: center;
  margin-bottom: 60px;
}

.contact-heading h1 {
  font-size: 58px;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -2px;
}

.contact-heading h1 span {
  color: #0078ff;
}

.contact-heading p {
  max-width: 520px;
  margin: auto;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.contact-box {
  max-width: 720px;
  margin: auto;
}

.contact-box h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 45px;
  font-weight: 600;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 22px;
}

.form-group {
  flex: 1;
}

.full-width {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 15px 18px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: 0.25s;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b4b4b4;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0078ff;
}

.form-group textarea {
  height: 170px;
  resize: none;
}

.privacy-text {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin: 28px 0;
}

.privacy-text a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

.submit-btn {
  width: 100%;
  border: none;
  background: #0078ff;
  color: #fff;
  height: 54px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: 0.25s;
}

.submit-btn:hover {
  background: #0066e0;
}

.submit-btn span {
  margin-left: 10px;
  font-size: 16px;
}

.success-message {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
}

.error-message {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-page {
    padding: 80px 20px;
  }

  .contact-heading h1 {
    font-size: 42px;
  }

  .contact-box h3 {
    font-size: 18px;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }
}
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 11px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
  line-height: 1;
}

.form-group input {
  width: 100%;
  height: 46px;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 13px;
  color: #111;
  background: #fff;
  transition: 0.25s;
  box-sizing: border-box;
}

.form-group textarea {
  width: 100%;
  height: 118px;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: #111;
  resize: none;
  background: #fff;
  transition: 0.25s;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b9b9b9;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0078ff;
}

.privacy {
  margin: 10px 0 22px;
  font-size: 11px;
  color: #8a8a8a;
  line-height: 1.2;
}

.privacy a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

.submit-button {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: #0078ff;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: 0.25s;
}

.submit-button:hover {
  background: #0068e5;
}

.submit-button svg {
  width: 13px;
  height: 13px;
}

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

  .contact-form {
    max-width: 100%;
  }
}

.contact-form-wrapper {
  margin-top: 55px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-wrapper h2 {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 38px;
}

.contact-form select {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #ececec;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-family: inherit;
  color: #666;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.contact-form select:focus {
  outline: none;
  border-color: #0078ff;
}

.resources-page {
  padding: 120px 0;
}

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

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

.resource-card {
  overflow: hidden;
}

.resource-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.resource-image {
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 22px;
}

.resource-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: 0.35s;
}

.resource-card:hover img {
  transform: scale(1.03);
}

.resource-content h3 {
  margin-bottom: 0px;
}

.resource-content p {
  opacity: 0.7;
  line-height: 1.7;
}

.pagination {
  margin-top: 70px;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 10px 16px;
  border: 1px solid #ddd;
  text-decoration: none;
  border-radius: 6px;
}

.pagination .current {
  background: #111;
  color: #fff;
}

@media (max-width: 768px) {
  .resources-page {
    padding: 80px 0;
  }

  .resources-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .resources-header {
    margin-bottom: 50px;
  }
}

.single-resource {
  padding: 120px 0;
}

.resource-article {
  margin: 0 auto;
}

.resource-header {
  margin-bottom: 48px;
}

.resource-date {
  display: inline-block;
  margin-bottom: 14px;
  color: #0078ff;
  font-size: 14px;
}

.resource-header h1 {
  margin-bottom: 20px;
}

.resource-excerpt {
  max-width: 760px;
}

.resource-image {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 10px;
}

.resource-image img {
  width: 100%;
  height: auto;
  display: block;
}

.resource-content {
  width: 100%;
}

.resource-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
}

.resource-content ul,
.resource-content ol {
  margin: 24px 0;
  padding-left: 24px;
}

.resource-content li {
  margin-bottom: 10px;
}

.resource-content blockquote {
  margin: 40px 0;
  padding-left: 24px;
  border-left: 4px solid #0078ff;
}

.resource-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.resource-content table th,
.resource-content table td {
  border: 1px solid #e5e5e5;
  padding: 14px;
}

.resource-content iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
}

.resource-content pre {
  overflow: auto;
}

@media (max-width: 768px) {
  .single-resource {
    padding: 70px 0;
  }

  .resource-article {
    max-width: 100%;
  }

  .resource-header {
    margin-bottom: 28px;
  }

  .resource-date {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .resource-header h1 {
    margin-bottom: 16px;
    line-height: 1.15;
  }

  .resource-excerpt {
    max-width: 100%;
  }

  .resource-image {
    margin-bottom: 32px;
    border-radius: 12px;
  }

  .resource-content > * {
    margin-bottom: 0px;
  }

  .resource-content img,
  .resource-content figure {
    margin: 10px 0;
  }
  .resource-content h2 {
    font-size: 32px;
  }
  .resource-content ul,
  .resource-content ol {
    padding-left: 20px;
    margin: 20px 0;
  }

  .resource-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .resource-content iframe {
    border-radius: 10px;
  }

  .resource-content pre {
    overflow-x: auto;
    padding: 16px;
    font-size: 14px;
  }

  .more-resources {
    margin-top: 70px;
  }

  .more-resources-header {
    margin-bottom: 36px;
    max-width: 100%;
  }

  .more-resources .resources-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .more-resources .resource-image {
    margin-bottom: 16px;
    border-radius: 12px;
  }
}

.resource-content > * {
  margin-bottom: 2px;
}

.resource-content h2,
.resource-content h3,
.resource-content h4,
.resource-content h5,
.resource-content h6 {
  margin-top: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.resource-content h2 {
  font-size: 32px;
}

.resource-content p {
  margin-bottom: 22px;
}
.more-resources {
  margin-top: 120px;
}

.more-resources-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.more-resources-header h2 {
  margin-bottom: 14px;
}

.more-resources-header p {
  opacity: 0.7;
}
.resource-article {
  margin: 0 auto;
}

.more-resources .resources-grid {
  margin: 0 auto;
}
.more-resources .resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.more-resources .resource-card {
  overflow: hidden;
}

.more-resources .resource-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.more-resources .resource-image {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}

.more-resources .resource-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: 0.35s;
}

.more-resources .resource-card:hover img {
  transform: scale(1.04);
}

.more-resources .resource-content h3 {
  margin-bottom: 10px;
}

.more-resources .resource-content p {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .more-resources {
    margin-top: 80px;
  }

  .more-resources .resources-grid {
    grid-template-columns: 1fr;
  }
}

.templates-section {
  padding: 80px 0;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.template-card {
  background: #fffbf6;
  border-radius: 24px;
  overflow: hidden;
  transition: 0.35s ease;
}

.template-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.template-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.template-image {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.template-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.45s ease;
}

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

.template-content {
  padding: 28px;
}

.template-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.template-meta h3 {
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
  font-weight: 600;
}

.template-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s ease;
}

.template-card:hover .template-button {
  transform: translateX(6px);
}

@media (max-width: 991px) {
  .templates-grid {
    gap: 24px;
  }

  .template-meta h3 {
    font-size: 22px;
  }
}

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

  .template-content {
    padding: 20px;
  }

  .template-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.cta-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0;
}
