:root {
    --primary: #0050C8;
    --navy: #0A2A6B;
    --light-blue: #E6F0FF;
    --background: #F8FAFF;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--navy);
    background: var(--background);
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

/* Header */

.site-header {
    background: var(--white);
    border-bottom: 1px solid #e5eaf2;
}

.nav-container {
    min-height: 86px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.brand-logo {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 26px;
}

.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* Hero */

.hero {
    background: linear-gradient(
        135deg,
        #F8FAFF 0%,
        #E6F0FF 100%
    );

    padding: 100px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 60px;
}

.eyebrow {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.12;
    margin: 22px 0;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-block;
    padding: 15px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-icon {
    width: min(280px, 100%);
    height: auto;
}

/* Responsive */

@media (max-width: 900px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 18px 0;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        padding: 65px 0;
    }
}

/* =====================================
   KaraksaCode UI Refinement 01
   ===================================== */

.container {
    width: min(1240px, 94%);
}

/* Desktop Header */
.nav-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.brand {
    flex: 0 0 auto;
}

.brand-logo {
    width: 190px;
}

.nav-links {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.nav-links a {
    white-space: nowrap;
}

.nav-cta {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Desktop Hero */
.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 75px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 45px;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: clamp(42px, 4.5vw, 66px);
}

.hero-actions {
    justify-content: flex-start;
}

.hero-visual {
    min-width: 0;
}

.hero-icon {
    width: min(300px, 100%);
    max-height: 360px;
    object-fit: contain;
}

/* Tablet / Mobile */
@media (max-width: 1050px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-links {
        flex: 0 0 100%;
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 65px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-icon {
        width: min(210px, 65vw);
    }

    .brand-logo {
        width: 165px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        gap: 15px;
    }

    .nav-links {
        gap: 12px 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .nav-cta {
        font-size: 12px;
        padding: 10px 12px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }
}
/* =====================================
   Services Section
   ===================================== */

.services-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-eyebrow {
    color: #0050C8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.section-heading h2 {
    color: #0A2A6B;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
    margin: 18px 0;
}

.section-heading p {
    color: #52637E;
    font-size: 17px;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    border: 1px solid #E2EAF5;
    border-radius: 16px;
    padding: 35px 30px;
    background: #F8FAFF;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 42, 107, 0.08);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 12px;
    background: #E6F0FF;
    color: #0050C8;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 24px;
}

.service-card h3 {
    color: #0A2A6B;
    font-size: 21px;
    margin: 0 0 15px;
}

.service-card p {
    color: #52637E;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 28px;
    flex: 1;
}

.service-link {
    color: #0050C8;
    font-weight: 700;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

/* Services Responsive */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .services-section {
        padding: 65px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 28px 24px;
    }
}

/* Working Process */

.process-section {
    background: #F8FAFF;
    padding: 95px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.process-step {
    position: relative;
    padding: 30px 25px;
    background: #FFFFFF;
    border: 1px solid #E2EAF5;
    border-radius: 14px;
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #E6F0FF;
    color: #0050C8;
    font-size: 18px;
    font-weight: 700;
}

.process-step h3 {
    color: #0A2A6B;
    font-size: 20px;
    margin: 23px 0 12px;
}

.process-step p {
    color: #52637E;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .process-section {
        padding: 65px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   PHP Health Check CTA
   ===================================== */

.health-cta {
    padding: 70px 0;
    background: #F8FAFF;
}

.health-cta-content {
    background: linear-gradient(
        120deg,
        #0A2A6B 0%,
        #0050C8 100%
    );

    border-radius: 20px;
    padding: 55px 60px;

    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 40px;
}

.health-cta-eyebrow {
    color: #B8D6FF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.health-cta-text h2 {
    color: #FFFFFF;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
    margin: 15px 0;
}

.health-cta-text p {
    color: #E6F0FF;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
}

.health-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.health-cta-button {
    background: #FFFFFF;
    color: #0050C8;
    padding: 17px 25px;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.health-cta-button:hover {
    transform: translateY(-3px);
}

.health-cta-action span {
    color: #D6E8FF;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .health-cta {
        padding: 45px 0;
    }

    .health-cta-content {
        grid-template-columns: 1fr;
        padding: 35px 25px;
        text-align: center;
        gap: 28px;
    }
}

/* =====================================
   Footer
   ===================================== */

.site-footer {
    background: #081F4B;
    color: #FFFFFF;
    padding: 65px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-logo {
    width: 200px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #C7D7F0;
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-column h3 {
    color: #FFFFFF;
    font-size: 16px;
    margin: 0 0 8px;
}

.footer-column a,
.footer-column span {
    color: #C7D7F0;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
}

.footer-column a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;

    border-top: 1px solid #29416C;
    margin-top: 55px;
    padding-top: 25px;

    color: #AFC3E3;
    font-size: 13px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* =====================================
   KaraksaCode Mobile Refinement
   Phase 3H
   ===================================== */

@media (max-width: 600px) {

    /* Header */
    .nav-container {
        padding: 15px 0;
        gap: 12px;
    }

    .brand-logo {
        width: 155px;
    }

    .nav-links {
        gap: 10px 14px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-cta {
        padding: 10px 12px;
        font-size: 12px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 55px 0 45px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 42px);
        line-height: 1.15;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 25px;
        gap: 12px;
    }

    .hero-visual {
        margin-top: 5px;
    }

    .hero-icon {
        width: 145px;
        max-height: 160px;
    }

    /* Health Check */
    .health-cta-content {
        padding: 35px 22px;
    }

    .health-cta-text h2 {
        font-size: 27px;
    }

    .health-cta-button {
        max-width: 100%;
        padding: 15px 18px;
    }
}

@media (max-width: 600px) {
    .nav-links {
        justify-content: center;
        gap: 4px 8px;
    }

    .nav-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 4px 3px;
        font-size: 12px;
    }

    .hero-visual {
        margin-top: 0;
    }
}


/* Contact Page */

.contact-hero {
    padding: 75px 0;
    text-align: center;
    background: #E6F0FF;
}

.contact-hero h1 {
    color: #0A2A6B;
    font-size: clamp(32px, 4vw, 48px);
    margin: 18px 0;
}

.contact-hero p {
    color: #52637E;
    font-size: 17px;
}

.contact-section {
    padding: 85px 0;
    background: #FFFFFF;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 65px;
    align-items: start;
}

.contact-info h2,
.contact-form-card h2 {
    color: #0A2A6B;
    font-size: 28px;
    margin: 0 0 22px;
}

.contact-info h3 {
    color: #0A2A6B;
}

.contact-info p,
.contact-info li {
    color: #52637E;
    font-size: 15px;
    line-height: 1.8;
}

.contact-info ul {
    padding-left: 22px;
    margin-bottom: 28px;
}

.contact-security-note {
    padding: 14px;
    border-radius: 8px;
    background: #F1F5FC;
}

.contact-form-card {
    padding: 35px;
    border: 1px solid #E2EAF5;
    border-radius: 16px;
    background: #F8FAFF;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    color: #0A2A6B;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #C9D5E8;
    border-radius: 8px;
    background: #FFFFFF;
    font: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #0050C8;
    outline-offset: 1px;
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.form-consent label {
    color: #52637E;
    font-size: 13px;
    line-height: 1.6;
}

.form-submit {
    width: 100%;
    padding: 15px;
    border: 0;
    border-radius: 8px;
    background: #0050C8;
    color: #FFFFFF;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.form-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.form-notice {
    font-size: 12px;
    line-height: 1.6;
    color: #52637E;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-section {
        padding: 55px 0;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 55px 0;
    }

    .contact-form-card {
        padding: 24px 18px;
    }
}

/* Contact Page Mobile Refinement */

@media (max-width: 600px) {
    .contact-hero {
        padding: 42px 0;
    }

    .contact-hero h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .contact-hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-grid {
        gap: 28px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
}

/* Captcha section */
.captcha-group {
    margin: 20px 0;
    max-width: 100%;
}

.h-captcha {
    max-width: 100%;
}


/* =====================================
   Thank You Page
   ===================================== */

.thank-you-section {
    background: linear-gradient(135deg, #F8FAFF, #E6F0FF);
    padding: 100px 0;
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.thank-you-card {
    width: min(680px, 100%);
    margin: 0 auto;
    padding: 60px 45px;
    text-align: center;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid #E2EAF5;
    box-shadow: 0 15px 40px rgba(10, 42, 107, 0.06);
}

.thank-you-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: #E6F0FF;
    color: #0050C8;
    font-size: 40px;
    font-weight: 700;
}

.thank-you-card h1 {
    color: #0A2A6B;
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.25;
    margin: 0 0 18px;
}

.thank-you-card p {
    color: #52637E;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.thank-you-card .thank-you-note {
    font-size: 13px;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .thank-you-section {
        padding: 55px 0;
        min-height: auto;
    }

    .thank-you-card {
        padding: 40px 22px;
    }
}


/* =====================================
   KaraksaCode Privacy Notice
   ===================================== */

.privacy-hero {
    padding: 65px 0;
    background: #E6F0FF;
    text-align: center;
}

.privacy-hero h1 {
    color: #0A2A6B;
    font-size: clamp(32px, 4vw, 46px);
    margin: 18px 0;
}

.privacy-hero p {
    color: #52637E;
    font-size: 16px;
}

.privacy-section {
    background: #FFFFFF;
    padding: 65px 0 90px;
}

.privacy-container {
    max-width: 900px;
}

.privacy-language {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.privacy-lang-btn {
    border: 1px solid #C9D5E8;
    background: #FFFFFF;
    color: #0A2A6B;
    border-radius: 8px;
    padding: 12px 18px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.privacy-lang-btn.active {
    background: #0050C8;
    color: #FFFFFF;
    border-color: #0050C8;
}

.privacy-lang-btn:focus-visible {
    outline: 3px solid #71A8FF;
    outline-offset: 3px;
}

.privacy-content {
    color: #52637E;
    font-size: 15px;
    line-height: 1.85;
}

.privacy-content[hidden] {
    display: none;
}

.privacy-content h2 {
    color: #0A2A6B;
    font-size: 22px;
    margin: 35px 0 12px;
}

.privacy-content ul {
    padding-left: 24px;
}

.privacy-content li {
    margin-bottom: 8px;
}

.privacy-content a,
.footer-privacy-link {
    color: #0050C8;
}

.footer-privacy-link {
    color: #C7D7F0;
    text-decoration: none;
    font-size: 13px;
}

.footer-privacy-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .privacy-hero {
        padding: 45px 0;
    }

    .privacy-section {
        padding: 40px 0 60px;
    }

    .privacy-content h2 {
        font-size: 20px;
    }
}

.form-consent a {
    color: #0050C8;
    font-weight: 600;
    text-decoration: underline;
}

/* Privacy Notice Mobile Refinement */

@media (max-width: 600px) {
    .privacy-container {
        width: 90%;
        margin: 0 auto;
    }

    .privacy-language {
        gap: 10px;
        margin-bottom: 30px;
    }

    .privacy-lang-btn {
        padding: 11px 14px;
        font-size: 14px;
    }

    .privacy-content {
        font-size: 15px;
        line-height: 1.85;
        overflow-wrap: break-word;
    }

    .privacy-content h2 {
        font-size: 20px;
        line-height: 1.35;
    }
}


/* =====================================
   PHP Legacy Upgrade Landing Page
   ===================================== */

.php-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFF, #E6F0FF);
}

.php-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 65px;
    align-items: center;
}

.php-hero-content h1 {
    color: #0A2A6B;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.15;
    margin: 22px 0;
}

.php-hero-content h1 span {
    display: block;
    color: #0050C8;
}

.php-hero-content > p {
    color: #52637E;
    font-size: 17px;
    line-height: 1.75;
}

.php-hero-content .hero-actions {
    justify-content: flex-start;
}

.php-hero-note {
    font-size: 13px !important;
    margin-top: 20px;
}

.php-hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.php-version-card {
    width: min(330px, 100%);
    border: 1px solid #C9D5E8;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(10, 42, 107, 0.05);
}

.php-version-card span {
    display: block;
    color: #52637E;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.php-version-card strong {
    display: block;
    color: #0A2A6B;
    font-size: 28px;
    margin: 15px 0 10px;
}

.php-version-card small {
    color: #52637E;
}

.php-version-card.modern {
    border-color: #0050C8;
    background: #0050C8;
}

.php-version-card.modern span,
.php-version-card.modern strong,
.php-version-card.modern small {
    color: #FFFFFF;
}

.php-upgrade-arrow {
    color: #0050C8;
    font-size: 34px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .php-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .php-hero-content .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .php-hero {
        padding: 60px 0;
    }

    .php-hero-content h1 {
        font-size: clamp(32px, 9vw, 40px);
    }

    .php-hero-content > p {
        font-size: 16px;
    }

    .php-version-card {
        padding: 23px 18px;
    }
}

/* PHP Upgrade Hero Refinement */

@media (min-width: 901px) {
    .php-hero-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
        gap: 50px;
    }

    .php-hero-content h1 {
        font-size: clamp(38px, 3.5vw, 52px);
        overflow-wrap: normal;
    }
}


/* =====================================
   PHP Upgrade - Problems & Services
   ===================================== */

.php-problems-section,
.php-services-section {
    padding: 90px 0;
}

.php-problems-section {
    background: #FFFFFF;
}

.php-services-section {
    background: #F8FAFF;
}

.php-info-grid,
.php-upgrade-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.php-info-card,
.php-upgrade-service {
    padding: 32px 28px;
    border: 1px solid #E2EAF5;
    border-radius: 16px;
    background: #F8FAFF;
}

.php-upgrade-service {
    background: #FFFFFF;
}

.php-info-number,
.php-service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: #E6F0FF;
    color: #0050C8;
    font-size: 16px;
    font-weight: 700;
}

.php-info-card h3,
.php-upgrade-service h3 {
    color: #0A2A6B;
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 15px;
}

.php-info-card p,
.php-upgrade-service p {
    color: #52637E;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 900px) {
    .php-info-grid,
    .php-upgrade-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .php-problems-section,
    .php-services-section {
        padding: 60px 0;
    }

    .php-info-grid,
    .php-upgrade-grid {
        grid-template-columns: 1fr;
    }

    .php-info-card,
    .php-upgrade-service {
        padding: 26px 22px;
    }
}


/* =====================================
   PHP Migration Process & Packages
   ===================================== */

.migration-section {
    background: #FFFFFF;
    padding: 90px 0;
}

.migration-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.migration-step {
    padding: 28px 24px;
    border: 1px solid #E2EAF5;
    border-radius: 15px;
    background: #F8FAFF;
}

.migration-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #E6F0FF;
    color: #0050C8;
    font-size: 18px;
    font-weight: 700;
}

.migration-step h3 {
    margin: 22px 0 12px;
    color: #0A2A6B;
    font-size: 20px;
}

.migration-step p {
    margin: 0;
    color: #52637E;
    font-size: 15px;
    line-height: 1.75;
}

.php-packages-section {
    background: #F8FAFF;
    padding: 90px 0;
}

.php-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.php-package-card {
    display: flex;
    flex-direction: column;
    padding: 35px 28px;
    background: #FFFFFF;
    border: 1px solid #E2EAF5;
    border-radius: 16px;
}

.php-package-card.featured {
    border: 2px solid #0050C8;
    box-shadow: 0 14px 35px rgba(0, 80, 200, 0.08);
}

.package-label {
    color: #0050C8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.php-package-card h3 {
    color: #0A2A6B;
    font-size: 23px;
    margin: 15px 0;
}

.package-price {
    color: #0050C8;
    font-size: clamp(21px, 2.5vw, 28px);
    font-weight: 700;
    margin-bottom: 18px;
}

.php-package-card p,
.php-package-card li {
    color: #52637E;
    font-size: 14px;
    line-height: 1.75;
}

.php-package-card ul {
    padding-left: 20px;
    margin: 18px 0;
}

.php-package-card li {
    margin-bottom: 9px;
}

.php-package-card .package-note {
    margin-top: auto;
    padding-top: 15px;
    font-size: 12px;
}

.php-package-card .btn {
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 1000px) {
    .migration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .php-packages-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .migration-section,
    .php-packages-section {
        padding: 60px 0;
    }

    .migration-grid {
        grid-template-columns: 1fr;
    }

    .php-package-card {
        padding: 28px 22px;
    }
}


/* =====================================
   PHP Upgrade FAQ
   ===================================== */

.php-faq-section {
    background: #FFFFFF;
    padding: 90px 0;
}

.php-faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.php-faq-item {
    background: #F8FAFF;
    border: 1px solid #E2EAF5;
    border-radius: 12px;
    padding: 0 25px;
}

.php-faq-item summary {
    padding: 23px 0;
    color: #0A2A6B;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.php-faq-item summary:focus-visible {
    outline: 2px solid #0050C8;
    outline-offset: 4px;
}

.php-faq-item[open] summary {
    color: #0050C8;
}

.php-faq-item p {
    margin: 0;
    padding: 0 0 24px;
    color: #52637E;
    font-size: 15px;
    line-height: 1.8;
}

/* =====================================
   PHP Final CTA
   ===================================== */

.php-final-cta {
    background: #F8FAFF;
    padding: 65px 0 85px;
}

.php-final-cta-inner {
    background: linear-gradient(
        120deg,
        #0A2A6B 0%,
        #0050C8 100%
    );
    border-radius: 20px;
    padding: 65px 35px;
    text-align: center;
}

.php-final-eyebrow {
    display: block;
    color: #B8D6FF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.php-final-cta h2 {
    max-width: 720px;
    margin: 18px auto;
    color: #FFFFFF;
    font-size: clamp(29px, 3.5vw, 42px);
    line-height: 1.2;
}

.php-final-cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #E6F0FF;
    font-size: 16px;
    line-height: 1.75;
}

.php-final-button {
    display: inline-block;
    padding: 17px 25px;
    border-radius: 9px;
    background: #FFFFFF;
    color: #0050C8;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.5;
}

.php-final-button:hover {
    background: #E6F0FF;
}

.php-final-button:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 4px;
}

.php-final-cta small {
    display: block;
    margin: 18px auto 0;
    max-width: 500px;
    color: #D6E8FF;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .php-faq-section {
        padding: 60px 0;
    }

    .php-faq-item {
        padding: 0 18px;
    }

    .php-faq-item summary {
        font-size: 15px;
    }

    .php-final-cta {
        padding: 45px 0 60px;
    }

    .php-final-cta-inner {
        padding: 42px 22px;
    }

    .php-final-cta p {
        font-size: 15px;
    }

    .php-final-button {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}

.php-faq-item {
    transition: border-color 0.2s ease;
}

.php-faq-item:hover {
    border-color: #A9C7F5;
}

.php-faq-item[open] {
    border-color: #B8CFF2;
}


/* =====================================
   Services Page
   ===================================== */

.services-hero {
    padding: 90px 0;
    background: linear-gradient(135deg, #F8FAFF, #E6F0FF);
    text-align: center;
}

.services-hero h1 {
    color: #0A2A6B;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.2;
    max-width: 850px;
    margin: 20px auto;
}

.services-hero p {
    color: #52637E;
    font-size: 17px;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

.services-detail-section {
    background: #FFFFFF;
    padding: 90px 0;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.services-detail-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border: 1px solid #E2EAF5;
    background: #F8FAFF;
    border-radius: 16px;
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #E6F0FF;
    color: #0050C8;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    margin-bottom: 22px;
}

.services-detail-card h3 {
    color: #0A2A6B;
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 18px;
}

.services-detail-card p,
.services-detail-card li {
    color: #52637E;
    font-size: 15px;
    line-height: 1.75;
}

.services-detail-card ul {
    padding-left: 20px;
    margin: 20px 0;
}

.services-detail-card li {
    margin-bottom: 10px;
}

.services-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
}

.services-detail-actions .btn {
    text-align: center;
}

@media (max-width: 1000px) {
    .services-detail-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .services-hero {
        padding: 60px 0;
    }

    .services-hero p {
        font-size: 16px;
    }

    .services-detail-section {
        padding: 60px 0;
    }

    .services-detail-card {
        padding: 26px 22px;
    }
}


/* =====================================
   About KaraksaCode
   ===================================== */

.about-hero {
    padding: 95px 0;
    text-align: center;
    background: linear-gradient(135deg, #F8FAFF, #E6F0FF);
}

.about-hero h1 {
    color: #0A2A6B;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.2;
    margin: 20px auto;
}

.about-hero h1 span {
    color: #0050C8;
}

.about-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: #52637E;
    font-size: 17px;
    line-height: 1.7;
}

.about-intro-section {
    padding: 90px 0;
    background: #FFFFFF;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 60px;
    align-items: center;
}

.about-intro-grid h2 {
    font-size: clamp(28px, 3vw, 38px);
    color: #0A2A6B;
    line-height: 1.25;
}

.about-intro-grid p,
.about-experience-card p {
    color: #52637E;
    font-size: 15px;
    line-height: 1.8;
}

.about-experience-card {
    background: #F8FAFF;
    border: 1px solid #E2EAF5;
    padding: 38px;
    border-radius: 16px;
    text-align: center;
}

.experience-number {
    font-size: 65px;
    font-weight: 700;
    color: #0050C8;
}

.about-experience-card h3 {
    color: #0A2A6B;
    font-size: 22px;
}

.about-experience-card small {
    color: #52637E;
    line-height: 1.6;
}

.about-expertise-section {
    background: #F8FAFF;
    padding: 90px 0;
}

.about-expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.about-expertise-card {
    padding: 32px;
    background: #FFFFFF;
    border: 1px solid #E2EAF5;
    border-radius: 15px;
}

.about-expertise-card span {
    color: #0050C8;
    font-size: 20px;
    font-weight: 700;
}

.about-expertise-card h3 {
    color: #0A2A6B;
    font-size: 21px;
}

.about-expertise-card p {
    color: #52637E;
    font-size: 15px;
    line-height: 1.8;
}

.about-approach-section {
    background: #FFFFFF;
    padding: 90px 0;
}

.about-approach-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.about-approach-grid article {
    background: #F8FAFF;
    border: 1px solid #E2EAF5;
    border-radius: 14px;
    padding: 28px 24px;
}

.about-approach-grid strong {
    color: #0050C8;
    font-size: 20px;
}

.about-approach-grid h3 {
    color: #0A2A6B;
    font-size: 20px;
}

.about-approach-grid p {
    color: #52637E;
    font-size: 15px;
    line-height: 1.7;
}

.about-cta-section {
    padding: 65px 0 85px;
    background: #F8FAFF;
}

.about-cta-inner {
    padding: 55px 30px;
    background: linear-gradient(120deg, #0A2A6B, #0050C8);
    border-radius: 20px;
    text-align: center;
}

.about-cta-inner h2 {
    color: #FFFFFF;
    font-size: clamp(28px, 3vw, 40px);
}

.about-cta-inner p {
    color: #E6F0FF;
    font-size: 16px;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto 28px;
}

.about-cta-inner .btn-primary {
    background: #FFFFFF;
    color: #0050C8;
}

@media (max-width: 900px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-expertise-grid {
        grid-template-columns: 1fr;
    }

    .about-approach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .about-hero,
    .about-intro-section,
    .about-expertise-section,
    .about-approach-section {
        padding: 60px 0;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-experience-card {
        padding: 30px 22px;
    }

    .about-approach-grid {
        grid-template-columns: 1fr;
    }

    .about-cta-inner {
        padding: 40px 22px;
    }
}
