/* 
 * SHERRY HIVE DIGITALS - MAIN STYLESHEET
 * Mobile-first responsive design
 * Semantic HTML with accessible components
 */

/* ===== IMPORTS ===== */
@import url('variables.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.5);
  }
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
  padding-top: 80px; /* Account for sticky header */
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-dark-gray);
}

h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-6);
}

h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-5);
}

h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
}

h4 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}

h5, h6 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-4);
  line-height: var(--lh-relaxed);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-dark);
}

small {
  font-size: var(--fs-sm);
  color: var(--color-medium-gray);
}

strong {
  font-weight: var(--fw-bold);
}

em {
  font-style: italic;
}

/* ===== LISTS ===== */
ul, ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-4);
}

li {
  margin-bottom: var(--space-2);
}

/* ===== IMAGES ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

picture {
  display: block;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

/* Adjust for mobile */
@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 15px;
    left: 15px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float img {
    width: 25px;
    height: 25px;
  }
}
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--pad-container);
}

/* Remove container padding on mobile for full-width navbar */
@media (max-width: 767px) {
  header .container {
    padding: 0;
  }
}

.container-sm {
  max-width: 768px;
}

.container-lg {
  max-width: 1400px;
}

/* ===== SECTIONS ===== */
section {
  padding: var(--pad-section) 0;
}

section.section-light {
  background-color: var(--color-light-gray);
}

section.section-blue {
  background-color: var(--color-primary-light);
}

section.section-dark {
  background: linear-gradient(135deg, var(--color-dark-gray) 0%, #1a1a1a 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

section.section-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 168, 232, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

section.section-dark h1,
section.section-dark h2,
section.section-dark h3 {
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

/* CTA Section Specific Styles */
.cta-section {
  padding: var(--space-16) 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, var(--color-white) 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section p {
  font-size: var(--fs-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--lh-relaxed);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-buttons .btn:hover::before {
  left: 100%;
}

.cta-buttons .btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border: none;
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4);
}

.cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .cta-section {
    padding: var(--space-12) 0;
  }

  .cta-section h2 {
    font-size: var(--fs-3xl);
    margin-bottom: var(--space-4);
  }

  .cta-section p {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-6);
  }

  .cta-buttons {
    flex-direction: column;
    gap: var(--space-3);
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  min-height: var(--touch-target);
  gap: var(--space-2);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

/* Primary Button */
.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

/* Secondary Button */
.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--backdrop-blur-sm);
  -webkit-backdrop-filter: var(--backdrop-blur-sm);
  color: var(--color-primary);
  border-color: rgba(0, 102, 204, 0.2);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: transparent;
  box-shadow: none;
}

.btn-ghost:hover:not(:disabled) {
  color: var(--color-primary-dark);
  text-decoration: underline;
  transform: translateX(5px);
}

/* Size Variants */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--fs-sm);
  min-height: 36px;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--fs-lg);
  min-height: 52px;
  box-shadow: var(--shadow-lg);
}

.btn-full {
  width: 100%;
}

/* Button with icon */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* ===== FORMS ===== */
form {
  width: 100%;
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group:last-child {
  margin-bottom: 0;
}

label {
  display: block;
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-2);
  color: var(--color-dark-gray);
}

input[type="text"],
input[type="email"],
input[type="phone"],
input[type="url"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-base);
  font-family: inherit;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  color: var(--color-text);
  transition: all var(--transition-base);
  min-height: var(--touch-target);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: var(--space-2);
  cursor: pointer;
}

/* Form error state */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: var(--color-error);
}

.form-error {
  color: var(--color-error);
  font-size: var(--fs-sm);
  margin-top: var(--space-1);
}

.form-success {
  color: var(--color-success);
  font-size: var(--fs-sm);
  margin-top: var(--space-1);
}

