/* --- COLOR CONFIGURATION --- */
:root {
    --primary: #4F46E5;
    /* Main Brand Blue Code */
    --primary-dark: #3730A3;
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --dark: #0F172A;
    --slate: #475569;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- LOGO STYLES --- */
.brand-logo {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo {
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
    /* Ensures dark logo turns white for footer if using single file */
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

/* --- HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.main-nav a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 600;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
}

/* --- HERO --- */
.hero-section {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: #EEF2FF;
    color: var(--primary);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--slate);
    margin-bottom: 35px;
}

.hero-ctas {
    display: flex;
    gap: 15px;
}

.visual-image-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- STATS --- */
.stats-section {
    padding: 50px 0;
    background: var(--dark);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    color: #94A3B8;
    font-weight: 500;
}

/* --- SERVICES --- */
.services-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.sub-heading {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-title {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Card Header set to blue */
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* --- WHY KYDO (SPLIT ABOUT STYLE) --- */
.why-section {
    padding: 100px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-img {
    width: 100%;
    height: auto;
    display: block;
}

.why-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin: 10px 0 30px;
}

.why-features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-num {
    background: #EEF2FF;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 12px 18px;
    border-radius: 12px;
}

.feature-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-text p {
    color: var(--slate);
    font-size: 0.95rem;
}

/* --- UPGRADED PRICING CALCULATOR --- */
.pricing-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.calculator-card-v2 {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.calc-left {
    padding: 45px;
}

.calc-tag {
    background: #FEF3C7;
    color: var(--accent-hover);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.calc-left h3 {
    font-size: 1.8rem;
    margin: 15px 0 10px;
    font-weight: 800;
}

.calc-left p {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.input-header label {
    font-weight: 700;
    color: var(--dark);
}

.input-wrapper-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F1F5F9;
    padding: 6px 12px;
    border-radius: 8px;
}

.input-wrapper-v2 input {
    width: 70px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.slider-v2 {
    width: 100%;
    accent-color: var(--primary);
    margin-bottom: 30px;
}

.calc-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate);
}

.calc-right {
    background: var(--gradient-primary);
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.price-box-v2 .price-caption {
    opacity: 0.9;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
}

.calculated-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 10px 0;
    color: #E2E8F0;
}

.price-subtext {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 25px;
}

.calc-btn {
    width: 100%;
}

/* --- BLOG & CONTACT --- */
.blog-section {
    padding: 100px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    padding: 30px;
    border-radius: 16px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #FEF3C7;
    color: var(--accent-hover);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 20px;
    margin-bottom: 15px;
}

/* --- CONTACT SECTION (BRAND MATCHED) --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.contact-card-v2 {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 400px;
    overflow: hidden;
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    border: 1px solid #E2E8F0;
}

/* Left Form Container */
.contact-form-side {
    padding: 50px;
}

.contact-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.contact-header p {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 35px;
    max-width: 420px;
}

/* Minimal Line Input Styling */
.contact-form-v2 .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.contact-form-v2 label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 5px;
}

.contact-form-v2 input,
.contact-form-v2 textarea {
    border: none;
    border-bottom: 2px solid #E2E8F0;
    background: transparent;
    padding: 8px 0;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dark);
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form-v2 input:focus,
.contact-form-v2 textarea:focus {
    border-bottom-color: var(--primary);
    /* Uses Kydo Primary Blue */
}

/* Brand Gradient Button */
.btn-message-dark {
    background: var(--gradient-primary);
    /* Matches primary blue/purple gradient */
    color: var(--white);
    border: none;
    padding: 14px 0;
    width: 100%;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.btn-message-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

/* Right Side Block with Kydo Primary Accent Base */
.contact-info-side {
    background-color: var(--primary);
    /* Primary Brand Blue */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 30px 0 30px 30px;
}

.info-card-overlay {
    background-color: var(--dark);
    /* Matches Kydo Dark Slate */
    color: var(--white);
    width: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 40px 30px;
    box-shadow: -10px 10px 25px rgba(0, 0, 0, 0.15);
}

.info-card-overlay h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #F8FAFC;
    font-size: 0.95rem;
    font-weight: 500;
}

.info-icon {
    font-size: 1.1rem;
    color: var(--accent);
    /* Brand Gold/Orange Accent for Icons */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-card-v2 {
        grid-template-columns: 1fr;
    }

    .contact-info-side {
        padding: 0;
    }

    .info-card-overlay {
        border-radius: 0;
        padding: 40px 30px;
    }

    .contact-form-side {
        padding: 30px 20px;
    }
}


/* --- FOOTER --- */
.main-footer {
    background: #090D16;
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-links ul {
    list-style: none;
    margin-top: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    padding: 10px;
    border-radius: 8px;
    border: none;
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding: 25px 0;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
}

/* --- ANIMATIONS & RESPONSIVE --- */
.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 992px) {

    .hero-grid,
    .why-grid,
    .calculator-card-v2,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.active {
        max-height: 350px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--light-bg);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px 24px;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    background: #FFFFFF;
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    margin-top: 15px;
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- PRIME CTA BANNER --- */
.cta-banner-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.cta-card {
    background: var(--gradient-primary);
    border-radius: 28px;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 600px;
    color: var(--white);
}

.badge-light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.cta-content h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin: 15px 0 10px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive Rules for FAQ and CTA */
@media (max-width: 992px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }

    .cta-actions {
        width: 100%;
        max-width: 320px;
    }
}


/* --- SERVICES PAGE STYLES --- */
.page-hero-section {
    padding: 160px 0 60px;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.text-center { text-align: center; }

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 15px 0 15px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--slate);
    max-width: 650px;
    margin: 0 auto;
}

.active-link {
    color: var(--primary) !important;
    font-weight: 700;
}

.services-detail-section {
    padding: 60px 0 80px;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-detail-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.service-icon-box {
    font-size: 2.2rem;
    background: #EEF2FF;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
}

.service-detail-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-detail-card p {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-checklist li {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-checklist li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 800;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-step {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #E2E8F0;
}

.step-num {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 10px 16px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.process-step h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--slate);
    font-size: 0.9rem;
}

/* Responsive for Services Page */
@media (max-width: 992px) {
    .services-detail-grid, .process-grid {
        grid-template-columns: 1fr;
    }
}


/* --- PRICING PAGE STYLES --- */
.pricing-page-section {
    padding: 40px 0 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.featured-card {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    background: #FAFCFF;
    transform: scale(1.03);
}

.featured-card:hover {
    transform: scale(1.03) translateY(-6px);
}

.featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.pricing-header {
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.tier-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    display: block;
    margin-bottom: 8px;
}

.tier-desc {
    font-size: 0.9rem;
    color: var(--slate);
    margin-bottom: 20px;
    min-height: 42px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
}

.period {
    font-size: 0.9rem;
    color: var(--slate);
    font-weight: 500;
}

.student-cap {
    display: inline-block;
    background: #EEF2FF;
    color: var(--primary);
    font-size: 0.825rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    font-size: 0.925rem;
    color: var(--slate);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 800;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* --- COMPARISON TABLE --- */
.comparison-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th, 
.comparison-table td {
    padding: 18px 24px;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.95rem;
}

.comparison-table th {
    background: #F1F5F9;
    color: var(--dark);
    font-weight: 700;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--dark);
}

/* Responsive Pricing Rules */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .featured-card {
        transform: none;
    }

    .featured-card:hover {
        transform: translateY(-6px);
    }
}



/* --- WHY KYDO PAGE STYLES --- */
.why-grid-section {
    padding: 40px 0 80px;
}

.why-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.why-icon {
    font-size: 2.2rem;
    background: #EEF2FF;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.why-card p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats Banner */
.stats-banner-section {
    padding: 60px 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 600;
}

/* Responsive Rules for Why Kydo Page */
@media (max-width: 992px) {
    .why-card-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* --- BLOG & SOCIAL FEED PAGE STYLES --- */
.blog-feed-section {
    padding: 40px 0 80px;
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.social-post-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.social-post-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.platform-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.tag-instagram { background: #FCE7F3; color: #DB2777; }
.tag-twitter   { background: #E0F2FE; color: #0284C7; }
.tag-linkedin  { background: #DBEAFE; color: #2563EB; }
.tag-youtube   { background: #FEE2E2; color: #DC2626; }

.post-date {
    font-size: 0.8rem;
    color: var(--slate);
}

.embed-container {
    width: 100%;
    min-height: 250px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Embed Placeholder Box (Remove or hide when inserting real embeds) */
.embed-placeholder {
    text-align: center;
    padding: 20px;
    color: var(--slate);
}

.placeholder-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.embed-placeholder code {
    background: #E2E8F0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--dark);
}

.embed-container iframe, 
.embed-container blockquote {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.post-caption {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.5;
}

/* Responsive Blog Grid */
@media (max-width: 768px) {
    .social-feed-grid {
        grid-template-columns: 1fr;
    }
}


/* --- CONTACT PAGE STYLES --- */
.contact-page-section {
    padding: 40px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.contact-lead-text {
    color: var(--slate);
    font-size: 1rem;
    margin-bottom: 30px;
}

.contact-methods-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border: 1px solid #E2E8F0;
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-method-card:hover {
    transform: translateX(6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.highlight-card {
    background: #F0FDF4;
    border-color: #22C55E;
}

.highlight-card .method-action {
    color: #16A34A;
}

.static-card {
    cursor: default;
}

.static-card:hover {
    transform: none;
    border-color: #E2E8F0;
    box-shadow: none;
}

.method-icon {
    font-size: 1.8rem;
    background: var(--light-bg);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-details h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.method-details p {
    font-size: 0.85rem;
    color: var(--slate);
}

.method-action {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    margin-top: 4px;
}

/* Form Styles */
.contact-form-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.contact-form-card p {
    font-size: 0.9rem;
    color: var(--slate);
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Map Section */
.map-section {
    padding-bottom: 60px;
}

.map-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}

/* Responsive Rules for Contact */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 25px;
    }
}


/* --- LEGAL / PRIVACY POLICY PAGE STYLES --- */
.legal-page-section {
    padding: 40px 0 80px;
}

.legal-content-card {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin: 30px 0 12px;
}

.legal-content-card h2:first-child {
    margin-top: 0;
}

.legal-content-card p {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-content-card ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content-card ul li {
    font-size: 0.98rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 8px;
}

.contact-list-plain {
    list-style: none !important;
    padding-left: 0 !important;
}

.contact-list-plain li {
    margin-bottom: 6px !important;
}

@media (max-width: 768px) {
    .legal-content-card {
        padding: 25px;
    }
}