/* === CSS VARIABLES: BRIGHT THEME === */
:root {
  --color-primary: #ffbe30;      /* Bold yellow */
  --color-primary-dark: #e1ab2a;
  --color-secondary: #2657c5;    /* Deep blue */
  --color-secondary-dark: #1e407b;
  --color-accent: #e54b4b;       /* Red accent */
  --color-bg: #fffefb;           /* Soft, neutral background */
  --color-bg-dark: #171c30;
  --color-surface: #ffffff;      /* White cards */
  --color-surface-blur: rgba(255,255,255,0.7);
  --color-border: #ebebeb;
  --color-gradient: linear-gradient(119deg, #ffbe30 0%, #ffe373 60%, #2657c5 120%);
  --color-gradient-dark: linear-gradient(120deg, #e1ab2a 0%, #ffbe30 47%, #1e407b 90%);
  --color-shadow: 0 6px 32px 0 rgba(57, 63, 122, 0.12);
  --color-text-main: #23272b;
  --color-text-dark: #222222;
  --color-text-light: #fff;
  --color-gray: #737e93;
  --color-link: #2657c5;
  --color-link-hover: #e54b4b;
  --g-card-radius: 1.1rem;
  --g-blur: blur(8px);
  --g-gap: 2.5rem;
  --g-spacing: 2.8rem;
}

/* === BASE TYPOGRAPHY === */
html {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: var(--color-text-main);
  background: var(--color-bg);
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 1.1rem;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.13;
  letter-spacing: 0;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.32rem; }
.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.16);
  color: var(--color-text-dark);
  letter-spacing: 0.01em;
}

/* === CONTAINERS & SPACING === */
#main-container, .container {
  /*max-width: 1150px;*/
  /*margin: 0 auto;*/
  /*padding: 0 1.2rem;*/
  box-sizing: border-box;
}

.is-two-thirds {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.section-spacing {
  padding: 3.2rem 0 2.4rem 0;
}

@media (max-width: 800px) {
  .section-spacing {
    padding: 2.7rem 0 1.4rem 0;
  }
  .is-two-thirds, #main-container, .container {
    /*padding-left: 0.5rem;*/
    /*padding-right: 0.5rem;*/
  }
}

@media (max-width: 540px) {
  .section-spacing {
    padding: 2rem 0 1rem 0;
  }
}

/* === HEADER & NAVIGATION === */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 100;
  background: var(--color-secondary);
  color: var(--color-text-light);
  box-shadow: 0 2px 14px 0 rgba(38,87,197,0.08);
  backdrop-filter: blur(6px);
  transition: background 0.25s cubic-bezier(.44,.13,.48,.87);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0.87rem 1.2rem;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
}
.nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  font-family: 'Source Sans Pro', sans-serif;
  transition: color 0.16s cubic-bezier(0.22,0.61,0.36,1);
  position: relative;
}

.nav-link:after {
  content: '';
  display: block;
  height: 3px;
  background: var(--color-primary);
  width: 0;
  transition: width 0.2s cubic-bezier(.51,.02,.37,1.15);
  border-radius: 1.5px;
}
.nav-link:hover, .nav-link:focus {
  color: var(--color-primary);
}
.nav-link:hover:after, .nav-link:focus:after {
  width: 65%;
}

#burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 3.5px;
  padding: 0.45em 0.7em;
  margin-left: 1.6rem;
}
.burger-bar {
  width: 27px;
  height: 3px;
  background: var(--color-primary);
  display: block;
  border-radius: 2px;
  transition: all 0.20s;
}