/* ===== GRID SYSTEM ===== */
.grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== CARDS ===== */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--backdrop-blur-md);
  -webkit-backdrop-filter: var(--backdrop-blur-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 102, 204, 0.02) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl), var(--shadow-glow);
  border-color: rgba(0, 102, 204, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-header {
  margin-bottom: var(--space-4);
  text-align: center;
  position: relative;
  z-index: 1;
}

.card-body {
  flex: 1;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.card-footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

/* ===== FLEX UTILITIES ===== */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ===== SPACING UTILITIES ===== */
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

/* ===== TEXT UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-medium-gray); }
.text-white { color: var(--color-white); }
.text-dark { color: var(--color-dark-gray); }

.text-sm { font-size: var(--fs-sm); }
.text-base { font-size: var(--fs-base); }
.text-lg { font-size: var(--fs-lg); }

.font-light { font-weight: var(--fw-light); }
.font-regular { font-weight: var(--fw-regular); }
.font-medium { font-weight: var(--fw-medium); }
.font-semibold { font-weight: var(--fw-semibold); }
.font-bold { font-weight: var(--fw-bold); }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

/* ===== PREMIUM UTILITY CLASSES ===== */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--backdrop-blur-lg);
  -webkit-backdrop-filter: var(--backdrop-blur-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: var(--backdrop-blur-lg);
  -webkit-backdrop-filter: var(--backdrop-blur-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.shadow-glow-lg {
  box-shadow: var(--shadow-glow-lg);
}

/* ===== ENHANCED RESPONSIVE DESIGN ===== */
@media (max-width: 640px) {
  .hero-text h1 {
    font-size: var(--fs-3xl);
  }
  
  .hero-text .hero-subheading {
    font-size: var(--fs-lg);
  }
  
  .cta-section h2 {
    font-size: var(--fs-2xl);
  }
  
  .card {
    padding: var(--space-4);
  }
}

/* ===== HEADER / NAVIGATION ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--backdrop-blur-lg);
  -webkit-backdrop-filter: var(--backdrop-blur-lg);
  border-bottom: 1px solid rgba(0, 102, 204, 0.1);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  animation: slideDown 0.6s ease-out;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--backdrop-blur-xl);
  -webkit-backdrop-filter: var(--backdrop-blur-xl);
  box-shadow: var(--shadow-xl);
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

/* Reduce navbar padding on mobile screens */
@media (max-width: 767px) {
  .navbar {
    padding-left: var(--space-4);
    padding-right: 0;
    gap: 0;
  }

  .navbar-toggle {
    margin-left: auto;
    margin-right: var(--space-3);
  }

  .navbar-menu {
    left: auto;
    right: 0;
    width: auto;
    max-width: 85vw;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.navbar-brand:hover {
  color: var(--color-primary-dark);
  transform: scale(1.02);
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 102, 204, 0.2));
}

/* Hide brand text on mobile for better responsiveness */
@media (max-width: 767px) {
  .navbar-brand span {
    display: none;
  }
  
  .navbar-brand {
    gap: 0;
  }

  .navbar-brand img {
    height: 52px;
  }
}

/* Hamburger Menu Toggle */
.navbar-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
  position: relative;
  z-index: 1001;
  margin-left: auto;
}

/* Smaller toggle on very small screens */
@media (max-width: 480px) {
  .navbar-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .navbar-toggle span {
    width: 18px;
  }
}

.navbar-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.navbar-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
  border-radius: 1px;
  position: relative;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide toggle on desktop */
@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }
}

/* Navigation Menu */
.navbar-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 102, 204, 0.12);
  border-top: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
  overflow: hidden;
  max-height: 0;
  padding: 0;
}

.navbar-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  padding: 1.25rem 0 1.5rem;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 1rem 0;
}

