/* ==================== COLORS AND TYPOGRAPHY VARIABLES ==================== */

/* Color Variables */
:root {
  /* Primary Colors */
  --primary-color: #5f43b2;
  --secondary-color: #5f43b2;
  --accent-color: #0a0713;

  /* Background Colors */
  --background-color: #ffffff;

  /* Selection and Highlight Colors */
  --selection-color: #5f43b2;
  --highlight-color: #7258c0;
  --alert-pattern-color: #9e8bd4;

  /* Button Colors */
  --cta-button-color: #5f43b2;
  --cta-button-hover: #7258c0;
  --accent-dark: #7258c0;
  --whatsapp-primary: #25D366;
  --whatsapp-secondary: #20BA5A;
  --whatsapp-hover: #1DA851;

  /* Overlay and Effects */
  --portfolio-overlay: rgba(95, 67, 178, 0.9);
  --back-to-top-gradient: linear-gradient(135deg, #9e8bd4 0%, #7258c0 100%);
  --gradient-text: linear-gradient(135deg, #9e8bd4 0%, #7258c0 100%);
  --underline-accent-gradient: linear-gradient(90deg, #9e8bd4, #7258c0);

  /* Focus and Accessibility */
  --focus-outline: #5f43b2;

  /* Toast Colors */
  --toast-success-bg: #dcfce7;
  --toast-success-text: #166534;
  --toast-success-border: #bbf7d0;
  --toast-error-bg: #fee2e2;
  --toast-error-text: #991b1b;
  --toast-error-border: #fecaca;

  /* Shadows and Effects */
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-heavy: rgba(0, 0, 0, 0.15);
  --whatsapp-shadow: rgba(37, 211, 102, 0.4);
  --portfolio-shadow: rgba(0, 0, 0, 0.1);
  --lightbox-shadow: rgba(0, 0, 0, 0.7);

  /* Text Colors */
  --text-color: inherit; /* Default text color */
  --highlight-text: #fff;
}

/* Typography Variables */
:root {
  /* Font Weights */
  --font-thin: 100;
  --font-extralight: 200;
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;

  /* Line Heights */
  --line-height-body: 1.65;
  --line-height-toast: 1.25rem;

  /* Font Sizes */
  --font-size-cta: 1.125rem;
  --font-size-toast: 0.875rem;

  /* Other Typography */
  --max-width-paragraph: 75ch;
  --text-shadow-sm: 0 1px 2px var(--shadow-light);
  --text-shadow: 0 2px 4px var(--shadow-medium);
  --text-shadow-lg: 0 4px 8px var(--shadow-heavy);
}

/* ==================== GLOBAL STYLES ==================== */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1;
    text-rendering: optimizeLegibility;
    background-color: var(--background-color);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Selection styling */
::selection {
    background-color: var(--selection-color);
    color: inherit;
}

::-moz-selection {
    background-color: var(--selection-color);
    color: inherit;
}

/* ==================== TEXT HIGHLIGHTING ==================== */

mark.highlight {
    background: var(--highlight-color);
    padding: 0.1em 0.3em;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    border-radius: 0.25em;
    color: var(--highlight-text);
    font-weight: 600;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
    line-height: inherit;
    vertical-align: baseline;
}

.underline-accent {
    position: relative;
    display: inline;
    font-weight: 700;
    color: var(--accent-color);
}

.underline-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--underline-accent-gradient);
    border-radius: 2px;
}

/* ==================== HERO SECTION ==================== */

.hero-section {
    position: relative;
    background-image:
        linear-gradient(rgba(158, 139, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 139, 212, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}





/* Navigation initially hidden */
#main-nav {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

#main-nav.visible {
    transform: translateY(0);
}

.hero-highlight::after {
    content: '';
    position: absolute;
    left: -5%;
    bottom: 10%;
    width: 110%;
    height: 15px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0.15;
    border-radius: 10px;
    z-index: -1;
    animation: highlightPulse 3s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { opacity: 0.15; transform: scaleX(1); }
    50% { opacity: 0.25; transform: scaleX(1.05); }
}

@keyframes doubleWaveGlow {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 200% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes bpx {
    0%, 7.5%, 100% { background-position-x: 0, 0, 1em, 2em, 3em; }
    12.5%, 20% { background-position-x: 0, 1em, 0, 3em, 2em; }
    25%, 32.5% { background-position-x: 0, -1em, -2em, 5em, 4em; }
    37.5%, 45% { background-position-x: 0, 1em, -4em, 7em, 2em; }
    50%, 57.5% { background-position-x: 0, -2em, -5em, 8em, 5em; }
    62.5%, 70% { background-position-x: 0, -3em, -4em, 7em, 6em; }
    75%, 82.5% { background-position-x: 0, -1em, -2em, 5em, 4em; }
    87.5%, 95% { background-position-x: 0, -3em, 0, 3em, 6em; }
}

@keyframes bpy {
    0%, 7.5%, 100% { background-position-y: 0, 0, 1em, 2em, 3em; }
    12.5%, 20% { background-position-y: 0, 1em, 0, 3em, 2em; }
    25%, 32.5% { background-position-y: 0, -1em, -2em, 5em, 4em; }
    37.5%, 45% { background-position-y: 0, 1em, -4em, 7em, 2em; }
    50%, 57.5% { background-position-y: 0, -2em, -5em, 8em, 5em; }
    62.5%, 70% { background-position-y: 0, -3em, -4em, 7em, 6em; }
    75%, 82.5% { background-position-y: 0, -1em, -2em, 5em, 4em; }
    87.5%, 95% { background-position-y: 0, -3em, 0, 3em, 6em; }
}

/* ==================== ANIMATIONS ==================== */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes textPop {
    0% { transform: scale(1); text-shadow: 0 0 0 rgba(95, 67, 178, 0); }
    25% { transform: scale(1.02); text-shadow: 0 0 5px rgba(95, 67, 178, 0.3); }
    50% { transform: scale(1.08); text-shadow: 0 0 15px rgba(95, 67, 178, 0.8); }
    75% { transform: scale(1.02); text-shadow: 0 0 5px rgba(95, 67, 178, 0.3); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(95, 67, 178, 0); }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -30px, 0);
    }
    70% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered fade animation */
.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact form animation */
#contact-form-column.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==================== SCROLL INDICATOR ==================== */

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    border-radius: 2px;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ==================== SCROLL DOWN INDICATOR ==================== */

.scroll-down-indicator {
    position: absolute;
    bottom: -6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scroll-down-indicator.visible {
    opacity: 1;
}

.scroll-down-link {
    display: block;
}

.scroll-down-icon {
    width: 2rem;
    height: 2.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: color 0.3s ease;

}

.scroll-down-icon:hover {
    color: var(--accent-dark);
}

.scroll-arrow {
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(16px); }
}

/* ==================== BUTTONS ==================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cta-button-color);
    color: white;
    font-weight: 700;
    font-size: var(--font-size-cta);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    background: var(--cta-button-hover);
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(0);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--whatsapp-primary) 0%, var(--whatsapp-secondary) 100%);
    color: white;
    font-weight: 700;
    font-size: var(--font-size-cta);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    box-shadow: 0 10px 30px -5px var(--whatsapp-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--whatsapp-secondary) 0%, var(--whatsapp-hover) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px var(--whatsapp-shadow);
}

.whatsapp-button:hover::before {
    opacity: 1;
}

.whatsapp-button:active {
    transform: translateY(0);
}

/* ==================== ALERT CARD ==================== */

.alert-card {
    position: relative;
}

.alert-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        repeating-linear-gradient(45deg, var(--alert-pattern-color) 0, var(--alert-pattern-color) 2px, transparent 0, transparent 50%);
    background-size: 30px 30px;
    pointer-events: none;
    border-radius: 1rem;
}
/* ==================== CARDS ==================== */

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.team-card {
    transition: transform 0.3s ease;
}

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

/* ==================== PORTFOLIO ==================== */

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 0;
}

