:root {
    --bg: #050505;
    --accent: #7c3aed;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg);
    color: white;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h3 { font-family: 'Space Grotesk', sans-serif; }

/* Interactive Background */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Navigation Dock */
.dock {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(20px);
    padding: 10px 30px;
    border-radius: 50px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.dock a { color: #888; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.dock a:hover, .dock a.active { color: white; }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(to right, #fff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -2px; margin-bottom: 20px; }

/* Bento Grid */
.bento-container { padding: 100px 5%; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 20px;
}

.item {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    transition: 0.4s ease;
}

.item:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--accent); }
.large { grid-column: span 2; grid-row: span 3; }
.medium { grid-column: span 2; }
.wide { grid-column: span 2; }

/* Icon Styling */
.icon-accent {
    color: var(--accent);
    margin-bottom: 20px;
    width: 40px;
    height: 40px;
}

.item i {
    stroke-width: 1.5px;
    margin-bottom: 15px;
}

/* List Styling within Cards */
.item-list {
    list-style: none;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #aaa;
}

.item-list li::before {
    content: "\2022";
    color: var(--accent);
    margin-right: 8px;
}

/* Map Styling */
.map-embed {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    border: 1px solid var(--border);
    filter: grayscale(1) invert(1) opacity(0.7); /* Makes map match dark theme */
    margin-top: 20px;
}

/* Contact Form Styling */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}


/* --- Updated Contact Form Styling --- */
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(5, 5, 5, 1); /* Your specific brand background */
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white !important; /* Forces text to be white */
    font-family: inherit;
    transition: 0.3s;
    appearance: none; /* Removes default browser styling */
}

/* Fixes the background of the dropdown list when clicked */
.form-group select option {
    background: #111; /* A dark color for the dropdown list */
    color: white;
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus, 
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(12, 30, 42, 1); /* Slightly lighter on focus */
}

/* --- Updated Small Item Fix --- */
.small-grid {
    /* Changed from 150px to auto or a larger value to accommodate text */
    grid-template-rows: auto !important; 
    gap: 20px;
}

.item.small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px !important; /* Forces the padding to apply */
    min-height: 200px; /* Ensures enough space for text */
}

/* Ensures the text inside small items respects the container width */
.item.small h3, 
.item.small p {
    width: 100%;
    margin-bottom: 10px;
}