@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Delicate Professional Palette - Slate Based */
    --primary: #0f172a;        /* Deep Slate */
    --primary-light: #334155;
    --accent: #3b82f6;         /* Refined Blue */
    --accent-soft: rgba(59, 130, 246, 0.08);
    
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --border: #e2e8f0;
    --border-soft: #f1f5f9;
    --glass-border: rgba(0, 0, 0, 0.04);
    
    --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.03), 0 2px 4px -2px rgb(0 0 0 / 0.03);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.04), 0 4px 6px -4px rgb(0 0 0 / 0.04);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius: 12px;
}

[data-theme='dark'] {
    --primary: #f8fafc;
    --primary-light: #cbd5e1;
    --accent: #60a5fa;
    --accent-soft: rgba(96, 165, 250, 0.1);
    
    --bg-main: #020617;        /* Slate 950 */
    --bg-secondary: #0f172a;   /* Slate 900 */
    --bg-card: #0f172a;
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    --border: rgba(255, 255, 255, 0.06);
    --border-soft: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Base resets for a delicate look */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.6s ease;
}

.container {
    max-width: 1100px; /* More condensed for a refined look */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Refined Header */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(var(--bg-main), 0.8);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo span {
    font-weight: 300;
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 1.5rem; /* Reduced gap to avoid overlapping */
    list-style: none;
    align-items: center;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem; /* Slightly smaller for more space */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

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

.btn-cta {
    background: var(--primary);
    color: var(--bg-main);
    padding: 0.6rem 1.4rem;
    border-radius: 6px; /* Sharper, more professional */
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.btn-cta:hover {
    background: transparent;
    color: var(--primary);
}

/* Elegant Hero */
.hero {
    padding: 12rem 0 8rem;
    text-align: center;
    background: radial-gradient(circle at top center, var(--accent-soft), transparent 60%);
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: block;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* Minimalist Grid */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    background-size: cover;
    background-position: center;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Consultancy Section - Balanced & Airy */
.consultancy {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.split-layout {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.content-half {
    flex: 1;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature {
    padding: 1.5rem;
    border-left: 2px solid var(--accent);
}

.feature h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer - Corporate Minimal */
footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-col h5 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-soft);
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Theme Toggle Elegant */
.theme-switch {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-switch:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .card-grid { grid-template-columns: 1fr; }
    .split-layout { flex-direction: column; gap: 3rem; }
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
}

/* Educational Banner Section */
.edu-banner {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5rem 3rem;
    margin: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.edu-banner h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.edu-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.edu-topics {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.topic-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.edu-footer {
    padding-top: 3rem;
    border-top: 1px solid var(--border-soft);
    font-size: 0.85rem;
    color: var(--text-light);
}

.edu-footer strong {
    color: var(--primary);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.modal-body p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.modal-schedule {
    margin: 2rem 0;
    text-align: left;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.schedule-item:last-child {
    border-bottom: none;
}
