/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 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.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.4); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.8); }
}

/* ===== Hero Section ===== */
.hero {

    padding: 60px 20px;
}

.hero .container {
    max-width: 1300px;
}

/* Hero Card - Side by Side on Desktop */
.hero-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
    display: flex;
    height: 600px;
    margin-bottom: 30px;
}

/* Left Side - Image Section */
.hero-image-section {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
}

.hero-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card:hover .hero-cover-img {
    transform: scale(1.08);
}

.hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #f093fb, #bb57f5);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.hero-discount-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Right Side - Content Section */
.hero-content-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

/* Scrollbar Styling */
.hero-content-section::-webkit-scrollbar {
    width: 6px;
}

.hero-content-section::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.hero-content-section::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

.note-category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

.hero-content-section h1 {
    font-size: 30px;
    color: #1a1a2e;
    margin-bottom: 5px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f7fa;
    border-radius: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #ffd700;
    font-size: 16px;
}

.students-icon {
    font-size: 18px;
}

.stat-text {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f5f7fa;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateX(5px);
}

.feature-icon {
    font-size: 20px;
}

/* Pricing */
.hero-pricing {
    background: linear-gradient(to right, #141e30, #243b55);
    padding-bottom: 10px;
    border-radius: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 0px;
}

.hero-current-price {
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.hero-original-price {
    font-size: 24px;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
}

.hero-urgency {
    color: white;
    font-weight: 700;
    font-size: 14px;
    animation: pulse 2s infinite;
    margin: 0;
}

/* Buy Button */
.hero-buy-btn {
    width: 100%;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    animation: glow 2s infinite, buyShake 3s infinite ease-in-out;
}



/* Unique Buy Button Shake Animation */
@keyframes buyShake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    5% { transform: translateX(-3px) rotate(-2deg); }
    10% { transform: translateX(3px) rotate(2deg); }
    15% { transform: translateX(-4px) rotate(-1deg); }
    20% { transform: translateX(4px) rotate(1deg); }
    25% { transform: translateX(-3px) rotate(0deg); }
    30% { transform: translateX(3px) rotate(0deg); }
    35%, 100% { transform: translateX(0) rotate(0deg); }
}


.hero-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(17, 153, 142, 0.5);
}

/* Guarantees */
.hero-guarantees {
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    border: 2px dashed #667eea;
}

.guarantee-item {
    font-size: 13px;
    color: #333;
    font-weight: 600;
}

