:root {
    /* Modern 2025 Design Palette */
    --primary: #020617;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.4);
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --secondary-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-pill: 100px;
    
    --shadow-premium: 0 25px 60px rgba(0, 0, 0, 0.05);
    --shadow-accent: 0 15px 30px rgba(16, 185, 129, 0.15);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.03) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.03) 0, transparent 50%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Modern Navigation --- */
header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
}

header .container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 32px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img { height: 35px; }

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- Section Background Styles --- */

/* Hero: Dynamic Gradient */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: 
        radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.05), transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.05), transparent 50%);
    position: relative;
}

/* About: Clean Minimalist */
.section-about {
    background: #ffffff;
}

/* Philosophy: Glass Bento Background */
.section-philosophy {
    background-color: #f8fafc;
    position: relative;
}

.section-philosophy::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

/* Contact: Directional Glow */
.section-contact {
    background: radial-gradient(circle at 0% 100%, rgba(0, 168, 89, 0.05), transparent 50%);
}

/* --- Content Layouts --- */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 45px;
}

.btn {
    padding: 18px 36px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.05);
    color: var(--primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.hero-visual img, .about-visual img {
    width: 100%;
    mix-blend-mode: multiply; /* Removes white background and blends with site gradients */
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.05));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* --- Sections Common --- */
.section { padding: 140px 0; }

.section-title { margin-bottom: 80px; }
.section-title h2 { font-size: 3.5rem; font-weight: 900; letter-spacing: -1.5px; }
.section-title p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin-top: 15px; }

/* --- Premium Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bento-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
    z-index: 1;
}

.bento-item:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 30px 70px rgba(0,0,0,0.08);
}

.bento-item i {
    font-size: 3rem;
    margin-bottom: 30px;
    display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-item h3 { font-size: 1.8rem; margin-bottom: 15px; font-weight: 800; }
.bento-item p { color: var(--text-muted); font-size: 1.1rem; }

.bento-wide { grid-column: span 2; }

/* --- Categories Section Dot Pattern --- */
#categories {
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 30px 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

@media (max-width: 1200px) {
    .category-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .category-grid { grid-template-columns: repeat(1, 1fr); }
}

.category-card {
    height: 260px;
    border-radius: 32px; /* Matching the soft corner in the image */
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: #ffffff;
    /* Double-layered border effect */
    border: 1px solid #e2e8f0;
    box-shadow: 0 0 0 6px #ffffff, 0 0 0 7px #f1f5f9, var(--shadow-premium);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 0 0 6px #ffffff, 0 0 0 8px var(--accent-glow), 0 30px 60px rgba(0, 0, 0, 0.1);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    /* Making image slightly smaller to show the dot pattern on the edges if desired, 
       but user said 'fill the box', so I'll keep it filling but maybe with a mask?
       Actually, I'll keep it filling but let the dot pattern be visible behind the h4 chip. */
}

.category-card:hover img {
    transform: scale(1.1) rotate(1deg);
}

.category-card h4 {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    z-index: 10;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.4); /* Subtle glass border */
    transition: var(--transition);
}

.category-card:hover h4 {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, transparent 40%, rgba(0,0,0,0.05) 100%);
    z-index: 2;
    pointer-events: none;
}

/* --- Map --- */
.map-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
    height: 500px;
}

/* --- Footer --- */
.footer {
    background: #020617;
    color: white;
    padding: 120px 0 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 70px;
}

.footer h4 { text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 35px; color: var(--accent); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 15px; }
.footer a { text-decoration: none; color: rgba(255,255,255,0.6); transition: var(--transition); font-size: 1rem; }
.footer a:hover { color: white; padding-left: 10px; }

.footer-bottom {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.4);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-btn { display: block; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }
