:root {
  /* Color Variables */
  --color-primary: #6D28D9;   /* Deep purple (primary) */
  --color-primary-dark: #5B21B6;
  --color-primary-light: #8B5CF6;
  
  --color-secondary: #F59E0B;  /* Amber (complementary) */
  --color-secondary-dark: #D97706;
  --color-secondary-light: #FBBF24;
  
  --color-neutral-100: #F9FAFB;
  --color-neutral-200: #F3F4F6;
  --color-neutral-300: #E5E7EB;
  --color-neutral-400: #D1D5DB;
  --color-neutral-500: #9CA3AF;
  --color-neutral-600: #6B7280;
  --color-neutral-700: #4B5563;
  --color-neutral-800: #1F2937;
  --color-neutral-900: #111827;

  /* Typography */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-neutral-800);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-neutral-900);
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-medium);
}

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

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography Helpers */
.text-center {
  text-align: center;
}

.font-archivo-black {
  font-family: var(--font-heading);
}

/* Header & Navigation */
header {
  transition: background-color var(--transition-medium), box-shadow var(--transition-medium);
}

#mobile-menu-button {
  cursor: pointer;
  z-index: 100;
}

#mobile-menu {
  transition: height var(--transition-medium);
  overflow: hidden;
}

.nav-active {
  background-color: rgba(109, 40, 217, 0.95);
  box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn-primary, 
.btn-secondary,
button[type="submit"] {
  display: inline-block;
  font-weight: bold;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::after,
.btn-secondary::after,
button[type="submit"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.1);
  transition: height var(--transition-medium);
  z-index: -1;
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
button[type="submit"]:hover::after {
  height: 100%;
}

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

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  color: #fff;

  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Hero Section */
#hero {
  position: relative;
  overflow: hidden;
  color: white;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(91, 33, 182, 0.7), rgba(109, 40, 217, 0.7));
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

/* Stats Section */
.progress-bar {
  background-color: var(--color-neutral-300);
  border-radius: var(--radius-lg);
  height: 6px;
  overflow: hidden;
  margin-top: var(--space-sm);
}

.progress {
  background-color: var(--color-primary);
  height: 100%;
  transition: width 1.5s ease-in-out;
}

.stat-counter {
  font-weight: bold;
}

/* Services Section */
.card {
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

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

.card-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.card-content a {
  margin-top: auto;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.card-content a::after {
  content: '→';
  opacity: 0;
  margin-left: var(--space-xs);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.card-content a:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

/* FAQ Section */
.faq-item {
  border-bottom: 1px solid var(--color-neutral-300);
}

.faq-question {
  cursor: pointer;
  padding: var(--space-md) 0;
}

.faq-answer {

  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-arrow {
  transition: transform var(--transition-medium);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* Contact Form */
input, 
select, 
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}

input:focus, 
select:focus, 
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.2);
}

label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

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

.success-container {
  max-width: 600px;
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Terms and Privacy Pages */
.terms-content,
.privacy-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--space-xl);
}

.terms-content h1,
.privacy-content h1 {
  margin-bottom: var(--space-lg);
}

.terms-content h2,
.privacy-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.terms-content p,
.privacy-content p {
  margin-bottom: var(--space-md);
}

/* Footer */
footer {
  background-color: var(--color-primary-dark);
  color: white;
  padding: var(--space-xl) 0 var(--space-lg);
}

footer h3 {
  color: var(--color-secondary);
}

footer a {
  color: var(--color-neutral-300);
  transition: color var(--transition-medium);
}

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

footer .social-links {
  display: flex;
  gap: var(--space-md);
}

footer .social-links a {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

footer .social-links a::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: var(--space-sm);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

footer .social-links a[href*="facebook"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23F59E0B"><path d="M12 2.04C6.5 2.04 2 6.53 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.85C10.44 7.34 11.93 5.96 14.22 5.96C15.31 5.96 16.45 6.15 16.45 6.15V8.62H15.19C13.95 8.62 13.56 9.39 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96C18.34 21.21 22 17.06 22 12.06C22 6.53 17.5 2.04 12 2.04Z" /></svg>');
}

footer .social-links a[href*="twitter"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23F59E0B"><path d="M22.46 6C21.69 6.35 20.86 6.58 20 6.69C20.88 6.16 21.56 5.32 21.88 4.31C21.05 4.81 20.13 5.16 19.16 5.36C18.37 4.5 17.26 4 16 4C13.65 4 11.73 5.92 11.73 8.29C11.73 8.63 11.77 8.96 11.84 9.27C8.28 9.09 5.11 7.38 3 4.79C2.63 5.42 2.42 6.16 2.42 6.94C2.42 8.43 3.17 9.75 4.33 10.5C3.62 10.5 2.96 10.3 2.38 10V10.03C2.38 12.11 3.86 13.85 5.82 14.24C5.46 14.34 5.08 14.39 4.69 14.39C4.42 14.39 4.15 14.36 3.89 14.31C4.43 16 6 17.26 7.89 17.29C6.43 18.45 4.58 19.13 2.56 19.13C2.22 19.13 1.88 19.11 1.54 19.07C3.44 20.29 5.7 21 8.12 21C16 21 20.33 14.46 20.33 8.79C20.33 8.6 20.33 8.42 20.32 8.23C21.16 7.63 21.88 6.87 22.46 6Z" /></svg>');
}

footer .social-links a[href*="instagram"]::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23F59E0B"><path d="M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z" /></svg>');
}

/* Animations */
@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

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

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-title {
  color: white;
  margin-bottom: var(--space-xs);
}

.portfolio-category {
  color: var(--color-secondary);
  font-size: 0.9rem;
}

/* Accolades Section */
.accolades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.accolade-item {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.accolade-item:hover {
  transform: translateY(-5px);
}

.accolade-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-md);
  color: var(--color-secondary);
}

.accolade-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
  color: var(--color-neutral-900);
}

.accolade-desc {
  color: var(--color-neutral-600);
}

/* Press Section */
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.press-item {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.press-item:hover {
  transform: translateY(-5px);
}

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

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

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

.press-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.press-source {
  color: var(--color-primary);
  font-weight: bold;
  margin-bottom: var(--space-xs);
}

.press-date {
  color: var(--color-neutral-500);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.press-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: var(--space-md);
  color: var(--color-neutral-900);
}

.press-excerpt {
  color: var(--color-neutral-700);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.press-link {
  align-self: flex-start;
  color: var(--color-secondary);
  font-weight: bold;
  transition: color var(--transition-medium);
}

.press-link:hover {
  color: var(--color-secondary-dark);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.team-member {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-member:hover .team-photo img {
  transform: scale(1.05);
}

.team-info {
  padding: var(--space-lg);
  text-align: center;
}

.team-name {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  color: var(--color-neutral-900);
}

.team-role {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.team-bio {
  color: var(--color-neutral-700);
  margin-bottom: var(--space-md);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2.5rem;
  }
  
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid,
  .accolades-grid,
  .press-grid,
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

/* Utility Classes */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-white { color: white; }

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

.mt-auto { margin-top: auto; }

/* Animations for AOS */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Morphing Animation */
@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

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

.blob-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--color-primary-light);
  opacity: 0.1;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphing 8s ease-in-out infinite;
  z-index: -1;
}