/* Ananya Brand Header Styles - Include on all pages */

:root {
    --primary-color: #2563eb;
    --secondary-color: #f97316;
    --accent-color: #fbbf24;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    padding-top: 76px; /* Account for fixed navbar */
}

.telugu-text {
    font-family: 'Noto Sans Telugu', sans-serif;
}

/* Fixed Navigation Styles */
.navbar-ananya {
    background: var(--dark-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 2px solid var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}

.navbar-brand-custom {
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    gap: 12px;
}

.navbar-brand-custom:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.navbar-brand-custom .logo-image {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.navbar-brand-custom:hover .logo-image {
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4));
}

.navbar-brand-custom .brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.navbar-brand-custom .brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: -2px;
}

.navbar-brand-custom .tagline {
    font-size: 0.7rem;
    font-weight: 300;
    color: #94a3b8 !important;
    font-style: italic;
    margin-top: 2px;
}

.navbar-nav .nav-link {
    color: #e2e8f0 !important;
    font-weight: 500;
    padding: 0.75rem 0.8rem !important;
    border-radius: 6px;
    margin: 0 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.navbar-nav .nav-link i {
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

.navbar-text {
    color: #94a3b8 !important;
    font-style: italic;
    font-size: 0.9rem;
}

.navbar-toggler {
    border: 1px solid var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 0.6rem !important;
        margin: 0 1px;
        font-size: 0.9rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-brand-custom .logo-image {
        height: 35px;
    }
    
    .navbar-brand-custom .brand-name {
        font-size: 1.4rem;
    }
    
    .navbar-brand-custom .tagline {
        font-size: 0.65rem;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand-custom {
        gap: 8px;
    }
    
    .navbar-brand-custom .logo-image {
        height: 30px;
    }
    
    .navbar-brand-custom .brand-name {
        font-size: 1.2rem;
    }
    
    .navbar-brand-custom .tagline {
        font-size: 0.6rem;
    }
    
    .navbar-nav .nav-link {
        margin: 2px 0;
        padding: 0.75rem 1rem !important;
        white-space: normal;
    }
    
    .navbar-text {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #374151;
    }
}

/* Page content adjustment */
.main-content {
    padding-top: 0;
}

/* Ensure consistent spacing across pages */
.page-header {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Button consistency */
.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: white;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    color: white;
}

/* Ensure footer stays at bottom */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* Common utility classes */
.ananya-gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.ananya-shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ananya-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ananya-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}