/* RJ Design Hub Theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --blue: #1e66ff;
    --blue-dark: #071536;
    --purple: #7b3fc8;
    --pink: #f0068f;
    --pink-soft: #ff6fbd;
    --bg: #f7f8fc;
    --white: #ffffff;
    --text: #101828;
    --muted: #667085;
    --border: #e5e7eb;

    --gradient-main: linear-gradient(135deg, #1e66ff 0%, #7b3fc8 48%, #f0068f 100%);
    --gradient-dark: linear-gradient(135deg, #071536 0%, #1e2460 55%, #7b3fc8 100%);
    --gradient-soft: linear-gradient(135deg, rgba(30,102,255,.12), rgba(240,6,143,.12));

    --shadow-soft: 0 10px 35px rgba(7,21,54,.08);
    --shadow-card: 0 18px 50px rgba(7,21,54,.14);
    --radius: 22px;
    --radius-lg: 34px;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

section {
    padding: 80px 0;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* Accessibility Helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229,231,235,.75);
    box-shadow: 0 8px 28px rgba(7,21,54,.06);
}

.navbar {
    min-height: 104px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    padding: 6px;
    border-radius: 24px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 12px 30px rgba(30,102,255,.12);
    transition: .25s ease;
}

.logo:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 42px rgba(30,102,255,.18);
}

.logo img {
    height: 78px;
    width: auto;
    max-width: 220px;
    border-radius: 20px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    list-style: none;
}

.nav-links a {
    position: relative;
    font-size: 15px;
    font-weight: 700;
    color: var(--blue-dark);
    transition: .25s ease;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 4px;
    border-radius: 999px;
    background: var(--gradient-main);
    transform: translateX(-50%);
    transition: .3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.theme-toggle,
.menu-toggle {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: var(--gradient-main);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(7,21,54,.14);
    transition: .25s ease;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.theme-toggle:hover,
.menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(30,102,255,.2);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--gradient-main);
    color: var(--white);
    padding: 110px 0;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: .35;
}

.hero::before {
    width: 420px;
    height: 420px;
    background: #ffffff;
    top: -180px;
    right: -120px;
}

.hero::after {
    width: 500px;
    height: 500px;
    background: #071536;
    bottom: -260px;
    left: -160px;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.02;
    margin-bottom: 22px;
    letter-spacing: -2px;
}

.hero p {
    max-width: 620px;
    font-size: 18px;
    opacity: .92;
    margin-bottom: 32px;
}

.hero-card {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    animation: floatCard 5s ease-in-out infinite;
}

.hero-card-inner {
    background: var(--white);
    color: var(--blue-dark);
    border-radius: 24px;
    padding: 28px;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* Buttons */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: .25s ease;
}

.btn-primary {
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 14px 30px rgba(7,21,54,.16);
}

.btn-gradient {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(240,6,143,.22);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,.7);
    color: var(--white);
    background: transparent;
}

.btn-outline-dark {
    border: 2px solid var(--blue);
    color: var(--blue);
    background: transparent;
}

.btn-primary:hover,
.btn-gradient:hover,
.btn-outline:hover,
.btn-outline-dark:hover,
.btn:hover {
    transform: translateY(-3px);
}

/* Section Titles */
.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 46px;
}

.section-heading .eyebrow,
.eyebrow {
    color: var(--pink);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-bottom: 8px;
}

.section-heading h2 {
    color: var(--blue-dark);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    margin-bottom: 14px;
}

.section-heading p {
    color: var(--muted);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    transition: .3s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    opacity: 0;
    transition: .3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.card:hover::before {
    opacity: 1;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--gradient-main);
    margin-bottom: 18px;
    box-shadow: 0 12px 25px rgba(30,102,255,.2);
}

.card h3 {
    color: var(--blue-dark);
    margin-bottom: 10px;
    font-size: 22px;
}

.card p {
    color: var(--muted);
    font-size: 15px;
}