/* What's Included Card - Below Main Card */
.hero-includes-card {
    background: white;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-includes-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1a1a2e;
    font-weight: 700;
    text-align: center;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.include-item {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    padding: 12px;
    background: #f5f7fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.include-item:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-3px);
}

/* ===== Tablet Responsive (768px - 1024px) ===== */
@media (max-width: 1024px) {
    .hero-card {
        height: auto;
        min-height: 550px;
    }

    .hero-content-section {
        padding: 30px;
    }

    .hero-content-section h1 {
        font-size: 28px;
    }

    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Mobile Responsive (Below 768px) ===== */
@media (max-width: 768px) {
    .hero {
        padding: 40px 1px;
    }

    /* Stack Image on Top, Content Below */
    .hero-card {
        flex-direction: column;
        height: auto;
    }

    .hero-image-section {
        flex: none;
        height: 350px;
        width: 100%;
    }

    .hero-content-section {
        padding: 30px 20px;
        overflow-y: visible;
    }

    .hero-content-section h1 {
        font-size: 26px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-current-price {
        font-size: 20px;
    }

    .hero-original-price {
        font-size: 20px;
    }

    .hero-buy-btn {
        font-size: 16px;
        
    }

    .hero-guarantees {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .includes-grid {
        grid-template-columns: 1fr;
    }

    .hero-includes-card {
        padding: 25px 20px;
    }

    .hero-badge,
    .hero-discount-tag {
        padding: 8px 16px;
        font-size: 12px;
    }

}

/* ===== Small Mobile (Below 480px) ===== */
@media (max-width: 480px) {
    .hero-image-section {
        height: 280px;
    }

    .hero-content-section h1 {
        font-size: 22px;
    }

    .hero-description {
        font-size: 14px;
    }

    .price-display {
        flex-direction: column;
        gap: 5px;
    }

    .hero-current-price {
        font-size: 25px;
    }

    .hero-original-price {
        font-size: 16px;
    }

    .hero-features {
        gap: 8px;
    }

    .hero-feature {
        padding: 10px;
        font-size: 13px;
    }

    .stat-text {
        font-size: 13px;
    }

    .guarantee-item {
        font-size: 12px;
    }
}


/* ===== Topics Section ===== */
.topics {
    padding: 20px 20px;
    background: #f5f7fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* Grid - 3 columns on desktop, responsive */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Smaller, Compact Cards */
.topic-card {
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    animation: fadeInUp 0.6s ease both;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.topic-card:nth-child(1) { animation-delay: 0.05s; }
.topic-card:nth-child(2) { animation-delay: 0.1s; }
.topic-card:nth-child(3) { animation-delay: 0.15s; }
.topic-card:nth-child(4) { animation-delay: 0.2s; }
.topic-card:nth-child(5) { animation-delay: 0.25s; }
.topic-card:nth-child(6) { animation-delay: 0.3s; }
.topic-card:nth-child(7) { animation-delay: 0.35s; }
.topic-card:nth-child(8) { animation-delay: 0.4s; }
.topic-card:nth-child(9) { animation-delay: 0.45s; }
.topic-card:nth-child(10) { animation-delay: 0.5s; }
.topic-card:nth-child(11) { animation-delay: 0.55s; }
.topic-card:nth-child(12) { animation-delay: 0.6s; }

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

/* Topic Header */
.topic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.topic-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.topic-icon {
    font-size: 36px;
}

/* Topic Title & Description */
.topic-card h3 {
    font-size: 19px;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.topic-card > p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Topic List - New Addition */
.topic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topic-list li {
    font-size: 15px;
    color: #555;
    padding: 3px 0;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.topic-list li::before {
    content: '';
    min-width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin-top: 6px;
}

/* Hover Effect on List Items */
.topic-card:hover .topic-list li {
    color: #333;
    transform: translateX(3px);
    transition: all 0.2s ease;
}

/* Responsive for Tablets */
@media (max-width: 1024px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .topics {
        padding: 60px 15px;
    }

    .topics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .topic-card {
        padding: 15px;
    }

    .topic-card h3 {
        font-size: 18px;
    }

    .topic-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .topic-icon {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .topic-card h3 {
        font-size: 17px;
    }

    .topic-list li {
        font-size: 14px;
    }
}


/* ===== Gallery Section ===== */
.gallery {
    padding: 40px 20px;
    background: white;
    position: relative;
}

.gallery .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.gallery .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* Gallery Grid - 5 items per row on laptop */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1500px;
    margin: 0 auto 50px;

}

/* Gallery Item Card */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInUp 0.6s ease both;
    background: white; /* Changed to white */
}

/* Staggered Animation Delays */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.15s; }
.gallery-item:nth-child(3) { animation-delay: 0.2s; }
.gallery-item:nth-child(4) { animation-delay: 0.25s; }
.gallery-item:nth-child(5) { animation-delay: 0.3s; }
.gallery-item:nth-child(6) { animation-delay: 0.35s; }

/* Hover Effect on Card */
.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
    z-index: 10;
}

/* Image Wrapper - No padding or margins */
.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 490px;
    overflow: hidden;
    background: white;
}

/* Image - 100% Fill, No Space */
.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from contain to cover - fills 100% */
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Zoom Effect on Hover */
.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.15);
}

/* Zoom Icon */
.gallery-zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.gallery-item:hover .gallery-zoom-icon {
    opacity: 1;
    transform: scale(1);
}

/* Overlay Text */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.overlay-text {
    color: white;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Focus State for Accessibility */
.gallery-item:focus {
    outline: 3px solid #667eea;
    outline-offset: 3px;
}

.gallery-item:focus-visible {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.35);
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
    padding: 20px 40px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

.gallery-cta h3 {
    font-size: 32px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.gallery-cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

.gallery-buy-btn {
     background: linear-gradient(to right, #141e30, #243b55);
    color: white;
    padding: 18px 45px;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: glow 2s infinite;
}

.gallery-buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(17, 153, 142, 0.4);
}

/* ===== Responsive Design ===== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Desktop (1024px - 1399px) */
@media (max-width: 1399px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Laptop/Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .gallery {
        padding: 60px 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .gallery-image-wrapper {
        height:400px;
    }

    .gallery .section-title {
        font-size: 32px;
    }

    .gallery-cta h3 {
        font-size: 28px;
    }

    .gallery-cta p {
        font-size: 16px;
    }
}

/* Tablet Portrait (600px - 767px) */
@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-image-wrapper {
        height: auto;
    }

    .gallery .section-title {
        font-size: 28px;
    }

    .gallery .section-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .overlay-text {
        font-size: 13px;
    }

    .gallery-cta {
        padding: 40px 25px;
    }

    .gallery-cta h3 {
        font-size: 24px;
    }

    .gallery-buy-btn {
        font-size: 16px;
        padding: 16px 35px;
    }
}

/* Mobile (Below 600px) */
@media (max-width: 599px) {
    .gallery {
        padding: 50px 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-image-wrapper {
        height: 550px;
    }

    .gallery .section-title {
        font-size: 24px;
    }

    .gallery .section-subtitle {
        font-size: 15px;
    }

    .gallery-item {
        border-radius: 12px;
    }

    .gallery-cta {
        padding: 35px 20px;
        border-radius: 20px;
    }

    .gallery-cta h3 {
        font-size: 22px;
    }

    .gallery-cta p {
        font-size: 15px;
    }

    .gallery-buy-btn {
        width: 100%;
        font-size: 15px;
        padding: 15px;
    }
}

/* Small Mobile (Below 400px) */
@media (max-width: 399px) {
    .gallery-image-wrapper {
        height: 400px;
    }

    .gallery .section-title {
        font-size: 22px;
    }

    .overlay-text {
        font-size: 12px;
    }
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

/* Background Animation Effect */
.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials .section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    margin-bottom: 0px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.testimonials .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

/* Testimonial Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease both;
    position: relative;
    overflow: hidden;
}

/* Staggered Animation */
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

/* Decorative Quote Mark */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 120px;
    color: rgba(102, 126, 234, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Testimonial Header */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stars {
    color: #ffd700;
    font-size: 20px;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

.rating-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Testimonial Text */
.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Testimonial Author Section */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

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

.author-info {
    flex: 1;
}

.author-name {
    font-weight: bold;
    color: #1a1a2e;
    font-size: 16px;
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: #666;
}

/* ===== 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.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== Responsive Design ===== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop to Tablet (768px - 1199px) */
@media (max-width: 1199px) {
    .testimonials {
        padding: 70px 20px;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .testimonial-card {
        padding: 30px;
    }

    .testimonials .section-title {
        font-size: 32px;
    }

    .testimonials .section-subtitle {
        font-size: 17px;
    }
}

/* Tablet (600px - 767px) */
@media (max-width: 767px) {
    .testimonials {
        padding: 60px 15px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonials .section-title {
        font-size: 28px;
    }

    .testimonials .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .stars {
        font-size: 18px;
    }

    .testimonial-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .author-name {
        font-size: 15px;
    }

    .author-role {
        font-size: 13px;
    }
}

/* Mobile (Below 600px) */
@media (max-width: 599px) {
    .testimonials {
        padding: 50px 15px;
    }

    .testimonial-grid {
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .testimonials .section-title {
        font-size: 24px;
    }

    .testimonials .section-subtitle {
        font-size: 15px;
    }

    .testimonial-header {
        margin-bottom: 18px;
    }

    .stars {
        font-size: 16px;
    }

    .rating-text {
        padding: 5px 14px;
        font-size: 13px;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .testimonial-author {
        padding-top: 18px;
        gap: 12px;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 15px;
    }

    .author-name {
        font-size: 14px;
    }

    .author-role {
        font-size: 12px;
    }

    .testimonial-card::before {
        font-size: 80px;
        top: 5px;
        right: 15px;
    }
}

/* Small Mobile (Below 400px) */
@media (max-width: 399px) {
    .testimonials {
        padding: 40px 10px;
    }

    .testimonial-card {
        padding: 20px 15px;
    }

    .testimonials .section-title {
        font-size: 22px;
    }

    .testimonials .section-subtitle {
        font-size: 14px;
    }

    .testimonial-text {
        font-size: 13px;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .author-name {
        font-size: 13px;
    }

    .author-role {
        font-size: 11px;
    }
}




/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-right h1 {
        font-size: 28px;
    }

    .key-features {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .bundle-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .current-price {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .bundle-header h2 {
        font-size: 24px;
    }

    .bundle-new-price {
        font-size: 36px;
    }

    .guarantees {
        flex-direction: column;
        gap: 10px;
    }
}





.topic-lines {
  list-style-type: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.topic-lines li::marker {
  content: "";
}



































/* ✅ FULL WIDTH CENTER (Laptop max 1200px) + PHONE CENTER + MULTICOLOR TEXT */
.networks-topics-full{
  padding: 40px 0;
  position: relative;
  overflow: hidden;
 
}



.networks-container{
  position: relative;
  z-index: 1;
  max-width: 1200px;   /* ✅ laptop width */
  margin: 0 auto;
  padding: 0 24px;     /* ✅ phone padding */
  text-align: center;  /* ✅ center on phone + laptop */
}

/* ✅ badge */
.offer-badge-wrap{
  display:flex;
  justify-content:center;
  margin-bottom: 16px;
}
.offer-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 16px;
  border-radius: 999px;

  color:#101010;
  font-weight: 900;
  letter-spacing: .6px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}



/* ✅ unit boxes */
.unit-box{
  text-align: left; /* list readable */
  border-radius: 18px;
  padding: 18px 40px;
  margin: 16px auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

/* each unit different border glow */
.unit1{ box-shadow: 0 18px 55px rgba(255,61,61,.12), 0 18px 55px rgba(0,0,0,.22); }
.unit2{ box-shadow: 0 18px 55px rgba(255,179,71,.12), 0 18px 55px rgba(0,0,0,.22); }
.unit3{ box-shadow: 0 18px 55px rgba(34,197,94,.12), 0 18px 55px rgba(0,0,0,.22); }
.unit4{ box-shadow: 0 18px 55px rgba(59,130,246,.12), 0 18px 55px rgba(0,0,0,.22); }
.unit5{ box-shadow: 0 18px 55px rgba(168,85,247,.12), 0 18px 55px rgba(0,0,0,.22); }
.unit6{ box-shadow: 0 18px 55px rgba(236,72,153,.12), 0 18px 55px rgba(0,0,0,.22); }
.unit7{ box-shadow: 0 18px 55px rgba(14,165,233,.12), 0 18px 55px rgba(0,0,0,.22); }
.unit8{ box-shadow: 0 18px 55px rgba(250,204,21,.12), 0 18px 55px rgba(0,0,0,.22); }

.unit-top{
  display:flex;
  align-items:center;
  gap: 14px;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.unit-tag{
  min-width: 78px;
  padding: 8px 10px;
  border-radius: 14px;
  font-weight: 1000;
  text-align:center;
     background: linear-gradient(to right, #6366f1, #ec4899);
  color:#0b0b0b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}

.unit-head{
  margin:0;
  font-size: 1.15rem;
  font-weight: 1000;
  letter-spacing: .4px;
  background-color: #0004ff;
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

.unit-pages{
  margin: 4px 0 0;
  font-size: .95rem;
  font-weight: 800;
  color: rgba(66, 63, 63, 0.86);
}

/* ✅ list */
.topic-lines{
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.topic-lines li{
  line-height: 1.65;
  font-weight: 700;
  color: rgba(65, 61, 61, 0.92);
}

/* multicolor page number highlight */
.topic-lines b{
  font-weight: 1000;
  background: blueviolet;
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

/* ✅ mobile center improvements */
@media (max-width: 640px){
  .unit-box{
    padding: 14px;
    text-align: left;
    font-size: 14px;
  }
  .unit-top{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .unit-head{
  font-size: 1rem;

}

  .unit-tag{
    align-self: flex-start;
  }
  .topic-lines{
    padding-left: 18px;
  }
}
