:root {
    /* Deep Forest Green Palette */
    --primary-color: #ffffff;
    /* White for main headings */
    --accent-color: #00e676;
    /* Vivid green accent */
    --accent-glow: rgba(0, 230, 118, 0.4);
    --text-color: #ffffff;
    /* White for body text */
    --background-color: #00251a;
    /* Deep, rich green background */
    --surface-color: rgba(255, 255, 255, 0.05);
    /* Glassmorphism effect base */

    /* Organic/Artistic Gradients */
    --blob-left-color: rgba(0, 230, 118, 0.15);
    --blob-right-color: rgba(29, 233, 182, 0.1);

    --font-family: 'Poppins', sans-serif;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    /* Removed large background gradients from here to avoid issues, focusing on blobs */
}

/* Noise Texture Pseudo-element */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Background Blobs */
.background-blob {
    position: fixed;
    /* Fixed prevents scroll overflow */
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.blob-left {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--blob-left-color) 0%, transparent 70%);
    top: -150px;
    left: -250px;
    animation: float 12s ease-in-out infinite;
    mix-blend-mode: screen;
    /* Artistic blending */
}

.blob-right {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blob-right-color) 0%, transparent 70%);
    bottom: -150px;
    right: -200px;
    animation: float 10s ease-in-out infinite reverse;
    mix-blend-mode: screen;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -20px) rotate(5deg);
    }

    66% {
        transform: translate(-20px, 30px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    /* Keep padding, but ensure it doesn't add to scroll if not needed */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: space-between;
}

/* Header / Logo */
.logo-container {
    margin-bottom: var(--spacing-lg);
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.logo-container::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    z-index: -1;
    filter: blur(20px);
}

.logo {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.logo2 {
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

/* Main Content */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

.subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

.title {
    font-size: 300%;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.description {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Contact Button */
.contact-methods {
    margin-bottom: var(--spacing-lg);
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 230, 118, 0.1);
    color: var(--accent-color);
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.btn-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: translateX(-101%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-contact:hover {
    color: #00251a;
    /* Dark text on hover */
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
    border-color: transparent;
}

.btn-contact:hover::before {
    transform: translateX(0);
}

/* Presentation Image */
.presentation-image-container {
    width: 100%;
    margin-top: var(--spacing-md);
    border-radius: 12px;
    /* Slight radius for a softer look, but minimal */
    overflow: hidden;
    position: relative;
    /* Removed heavy shadows, borders, and hover scale for a minimalist look */
}

.presentation-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    background-color: transparent;
    min-height: auto;
    /* Allow natural height */
}

/* Footer */
.footer {
    margin-top: var(--spacing-lg);
    width: 100%;
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 230, 118, 0.1);
    padding-bottom: 0;
    /* Ensure no extra padding at bottom of footer itself */
}

.social-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    opacity: 0.7;
}

.social-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
    opacity: 1;
    text-shadow: 0 0 10px var(--accent-glow);
}

.social-links a:hover::after {
    width: 100%;
}

.separator {
    color: var(--accent-color);
    opacity: 0.3;
    font-size: 0.8rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.5;
    letter-spacing: 0.5px;
}

/* Dots Animation */
.dots::after {
    content: '';
    animation: dots-animation 2s infinite steps(4);
    display: inline-block;
    width: 1em;
    /* Allocate space to prevent layout shift */
    text-align: left;
}

@keyframes dots-animation {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }

    100% {
        content: '';
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-md) 1rem;
        /* Adjust horizontal padding to give image more space */
    }

    /* Make presentation image taller and more prominent on mobile */
    .presentation-image-container {
        margin-top: var(--spacing-lg);
        width: 100%;
        max-width: 400px;
        /* Optional: cap width so it doesn't stretch infinitely on large phones, but stays vertical */
        margin-left: auto;
        margin-right: auto;
    }

    .presentation-image {
        min-height: 500px;
        /* Force a taller, vertical aspect ratio */
        height: 60vh;
        /* Responsive vertical height */
        object-position: center;
        /* Ensure center of image is focused when cropping */
    }

    .blob-left {
        width: 300px;
        height: 300px;
        left: -100px;
    }

    .blob-right {
        width: 250px;
        height: 250px;
        right: -80px;
    }

    .title br {
        display: none;
        /* Let text wrap naturally on mobile */
    }
}

/* Loader Styles */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    z-index: 10000;
    /* Highest z-index to cover everything */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loader-logo {
    width: 100px;
    height: auto;
    margin-bottom: 2rem;
    animation: pulse 2s infinite ease-in-out;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.loader-circle {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 230, 118, 0.2);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}