/* MyExaminer Home Page Custom Styles */
/* Compatible with Bootstrap 3 and FontAwesome 4.4 */

:root {
    --primary-teal: #1E758F;
    --light-bg: #F0F7FA;
    --dark-text: #0A2A33;
    --accent-orange: #FF9E1B;
    --light-cyan: #E6F3F7;
    --turquoise: #4ECDC4;
    --darker-teal: #166478;
    --lighter-teal: #2A8CAB;
}

/* Hero Section */
.home-hero-wrapper {
    background: linear-gradient(135deg, #1E758F 0%, #2A8CAB 100%);
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 40px;
    max-width: 100vw;
}

.home-hero {
    color: white;
    padding: 60px 0;
    text-align: center;
}

.home-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.home-hero .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.home-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #FF9E1B;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Section Titles */
.section-title {
    color: #1E758F;
    font-size: 2rem;
    font-weight: 700;
    margin: 50px 0 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1E758F;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #FF9E1B;
}

/* Course Cards */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.course-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(30, 117, 143, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(30, 117, 143, 0.2);
    border-color: #4ECDC4;
}

.course-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.course-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E6F3F7;
    border-radius: 50%;
    color: #1E758F;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.course-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0A2A33;
    margin: 0;
    line-height: 1.4;
}

.course-highlight {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1E758F;
    text-decoration: none;
    padding: 10px 20px;
    background: #F0F7FA;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pdf-link:hover {
    background: #E6F3F7;
    color: #FF9E1B;
    text-decoration: none;
    transform: translateX(5px);
}

/* App Screenshots Slider */
.app-screenshots {
    background: white;
    padding: 50px 0;
    margin: 40px 0;
}

.screenshot-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.screenshot-slider::-webkit-scrollbar {
    height: 8px;
}

.screenshot-slider::-webkit-scrollbar-track {
    background: #F0F7FA;
    border-radius: 10px;
}

.screenshot-slider::-webkit-scrollbar-thumb {
    background: #1E758F;
    border-radius: 10px;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 250px;
}

.screenshot-frame {
    border: 3px solid #1E758F;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Package Cards */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.package-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(30, 117, 143, 0.15);
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: #FF9E1B;
}

.package-card.featured {
    border-color: #FF9E1B;
}

.package-card.featured:before {
    content: 'জনপ্রিয়';
    position: absolute;
    top: 15px;
    right: -30px;
    background: #FF9E1B;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.package-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1E758F;
    margin-bottom: 15px;
}

.package-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF9E1B;
    margin: 20px 0;
}

.package-price small {
    font-size: 1rem;
    color: #666;
}

.package-validity {
    background: #E6F3F7;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    color: #1E758F;
    font-weight: 600;
}

.package-description {
    max-height: 150px;
    overflow-y: auto;
    margin: 15px 0;
    padding-right: 10px;
    line-height: 1.6;
    color: #666;
}

.package-description::-webkit-scrollbar {
    width: 5px;
}

.package-description::-webkit-scrollbar-track {
    background: #F0F7FA;
    border-radius: 10px;
}

.package-description::-webkit-scrollbar-thumb {
    background: #1E758F;
    border-radius: 10px;
}

/* Login/App Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.btn-app-download,
.btn-website-login {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-app-download {
    background: #FF9E1B;
    color: white;
    border: 2px solid #FF9E1B;
}

.btn-app-download:hover {
    background: #E68A09;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 158, 27, 0.4);
    color: white;
    text-decoration: none;
}

.btn-website-login {
    background: #1E758F;
    color: white;
    border: 2px solid #1E758F;
}

.btn-website-login:hover {
    background: #166478;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 117, 143, 0.4);
    color: white;
    text-decoration: none;
}

/* Features Section */
.features-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.feature-highlight {
    background: #E6F3F7;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 5px solid #1E758F;
}

.feature-highlight p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #0A2A33;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    background: #F0F7FA;
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #E6F3F7;
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: #1E758F;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #0A2A33;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* Notice Section */
.notice-section {
    background: #FFF8EB;
    border-left: 5px solid #FF9E1B;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.notice-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-date {
    color: #FF9E1B;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.notice-content {
    color: #0A2A33;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #1E758F 0%, #166478 100%);
    color: white;
    padding: 50px 0;
    margin-top: 50px;
    text-align: center;
}

.contact-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-item a:hover {
    color: #FF9E1B;
    transform: scale(1.1);
    text-decoration: none;
}

.contact-item i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.contact-item p {
    font-size: 1.1rem;
    margin: 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 1.8rem;
    }
    
    .home-hero .lead {
        font-size: 1rem;
    }
    
    .home-stats {
        gap: 20px;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .course-grid,
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-app-download,
    .btn-website-login {
        width: 100%;
        justify-content: center;
    }
    
    .contact-items {
        flex-direction: column;
        gap: 30px;
    }
    
    .features-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .home-hero-wrapper {
        padding: 40px 0;
    }
    
    .package-price {
        font-size: 2rem;
    }
    
    .course-card,
    .package-card {
        padding: 20px;
    }
}
