:root {
    --primary-color: #a855f7;
    --secondary-color: #06b6d4;
    --accent-color: #ec4899;
    --text-color: #e2e8f0;
    --text-dark: #94a3b8;
    --bg-color: #0f172a;
    --bg-secondary: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.6);
    --border-color: rgba(148, 163, 184, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
    --spacing-section: 8rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: -2;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Floating particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(6, 182, 212, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(236, 72, 153, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(6, 182, 212, 0.3), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: particleFloat 20s ease infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes particleFloat {

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

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-section) 0;
    scroll-margin-top: 80px;
    position: relative;
}

.bg-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mt-large {
    margin-top: 4rem;
}

.mb-large {
    margin-bottom: 4rem;
}

.mt-small {
    margin-top: 2rem;
}

.mb-small {
    margin-bottom: 1.5rem;
}

h1,
h2,
h3,
h4 {
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--text-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.875rem;
    color: var(--text-color);
}

h4 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

ul {
    list-style: none;
}

ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 2rem;
    color: var(--text-dark);
    transition: var(--transition);
}

ul li::before {
    content: "▸";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    transition: var(--transition);
}

ul li:hover {
    color: var(--text-color);
    transform: translateX(5px);
}

ul li:hover::before {
    color: var(--secondary-color);
    transform: scale(1.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}


.logo-icon {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--text-color);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
}

#hero-image {
    grid-column: span 2;
    justify-self: center;
}


.block-heading {
  display: block;
  width: max-content;  /* shrink to fit content */
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color);
}

.block-paragraph {
  display: block;
  width: max-content;  /* shrink to fit content */
  margin-left: auto;
  margin-right: auto;
}




@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero>.container {
    position: relative;
    z-index: 1;
}

.subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(168, 85, 247, 0.5);
}

.btn:hover .btn-glow {
    opacity: 1;
}

/* Image wrapper with glassmorphism */
.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 1rem;
    transition: var(--transition);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(168, 85, 247, 0.3);
}

.image-wrapper:hover::before {
    opacity: 1;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: var(--transition);
}

.image-wrapper img,
.hero-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Section components */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-dark);
}

.content-block {
    display: flex;
    flex-direction: column;
}

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

.area-block {
    margin-top: 4rem;
}

.area-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.area-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: var(--transition);
}

.area-title:hover::after {
    width: 200px;
}

.title-icon {
    font-size: 2rem;
}

.card {
    padding: 2.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(168, 85, 247, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
}

/* Highlight box */
.highlight-box {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.highlight-box:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.3);
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(168, 85, 247, 0.2);
    border-color: var(--primary-color);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(168, 85, 247, 0.4);
}

/* Contact Form */
.contact-form {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-primary {
    width: 100%;
}

/* Footer */
.footer {
    padding: 5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.1);
}

.footer-logo .logo-icon {
    font-size: 2.5rem;
}

.footer-logo .logo-text {
    font-size: 1.75rem;
}

.copyright {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Layout Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: start;
}

.blogpage a {
    color: var(--text-dark);
    text-decoration-color: var(--secondary-color);
}



/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-section: 4rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .order-last {
        order: -1;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-text {
	order: 1;
	text-align: center;
        align-items: center;
    }
    
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { margin-bottom: 1rem; }
    
    .hero-image {
        order: 2;
    }

    .lead {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .card {
        padding: 2rem;
    }

    .image-wrapper {
        margin-bottom: 2rem;
    }

     .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        padding: 1.5rem 2rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    }

    .nav-list {
        flex-direction: column;
        gap: 1.25rem;
    }

    /* When menu is open */
    .nav.active {
        display: flex;
        flex-direction: column;
    }


    #intro .grid-2 {
        display: flex;
        flex-direction: column;
        align-items: center;  /* center the items themselves */
        text-align: center;   /* center the text inside h1 and p */
        gap: 1.5rem;
    }

    #intro h1 {
        margin-bottom: 0.5rem;   /* small gap above subtitle */
    }

    #intro .subtitle {
        display: block;          /* make sure it's its own line */
        margin-bottom: 1.5rem;   /* space before the image */
    }

    #hero-image {
        width: 100%;
        max-width: 320px;        /* optional: keep logo from growing too big */
    }






    
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}