.portfolio-item {
    cursor: pointer;
}

.portfolio-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 20px var(--portfolio-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-image:
        linear-gradient(rgba(158, 139, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 139, 212, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.portfolio-wrapper:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.portfolio-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: var(--portfolio-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* ==================== LIGHTBOX ==================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.96);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    box-shadow: 0 30px 80px var(--lightbox-shadow);
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    25% { opacity: 0.4; }
    75% { opacity: 0.4; }
    100% { opacity: 0; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    line-height: 1;
    text-align: center;
}

.lightbox-close:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ==================== BACK TO TOP BUTTON ==================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--primary-color);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--cta-button-hover);
    transform: translateY(-5px);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 48px;
        height: 48px;
        border-radius: 50%;
    }
}

/* ==================== FOOTER ==================== */

footer {
    background-color: var(--accent-color);
}

footer a svg {
    transition: transform 0.3s ease, fill 0.3s ease;
}

footer a:hover svg {
    transform: translateY(-3px);
    fill: #9e8bd4;
}

/* ==================== ADDITIONAL MICRO-INTERACTIONS ==================== */

/* Smooth link transitions */
a {
    transition: color 0.3s ease;
}

/* Subtle shadow on hover for all interactive elements */
button,
.cta-button,
.whatsapp-button {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Add smooth focus states for accessibility */
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--focus-outline);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Prevent layout shift with min-height on sections */
section {
    min-height: fit-content;
}