/* === Mobile Navigation === */
@media (max-width: 1000px) {
  .nav-list {
    display: none;
  }
  #burger-menu {
    display: flex;
  }
  .nav-list-mobile {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 1.2rem;
    top: 56px;
    background: var(--color-secondary);
    border-radius: 0.8rem;
    box-shadow: var(--color-shadow);
    min-width: 185px;
    gap: 0;
    z-index: 105;
    list-style: none;
    padding: 1.2rem 0 1rem 0;
    animation: fadeInDown 0.27s;
  }
  .nav-list-mobile li {
    text-align: right;
    margin-right: 12px;
  }
  .nav-list-mobile .nav-link {
    color: var(--color-text-light);
    display: block;
    padding: 0.4rem 1.1rem;
    letter-spacing: 0.03em;
    font-size: 1.06rem;
    margin-bottom: 0.1rem;
    border-radius: 5px;
    transition: background 0.2s;
  }
  .nav-list-mobile .nav-link:hover {
    background: var(--color-primary-dark);
    color: var(--color-bg-dark);
  }
}

@media (max-width: 650px) {
  .header-content, .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .main-header {
    padding-bottom: 0.2rem;
  }
}

/* ==== HERO SECTION ==== */
.hero-section {
  width: 100vw;
  min-height: 62vh;
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  justify-content: center;
  /* Parallax effect for hero bg */
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  overflow: hidden;
  margin-top: 62px;
}
.hero-section:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(155deg, rgba(0,0,0,0.57) 0%, rgba(27,37,64,0.64) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.35rem 4rem 1.35rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title, .hero-desc {
  color: #fff !important;
}
.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  text-shadow: 2px 3px 10px rgba(22,24,37,0.30);
}
.hero-desc {
  font-size: 1.22rem;
  margin-bottom: 2rem;
  text-shadow: 1px 2px 5px rgba(34,34,34,0.25);
  font-family: 'Source Sans Pro', sans-serif;
}
.btn-cta {
  font-size: 1.19rem;
  background: var(--color-accent);
  padding: 0.9em 2.55em;
  border-radius: 2.7em;
  font-weight: 700;
  box-shadow: 0 4px 28px 0 rgba(229, 75, 75, 0.10);
  margin-top: 0.6em;
  transition: background 0.18s, transform 0.22s, color 0.16s;
  color: var(--color-text-light);
  border: none;
  outline: none;
  cursor: pointer;
}
.btn-cta:hover, .btn-cta:focus {
  background: #fa302b;
  color: #fff;
  transform: translateY(-3px) scale(1.045);
}

/* === CARDS & GALLERY === */
.card, .item, .testimonial, .team-member, .product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-surface-blur);
  border-radius: var(--g-card-radius);
  box-shadow: 0 2px 14px 0 rgba(38,87,197,0.06);
  margin: 1.4rem 1rem;
  padding: 1.5rem 1.15rem 1.05rem 1.15rem;
  text-align: center;
  transition: box-shadow 0.19s, transform 0.17s cubic-bezier(.42,.05,.51,1.17);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(5px);
}
.card:hover, .item:hover, .testimonial:hover, .team-member:hover, .product-card:hover {
  box-shadow: 0 8px 38px 0 rgba(255,190,48,0.19);
  transform: translateY(-7px) scale(1.03);
}

/* Cards - layout controls */
.clientele-gallery, .events-gallery, .projects-gallery, .resources-links-cards, .statistics-cards {
  display: flex;
  justify-content: center;
  gap: var(--g-gap);
  flex-wrap: wrap;
}
.projects-gallery, .events-gallery, .statistics-cards, .resources-links-cards {
  margin-bottom: 2rem;
}

/* === CARD IMAGERY === */
.card-image, .image-container {
  width: 100%;
  max-width: 355px;
  height: 176px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.0rem;
  background: var(--color-bg-dark);
  margin-bottom: 1.2rem;
}
.card-image img, .image-container img {
  width: 100%;
  max-width: 330px;
  max-height: 176px;
  height: 100%;
  border-radius: 0.94rem;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
  transition: transform 0.14s;
}
.card:hover .card-image img {
  transform: scale(1.045) rotate(-1deg);
}

/* === CARD CONTENT CENTERING === */
.card-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-content > * {
  margin-bottom: 0.67rem;
}

