/* Custom CSS for IGNOU Assignments Website */

/* Root Variables */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8f9fa;
    --accent-color: #25d366;
    --text-dark: #333;
    --text-muted: #6c757d;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a5f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Enhanced Hero Title */
.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.5), 0 0 25px rgba(255,255,255,0.4);
    animation: titleSlideIn 1s ease-out;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

.title-main {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Arial Black', Arial, sans-serif;
}

.title-subtitle {
    display: block;
    font-size: 0.65em;
    font-weight: 700;
    color: #e8f5e8;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.title-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    z-index: -1;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.1);
    }
    100% {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.2);
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
    margin-top: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-badge:hover::before {
    left: 100%;
}

.hero-badge i {
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-right: 8px;
}

/* Hero Description */
.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.highlight-text {
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.8s both;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item i {
    color: #4ecdc4;
    font-size: 0.9rem;
}

/* Hero Buttons */
.hero-buttons {
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-btn {
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}


/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 255, 255, 0.3);
    }
}

@keyframes starTwinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes titleShine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}





.hero-image {
    position: relative;
    z-index: 2;
}

/* Hero Query Box */
.hero-query-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 2rem;
    margin-top: 2rem;
}

.query-box-header {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.query-box-header h4 {
    font-weight: 600;
    margin: 0;
    font-size: 1.5rem;
}

.query-box-header i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.query-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.query-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
    background: white;
}

.query-form .btn {
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.query-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-buttons .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.contact-form .btn {
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Query Popup */
.query-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Debug: Make popup visible for testing */
.query-popup.debug {
    opacity: 1;
    visibility: visible;
}

.query-popup.show {
    opacity: 1;
    visibility: visible;
}

.query-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.query-popup-content {
    position: relative;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.query-popup.show .query-popup-content {
    transform: scale(1) translateY(0);
}

.query-popup-header {
    background: linear-gradient(135deg, var(--primary-color), #1e3a5f);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.query-popup-header h4 {
    margin: 0;
    font-size: 1.3rem;
}

.query-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.query-popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.query-popup-body {
    padding: 2rem;
}

.query-popup-body .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.query-popup-body .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
    background: white;
}

.query-popup-body .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.query-popup-body .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design for Query Popup */
@media (max-width: 768px) {
    .query-popup-content {
        width: 95%;
        margin: 1rem;
    }
    
    .query-popup-body {
        padding: 1.5rem;
    }
    
    .query-popup-header {
        padding: 1rem;
    }
    
    .query-popup-header h4 {
        font-size: 1.1rem;
    }
}

/* Footer */
footer {
    background: #1a1a1a !important;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    text-align: left;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    display: block;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info {
    margin-top: 0;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.contact-info a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.social-links a {
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 1rem;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-color) !important;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* Footer bottom section spacing */
footer .row.align-items-center {
    margin-top: 1.5rem;
}

/* Equal spacing for footer columns */
footer .row > div {
    padding: 0 1rem;
}

footer .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

footer .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

footer .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .hero-query-box {
        margin-left: 0;
        margin-top: 2rem;
    }
    
    .title-main {
        font-size: 1em;
    }
    
    .title-subtitle {
        font-size: 0.5em;
        letter-spacing: 1px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .hero-query-box {
        margin-top: 2rem;
        margin-left: 0;
        padding: 1.5rem;
    }
    
    .query-box-header h4 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-popup {
        right: 10px;
        left: 10px;
        max-width: none;
    }

    /* Mobile-friendly highlight layout */
    .highlight-item {
        margin-left: 0;
        max-width: 100%;
    }

    .highlight-icon {
        font-size: 2rem;
    }

    /* Friendlier tap targets for form */
    .query-form .form-control {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .query-form .btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .title-main {
        font-size: 1em;
    }
    
    .title-subtitle {
        font-size: 0.45em;
        letter-spacing: 0.5px;
    }
    
    .hero-icon {
        font-size: 5rem;
    }
    
    .feature-card,
    .service-card {
        margin-bottom: 2rem;
    }
    
    .highlight-item {
        margin-bottom: 1.5rem;
        margin-left: 0;
    }
    
    .sample-card {
        margin-bottom: 2rem;
    }
    
    .sample-video {
        height: 180px;
    }
    
    .course-tags {
        gap: 0.25rem;
    }
    
    .course-tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .footer-brand {
        font-size: 1.3rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .contact-info a {
        font-size: 0.9rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.85rem;
    }

    /* Tighter mobile badge and headings */
    .hero-badge {
        padding: 10px 18px;
        font-size: 1rem;
        margin-top: 1.5rem;
    }

    .query-box-header h4 {
        font-size: 1.2rem;
    }

    /* Form controls and button sizing */
    .query-form .form-control {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .query-form .btn {
        padding: 12px 16px;
        font-size: 0.95rem;
        width: 100%;
    }

    /* Ensure highlights stack neatly */
    .highlight-item {
        margin: 0 auto 1rem auto;
    }
}

/* Key Highlights Section */
.highlight-item {
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
    max-width: 200px;
    margin-left: 4.5rem;
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.highlight-item h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    text-align: center;
}

.highlight-item small {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    display: block;
}

/* Assignment Samples Section */
.sample-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.sample-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.sample-video {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.sample-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.sample-content {
    padding: 1.5rem;
    text-align: center;
}

.sample-content h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.sample-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.sample-content .btn {
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.sample-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Course Tags */
.course-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.course-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.course-tag:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
}

/* Social Proof Section */
.social-proof-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

.social-proof-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.social-proof-card:hover .card-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(40, 167, 69, 0.9));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-proof-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.social-proof-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.rating-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-content {
    padding: 2rem;
    position: relative;
}

.card-title {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-text {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f8f9fa;
}

.student-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.student-details h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.student-course {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.trust-item:hover::before {
    left: 100%;
}

.trust-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.trust-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-label {
    color: #6c757d;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    position: relative;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Responsive Design for Social Proof */
@media (max-width: 768px) {
    .social-proof-card {
        margin-bottom: 2rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .trust-item {
        padding: 1.5rem 1rem;
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .trust-indicators {
        grid-template-columns: 1fr;
    }
    
    .student-info {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* CTA Buttons */
.cta-buttons .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Footer Trust Lines */
footer .row.text-center > div {
    font-size: 0.9rem;
    color: #ccc;
}

footer .row.text-center i {
    color: var(--accent-color);
}

/* Utility Classes */
.bg-light {
    background-color: var(--secondary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1e3a5f;
    border-color: #1e3a5f;
}

.btn-success {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-success:hover {
    background-color: #1da851;
    border-color: #1da851;
}

/* Animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