/* Offer Cards */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.offer-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: .3s ease;
}

.offer-card.featured {
    background: var(--gradient-main);
    color: var(--white);
    transform: scale(1.03);
}

.offer-card:hover {
    transform: translateY(-8px);
}

.offer-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.offer-card h3 {
    font-size: 23px;
    margin-bottom: 10px;
}

.offer-card .price {
    font-size: 32px;
    font-weight: 800;
    margin: 16px 0;
}

.offer-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.offer-card li::before {
    content: "✓";
    color: var(--pink);
    font-weight: 800;
    margin-right: 8px;
}

.offer-card.featured li::before {
    color: var(--white);
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: .3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.project-image {
    height: 220px;
    background: var(--gradient-main);
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,.28);
    border-radius: 50%;
    right: -50px;
    top: -50px;
    z-index: 1;
}

.project-image img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: auto;
    filter: drop-shadow(0 12px 18px rgba(7,21,54,.18));
}

.project-content {
    padding: 24px;
}

.project-content h3 {
    color: var(--blue-dark);
}

.project-content p {
    color: var(--muted);
    font-size: 15px;
}

.project-card .btn {
    margin-top: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    background: rgba(30,102,255,.1);
    border-radius: 999px;
    padding: 6px 10px;
}

/* Sunshine Project Logos */
.sunshine-logo-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px !important;
    height: 220px;
    min-height: 220px;
    background: var(--gradient-main);
    border-radius: 34px 34px 0 0;
    overflow: hidden;
    position: relative;
}

.sunshine-logo-wrap::after {
    z-index: 1;
}

.sunshine-logo-wrap img {
    position: relative;
    z-index: 2;
    max-height: 120px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Force dark PNG logos to white */
.project-image img.logo-white-filter,
.sunshine-logo-wrap img.logo-white-filter {
    filter:
            brightness(0)
            saturate(100%)
            invert(100%)
            brightness(150%)
            contrast(150%)
            drop-shadow(0 12px 18px rgba(7,21,54,.18)) !important;
    opacity: 1 !important;
}

/* Keep already-white logos clean */
.sunshine-logo-wrap img:not(.logo-white-filter) {
    filter: drop-shadow(0 12px 18px rgba(7,21,54,.18)) !important;
}

/* Code Lab */
.code-section {
    background: var(--blue-dark);
    color: var(--white);
}

.code-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.code-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    padding: 26px;
    backdrop-filter: blur(14px);
}

.code-card p {
    color: rgba(255,255,255,.82);
}

.code-window {
    margin-top: 18px;
    background: #020817;
    border-radius: 18px;
    padding: 18px;
    color: #dbeafe;
    font-size: 14px;
    overflow-x: auto;
}

.code-window span {
    color: var(--pink-soft);
}

/* Code Lab Extras */
.lab-demo-box {
    margin-top: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    padding: 22px;
    display: grid;
    gap: 14px;
}

.lab-number {
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
}

.colour-preview {
    height: 110px;
    border-radius: 18px;
    background: var(--blue);
    border: 1px solid rgba(255,255,255,.22);
}

.lab-code {
    text-align: center;
    font-weight: 800;
    color: #ffffff;
    font-size: 20px;
}

.magic-output {
    background: var(--gradient-main);
    border-radius: 18px;
    padding: 20px;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
}

.idea-box {
    background: rgba(255,255,255,.12);
    border-radius: 18px;
    padding: 22px;
    color: #ffffff;
    font-weight: 700;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Split Sections */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
}