/* == Projects Timeline & General Timelines == */
.projects-timeline, .methodology-steps.timeline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1.6rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--color-secondary);
  padding-left: 1.2rem;
  gap: 0.95rem;
}
.timeline-item {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 0.4rem;
}
.timeline-dot {
  position: absolute;
  left: -21px;
  top: 3px;
  width: 15px;
  height: 15px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-bg-dark);
  box-shadow: 0 2px 8px 0 rgba(255,190,48,0.11);
}

/* === STATISTICS CARDS === */
.statistics-cards {
  justify-content: center;
  margin-top: 1.5rem;
}

/* === EXTERNAL RESOURCES SECTION === */
.resources-links-cards {
  flex-wrap: wrap;
  gap: 1.4rem;
}
.resources-links-cards .card {
  min-width: 265px;
  max-width: 370px;
}

/* === CONTACT FORM === */
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.2rem var(--g-card-radius) 1rem var(--g-card-radius);
  background: rgba(255,255,255, 0.96);
  border-radius: var(--g-card-radius);
  box-shadow: 0 2px 24px 0 rgba(229,75,75,0.08);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 1.07rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.77em 1em;
  margin-top: 3px;
  border-radius: 6px;
  border: 1.5px solid var(--color-secondary);
  font-size: 1.06rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  box-sizing: border-box;
  background: #fcfcfc;
  color: var(--color-text-main);
  transition: border 0.14s, box-shadow 0.12s;
  outline:none;
  margin-bottom: 0.45rem;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border: 1.7px solid var(--color-accent);
  box-shadow: 0 0 0 2px #e54b4b12;
}
.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

/* === GLOBAL BUTTON STYLES === */
.btn, button, input[type="submit"] {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
  border-radius: 2em;
  border: none;
  cursor: pointer;
  outline: none;
  font-size: 1.08rem;
  transition: background 0.16s, color 0.14s, transform 0.17s;
  padding: 0.78em 2em;
  background: var(--color-primary);
  color: var(--color-bg-dark);
  margin-top: 0.65em;
  box-shadow: 0 3px 18px 0 rgba(255,190,48,0.08);
  letter-spacing: 0.04em;
}
.btn:active, button:active, input[type="submit"]:active {
  transform: scale(0.97) translateY(3px);
}
.btn:hover, button:hover, input[type="submit"]:hover {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(38, 87, 197, 0.12);
}

.btn-primary {
  background: var(--color-secondary);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-accent);
  color: #fff;
}

/* === MICRO-ANIMATION & HOVER EFFECTS === */
a, .nav-link, .btn, button, input[type="submit"] {
  transition: all 0.18s cubic-bezier(.14,.42,.46,1.17);
}
a[data-micro='cta']:hover {
  box-shadow: 0 4px 18px 0 rgba(229,75,75, 0.13);
  text-decoration: none;
  background: var(--color-primary-dark);
  color: var(--color-bg-dark);
}
input[data-micro='input']:focus {
  border: 1.7px solid var(--color-accent);
  box-shadow: 0 1px 16px 0 rgba(229,75,75,0.15);
}

/* === READ MORE LINK STYLE === */
a.read-more, .read-more {
  color: var(--color-link);
  font-weight: 700;
  text-decoration: underline dotted;
  cursor: pointer;
  transition: color 0.17s;
  font-size: 1.06em;
  letter-spacing: 0.02em;
}
a.read-more:hover, .read-more:hover {
  color: var(--color-accent);
  text-shadow: 1px 1px 3px #ffe37350;
}

/* === SECTION-BY-SECTION STYLES === */
.mission-section,
.clientele-section,
.events-section,
.statistics-section,
.projects-section,
.methodology-section,
.external-resources,
.contact-section {
  background: var(--color-surface);
  border-radius: 1.3rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 16px 0 rgba(57, 63, 122, 0.06);
  margin: 0 auto;
}

/* === GLASSMORPHISM EFFECT FOR CARDS === */
.card, .contact-form, .external-resources .card {
  backdrop-filter: blur(7px);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 1px 18px 0 rgba(229,75,75,0.07);
  border-radius: 1.12rem;
}
.card-content,
.card-image {
  width: 100%;
}

