:root {
  --theme-primary-color: #2D5A3D;
  --theme-secondary-color: #1E3D2A;
  --theme-white: #ffffff;
  --theme-background-color: #F5F9F5;
  --theme-background-light: #f8f9fa;
  --theme-background-medium: #E8F5E8;
  --theme-text-color: #3C3C3C;
  --theme-text-dark: #1A1A1A;
  --theme-text-medium: #6B6B6B;
  --theme-text-light: #8A8A8A;
  --theme-font-family: Poppins, sans-serif;
  --theme-heading-font-family: Nunito, sans-serif;
}

/* Base CSS */
/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&family=Nunito:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Custom Properties (Variables) - Integrated with Theme Config */
:root {
  /* Theme Colors - These will be overridden by Theme config */
  --white-color: #ffffff;
  --primary-color: var(--theme-primary-color, #1e3d78);
  --secondary-color: var(--theme-secondary-color, #3D405B);
  --background-color: var(--theme-background-color, #F4F1DE);
  --section-bg-color: var(--theme-background-color, #F4F1DE);
  --custom-btn-bg-color: #F2CC8F;
  --custom-btn-bg-hover-color: #E07A5F;
  --dark-color: #000000;
  --p-color: #717275;
  --link-hover-color: #F2CC8F;

  /* Text colors from theme */
  --text-dark: var(--theme-text-dark, #1A1A1A);
  --text-medium: var(--theme-text-medium, #6B6B6B);
  --text-light: var(--theme-text-light, #8A8A8A);

  /* Button and border colors */
  --primary-dark: #1E3D2A;
  --border-color: #e5e5e5;
  --error-color: #dc2626;
  --surface-color: #f9f9f9;
  --phone-frame-color: #1a1a1a;
  --phone-frame-highlight: #2a2a2a;
  --primary-color-light: rgba(45, 90, 61, 0.1);

  /* Typography */
  --body-font-family: 'DM Sans', sans-serif;
  --font-family: var(--body-font-family);
  --heading-font-family: var(--body-font-family);

  /* Font Sizes */
  --h1-font-size: 42px;
  --h2-font-size: 36px;
  --h3-font-size: 28px;
  --h4-font-size: 24px;
  --h5-font-size: 22px;
  --h6-font-size: 20px;
  --p-font-size: 18px;
  --menu-font-size: 16px;
  --btn-font-size: 14px;
  --copyright-font-size: 12px;

  /* Border Radius */
  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  /* Text Color */
  --text-color: var(--dark-color);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family, sans-serif);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--background-color, #fff);
  color: var(--text-color, #333);
  font-family: var(--body-font-family);
}

/* Typography */
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font-family, var(--font-family, sans-serif));
  font-weight: var(--font-weight-medium);
  letter-spacing: -1px;
  line-height: 1.2;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  overflow-wrap: break-word;
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

/* Global Section Styles */
.section-bg {
  background-color: var(--section-bg-color);
}

.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-overlay {
  content: "";
  background: rgba(0, 0, 0, 0) linear-gradient(rgba(39, 48, 83, 0.01) 0%, rgb(39, 48, 83) 100%) repeat scroll 0% 0%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

::selection {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Global Button Styles */
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-group .link {
  color: var(--white-color);
  font-weight: var(--font-weight-medium);
}

.custom-btn-group .link:hover {
  color: var(--link-hover-color);
}

/* Global Form Styles */
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  border-width: 2px;
  box-shadow: none;
  color: var(--p-color);
  margin-bottom: 20px;
  padding: 10px;
  padding-left: 20px;
  outline: none;
}

.custom-form .form-control:focus,
.custom-form .form-control:hover {
  border-color: var(--dark-color);
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  transition: all 0.3s;
  margin-bottom: 0;
  padding-left: 10px;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}

/* Responsive Typography */
@media screen and (max-width: 991px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-section {
    position: relative;
    top: 82px;
    margin-bottom: 82px;
  }

  .events-listing-section {
    margin-bottom: 50px;
  }

  .events-detail-section .custom-block-info {
    padding: 40px;
  }

  .events-detail-info {
    padding: 35px 25px;
  }

  .contact-info-item {
    width: 60%;
  }

  .events-detail-section .contact-info-item {
    width: 70%;
  }

  .section-bg-image {
    margin-bottom: 0;
  }

  .section-bg-image-block {
    padding: 30px;
  }

  .site-footer {
    padding-top: 20px;
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 480px) {
  .navbar-brand {
    font-size: var(--p-font-size);
  }

  .navbar-brand-icon {
    width: 30px;
    height: 30px;
  }

  .navbar-brand-icon::after {
    top: 5px;
  }

  .section-bg-image-block {
    padding: 30px;
  }

  .contact-info-item {
    width: 72%;
  }
}

@media screen and (max-width: 360px) {
  .custom-btn {
    font-size: 12px;
    padding: 4px 12px;
  }
}


/* Component CSS: heroextractor */
/* HeroExtractor - Combined extractor and promo in one viewport */

.heroextractor {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--background-color);
    padding: 60px 32px;
}

.heroextractor-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

/* Left side - Extractor */
.heroextractor-left {
    max-width: 600px;
}

.heroextractor-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 16px 0;
    line-height: 1.1;
}

.heroextractor-subtitle {
    font-size: 1.35rem;
    color: var(--text-medium);
    margin: 0 0 40px 0;
    line-height: 1.5;
}

.heroextractor-form {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.heroextractor-input {
    flex: 1;
    padding: 22px 28px;
    font-size: 1.15rem;
    border: 2px solid var(--border-color);
    border-radius: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.heroextractor-input:focus {
    border-color: var(--primary-color);
}

.heroextractor-submit {
    padding: 22px 36px;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 5px 0 var(--secondary-color);
    transition: all 0.15s;
}

.heroextractor-submit:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 var(--secondary-color);
}

.heroextractor-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.heroextractor-status {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 16px;
    color: var(--text-medium);
    font-size: 1.1rem;
}

.heroextractor-status .spinner {
    width: 28px;
    height: 28px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: heroextractor-spin 0.8s linear infinite;
}

@keyframes heroextractor-spin {
    to { transform: rotate(360deg); }
}

.heroextractor-results {
    display: none;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    max-height: 400px;
    overflow-y: auto;
}

.heroextractor-results h3 {
    margin: 0 0 20px 0;
    color: var(--text-dark);
    font-size: 1.4rem;
}

.heroextractor-results h4 {
    margin: 20px 0 12px 0;
    color: var(--primary-color);
    font-size: 1.15rem;
}

.heroextractor-results ul, .heroextractor-results ol {
    margin: 0;
    padding-left: 24px;
}

.heroextractor-results li {
    margin-bottom: 8px;
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.5;
}

.heroextractor-results .error {
    color: var(--error-color);
    font-size: 1.1rem;
}

/* Right side - Promo */
.heroextractor-right {
    display: flex;
    justify-content: center;
}

.heroextractor-promo-wrapper {
    display: flex;
    align-items: center;
    gap: 32px;
}

.heroextractor-phone {
    position: relative;
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, var(--phone-frame-highlight), var(--phone-frame-color));
    border-radius: 48px;
    padding: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.heroextractor-phone::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 28px;
    background: var(--phone-frame-color);
    border-radius: 16px;
    z-index: 10;
}

.heroextractor-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 36px;
}

.heroextractor-promo {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 28px;
    padding: 48px 40px;
    text-align: center;
    max-width: 380px;
}

.heroextractor-promo-headline {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.heroextractor-promo-subheadline {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 16px 0;
}

.heroextractor-promo-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
    line-height: 1.6;
}

.heroextractor-promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.heroextractor-btn {
    display: block;
    padding: 18px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.heroextractor-btn-primary {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.15);
}

.heroextractor-btn-primary:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

.heroextractor-btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.heroextractor-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Responsive */
@media (max-width: 1100px) {
    .heroextractor-promo-wrapper {
        flex-direction: column;
    }

    .heroextractor-phone {
        width: 180px;
        height: 360px;
        border-radius: 32px;
    }

    .heroextractor-phone img {
        border-radius: 24px;
    }
}

@media (max-width: 900px) {
    .heroextractor {
        padding: 40px 20px;
    }

    .heroextractor-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .heroextractor-left {
        max-width: 100%;
        text-align: center;
    }

    .heroextractor-title {
        font-size: 2.5rem;
    }

    .heroextractor-subtitle {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }

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

    .heroextractor-promo {
        max-width: 100%;
        padding: 36px 28px;
    }

    .heroextractor-promo-headline {
        font-size: 1.75rem;
    }

    .heroextractor-phone {
        display: none;
    }
}


/* Component CSS: footerapp */
/* FooterApp - Simple App Footer */

.footerapp {
    padding: 48px 24px;
    background-color: #fafafa;
    border-top: 1px solid #e5e5e5;
}

.footerapp-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footerapp-contact {
    margin-bottom: 24px;
}

.footerapp-contact-text {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 8px;
}

.footerapp-email {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.footerapp-email:hover {
    text-decoration: underline;
}

.footerapp-links {
    margin-bottom: 24px;
}

.footerapp-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.875rem;
}

.footerapp-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footerapp-divider {
    margin: 0 12px;
    color: var(--text-light);
}

.footerapp-copyright p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}