.info-panel {
    background: var(--white);
    padding: 34px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.info-panel p {
    color: var(--muted);
}

/* Trust Bar */
.trust-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-item {
    text-align: center;
    font-weight: 700;
    color: var(--blue-dark);
}

.trust-item span {
    display: block;
    color: var(--pink);
    font-size: 24px;
    margin-bottom: 6px;
}

/* Contact */
.contact-section {
    background: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 34px;
}

.contact-box,
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

.contact-box p {
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 7px;
    color: var(--blue-dark);
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    background: #fbfcff;
    color: var(--text);
    outline: none;
    transition: .25s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(30,102,255,.12);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact Form Alerts */
.form-alert {
    padding: 16px 18px;
    border-radius: 16px;
    margin-bottom: 20px;
    font-weight: 700;
}

.form-alert.success {
    background: rgba(34,197,94,.12);
    color: #166534;
    border: 1px solid rgba(34,197,94,.25);
}

.form-alert.error {
    background: rgba(239,68,68,.12);
    color: #991b1b;
    border: 1px solid rgba(239,68,68,.25);
}

/* Effects */
.glow-card {
    position: relative;
}

.glow-card::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: var(--gradient-main);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(18px);
    transition: .3s ease;
}

.glow-card:hover::after {
    opacity: .45;
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: .7s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blob-bg {
    position: relative;
    overflow: hidden;
}

.blob-bg::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    background: var(--gradient-soft);
    border-radius: 50%;
    top: -120px;
    right: -120px;
    z-index: 0;
}

.blob-bg > * {
    position: relative;
    z-index: 1;
}

/* Featured Project Tags */
.featured-tags {
    margin-top: 24px;
    gap: 12px;
}

.light-tag {
    background: rgba(255,255,255,.18);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    transition: .25s ease;
}

.light-tag:hover {
    background: rgba(255,255,255,.28);
    transform: translateY(-2px);
}

/* About Page */
.about-profile-card {
    max-width: 430px;
    margin-left: auto;
}

.about-profile-inner {
    text-align: center;
}

.about-profile-img {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 34px;
    margin: 0 auto 20px;
    box-shadow: 0 18px 42px rgba(7,21,54,.22);
    border: 4px solid rgba(255,255,255,.75);
}

.about-profile-inner h2,
.about-profile-inner h3 {
    font-size: 28px;
    margin-bottom: 4px;
}

.about-profile-inner p {
    margin-bottom: 14px;
    color: var(--muted);
}

/* About Page Checklist */
.about-check-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.about-check-list li {
    color: #071536;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

/* Homepage About Preview */
.home-about-section {
    padding-top: 40px;
}

.home-about-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 34px;
    align-items: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.home-about-card::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    background: var(--gradient-soft);
    border-radius: 50%;
    top: -120px;
    right: -120px;
}

.home-about-card > * {
    position: relative;
    z-index: 1;
}

.home-about-image-wrap {
    background: var(--gradient-main);
    border-radius: 34px;
    padding: 16px;
    box-shadow: var(--shadow-card);
}

.home-about-img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border-radius: 26px;
    border: 4px solid rgba(255,255,255,.75);
}

.home-about-content h2 {
    color: var(--blue-dark);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    margin-bottom: 18px;
}

.home-about-content p {
    color: var(--muted);
    margin-bottom: 14px;
}

/* Homepage Contact */
.home-contact-section {
    background: linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
}

.home-contact-card {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    align-items: stretch;
}

.home-contact-info {
    background: var(--gradient-main);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.home-contact-info::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    right: -90px;
    bottom: -90px;
}

.home-contact-info > * {
    position: relative;
    z-index: 1;
}

.home-contact-info h3 {
    font-size: 30px;
    margin-bottom: 12px;
}

.home-contact-info p {
    opacity: .9;
    margin-bottom: 18px;
    color: #ffffff;
}

.home-contact-info .about-check-list li {
    color: #ffffff;
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #071536 0%, #1e2460 42%, #7b3fc8 72%, #f0068f 100%);
    padding: 70px 0 24px;
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: .28;
    pointer-events: none;
}

.footer-glow-one {
    width: 380px;
    height: 380px;
    background: #ffffff;
    top: -170px;
    right: -120px;
}