/* Text selection improvements */
h1, h2, h3, h4, h5, h6 {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

img[src] {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

img.loaded {
    animation: none;
    background: transparent;
}

/* Smooth opacity transitions for loading states */
.fade-in-fast {
    animation: fadeIn 0.5s ease-out;
}

/* Parallax-like effect on scroll (subtle) */
@media (prefers-reduced-motion: no-preference) {
    .hero-section {
        transition: transform 0.3s ease-out;
    }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==================== TYPOGRAPHY REFINEMENTS ==================== */

/* Prevent orphans in headings */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

/* Better paragraph spacing */
p + p {
    margin-top: 1em;
}

/* Optimize for readability */
p {
    max-width: var(--max-width-paragraph);
    line-height: var(--line-height-body);
}

/* Improve number readability */
.font-display,
h1, h2, h3 {
    font-variant-numeric: lining-nums;
}

/* Enhanced typography hierarchy */
.font-thin {
    font-weight: var(--font-thin);
}

.font-extralight {
    font-weight: var(--font-extralight);
}

.font-light {
    font-weight: var(--font-light);
}

.font-normal {
    font-weight: var(--font-normal);
}

.font-medium {
    font-weight: var(--font-medium);
}

.font-semibold {
    font-weight: var(--font-semibold);
}

.font-bold {
    font-weight: var(--font-bold);
}

.font-extrabold {
    font-weight: var(--font-extrabold);
}

.font-black {
    font-weight: var(--font-black);
}

/* Better text shadows for depth */
.text-shadow-sm {
    text-shadow: var(--text-shadow-sm);
}

.text-shadow {
    text-shadow: var(--text-shadow);
}

.text-shadow-lg {
    text-shadow: var(--text-shadow-lg);
}

/* Gradient text effects */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== LOADING STATES ==================== */

/* Skeleton loading for images */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.5rem;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==================== PRINT STYLES ==================== */

@media print {
    .cta-button,
    .whatsapp-button,
    .scroll-indicator,
    footer,
    .lightbox {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
    
    h1 {
        font-size: 24pt;
    }
    
    h2 {
        font-size: 20pt;
    }
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
        width: 40px;
        height: 40px;
    }
    
    /* Improve touch targets on mobile */
    button,
    .cta-button,
    .whatsapp-button,
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing on mobile */
    section {
        scroll-margin-top: 1rem;
    }
}

/* ==================== TOAST MESSAGES ==================== */

.toast {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: var(--font-size-toast);
    font-weight: 500;
    line-height: var(--line-height-toast);
    transition: all 0.3s ease-out;
}

.toast-success {
    background: var(--toast-success-bg);
    color: var(--toast-success-text);
    border: 1px solid var(--toast-success-border);
}

.toast-error {
    background: var(--toast-error-bg);
    color: var(--toast-error-text);
    border: 1px solid var(--toast-error-border);
}

/* Toast animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==================== DARK MODE SUPPORT (OPTIONAL) ==================== */

@media (prefers-color-scheme: dark) {
    /* Subtle adjustments if user prefers dark mode - keeping it light themed but with softer contrasts */
    body {
        /* Keep the design as-is for now, but this is where dark mode could be implemented */
    }
}
/* ==================== CUSTOM SECTION STYLES ==================== */

/* Navigation */
.nav-main {
    background-color: #0a0713;
}

/* Typewriter Effect */
.typewriter-text {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
    gap: 0;
}

.oblivium {
    font-family: 'Monument Extended Bold', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    animation: typewriter-oblivium 3s linear 1s both;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: -8px;
}

.agency {
    font-family: 'Clash Display', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ccc;
    animation: typewriter-agency 3s linear 3s both;
    white-space: nowrap;
    overflow: hidden;
    text-transform: uppercase;
    margin-top: 0;
}

@keyframes typewriter-oblivium {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes typewriter-agency {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #9e8bd4;
    }
}

/* Content sections */
.content-section {
    background-color: #efecf8;
}

.alert-section {
    background-color: #d0c7ea;
    position: relative;
    background-image:
        linear-gradient(rgba(158, 139, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 139, 212, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.alert-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(158, 139, 212, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(158, 139, 212, 0.5) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    animation: patternMove 15s linear infinite, patternScroll 10s ease-in-out infinite;
}

/* Contact section centering */
#contact {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

/* Services section centering */
#services {
    display: flex;
    align-items: center;
    min-height: 100vh;
}

/* Typography */
.text-large-custom {
    font-size: 1.75rem;
}

.line-height-custom {
    line-height: 1.6;
}

.line-height-tight {
    line-height: 1.2;
}

.line-height-relaxed {
    line-height: 1.7;
}

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    opacity: 0;
}

.mobile-menu.active {
    max-height: 500px;
    opacity: 1;
}

/* Honeypot field */
.honeypot {
    display: none !important;
}

/* Contact items */
.contact-item {
  display: inline-flex;
  align-items: center;
  border: 1px solid #5f43b2;
  border-radius: 20px;
  padding: 0 8px;
  margin-right: 12px;
  margin-bottom: 8px;
  background: white;
  height: 24px;
}

.contact-dot {
  width: 8px;
  height: 8px;
  background: #9e8bd4;
  border-radius: 50%;
  margin-right: 5px;
  display: inline-block;
  flex-shrink: 0;
}

.contact-text {
  font-size: 0.9rem;
  font-weight: 400;
  color: #111827;
  line-height: 1.4;
  display: inline;
}
