/* 
:root {
    --primary: #0066FF;
    --secondary: #7B42F6;
    --accent: #00D4FF;
    --neutral-dark: #1A1A2E;
    --neutral-light: #F8F9FA;
    --gradient: linear-gradient(90deg, var(--primary), var(--secondary));
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--neutral-light);
    color: var(--neutral-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
} */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-heading {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-subheading {
    font-size: 1.1rem;
    text-align: center;
    color: #555;
    max-width: 700px;
    margin: 0 auto 60px auto;
    line-height: 1.7;
}

.gradient-text {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px!important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent)!important;
    color: var(--neutral-dark)!important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3)!important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5)!important;
}

.btn-secondary {
    background: transparent!important;
    color: var(--neutral-light)!important;
    border: 2px solid var(--accent)!important;
}

.btn-secondary:hover {
    background-color: var(--accent)!important;
    color: var(--neutral-dark)!important;
    transform: translateY(-3px)!important;
}

.dark-section {
    background-color: var(--neutral-dark);
    color: var(--neutral-light);
}
.dark-section .section-subheading {
        color: rgba(248, 249, 250, 0.7);
}


/* --- 2. Header and Footer --- */
.site-header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); display: flex; justify-content: space-between; align-items: center; padding: 0 4%; background-color: rgba(248, 249, 250, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); z-index: 1000; }
.logo-link { font-size: 1.5rem; font-weight: 700; }
.logo-gradient-text { background: var(--gradient); background-clip: text; -webkit-background-clip: text; color: transparent; }
.main-nav { display: flex; gap: 25px; }
.main-nav a { font-size: 0.9rem; font-weight: 600; position: relative; padding: 5px 0; color: var(--neutral-dark); }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--gradient); transition: all 0.3s ease-in-out; }
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; left: 0; }
.header-cta { background-color: var(--accent); color: var(--neutral-dark); font-weight: 600; padding: 12px 24px; border-radius: 50px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3); }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5); }
.mobile-nav-toggle { display: none; flex-direction: column; justify-content: space-around; width: 30px; height: 21px; cursor: pointer; z-index: 1002; }
.mobile-nav-toggle span { width: 30px; height: 3px; background-color: var(--neutral-dark); border-radius: 10px; transition: all 0.3s ease-in-out; }
.mobile-nav { display: none; }
.site-footer { background-color: var(--neutral-dark); color: var(--neutral-light); padding: 60px 4% 20px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 50px; flex-wrap: wrap; }
.footer-column { flex: 1; min-width: 200px; }
.footer-logo { font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; }
.footer-tagline { font-size: 0.9rem; color: rgba(248, 249, 250, 0.7); margin-bottom: 20px; }
.footer-description { font-size: 0.9rem; line-height: 1.6; color: rgba(248, 249, 250, 0.8); }
.footer-column h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--neutral-light); position: relative; padding-bottom: 10px; }
.footer-column h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--gradient); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(248, 249, 250, 0.7); transition: all 0.3s ease; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.social-links { display: flex; gap: 15px; margin-bottom: 20px; }
.social-links svg { width: 24px; height: 24px; fill: rgba(248, 249, 250, 0.7); transition: all 0.3s ease; }
.social-links a:hover svg { fill: var(--accent); transform: scale(1.1); }
.footer-bottom-bar { text-align: center; padding-top: 20px; border-top: 1px solid rgba(248, 249, 250, 0.1); font-size: 0.85rem; color: rgba(248, 249, 250, 0.5); }