.footer-glow-two {
    width: 440px;
    height: 440px;
    background: #1e66ff;
    bottom: -220px;
    left: -130px;
}

.footer-top-card {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 34px;
    padding: 24px;
    margin-bottom: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    border-radius: 24px;
    padding: 7px;
    box-shadow: 0 14px 32px rgba(0,0,0,.2);
    flex: 0 0 auto;
}

.footer-logo img {
    height: 70px;
    width: auto;
    max-width: 190px;
    border-radius: 18px;
    object-fit: contain;
}

.footer-brand h3 {
    font-size: 25px;
    margin-bottom: 6px;
}

.footer-brand p {
    max-width: 560px;
    opacity: .9;
    font-size: 14px;
    color: #ffffff;
}

.footer-cta {
    display: grid;
    gap: 10px;
    text-align: right;
    flex: 0 0 auto;
}

.footer-cta span {
    font-weight: 700;
    opacity: .9;
}

.footer-cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    color: #1e66ff;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
    transition: .25s ease;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 28px;
    margin-bottom: 36px;
}

.footer-grid-large {
    grid-template-columns: 1.1fr .75fr 1.15fr 1fr;
}

.footer-grid h4 {
    margin-bottom: 14px;
    font-size: 17px;
}

.footer-grid p,
.footer-grid a {
    opacity: .9;
    font-size: 14px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-links li,
.footer-links a {
    color: rgba(255,255,255,.88);
    font-size: 14px;
}

.footer-links a {
    transition: .25s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-links a,
.footer-contact-links li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(255,255,255,.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-socials-stacked {
    display: grid;
}

.footer-socials a {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.2);
    color: #ffffff;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    transition: .25s ease;
}

.footer-socials a:hover {
    background: rgba(255,255,255,.24);
    transform: translateY(-2px);
}

.social-icon {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #ffffff;
    color: #1e66ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 15px;
}

.footer-hosting-badge {
    margin-top: 18px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 22px;
    padding: 14px;
}

.footer-hosting-badge span {
    display: block;
    font-size: 12px;
    opacity: .82;
    margin-bottom: 4px;
}

.footer-hosting-badge strong {
    font-size: 18px;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 13px;
    color: rgba(255,255,255,.86);
}

/* Dark Mode */
body.dark-mode {
    --bg: #050b1f;
    --white: #0f172a;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --border: rgba(255,255,255,.12);
    --blue-dark: #ffffff;

    background: #050b1f;
    color: #f8fafc;
}

body.dark-mode .site-header {
    background: rgba(5,11,31,.86);
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
}

body.dark-mode .logo {
    background: rgba(255,255,255,.06);
    box-shadow: 0 12px 30px rgba(0,0,0,.24);
}

body.dark-mode .nav-links a {
    color: #ffffff;
}

body.dark-mode .nav-links a:hover {
    color: var(--pink-soft);
}

body.dark-mode .card,
body.dark-mode .offer-card,
body.dark-mode .project-card,
body.dark-mode .info-panel,
body.dark-mode .contact-box,
body.dark-mode .contact-form,
body.dark-mode .trust-bar,
body.dark-mode .home-about-card {
    background: #0f172a;
    border-color: rgba(255,255,255,.12);
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: #111827;
    color: #ffffff;
    border-color: rgba(255,255,255,.14);
}

body.dark-mode .tag {
    background: rgba(255,255,255,.12);
    color: #ffffff;
}

body.dark-mode .trust-item,
body.dark-mode .project-content h3,
body.dark-mode .home-about-content h2,
body.dark-mode .about-check-list li {
    color: #ffffff;
}

body.dark-mode .contact-section,
body.dark-mode .home-contact-section {
    background: #050b1f;
}

body.dark-mode .contact-section .section-heading h2 {
    color: #ffffff;
}

body.dark-mode .contact-section .section-heading p,
body.dark-mode .home-about-content p,
body.dark-mode .about-profile-inner p {
    color: #cbd5e1;
}

body.dark-mode .contact-section .section-heading .eyebrow {
    color: var(--pink-soft);
}

.project-icon-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    color: #ffffff;
}

.project-icon-panel .feature-icon {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 18px 35px rgba(7,21,54,.18);
    position: relative;
    z-index: 2;
}

.project-icon-panel span {
    position: relative;
    z-index: 2;
    font-size: 17px;
    font-weight: 800;
}


.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--gradient-main);
    margin-bottom: 18px;
    box-shadow: 0 12px 25px rgba(30,102,255,.2);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
    color: #ffffff;
}