.navbar-nav li {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-nav li:last-child {
  border-bottom: none;
}

.navbar-nav a {
  display: flex;
  align-items: center;
  padding: 1.25rem var(--space-6);
  color: var(--color-text);
  font-weight: var(--fw-medium);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Reduce nav link padding on very small screens */
@media (max-width: 480px) {
  .navbar-nav a {
    padding: 1rem var(--space-4);
  }
}

/* Portfolio item responsive adjustments */
.portfolio-item-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

@media (max-width: 640px) {
  .portfolio-item-image {
    height: 250px;
  }
}

.navbar-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  transition: width 0.3s ease;
  z-index: -1;
}

.navbar-nav a:hover::before,
.navbar-nav a.active::before {
  width: 100%;
}

.navbar-nav a:hover {
  color: var(--color-white);
  transform: translateX(8px);
}

.navbar-nav a.active {
  color: var(--color-white);
  font-weight: var(--fw-semibold);
}

/* Desktop Navigation */
@media (min-width: 768px) {
  .navbar-menu {
    position: static;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex: 1;
    justify-content: center;
    padding-top: 0;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .navbar-nav {
    flex-direction: row;
    gap: var(--space-8);
    padding: 0;
  }

  .navbar-nav li {
    border-bottom: none;
  }

  .navbar-nav a {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    position: relative;
  }

  .navbar-nav a::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    z-index: -1;
  }

  .navbar-nav a:hover::before,
  .navbar-nav a.active::before {
    width: 100%;
    height: 100%;
  }

  .navbar-nav a:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
  }

  .navbar-nav a.active {
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  }
}

/* CTA Button in Navbar */
.navbar-cta {
  margin-left: auto;
}

.navbar-cta .btn {
  display: none;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border: none;
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.navbar-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

@media (min-width: 768px) {
  .navbar-cta .btn {
    display: inline-flex;
  }
}



/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  padding: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 168, 232, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 102, 204, 0.03), transparent);
  animation: float 8s ease-in-out infinite reverse;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text h1 {
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
  color: var(--color-dark-gray);
  background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero-text .hero-subheading {
  font-size: var(--fs-xl);
  color: var(--color-medium-gray);
  margin-bottom: var(--space-6);
  line-height: var(--lh-relaxed);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  position: relative;
  animation: scaleIn 1s ease-out 0.6s both;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 168, 232, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-base);
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
footer {
  background: var(--gradient-dark);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 168, 232, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.3), transparent);
  animation: shimmer 3s linear infinite;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h3 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
  position: relative;
}

.footer-section a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.footer-section a:hover {
  color: var(--color-white);
  transform: translateX(5px);
}

.footer-section a:hover::before {
  width: 100%;
}

.footer-section ul li {
  margin-bottom: var(--space-2);
}

.footer-section a {
  color: var(--color-medium-gray);
}

.footer-section a:hover {
  color: var(--color-white);
}

.social {
  display: flex;
  gap: var(--space-4);
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  color: var(--color-white);
  text-decoration: none;
}

.social a:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.footer-divider {
  border-top: var(--border-width) solid rgba(255, 255, 255, 0.1);
  margin: var(--space-8) 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--color-medium-gray);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-credit {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--lh-normal);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== CONTACT PAGE QUICK NAVIGATION ===== */
.quick-nav {
  margin-top: var(--space-8);
}

.quick-nav ul {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-nav a {
  transition: all var(--transition-base);
  border-radius: var(--radius-md);
}

.quick-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ===== BACK TO TOP BUTTON ===== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 24px;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 102, 204, 0.3);
  transition: all 0.3s ease;
  gap: 0;
}

#back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(0, 102, 204, 0.4);
}

#back-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

@media (max-width: 640px) {
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-in-scale {
  animation: fadeInScale 0.6s ease-out forwards;
}

/* Initial state for animations - removed opacity:0 to prevent content hiding if JS fails */

.animate-fade {
  animation: fadeIn 0.6s ease-in-out;
}

.animate-slide-up {
  animation: slideInUp 0.6s ease-in-out;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ===== STICKY ELEMENTS ===== */
.sticky-cta {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: var(--z-sticky);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  animation: slideInUp 0.5s ease-in-out;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ===== UTILITY: CLEARFIX ===== */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ===== RESPONSIVE FONT SIZE ===== */
@media (min-width: 1920px) {
  h1 { font-size: var(--fs-6xl); }
  h2 { font-size: 52px; }
}
