/* मुख्य वेरिएबल्स */
:root {
    --primary-color: #4e54c8;
    --primary-dark: #3a40a0;
    --primary-light: #8f94fb;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --black-color: #000000;
    --font-family: 'Poppins', sans-serif;
}

/* बेसिक सेटिंग्स */
body {
    font-family: var(--font-family);
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* हीरो सेक्शन */
.hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%), url('../images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-weight: 800;
    line-height: 1.3;
}

.hero-section .lead {
    font-size: 1.2rem;
}

.hero-image {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
}

.hero-shape {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    opacity: 0.1;
    z-index: -1;
}

/* एग्जाम कार्ड्स */
.exam-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
}

.bg-primary-soft { background-color: rgba(78, 84, 200, 0.1); }
.bg-success-soft { background-color: rgba(40, 167, 69, 0.1); }
.bg-danger-soft { background-color: rgba(220, 53, 69, 0.1); }
.bg-info-soft { background-color: rgba(23, 162, 184, 0.1); }
.bg-warning-soft { background-color: rgba(255, 193, 7, 0.1); }
.bg-secondary-soft { background-color: rgba(108, 117, 125, 0.1); }

/* फीचर कार्ड्स */
.feature-card {
    padding: 25px;
    border-radius: 10px;
    background: var(--white-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(78, 84, 200, 0.1);
    border-radius: 50%;
    margin: 0 auto;
}

/* टेस्टिमोनियल कार्ड्स */
.testimonial-card {
    padding: 25px;
    border-radius: 10px;
    background: var(--white-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.testimonial-rating {
    color: var(--warning-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.testimonial-profile {
    display: flex;
    align-items: center;
}

.testimonial-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--light-color);
}

/* जॉब कार्ड्स */
.job-card {
    padding: 20px;
    border-radius: 10px;
    background: var(--white-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.job-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.job-details {
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.job-footer {
    margin-top: auto;
}

/* न्यूज़लेटर सेक्शन */
.newsletter-form .form-control {
    height: 50px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* फुटर */
.footer {
    background-color: var(--dark-color);
}

.footer-heading {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* रेस्पॉन्सिव एडजस्टमेंट्स */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
        padding: 50px 0;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 30px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* बूटस्ट्रैप क्लास ओवरराइड्स */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* नेविगेशन */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(78, 84, 200, 0.1);
    color: var(--primary-color);
}

/* एनिमेशन */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animated-float {
    animation: float 3s ease-in-out infinite;
}