/* Base Styles and Variables */
:root {
    /* Colors */
    --color-background: #FFFFFF;
    --color-foreground: #000000;
    --color-primary: #FF5F00;  /* Bright orange from logo */
    --color-primary-light: rgba(255, 95, 0, 0.1);
    --color-primary-dark: #E65600;  /* Darker orange */
    --color-fabric-cream: #FFF9F5;  /* Very light orange tint */
    --color-fabric-linen: #FFF4EB;  /* Light orange tint */
    --color-fabric-silk: #FFE4D3;   /* Soft orange */
    --color-fabric-needle: #333333;  /* Dark gray */
    --color-fabric-button: #666666;  /* Medium gray */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-muted: #666666;
    --color-light-gray: #F8F8F8;
    --color-border: #EEEEEE;
  
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
    
    /* Border Radius */
    --radius-small: 0.25rem;
    --radius-medium: 0.5rem;
    --radius-large: 1rem;
    --radius-full: 999px;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05);

    /* General Styles */
    --primary-color: #FF5F00;
    --primary-dark: #E65600;
    --secondary-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #6c757d;
    --border-radius: 8px;
}
  
  /* Reset */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--color-primary-dark);
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
  }
  
  ul {
    list-style: none;
  }
  
  /* Container */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 12px 25px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    color: var(--color-white);
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
  }
  
  .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
  }
  
  .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--color-white);
  }
  
  /* Navigation */
  .navbar {
    background-color: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    display: block;
  }
  
  .nav-links ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover, 
  .nav-links a.active {
    color: var(--primary-color);
  }
  
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }
  
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Mobile Menu Styles */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 999;
    transition: all 0.3s ease;
  }
  
  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-menu li {
    margin-bottom: 15px;
  }
  
  .mobile-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 5px 0;
  }
  
  .mobile-menu a.active {
    color: var(--primary-color);
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(to bottom, var(--color-fabric-cream), var(--color-background));
    overflow: hidden;
  }
  
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-text h1 span {
    color: var(--color-primary);
  }
  
  .hero-text p {
    font-size: 1.125rem;
    color: var(--color-muted);
    margin-bottom: var(--spacing-xl);
  }
  
  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
  }
  
  .hero-image {
    position: relative;
  }
  
  .image-container {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-lg);
    background-color: var(--color-fabric-linen);
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .stat-card {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-md);
  }
  
  .stat-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
  }
  
  .stat-desc {
    font-size: 0.875rem;
    color: var(--color-muted);
  }
  
  .hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
  }
  
  .hero-decoration-1 {
    top: 25%;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: var(--color-primary);
    filter: blur(40px);
  }
  
  .hero-decoration-2 {
    bottom: 33%;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: var(--color-primary);
    filter: blur(50px);
  }
  
  /* Features Section */
  .features {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-white);
  }
  
  .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
  }
  
  .section-header h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
  }
  
  .stitch-border {
    position: relative;
    padding-bottom: var(--spacing-sm);
  }
  
  .stitch-border::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 2px dashed var(--color-primary);
  }
  
  .section-header p {
    color: var(--color-muted);
    font-size: 1.125rem;
    margin-top: var(--spacing-md);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
  }
  
  .feature-card {
    background-color: rgba(243, 234, 211, 0.5);
    padding: var(--spacing-lg);
    border-radius: var(--radius-medium);
    text-align: center;
    transition: box-shadow 0.3s ease;
  }
  
  .feature-card:hover {
    box-shadow: var(--shadow-md);
  }
  
  .feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .feature-card p {
    color: var(--color-muted);
  }
  
  /* About Section */
  .about {
    padding: var(--spacing-3xl) 0;
    background-color: rgba(248, 244, 227, 0.5);
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-text h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
  }
  
  .about-text p {
    color: var(--color-muted);
    margin-bottom: var(--spacing-md);
  }
  
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
  }
  
  .stat-box {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-medium);
    text-align: center;
  }
  
  .stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
  }
  
  .stat-label {
    font-size: 0.875rem;
    color: var(--color-muted);
  }
  
  .about-image {
    position: relative;
    order: 1;
  }
  
  .image-wrapper {
    aspect-ratio: 1/1;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  
  .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .about-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
  }
  
  .about-decoration-1 {
    bottom: -32px;
    right: -32px;
    width: 200px;
    height: 200px;
    background-color: rgba(155, 135, 245, 0.1);
  }
  
  .about-decoration-2 {
    top: -32px;
    left: -32px;
    width: 150px;
    height: 150px;
    background-color: rgba(155, 135, 245, 0.05);
  }
  
  /* CTA Section */
  .cta {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(to right, rgba(155, 135, 245, 0.2), rgba(155, 135, 245, 0.05));
    text-align: center;
  }
  
  .cta h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
  }
  
  .cta p {
    color: var(--color-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
  }
  
  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
  }
  
  /* Certificate Validation Page */
  .certificate-section {
    padding: var(--spacing-3xl) 0;
    min-height: 70vh;
  }
  
  .certificate-form-container {
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-md);
  }
  
  .certificate-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .form-group label {
    font-weight: 500;
  }
  
  .form-group input {
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    font-family: var(--font-sans);
    font-size: 1rem;
  }
  
  .form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(155, 135, 245, 0.2);
  }
  
  .validation-result {
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
    padding: var(--spacing-lg);
    border-radius: var(--radius-medium);
    display: none;
  }
  
  .validation-result.valid {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
  }
  
  .validation-result.invalid {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
  }
  
  .certificate-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  
  .certificate-info h3 {
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
  }
  
  .certificate-info p {
    color: var(--color-muted);
    margin-bottom: var(--spacing-md);
  }
  
  /* Footer */
  .footer {
    background-color: #f8f9fa;
    padding: 60px 0 30px;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-branding {
    flex: 1;
    min-width: 250px;
  }
  
  .footer-branding p {
    margin: 15px 0;
    color: var(--text-light);
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #eaecf0;
    border-radius: 50%;
    color: var(--text-dark);
    transition: all 0.3s;
  }
  
  .social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--color-white);
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    flex: 2;
  }
  
  .footer-column {
    flex: 1;
    min-width: 160px;
  }
  
  .footer-column h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-column li {
    margin-bottom: 10px;
  }
  
  .footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-column a:hover {
    color: var(--primary-color);
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
  }
  
  .footer-bottom p {
    margin: 0;
    color: var(--text-light);
  }
  
  .footer-legal {
    display: flex;
    gap: 20px;
  }
  
  .footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-legal a:hover {
    color: var(--primary-color);
  }
  
  /* Responsive Styles */
  @media (max-width: 1024px) {
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
    
    .menu-toggle {
      display: block;
    }
    
    .mobile-menu {
      display: block;
    }
    
    .hero-content,
    .about-content {
      grid-template-columns: 1fr;
      gap: var(--spacing-xl);
    }
    
    .about-text,
    .about-image {
      order: 0;
    }
    
    .footer-content {
      flex-direction: column;
      gap: 30px;
    }
    
    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
  }
  
  @media (max-width: 640px) {
    .features-grid {
      grid-template-columns: 1fr;
    }
    
    .stats-grid {
      grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
      font-size: 2rem;
    }
    
    .section-header h2,
    .about-text h2,
    .cta h2 {
      font-size: 1.75rem;
    }
    
    .footer-links {
      grid-template-columns: 1fr;
    }
  }

  .process {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(to bottom right, var(--color-fabric-cream), var(--color-white));
  }
  
  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
    position: relative;
  }
  
  .process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      var(--color-primary) 0,
      var(--color-primary) 8px,
      transparent 8px,
      transparent 16px
    );
    z-index: 0;
  }
  
  .process-step {
    text-align: center;
    position: relative;
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  
  .step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    position: relative;
    z-index: 1;
  }
  
  .step-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .step-number {
    font-family: var(--font-serif);
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
  }
  
  .step-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-foreground);
  }
  
  .step-content p {
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.5;
  }
  
  @media (max-width: 1024px) {
    .process-steps {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps::before {
      display: none;
    }
  }
  
  @media (max-width: 640px) {
    .process-steps {
      grid-template-columns: 1fr;
    }
  }
  
  