/* === Base Variables and Color Scheme === */
:root {
  --color-primary: #4f46e5; /* Indigo */
  --color-primary-dark: #4338ca;
  --color-accent: #f43f5e; /* Rose */
  --color-accent-dark: #be123c;
  --color-bg: #f3f4f6;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-hero-overlay: rgba(0, 0, 0, 0.5);

  --shadow-neomorph: 6px 6px 12px #d1d9e6, -6px -6px 12px #ffffff;
  --font-header: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

/* === Global Defaults === */
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-header);
  color: #222222;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* === Buttons === */
.btn,
button,
input[type='submit'] {
  display: inline-block;
  font-weight: bold;
  text-align: center;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: transform 0.25s ease, background-color 0.25s ease;
  box-shadow: var(--shadow-neomorph);
  border: none;
  cursor: pointer;
}

.btn:hover,
button:hover,
input[type='submit']:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.05);
}

/* === Hero Section === */
#hero {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  color: #ffffff;
}

#hero h1, #hero p {
  color: #ffffff;
}

#hero::before {
  
}

#hero .content {
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
}

/* === Cards & Image Containers === */
.card,
.item,
.testimonial,
.team-member,
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-neomorph);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover,
.item:hover,
.team-member:hover {
  transform: translateY(-5px) scale(1.01);
}

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

.card-image img,
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

/* === Sections Customization === */
#about, #team, #resources, #contact, #blog, #history, #portfolio, #projects, #media {
  background-color: var(--color-bg);
}

/* === Footer === */
footer {
  background-color: #1f2937;
  color: #f9fafb;
  font-size: 0.875rem;
}

footer a {
  color: #f9fafb;
  text-decoration: underline;
  margin-right: 0.75rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* === Social Links Footer - TEXT ONLY === */
footer .social-text-links a {
  display: inline-block;
  margin-right: 1rem;
  font-weight: 600;
}

/* === Read More Links === */
.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--color-accent-dark);
}

/* === Page Specific === */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === Terms & Privacy Pages === */
.terms-content,
.privacy-content {
  padding-top: 100px;
}

/* === Parallax and Backgrounds === */
.parallax-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  will-change: background-position;
  transition: background-position 0.5s ease-out;
}

/* === Utility Classes === */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* === Responsive Typography === */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

/* === Animations === */
@keyframes bounce-soft {
  0%, 100% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(-6px);
  }
  80% {
    transform: translateY(2px);
  }
}

.animate-bounce-soft {
  animation: bounce-soft 1s ease forwards;
}

/* === Glassmorphism === */
.glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2rem;
}

/* === Modern Column Fix === */
.column-two-thirds {
  width: 66.6667%;
  margin: 0 auto;
}

/* === Headings Typography Cleanup === */
.heading-xl {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
}

.heading-lg {
  font-size: 2.25rem;
  font-weight: bold;
}

.heading-md {
  font-size: 1.5rem;
  font-weight: 700;
}

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

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

/* === Link Base Styles === */
a {
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  opacity: 0.85;
}

/* === Images === */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* === Forms === */
input, textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

input:focus,
textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}