:root {
    /* Colors */
    --primary-color: #942b71;
    --secondary-color: #156376;
    --secondary-color-default: #090c0c;
    --cta-color: #942b71;
    --background-light: #f9f9f9;
    --text-color: #333;
    --border-color: #e0e0e0;

    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-large: 2rem;
    --font-size-small: 0.9rem;

    /* Spacing */
    --spacing-small: 8px;
    --spacing-medium: 16px;
    --spacing-large: 32px;

    /* Border Radius */
    --border-radius: 10px;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    color: var(--text-color);
    background-color: var(--background-light);
    box-sizing: border-box;
}

/* Prevent horizontal scroll globally */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header css start*/
/* 2. Header Styles */
.main-header {
    background-color: var(--primary-color);
    padding: var(--spacing-small) 0;
    color: white;
    font-family: var(--font-family-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    /* margin: 0 auto; */
    /* Centers the header content */
    padding: 0 var(--spacing-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 90px;
    max-width: 360px;
}

/* 3. Logo Styles */
.logo a {
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-decoration: none;
}

.logo-title {
    color: white;
    font-size: 2.6rem;
    font-weight: bold;
    text-decoration: none;
    margin: 5px;
}

.header-create-cta {
    font-size: 1px;
    background: #fff;
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;

    span {
        font-size: 16px;
    }
}

.header-create-cta:hover {
    background: var(--secondary-color) !important;
    color: #ffff !important;
}

/* 4. Navigation Styles */
.nav {
    display: flex;
    gap: var(--spacing-medium);
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: bold;
    position: relative;
}

/* Hover Animation (Underline) */
.nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* 5. Mobile Menu Toggle */
.menu-toggle {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: white;
    border-radius: 2px;
}

/* 6. Responsive Design (Mobile) */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 60px;
        right: 20px;
        /* Aligned to the right with padding */
        background-color: var(--primary-color);
        flex-direction: column;
        gap: var(--spacing-small);
        padding: var(--spacing-medium);
        display: none;
        /* Toggle handled by JS class 'active' */
        border-radius: var(--border-radius);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        min-width: 200px;
    }

    .nav.active {
        display: flex;
        /* Shown when JS toggles class */
    }

    .menu-toggle {
        display: flex;
        /* Show hamburger on mobile */
    }
}


/* Header css end */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & SEO Styling */
.gallery-header {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--dark);
}

.logo span {
    color: var(--gold);
}

h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Tick Mark Feature List */
.hero-features-list {
    display: flex;
    justify-content: center;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.feature-item {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.feature-item::before {
    content: '✓';
    margin-right: 8px;
    color: var(--gold);
    font-weight: 900;
}

/* SEO Content Section */
.seo-intro {
    text-align: center;
    margin: 40px 0;
}

/* Responsive Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.template-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.template-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.image-holder {
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-holder img {
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 400px;
    width: 300px;
}

.card-content {
    padding: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 1px;
    margin-bottom: 3px;
    p {
        margin-top: -6px;
    }
}

.card-content h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: var(--dark);
}

.cta-button {
    padding: 5px 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
    border: 2px solid var(--primary-color);
    transition: 0.3s;
    width: fit-content;
    color: var(--primary-color);
}

.cta-button:hover {
    color: var(--secondary-color);
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-features-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    h1 {
        font-size: 2rem;
    }
    .template-card {
       border: 2px solid var(--primary-color);
    }
    .template-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-content: center;
        grid-template-columns: auto;
    }
}


/* Security section start */
/* Trust Section Styling */
.trust-section {
  width: 100%;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  border-top: 1px solid #bae6fd;
  padding: 40px 20px;
  margin-top: 50px;
  font-family: 'Noto Sans', sans-serif;
}

.trust-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  /* Stacked on Mobile */
  align-items: center;
  gap: 24px;
  text-align: center;
}

/* Big Icon Styling */
.trust-icon {
  width: 80px;
  height: 80px;
  color: #0284c7;
  flex-shrink: 0;
}

.trust-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0c4a6e;
  margin: 0;
}

.trust-desc {
  font-size: 0.95rem;
  color: #0ea5e9;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

/* The small pill-shaped badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: 12px;
  padding: 6px 16px;
  width: fit-content;
  background-color: #0bae36;
  border: 1px solid #7dd3fc;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #f9fafb;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.1);
}

/* Desktop Styles (Tablets and larger) */
@media (min-width: 768px) {
  .trust-container {
    flex-direction: row;
    /* Side-by-side on Desktop */
    text-align: left;
  }

  .trust-icon {
    width: 100px;
    height: 100px;
  }

  .trust-badge {
    align-self: flex-start;
  }
}



/* Footer css start */
/* Note: Ensure :root variables from the header step are present */

.main-footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 40px var(--spacing-medium);
  /* Replaced large spacing with 40px */
  font-family: var(--font-family-base);
}

.footer-top {
  max-width: 1200px;
  /* margin: 0 auto; */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-medium);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: var(--spacing-medium);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-small);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-medium);
  justify-content: center;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: color 0.3s;
}

.footer-link:hover {
  /* Ensure --secondary-color is defined in your :root */
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  margin-top: var(--spacing-medium);
  font-size: 0.9rem;
  /* Fallback for var(--font-size-small) */
}

/* Desktop Styles */
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-nav {
    justify-content: flex-end;
  }

  .logo-section {
    justify-content: flex-start;
  }
}


/* Footer css end */
