body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Quattrocento Sans', sans-serif;
    color: #fff;
    -webkit-overflow-scrolling: touch;
}

a {
    background: none !important;
    color: #fff;
    border-radius: 22px;
    transition: 0.35s;
    position: relative;
    overflow: hidden;
    margin: 0 5px;
    padding: 4px;
    border-radius: 30px;
}

button {
    color: #fff;
}

h1 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 4rem;
    margin: 0 0 20px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

h2 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

h3 {
    font-family: 'Fjalla One', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

p {
    font-size: 1.4rem;
    opacity: 0.8;
    margin: 0;
    line-height: 2rem;
}
li {
    font-size: 1.4rem;
    line-height: 2em;
}
article {
    padding: 54px;
}

a:before {
    width: 0;
    border: 1px solid rgba(255, 255, 255, 0);
    top: 0;
    right: 0;
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.25s;
    bottom: 0;
    content: '';
    position: absolute;
    z-index: 5;
    border-radius: 30px;
    transition: 0.35s;
}

a:hover:before,
.active a:before {
    left: 0;
    width: 100%;
    opacity: 1;
    border-color: rgba(255, 255, 255, 1);
    transition: 0.35s;
}

.gradient-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: linear-gradient(45deg, #ff6b81 0%, #ffb347 25%, #ffc18d 50%, #a18cd1 75%, #7e57c2 100%), linear-gradient(135deg, #7e57c2 0%, #a18cd1 25%, #ffc18d 50%, #ffb347 75%, #ff6b81 100%);
    background-size: 300% 300%;
    animation: gradientFlow 15s ease-in-out infinite;
    display: flex;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.gradient-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 80%, #ff6b81 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, #7e57c2 0%, transparent 60%), radial-gradient(ellipse at 60% 60%, #ffb347 0%, transparent 50%);
    background-size: 150% 150%;
    animation: layerMove 18s ease-in-out infinite;
    opacity: 0.7;
}


.glass-container {
    width: 100%;
    max-width: 1400px;
    min-height: calc(100vh - 60px);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: visible;
    position: relative;
}

.effect {
    height: calc(var(--height) * 1px);
    width: calc(var(--width) * 1px);
    border-radius: calc(var(--radius) * 1px);
    z-index: 999999;
    background: light-dark(hsl(0 0% 100% / var(--frost, 0)), hsl(0 0% 0% / var(--frost, 0)));
    box-shadow: 0 0 2px 1px light-dark(color-mix(in oklch, canvasText, #0000 85%), color-mix(in oklch, canvasText, #0000 65%)) 
      inset, 0 0 10px 4px light-dark(color-mix(in oklch, canvasText, #0000 90%), color-mix(in oklch, canvasText, #0000 85%)) 
      inset, 0 4px 16px rgba(17, 17, 26, 0.05), 
             0 8px 12px rgba(17, 17, 26, 0.05), 
             0 0 8px rgba(17, 17, 26, 0.05), 
             0 8px 12px rgba(17, 17, 26, 0.2), 
             0 16px 28px rgba(17, 17, 26, 0.05), 
             0 4px 16px rgba(17, 17, 26, 0.05) 
      inset, 0 8px 12px rgba(17, 17, 26, 0.05) 
      inset, 0 16px 28px rgba(17, 17, 26, 0.05) 
      inset;

    * {
        pointer-events: none;
    }
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 2.3em;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 160px);
    max-width: 1340px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: url(#filter) blur(4px) saturate(1.5);
    -webkit-backdrop-filter: url(#filter) blur(4px) saturate(1.5);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.2) inset, 0 0 8px 2px rgba(255, 255, 255, 0.08) inset, 0 4px 16px rgba(17, 17, 26, 0.1), 0 8px 32px rgba(17, 17, 26, 0.15);
    z-index: 180;
}

/* SVG Filter - hidden but functional */
.filter {
    width: 0;
    height: 0;
    position: absolute;
    pointer-events: none;
}

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

.logo-image {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-link {
    opacity: 0.7;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.nav-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    -webkit-transform: rotate(45deg) translate(5px, 5px);
    -moz-transform: rotate(45deg) translate(5px, 5px);
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    -webkit-transform: rotate(-45deg) translate(7px, -6px);
    -moz-transform: rotate(-45deg) translate(7px, -6px);
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Content Container */
.content-container {
    position: relative;
}

/* Sections */
.section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    scroll-margin-top: 120px; /* Account for fixed nav height */
}

/* Hero Section */
.hero-content {
    text-align: center;
}

/* Section Content */
.section-content {
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

/* Content Box */
.content-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 80px auto;
    max-width: 720px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.service-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.contact-info,
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
}

.contact-item {
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Form Styles */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    opacity: 0.6;
}

.contact-form button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus states for accessibility */
.nav-link:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Mobile Navigation - Only hamburger menu changes */
@media(max-width: 768px) {
    .hamburger {
        display: flex !important;
        flex-direction: column;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 12px;
        margin-top: 8px;
        padding: 15px;
        flex-direction: column;
        gap: 8px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 200;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex !important;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 10px 15px !important;
        border-radius: 8px !important;
        text-align: center;
        font-size: 0.9rem !important;
        transition: all 0.2s ease !important;
        opacity: 0.9 !important;
        background: transparent !important;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        opacity: 1 !important;
    }

    .nav-link.active {
        background: rgba(255, 255, 255, 0.3) !important;
        opacity: 1 !important;
    }

    .content-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
        z-index: 170;
        width: 100vw;
        height: 100vh;
        overflow: visible;
    }

    .content-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        backdrop-filter: blur(8px);
    }
}

/* Responsive improvements - Only layout changes, no positioning overrides */
@media(max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 20px;
    text-align: center;
}

.footer p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
    text-align: center;
}

/* Remove scroll indicator for scrollable layout */
.scroll-indicator {
    display: none;
}

.text-container span {
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

@keyframes gradientFlow {
    0, 100% {
        background-position: 0 50%;
    }

    25% {
        background-position: 100% 0;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0 100%;
    }
}

@keyframes gradientRotate {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes layerMove {

    0,
    100% {
        background-position: 0 0, 100% 100%, 50% 50%;
    }

    50% {
        background-position: 100% 100%, 0 0, 80% 20%;
    }
}

/* Form message styles */
.form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.form-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for submit button */
.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
} /* 
Security: Hide honeypot fields */
input[name="website"] {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Additional bot protection styles */
.contact-form form {
    position: relative;
}

.contact-form form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

/* iOS Safari scrolling fixes */
@supports(-webkit-overflow-scrolling: touch) {
    body {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
    }

    .gradient-container {
        -webkit-overflow-scrolling: touch;
    }

    .glass-container {
        -webkit-overflow-scrolling: touch;
    }
}


@media only screen and(max-width: 480px) {
    h1 {
        font-size: 7vw;
    }
    h2 {
        font-size: 6vw;
    }
    h3 {
        font-size: 5vw;
    }
    p {
        font-size: 4vw;
    }
    li {
        font-size: 4vw;
    }
    article {
        padding: 3vw;
    }

}
