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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  background: var(--gradient-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--color-heading);
  text-align: center;
  line-height: 1.2;
}

/* -------------------------------------------------
  THEME VARIABLES
--------------------------------------------------*/
:root {
  /* Brand palette */
  --color-primary: #ff782d;
  --color-primary-dark: #c95b1a;
  --color-secondary: #4100ff;
  --color-secondary-dark: #2d00b5;
  --color-accent: #00e1d4;
  --color-heading: #222222;
  --color-light: #ffffff;
  --color-muted: #666666;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff782d 0%, #ffb86c 100%);
  --gradient-secondary: linear-gradient(135deg, #4100ff 0%, #8459ff 100%);
  --gradient-body: linear-gradient(180deg, #ffffff 0%, #f9f9ff 100%);
  --gradient-dark-overlay: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55));

  /* Shadows / Depth */
  --shadow-medium: 0 6px 18px rgba(0,0,0,0.15);
  --shadow-hover: 0 8px 22px rgba(0,0,0,0.25);

  /* Radii */
  --radius: 10px;
  --radius-pill: 50px;

  /* Transition */
  --transition: .3s ease-in-out;
}

/* -------------------------------------------------
  CONTAINERS & LAYOUT
--------------------------------------------------*/
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

.is-two-thirds { width: 66%; margin: 0 auto; }

.section { padding: 80px 0; position: relative; }

.section-title {
  margin-bottom: 40px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* -------------------------------------------------
  HEADER / NAV
--------------------------------------------------*/
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: var(--gradient-primary);
  color: var(--color-light);
  z-index: 900;
  box-shadow: var(--shadow-medium);
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

.logo { font-weight: 700; color: #fff; text-decoration: none; font-size: 1.4rem; }

.nav-list { display: flex; gap: 24px; list-style: none; }

.nav-list a { color: #fff; text-decoration: none; font-weight: 500; transition: var(--transition); }
.nav-list a:hover { opacity: .8; }

.burger { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; }
.burger-line { width: 24px; height: 2px; background: #fff; }

.theme-switch { margin-left: 16px; }

/* -------------------------------------------------
  BUTTONS & LINKS
--------------------------------------------------*/
.btn, button, input[type='submit'] {
  display: inline-block;
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover, button:hover, input[type='submit']:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

a.read-more {
  color: var(--color-secondary);
  font-weight: 600;
  position: relative;
}

a.read-more::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--color-secondary);
  transition: var(--transition);
}

a.read-more:hover::after { transform: scaleX(0); }

/* -------------------------------------------------
  HERO
--------------------------------------------------*/
.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 160px 0 120px;
}

.hero-title { 
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 20px;
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto 35px;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
}

.hero-parallax { position: absolute; inset: 0; }

/* -------------------------------------------------
  METHODOLOGY
--------------------------------------------------*/
.methodology-section p { margin-bottom: 1rem; }

/* -------------------------------------------------
  SERVICES & CARDS
--------------------------------------------------*/
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  text-align: center;
}

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

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content { padding: 24px; }

.card-content h3 { margin-bottom: 12px; font-size: 1.2rem; }

.card-content p { color: var(--color-muted); }

/* -------------------------------------------------
  COMMUNITY
--------------------------------------------------*/
.toggles { margin-top: 40px; }
.toggle-btn {
  width: 100%;
  background: var(--gradient-secondary);
  color: #fff;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transition: var(--transition);
}
.toggle-btn:hover { opacity: .9; }
.toggle-content { display: none; padding: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-medium); }

/* -------------------------------------------------
  NEWS
--------------------------------------------------*/
.news-section .card-image { height: 170px; }

/* -------------------------------------------------
  CONTACT FORM
--------------------------------------------------*/
.contact-form { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e6e6e6;
  border-radius: var(--radius);
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-primary);
}

/* -------------------------------------------------
  FOOTER
--------------------------------------------------*/
.footer {
  background: var(--gradient-secondary);
  color: #fff;
  padding: 60px 0 40px;
  text-align: center;
}

.footer-top { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 30px; }

.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-nav a { color: #fff; text-decoration: none; transition: var(--transition); }
.footer-nav a:hover { opacity: .8; }

.footer-social { margin-bottom: 20px; }
.footer-social a { color: #fff; text-decoration: underline; margin: 0 6px; }

.footer-bottom { font-size: .875rem; }

.legal-nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.legal-nav a { color: #fff; text-decoration: none; }

/* -------------------------------------------------
  RESPONSIVE NAV
--------------------------------------------------*/
@media (max-width: 992px) {
  .nav-list { position: fixed; top: 64px; right: -100%; width: 240px; height: calc(100vh - 64px); flex-direction: column; background: var(--gradient-primary); padding: 40px 20px; transition: right var(--transition); }
  .nav-list.open { right: 0; }
  .burger { display: flex; }
}

/* -------------------------------------------------
  PAGE-SPECIFIC
--------------------------------------------------*/
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
}

.legal-page { padding-top: 100px; }

/* -------------------------------------------------
  MORPHING ANIMATION
--------------------------------------------------*/
@keyframes blobMorph {
  0%   { border-radius: 42% 58% 59% 41% / 54% 46% 54% 46%; }
  50%  { border-radius: 64% 36% 37% 63% / 28% 67% 33% 72%; }
  100% { border-radius: 42% 58% 59% 41% / 54% 46% 54% 46%; }
}

.morphing {
  animation: blobMorph 8s infinite alternate ease-in-out;
}

/* -------------------------------------------------
  UTILITIES
--------------------------------------------------*/
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.pt-100 { padding-top: 100px; }

.hidden { display: none !important; }

/* -------------------------------------------------
  PARALLAX (simple)
--------------------------------------------------*/
[data-speed] { will-change: transform; }

/* -------------------------------------------------
  SOCIAL ICONS TEXT STYLE
--------------------------------------------------*/
.footer-social a { font-weight: 600; }

/* -------------------------------------------------
  READABILITY HELPERS
--------------------------------------------------*/
.overlay-dark { background: var(--gradient-dark-overlay); }
img{
width: 100%;
  object-fit: cover;
}
.burger{
  display: none;
}