/* ==== RESET / BASE ==== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #020617;
    background-color: #f5f6fb;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    font-family: inherit;
}

/* ==== LAYOUT HELPERS ==== */

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #eef2ff;
}

.section-process {
    background-color: #e0f2fe;
}

.section-contact {
    background-color: #f9fafb;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px auto;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.section-header p {
    color: #4b5563;
    margin: 0;
}

/* ==== GRID ==== */

.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ==== BUTTONS ==== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 12px 26px;
    font-size: 15px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
    background-color: rgba(15, 23, 42, 0.1);
    color: #e5edff;
    border: 1px solid rgba(248, 250, 252, 0.6);
}

.btn-ghost:hover {
    background-color: rgba(15, 23, 42, 0.22);
}

.btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.btn-accent {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #ffffff;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==== HEADER ==== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.logo-text {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 15px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.main-nav a {
    color: #e5edff;
    position: relative;
    padding-bottom: 2px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #38bdf8;
    transform: translateX(-50%);
    transition: width 0.18s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 18px;
}

.header-cta {
    margin-left: 20px;
}

/* Nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 22px;
    height: 18px;
    background: none;
    border: none;
    padding: 0;
}

.nav-toggle span {
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background-color: #ffffff;
}

/* ==== HERO ==== */

.hero {
    position: relative;
    color: #ffffff;
    padding: 120px 0 90px 0;
    overflow: hidden;
}

.webdev-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../../../images/banners/desktop/website-development.webp"); 
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: -2;
}

@media (max-width: 768px){
  .webdev-hero .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("../../../images/banners/mobile/website-development.webp"); 
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: -2;
  }
}
.webdev-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #020617, #0f172a 55%, #020617);
    opacity: 0.96;
    z-index: -3;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr);
    gap: 40px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 16px 0;
}

.hero-subtitle {
    color: #c7d2fe;
    max-width: 620px;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.hero-ghost-light {
    border-color: rgba(248, 250, 252, 0.8);
}

/* Hero stats */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stat {
    padding: 10px 14px;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.55);
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.hero-stat-value {
    font-weight: 700;
    font-size: 18px;
}

.hero-stat-label {
    font-size: 12px;
    color: #e5e7eb;
}

/* ==== CARDS / SERVICES ==== */

.card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 20px 20px 22px 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.card h3 {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
}

.services-grid .service-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    margin-bottom: 6px;
}

/* Icon palette per platform */
.icon-wp {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.icon-woo {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.icon-shopify {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.icon-sq {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.icon-wix {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.icon-gd {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.icon-laravel {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.icon-custom {
    background: linear-gradient(135deg, #64748b, #0f172a);
}

.service-link {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
}

/* ==== TECH STACK ==== */

.stack-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.5fr);
    gap: 32px;
    align-items: center;
}

.stack-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.stack-column h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
}

.stack-column ul li {
    font-size: 13px;
    color: #111827;
    margin-bottom: 4px;
}

.stack-stats {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    border-radius: 18px;
    padding: 22px 20px;
    color: #e5f2ff;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.stack-stat {
    text-align: left;
}

.stack-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.stack-stat-label {
    font-size: 13px;
}

/* ==== PROJECTS ==== */

.projects-grid .project-card {
    padding: 0 0 18px 0;
}

.project-thumb {
    height: 160px;
    border-radius: 18px 18px 0 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    background-image: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}

.project-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-2 { background-image: linear-gradient(135deg, #4f46e5, #6366f1); }
.thumb-3 { background-image: linear-gradient(135deg, #0ea5e9, #22c55e); }
.thumb-4 { background-image: linear-gradient(135deg, #6366f1, #ec4899); }
.thumb-5 { background-image: linear-gradient(135deg, #f97316, #facc15); }
.thumb-6 { background-image: linear-gradient(135deg, #22c55e, #16a34a); }

.project-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    margin: 10px 0 4px 14px;
}

.project-tag-blue {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.project-tag-purple {
    background-color: #ede9fe;
    color: #5b21b6;
}

.project-tag-emerald {
    background-color: #dcfce7;
    color: #166534;
}

.project-tag-sky {
    background-color: #e0f2fe;
    color: #0369a1;
}

.project-tag-amber {
    background-color: #fef3c7;
    color: #92400e;
}

.project-tag-rose {
    background-color: #ffe4e6;
    color: #be123c;
}

.project-card h3 {
    margin: 0 14px 4px 14px;
    font-size: 17px;
}

.project-card p {
    margin: 0 14px 14px 14px;
    font-size: 13px;
}

/* ==== PROCESS ==== */

.section-process .process-grid .process-card {
    text-align: left;
}

.process-step {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-card p {
    font-size: 13px;
}

/* ==== CTA ==== */

.webdev-cta {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #ffffff;
    padding: 60px 0;
}

.webdev-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.webdev-cta-inner h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
}

.webdev-cta-inner p {
    margin: 0;
    color: #dbeafe;
}

.webdev-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==== CONTACT FORM ==== */

.contact-form {
    max-width: 720px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 24px 22px 26px 22px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.form-field {
    flex: 1 1 0;
    min-width: 200px;
}

.form-field-full {
    flex-basis: 100%;
}

.form-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #111827;
    font-weight: 500;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid #d1d5e4;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background-color: #f9fafb;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
    background-color: #ffffff;
}

/* ==== FOOTER ==== */

.site-footer {
    background-color: #020617;
    color: #9ca3c9;
    padding-top: 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 2fr);
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-about p {
    font-size: 13px;
    max-width: 420px;
    margin-top: 10px;
}

.footer-logo .logo-mark {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.footer-column h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #e5e7ff;
}

.footer-column li {
    margin-bottom: 4px;
}

.footer-column a {
    font-size: 13px;
    color: #a5b0e5;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 10px 0 14px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7287;
}

/* ==== RESPONSIVE ==== */

@media (max-width: 1200px) {
    .stack-layout {
        grid-template-columns: 1fr;
    }

    .stack-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        gap: 10px;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease;
    }

    .main-nav.open {
        max-height: 260px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 10px 20px 14px 20px;
        align-items: flex-start;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 110px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .stack-columns {
        grid-template-columns: 1fr;
    }

    .stack-stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .webdev-cta-inner {
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
    }

    .stack-stats {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
}


.service-icon{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.service-icon::before{
  content:"";
  width: 28px;
  height: 28px;
  display:block;
  background: #ff5a00; /* your theme color */
  -webkit-mask: var(--icon) no-repeat center / contain;
  mask: var(--icon) no-repeat center / contain;
}

/* Map each card to the correct brand icon */
.icon-wp{      --icon: url("https://cdn.simpleicons.org/wordpress"); }
.icon-woo{     --icon: url("https://cdn.simpleicons.org/woocommerce"); }
.icon-shopify{ --icon: url("https://cdn.simpleicons.org/shopify"); }
.icon-sq{      --icon: url("https://cdn.simpleicons.org/squarespace"); }
.icon-wix{     --icon: url("https://cdn.simpleicons.org/wix"); }
.icon-gd{      --icon: url("https://cdn.simpleicons.org/godaddy"); }
.icon-laravel{ --icon: url("https://cdn.simpleicons.org/laravel"); }
.icon-custom{  --icon: url("https://cdn.simpleicons.org/php"); }