/* --- 3. Hero Section --- */
.hero-section { background-color: var(--neutral-dark); color: var(--neutral-light); padding-top: calc(var(--header-height) + 80px); padding-bottom: 120px; text-align: center; overflow: hidden; }
@keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.hero-section::before, .hero-section::after { content: ''; position: absolute; border-radius: 50%; filter: blur(100px); z-index: 1; }
.hero-section::before { width: 300px; height: 300px; background: rgba(0, 102, 255, 0.3); top: 10%; left: 10%; animation: rotate 20s linear infinite alternate; }
.hero-section::after { width: 250px; height: 250px; background: rgba(123, 66, 246, 0.3); bottom: 15%; right: 15%; animation: rotate 25s linear infinite reverse; }
.hero-content h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero-content p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px auto; color: rgba(248, 249, 250, 0.8); line-height: 1.7; }
.hero-ctas { display: flex; justify-content: center; gap: 20px; margin-bottom: 60px; }
.trust-indicators { display: flex; justify-content: center; gap: 50px; margin-top: 80px; }
.trust-indicators div { text-align: center; }
.trust-indicators .stat-number { font-size: 2.5rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-indicators .stat-label { font-size: 0.9rem; color: rgba(248, 249, 250, 0.6); margin-top: 5px; }


/* --- 4. Dual Services Section --- */
.services-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-card { background: #fff; padding: 40px; border-radius: 16px; border: 1px solid #e9ecef; box-shadow: 0 8px 30px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-left: 4px solid; border-image-source: var(--gradient); border-image-slice: 1; }
.service-card h3 { font-size: 1.8rem; margin-bottom: 20px; }
.service-card ul { margin-bottom: 30px; }
.service-card li { padding-left: 30px; position: relative; margin-bottom: 15px; color: #444; }
.service-card li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.services-all-link { text-align: center; margin-top: 60px; }
.services-all-link a { font-weight: 600; color: var(--primary); position: relative; }
.services-all-link a::after{ content: "→"; margin-left: 8px; transition: margin-left 0.3s ease; }
.services-all-link a:hover::after{ margin-left: 15px; }


/* --- 5. Featured Tutorials Section --- */
.tutorials-section .video-container { max-width: 900px; margin: 0 auto 60px auto; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.video-container iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: none; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 60px; }
.category-card-link { display: block; text-decoration: none; } /* Make the whole card a link */
.category-card { background-color: var(--neutral-dark); border: 1px solid rgba(255,255,255,0.1); padding: 30px; border-radius: 12px; text-align: center; transition: all 0.3s ease; height: 100%; }
.category-card-link:hover .category-card { transform: translateY(-8px); background: linear-gradient(145deg, rgba(0, 102, 255, 0.1), rgba(123, 66, 246, 0.1)); border-color: var(--primary); }
.category-card .icon { font-size: 2.5rem; margin-bottom: 15px; line-height: 1; }
.category-card h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--neutral-light); }
.category-card p { font-size: 0.9rem; color: rgba(248, 249, 250, 0.6); line-height: 1.5; }
.subscribe-cta { text-align: center; }


/* --- 6. Process/Approach Section --- */
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.process-column h3 { font-size: 2rem; margin-bottom: 30px; }
.step { display: flex; gap: 25px; margin-bottom: 30px; }
.step-number { font-size: 1.5rem; font-weight: 700; color: var(--primary); width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center; border: 2px solid var(--primary); border-radius: 50%; }
.step-content h4 { font-size: 1.2rem; margin-bottom: 5px; }
.step-content p { color: #555; line-height: 1.6; }


/* --- 7. About/Engage Section --- (MODIFIED) */
.about-engage-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-engage-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.about-engage-content p {
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(248, 249, 250, 0.8);
}
.about-engage-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}


/* --- 8. Latest Articles Section --- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px; }
.article-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.article-card:hover { transform: translateY(-10px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.article-image { height: 200px; background: #e9ecef; display: grid; place-items: center; color: #aaa; font-style: italic; }
.article-content { padding: 25px; }
.article-category { font-size: 0.8rem; font-weight: 600; color: var(--secondary); margin-bottom: 10px; }
.article-content h3 { font-size: 1.25rem; margin-bottom: 15px; line-height: 1.4; }
.article-read-more { font-weight: 600; color: var(--primary); }
.view-all-articles-cta { text-align: center; margin-bottom: 60px; } /* NEW */
.newsletter-section { background: #fff; padding: 50px; border-radius: 16px; text-align: center; max-width: 800px; margin: 0 auto; box-shadow: 0 8px 30px rgba(0,0,0,0.05); }
.newsletter-section h3 { font-size: 1.8rem; margin-bottom: 10px; }
.newsletter-section p { color: #555; margin-bottom: 30px; }
.newsletter-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; }
.newsletter-form input { flex-grow: 1; padding: 15px; border-radius: 8px; font-size: 1rem; border: 1px solid #ddd; }
.newsletter-form button { padding: 15px 30px; }


/* --- 9. Ultimate CTA Section --- */
.ultimate-cta-section { padding: 80px 0; background: var(--gradient); color: var(--neutral-light); text-align: center; }
.ultimate-cta-section h2 { font-size: 2.8rem; margin-bottom: 15px; }
.ultimate-cta-section p { max-width: 600px; margin: 0 auto 40px; line-height: 1.7; opacity: 0.9; }
.ultimate-cta-buttons { display: flex; justify-content: center; gap: 20px; }


/* --- 10. Responsive Design --- */
@media screen and (max-width: 1024px) {
    .main-nav { display: none; }
    .mobile-nav-toggle { display: flex; }
    .mobile-nav { display: flex; position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background-color: var(--neutral-dark); flex-direction: column; align-items: center; justify-content: center; transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1001; }
    .mobile-nav.active { right: 0; }
    .mobile-nav ul { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
    .mobile-nav a { color: var(--neutral-light); font-size: 1.5rem; font-weight: 600; }
    .mobile-nav.active + .mobile-nav-toggle span { background-color: var(--neutral-light); }
    .mobile-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-nav-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    
    .hero-content h1 { font-size: 3.5rem; }
    .services-showcase, .process-grid, .articles-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-heading { font-size: 2.2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .hero-ctas, .trust-indicators, .ultimate-cta-buttons, .about-engage-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn, .about-engage-ctas .btn { width: 100%; max-width: 300px; }
    .footer-grid { flex-direction: column; gap: 50px; }
    .newsletter-form { flex-direction: column; }
}
