/* assets/css/style.css - THE SKELETON */

/* 1. Google Fonts (Hamesha yahi rahega) */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;600;700&display=swap');

/* 2. Reset (Basic cleaning) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 3. Variables (Default Colors - Agar DB fail ho jaye toh ye dikhenge) */
:root {
    /* Brand Colors extracted from Logo */
    --cobra-navy: #1D2554;   /* Dark Navy for Text/Footer */
    --cobra-blue: #0ea5e9;   /* Bright Blue for Accents */
    --cobra-cyan: #22d3ee;   /* Cyan for Gradients */
    
    /* Backgrounds */
    --bg-body: #f8fafc;      /* Very Light Blue/Gray (Not harsh white) */
    --bg-card: #ffffff;      /* Pure White for cards */
    
    /* Text */
    --text-main: #334155;    /* Slate Gray for readability */
    --text-head: #0f172a;    /* Dark Navy for Headings */
    --text-muted: #64748b;   /* Muted Gray */

    /* UI Elements */
    --border-color: #e2e8f0;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 4. Base Body */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-head);
    font-weight: 700;
    line-height: 1.2;
}

/* 5. Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }



/* --- LOADER STYLES --- */
.cobra-loader {
    height: 60vh; /* Screen ke beech me rakhne ke liye */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #1a1d2d;       /* Dark grey ring */
    border-top: 4px solid #00ff88;   /* Cobra Green moving part */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}




.loading-text {
    font-family: 'Courier New', monospace; /* Hacker style font */
    color: #6c5ce7; /* Purple Text */
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Content Fade In (Smooth Entry) */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}