/* YL DIAMONDS LTD - Stylesheet */

:root {
  /* Color Palette */
  --primary: #e63946;
  --primary-dark: #c1121f;
  --primary-light: #ff6b6b;
  --secondary: #4361ee;
  --secondary-dark: #3949ab;
  --secondary-light: #7695ec;
  --accent: #ffd166;
  --accent-dark: #e6b800;
  --accent-light: #ffe699;
  --dark: #1d3557;
  --dark-blue: #0f172a;
  --gray-dark: #333333;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --white: #ffffff;
  --black: #000000;
  --success: #06d6a0;
  --warning: #ffd166;
  --danger: #ef476f;
  --info: #118ab2;
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-extra-slow: 0.8s ease;
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--dark);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
}

a:hover {
  color: var(--secondary-dark);
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.text-dark {
  color: var(--dark);
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-dark {
  background-color: var(--dark);
}

.bg-light {
  background-color: var(--gray-light);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
}

.navbar-brand a {
  color: var(--primary);
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-item {
  margin-left: 1.5rem;
  font-weight: 500;
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

.navbar-item:hover::after {
  width: 100%;
}

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
}

.navbar-burger span {
  background-color: var(--dark);
  display: block;
  height: 2px;
  width: 25px;
  position: absolute;
  left: calc(50% - 12.5px);
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 8px);
}

.navbar-burger span:nth-child(2) {
  top: calc(50% - 1px);
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 6px);
}

.navbar-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-body {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}

.hero .title, .hero .subtitle {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero .subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  opacity: 0.9;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-align: center;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-md);
}

.button.is-primary {
  background-color: var(--primary);
  color: var(--white);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.button.is-light {
  background-color: var(--white);
  color: var(--dark);
}

.button.is-light:hover {
  background-color: var(--gray-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid currentColor;
}

.button.is-primary.is-outlined {
  color: var(--primary);
}

.button.is-primary.is-outlined:hover {
  background-color: var(--primary);
  color: var(--white);
}

.button.is-large {
  font-size: 1.2rem;
  padding: 0.75rem 2.5rem;
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}

/* Sections */
.section {
  padding: 5rem 1.5rem;
}

.section .title {
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.section .title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin: 1rem auto 0;
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  overflow: hidden;
  position: relative;
}

.card-image img {
  transition: transform var(--transition-slow);
  width: 100%;
  object-fit: cover;
}

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content .title {
  text-align: left;
  margin-bottom: 1rem;
}

.card-content .title::after {
  display: none;
}

/* Mission Section */
.mission-section, .vision-section {
  background-color: var(--gray-light);
}

.mission-section .content, .vision-section .content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

/* Process Section */
.process-section .card-content {
  text-align: center;
}

.process-section .card-content .title {
  text-align: center;
}

/* Team Section */
.team-section .card {
  text-align: center;
}

.team-section .card-image {
  width: 100%;
  position: relative;
}

.team-section .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-section .subtitle {
  color: var(--gray);
}

/* Events Section */
.events-section .card-content, .workshops-section .card-content {
  display: flex;
  flex-direction: column;
}

.events-section .button, .workshops-section .button {
  margin-top: auto;
  align-self: center;
}

/* Resources Section */
.resources-section .card, .resources-external-section .card {
  text-align: center;
}

.resources-section .button, .resources-external-section .button {
  margin-top: 1rem;
}

/* FAQ Section */
.faq-section .faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 1.5rem;
}

.faq-section .faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.faq-section .faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  background: none;
  width: max-content;
  transition: transform var(--transition-normal);
}

.faq-section .faq-question.active::after {
  transform: rotate(45deg);
}

.faq-section .faq-answer {
  display: none;
  padding-top: 1rem;
}

/* Contact Section */
.contact-section .card {
  height: 100%;
}

.contact-section .field {
  margin-bottom: 1.5rem;
}

.contact-section .label {
  color: var(--dark);
  font-weight: 600;
}

.contact-section .input, .contact-section .textarea, .contact-section .select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  font-family: var(--font-body);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-section .input:focus, .contact-section .textarea:focus, .contact-section .select select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
  outline: none;
}

.contact-section .checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--dark-blue) !important;
  color: var(--white);
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer .title::after {
  display: none;
}

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

.footer ul {
  list-style: none;
}

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

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-normal);
}

.footer a:hover {
  color: var(--white);
}

.footer .social-links a {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.footer .newsletter .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.footer .newsletter .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer hr {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

/* Success Page */
.success-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background-color: var(--gray-light);
}

.success-content {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
}

.success-icon {
  color: var(--success);
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 120px;
  padding-bottom: 4rem;
}

.terms-page .container, .privacy-page .container {
  max-width: 800px;
  margin: 0 auto;
}

.terms-page h1, .privacy-page h1 {
  margin-bottom: 2rem;
}

.terms-page h2, .privacy-page h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

/* Cookie Consent */
#cookieConsent {
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  text-align: center;
}

#acceptCookies {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  transition: background-color var(--transition-normal);
}

#acceptCookies:hover {
  background-color: var(--primary-dark);
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in {
  animation: fadeIn var(--transition-slow) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.parallax-image {
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-item {
    margin: 0.75rem 0;
    display: block;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
}

@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem;
  }

  body {
    padding-top: 0 !important;
  }

  .header {
    position: relative !important;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .section .title {
    font-size: 1.8rem;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .footer {
    padding: 3rem 1rem 1.5rem;
  }
}


      .team-container {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
      }

      .team-card {
        flex: 0 0 calc(33.333% - 30px);
        min-width: 280px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        margin-bottom: 20px;
      }

      .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
      }

      .team-image {
        width: 100%;
        height: 300px;
        object-fit: cover;
      }

      .team-info {
        padding: 20px;
      }