/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary-color: #4F46E5;
  --secondary-color: #10B981;
  --dark-color: #111827;
  --gray-color: #6B7280;
  --light-gray-color: #F9FAFB;
  --white-color: #FFFFFF;
  --font-family: 'Poppins', sans-serif;
  --border-radius: 12px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

body {
  font-family: var(--font-family);
  color: var(--gray-color);
  background-color: var(--white-color);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  font-weight: 600;
}

.section {
  padding: 80px 0;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #4338CA;
    border-color: #4338CA;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: all 0.3s ease-in-out;
}

.header-area.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header-area .navbar-brand img {
    max-height: 40px;
}

.header-area .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 15px !important;
    transition: color 0.3s;
}
.header-area .nav-link:hover, .header-area .nav-link.active {
    color: var(--primary-color);
}

.header-area .login-button {
    margin-left: 15px;
}

@media (max-width: 991.98px) {
    .header-area .navbar-collapse {
        background: var(--white-color);
        padding: 20px;
        margin-top: 10px;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
    }
    .header-area .login-button {
       margin-left: 0;
       margin-top: 10px;
       width: 100%;
    }
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
    padding: 140px 0;
    background: linear-gradient(to right, #F9FAFB, #F3F4F6);
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.hero-description .highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating {
    animation: float 4s ease-in-out infinite;
}

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

.hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
}
.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    display: block;
}
.stat-item .stat-text {
    font-size: 0.9rem;
}


/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.feature-card {
    background: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}
.feature-card .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.feature-card .feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-section ul i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}
.about-section ul h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Tutorials Section
--------------------------------------------------------------*/
.video-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
}
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.video-thumbnail iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.video-thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}
.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
}
.video-content {
    padding: 25px;
}
.video-content h3 {
    font-size: 1.2rem;
}


/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonial-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #e5e7eb;
    margin-bottom: 40px;
}
.testimonial-author {
    margin-bottom: 15px;
}
.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}
.testimonial-author span {
    color: var(--gray-color);
    font-size: 0.9rem;
}
.testimonial-rating {
    color: #FFC107;
    margin-top: 15px;
}
.testimonials-slider .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing-card {
    background: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
}
.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    position: relative;
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
}
.pricing-card .price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 20px 0;
}
.pricing-card .price sup {
    font-size: 1.5rem;
    top: -1.5rem;
}
.pricing-card .price span {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 400;
}
.pricing-card .features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}
.pricing-card .features li {
    margin-bottom: 15px;
}
.pricing-card .features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Plan Builder */
.plan-builder .plan-option {
    background: var(--white-color);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.plan-builder .plan-option label {
    font-weight: 600;
    color: var(--dark-color);
}

.plan-builder .option-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.plan-builder .control-btn {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}
.plan-builder .option-controls span {
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.plan-builder .price-estimate {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.plan-builder .price-estimate strong {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
    background: linear-gradient(to right, #F9FAFB, #F3F4F6);
}
.contact-card {
    background: var(--white-color);
    padding: 40px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
}
.contact-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.contact-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer-section {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px 0;
}
.footer-section h4 {
    color: var(--white-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-info .logo img {
    max-height: 40px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links ul a:hover {
    color: var(--white-color);
}
.footer-links ul li {
  padding-bottom: 5px;
}
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}
.social-links a:hover {
    background: var(--primary-color);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom .developer a {
    color: var(--white-color);
    font-weight: 500;
    text-decoration: none;
}