.partnership-panel {
    background: var(--gradient-main);
    color: #ffffff;
}

.partnership-panel h2,
.partnership-panel h3,
.partnership-panel p,
.partnership-panel li,
.partnership-panel a {
    color: #ffffff;
}


.partnership-text p {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid,
    .split,
    .contact-grid,
    .code-grid,
    .home-about-card,
    .home-contact-card {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-grid,
    .trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 90px 0;
    }

    .home-about-image-wrap {
        max-width: 420px;
        margin: 0 auto;
    }

    .footer-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top-card {
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    section {
        padding: 58px 0;
    }

    .navbar {
        min-height: 84px;
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }

    .logo {
        padding: 4px;
        border-radius: 18px;
    }

    .logo img {
        height: 58px;
        max-width: 150px;
        border-radius: 15px;
    }

    .header-actions {
        gap: 8px;
    }

    .theme-toggle,
    .menu-toggle {
        width: 44px;
        height: 44px;
        border-radius: 15px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: 96px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border: 1px solid rgba(229,231,235,.85);
        border-radius: 24px;
        box-shadow: 0 22px 55px rgba(7,21,54,.18);
        padding: 14px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 15px 16px;
        border-radius: 16px;
        font-size: 16px;
        font-weight: 700;
    }

    .nav-links li a:hover,
    .nav-links li a.active,
    .nav-links li a[aria-current="page"] {
        background: var(--gradient-soft);
        color: var(--blue);
    }

    .nav-links a::after {
        display: none;
    }

    body.dark-mode .nav-links {
        background: rgba(15,23,42,.96);
        border-color: rgba(255,255,255,.12);
    }

    body.dark-mode .nav-links li a:hover,
    body.dark-mode .nav-links li a.active,
    body.dark-mode .nav-links li a[aria-current="page"] {
        background: rgba(255,255,255,.08);
        color: #ffffff;
    }

    .hero {
        padding: 70px 0;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-row {
        justify-content: center;
    }

    .card-grid,
    .project-grid,
    .offer-grid,
    .trust-bar,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .offer-card.featured {
        transform: none;
    }

    .offer-card.featured:hover {
        transform: translateY(-8px);
    }

    .contact-box,
    .contact-form,
    .info-panel,
    .home-about-card,
    .home-contact-info {
        padding: 24px;
    }

    .home-about-content {
        text-align: center;
    }

    .home-about-content .project-tags,
    .home-about-content .btn-row {
        justify-content: center;
    }

    .about-profile-card {
        max-width: 100%;
        margin-left: 0;
    }

    .about-profile-img {
        width: 180px;
        height: 180px;
        border-radius: 28px;
    }

    .footer-top-card {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo img {
        height: 64px;
    }

    .footer-cta {
        width: 100%;
        text-align: center;
    }

    .footer-cta-btn {
        width: 100%;
    }

    .footer-grid-large {
        grid-template-columns: 1fr;
    }

    .footer-socials a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .navbar {
        min-height: 78px;
    }

    .logo img {
        height: 50px;
        max-width: 130px;
    }

    .theme-toggle,
    .menu-toggle {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .btn {
        width: 100%;
    }

    .hero-card,
    .hero-card-inner,
    .card,
    .offer-card {
        padding: 22px;
    }
}