/* ==========================================
   NEXORA GROUP - PROFESSIONAL CORPORATE THEME
   Modern, Clean, Trustworthy
   ========================================== */

/* === ROOT VARIABLES === */
:root {
    /* Brand Colors - Refined for Professionalism */
    --primary: #0F172A;
    /* Slate 900 - Deep, rich navy, very premium */
    --secondary: #06B6D4;
    /* Cyan 500 - Sophisticated, not neon */
    --accent-blue: #3B82F6;
    /* Blue 500 - Trustworthy interaction color */

    /* Neutral Palette */
    --bg-body: #FFFFFF;
    /* Pure White */
    --bg-base: #F8FAFC;
    /* Slate 50 - Very subtle cool gray */
    --bg-surface: #FFFFFF;
    /* White surface */

    /* Text Colors - High Contrast & Softness */
    --text-main: #1E293B;
    /* Slate 800 - Softer than pure black */
    --text-body: #475569;
    /* Slate 600 - Readable, professional gray */
    --text-light: #64748B;
    /* Slate 500 - Meta text */
    --text-white: #FFFFFF;

    /* Gradients - Subtle & Modern */
    --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-accent: linear-gradient(135deg, #06B6D4 0%, #0EA5E9 100%);

    /* Shadows - Diffuse & Premium */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* Layout */
    --container-width: 1200px;
    /* Slightly narrower for focus */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    /* Slightly tighter than 20px for professional look */
    --radius-full: 9999px;

    /* Transitions */
    --transition-base: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    /* Faster, snappier */
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    /* Increased for better readability */
    color: var(--text-body);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    /* Tighter tracking for modern headings */
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === COMMON UTILITIES === */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    /* More whitespace = Premium feel */
    overflow: hidden;
}

.bg-gray {
    background-color: var(--bg-base);
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--secondary);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 231, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Header styles moved to navbar.css */

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px rgba(11, 27, 61, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(11, 27, 61, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* For dark backgrounds */
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* === GRIDS & CARDS === */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* === FOOTER === */
.footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 40px;
}

.footer-logo-image {
    height: 60px;
    margin-bottom: 1.5rem;
    background: white;
    padding: 5px;
    border-radius: var(--radius-sm);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.footer h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 4rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 1024px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease;
        padding: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--text-main);
    }
}