/* Clean, Modern, Minimalist Design with Slider & Loader */
:root {
    --bg-card: rgba(255, 255, 255, 0.95); /* Slightly transparent white card */
    --text-main: #0f172a; /* Slate 900 for high contrast text */
    --text-muted: #64748b; /* Slate 500 for secondary text */
    --border-color: rgba(226, 232, 240, 0.8); /* Slate 200 for subtle borders */
    --accent-blue: #0ea5e9; /* Professional blue */
    --accent-red: #ef4444; /* Alert red */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden; /* Prevent scrolling caused by slider */
    background-color: #1a1a1a;
}

/* Background Slider */
.bg-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1.05); /* Slight zoom for dramatic effect */
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Dark Overlay to make the white card stand out */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: -1;
}

/* Main Content Wrapper */
.wrapper {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

/* The clean central card */
.content-box {
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    max-width: 480px; 
    width: 100%;
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    text-align: center;
}

/* Logo Sizing */
.logo-wrapper {
    margin-bottom: 32px;
}

.logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Loader & Badge Container */
.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

/* CSS Loader Animation */
.loader {
    width: 22px;
    height: 22px;
    border: 3px solid rgba(14, 165, 233, 0.2);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Minimal Badge */
.badge {
    padding: 6px 14px;
    background-color: rgba(241, 245, 249, 0.8);
    color: var(--text-muted);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Typography reduced by 3 steps */
.title {
    font-size: 1.5rem; /* Significantly smaller */
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.desc {
    font-size: 0.95rem; /* Standard readable size */
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    border-top: 1px solid var(--border-color);
    padding-top: 28px;
    margin-bottom: 32px;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 600;
}

.mail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    background-color: #f1f5f9; /* Soft button background */
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.mail-btn:hover {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.mail-btn i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

/* Social Footer */
.social-footer {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-link {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--text-main);
    transform: translateY(-2px);
}

/* Responsive constraints */
@media (max-width: 480px) {
    .content-box {
        padding: 40px 24px;
        border-radius: 12px;
    }
    
    .title {
        font-size: 1.3rem;
    }
    
    .desc {
        font-size: 0.9rem;
    }
}
