/* ==========================================================================
   OMKAIX - Core Stylesheet (Modern, Minimalistic & Responsive)
   ========================================================================== */

/* 1. CSS Custom Properties & Design System */
:root {
    /* Color Palette - Customized from Logo */
    --color-primary: #070e1e;       /* Deep Navy Black */
    --color-secondary: #0f172a;     /* Deep Slate Blue */
    --color-tertiary: #f8fafc;      /* Light Off-White */
    --color-accent: #8b5cf6;        /* Electric Purple/Violet */
    --color-accent-hover: #7c3aed;  /* Deep Purple */
    --color-accent-rgb: 139, 92, 246;
    --color-gold: #f59e0b;          /* Metallic Gold */
    --color-gold-rgb: 245, 158, 11;
    --color-text-main: #1e293b;     /* Dark Slate Text */
    --color-text-muted: #64748b;    /* Muted Text */
    --color-card-bg: #ffffff;
    --color-border: #e2e8f0;
    --color-success: #10b981;       /* Emerald green */
    
    /* Typography */
    --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout & Spacing */
    --max-width: 1280px;
    --header-height: 80px;
    --border-radius: 12px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Resets & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-tertiary);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. Common Layout & Grid Containers */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 0.75rem auto 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .layout-with-sidebar {
        grid-template-columns: 2fr 1fr;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(var(--color-accent-rgb), 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: rgba(99, 102, 241, 0.05);
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    border-color: rgba(var(--color-accent-rgb), 0.2);
}

/* Forms styling */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(var(--color-accent-rgb), 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox and Grid selection styles */
.skills-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skills-domain-section {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.skills-domain-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-tertiary);
    padding-bottom: 0.5rem;
}

.skills-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
}

.skill-checkbox-card {
    position: relative;
    cursor: pointer;
}

.skill-checkbox-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.skill-checkbox-label {
    display: block;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-tertiary);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition-smooth);
    user-select: none;
}

.skill-checkbox-card input:checked + .skill-checkbox-label {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* 4. Navigation & Header */
.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

/* Responsive navigation styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        transform: translateY(-120%);
        transition: var(--transition-smooth);
        z-index: 999;
    }
    .nav-menu.active {
        transform: translateY(0);
    }
}

/* 5. Footer section */
.site-footer {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand h3 span {
    color: var(--color-accent);
}

.footer-brand p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 350px;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
}

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

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

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.location-item {
    border-left: 2px solid var(--color-accent);
    padding-left: 0.75rem;
}

.location-item h5 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.location-item p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid var(--color-secondary);
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-muted);
}

/* 6. Page-Specific Sections */
/* Hero section style */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #ffffff;
    padding: 7rem 0 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 4rem;
    }
}

.hero-section h1 span {
    background: linear-gradient(to right, #818cf8, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
}

/* Grid of features / services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.services-grid .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Tabbed offerings UI */
.tabs-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tabs-list {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--color-border);
    overflow-x: auto;
    padding-bottom: 2px;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

@media (min-width: 768px) {
    .tab-pane.active {
        grid-template-columns: 1fr 1fr;
    }
}

.tab-content-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.tab-content-info p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.tab-list-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.tab-list-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tab-list-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: bold;
}

/* Events styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.event-card {
    border-top: 4px solid var(--color-accent);
}

.event-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.event-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Success notification message banner */
.alert-banner {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Keyframes animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