/* === RESPONSIVE: MULTICOLUMN GALLERIES === */
@media (max-width: 900px) {
  .clientele-gallery, .events-gallery, .projects-gallery, .resources-links-cards, .statistics-cards {
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
  }
  .card, .item  {
    width: 98vw;
    max-width: 470px;
  }
}
@media (max-width: 600px) {
  .card, .item, .testimonial, .team-member, .product-card {
    margin: 0.8rem 0.2rem;
    padding: 1.17rem 0.45rem;
    min-width: 0;
  }
  .card-image, .image-container {
    height: 115px;
    min-height: 84px;
    max-width: 100vw;
    border-radius:0.7rem;
  }
}

/* === FOOTER === */
.main-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  width: 100vw;
  margin-top: 2.35rem;
  padding: 2.1rem 0 1.5rem 0;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--color-text-light);
  margin-bottom: 0.27em;
}
.footer-top, .footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav ul {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  padding: 0; margin: 0;
}
.footer-nav a {
  color: var(--color-primary);
  text-decoration: underline;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: var(--color-link-hover);
}
.footer-copy {
  font-size: 0.97em;
  margin-top: 0.7em;
  color: #bcbcbc;
}

/* Social Text Links Stylized */
.footer-social {
  font-size: 1.07em;
  letter-spacing: 0.01em;
}
.footer-social a {
  color: var(--color-primary);
  font-weight: 700;
  margin-left: 0.44em;
  margin-right: 0.2em;
  text-decoration: underline;
  transition: color 0.16s;
  display: inline-block;
}
.footer-social a:hover, .footer-social a:focus {
  color: var(--color-accent);
  text-shadow: 1px 1px 3px #ffe37350;
}

/* === ICONS FOR SOCIAL (IF NEEDED FOR visually-impaired users) === */
.footer-social [data-icon]::before {
  content: attr(data-icon) " ";
  display: inline-block;
  font-style: normal;
  font-weight: bold;
  font-size: 1.05em;
  margin-right: 0.18em;
  vertical-align: text-bottom;
}

/* FOOTER RESPONSIVE */
@media (max-width: 700px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .footer-nav ul {
    gap: 0.6rem;
  }
}

/* === SECTION: PRIVACY, TERMS CONTROL === */
.privacy-section, .terms-section {
  padding-top: 100px !important;
  max-width: 780px;
  margin: 0 auto;
}
.privacy-section *, .terms-section * {
  color: var(--color-text-main);
}

/* === SUCCESS.HTML PAGE STYLE === */
.page-success {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gradient-dark);
}
.page-success-content {
  background: rgba(255,255,255,0.98);
  border-radius: 1.5rem;
  box-shadow: 0 12px 32px 0 rgba(38,87,197,0.08);
  padding: 4.5rem 2.2rem 4rem 2.2rem;
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
}
.page-success-content h1,
.page-success-content h2 {
  color: var(--color-accent);
  letter-spacing: 0.01em;
}
.page-success-content p {
  color: var(--color-text-main);
  font-size: 1.16rem;
  margin-top: 1.15rem;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem !important; }
.rounded { border-radius: 1rem; }
.shadow { box-shadow: var(--color-shadow); }

/* === MISC. === */
::-webkit-input-placeholder { color: #a4a5aa; letter-spacing: 0.01em; }
::-moz-placeholder { color: #a4a5aa; }
:-ms-input-placeholder { color: #a4a5aa; }
::placeholder { color: #a4a5aa; }
img { max-width: 100%; height: auto; display: block; }

@media (max-width:420px) {
  .hero-title { font-size: 1.46rem; }
  .hero-desc { font-size: 1rem; }
}

/* === SCROLLBAR THEME === */
::-webkit-scrollbar {
  width: 9px;
  background: var(--color-secondary-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-dark);
  border-radius: 6px;
}
.nav-list-mobile{
  display: none;
}
#burger-menu{
  display: none;
}