/* ============================================================
   Study.NadmaniyaCareer.in - Main Stylesheet
   ============================================================ */

/* Base Styles */
:root {
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --secondary-color: #764ba2;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --danger-color: #fc8181;
    --dark-color: #1a202c;
    --light-color: #f7fafc;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --header-height: 70px;
    --bottom-nav-height: 65px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    background-color: #f8f9fa;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: var(--bottom-nav-height);
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-height: var(--header-height);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
}

.brand-text {
    font-weight: 800;
}

@media (max-width: 576px) {
    .brand-text {
        display: none;
    }
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(102, 126, 234, 0.08);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(102, 126, 234, 0.1);
}

/* ============================================================
   Mobile Bottom Navigation
   ============================================================ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    z-index: 1000;
    height: var(--bottom-nav-height);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 8px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.65rem;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 50px;
}

.mobile-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.mobile-nav-item.active {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.mobile-nav-item:hover {
    color: var(--primary-color);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.btn-lg {
    padding: 12px 28px;
    font-weight: 600;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ============================================================
   Text Gradients
   ============================================================ */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   Floating Cards
   ============================================================ */
.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: 5%;
    animation-delay: 1.5s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
}

/* ============================================================
   Icon Circles
   ============================================================ */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   Stats
   ============================================================ */
.stats div {
    border-right: 1px solid #dee2e6;
    padding-right: 20px;
}

.stats div:last-child {
    border-right: none;
}

@media (max-width: 576px) {
    .stats {
        flex-wrap: wrap;
        gap: 10px;
    }
    .stats div {
        border-right: none;
        padding-right: 0;
    }
}

/* ============================================================
   Shapes
   ============================================================ */
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #667eea;
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: #764ba2;
    bottom: -50px;
    left: -50px;
}

/* ============================================================
   Hover Cards
   ============================================================ */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* ============================================================
   Material Cards
   ============================================================ */
.material-card {
    transition: transform 0.3s ease;
}

.material-card:hover {
    transform: translateY(-3px);
}

/* ============================================================
   App Badge
   ============================================================ */
.app-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================================
   Footer
   ============================================================ */
footer a:hover {
    color: white !important;
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding: 40px 0 30px;
    }
    
    .hero-section .display-4 {
        font-size: 2.2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .hero-section .display-4 {
        font-size: 2.8rem;
    }
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-muted-light {
    color: #a0aec0;
}

.bg-primary-subtle {
    background-color: rgba(102, 126, 234, 0.1);
}

.bg-success-subtle {
    background-color: rgba(72, 187, 120, 0.1);
}

.bg-warning-subtle {
    background-color: rgba(237, 137, 54, 0.1);
}

.bg-danger-subtle {
    background-color: rgba(252, 129, 129, 0.1);
}

.rounded-4 {
    border-radius: 1rem;
}

.rounded-5 {
    border-radius: 1.5rem;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* ============================================================
   Main Content Padding
   ============================================================ */
.main-content {
    min-height: calc(100vh - var(--header-height) - 200px);
}

@media (max-width: 768px) {
    .main-content {
        min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height) - 150px);
    }
}