/* =========================================================
   ADEIRELAND LTD — style.css
   Palette: light blueprint — royal blue + amber on cool white.
   Fonts: Outfit (display) + Plus Jakarta Sans (body).
   ========================================================= */

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

:root {
    --ink:        #0d1b3e;
    --ink-soft:   #16264f;
    --blue:       #2451e6;
    --blue-bright:#4f7cff;
    --blue-deep:  #1a3bc0;
    --amber:      #ffb800;
    --amber-deep: #f59e0b;
    --grad-blue:  linear-gradient(120deg, #2451e6 0%, #4f7cff 100%);
    --grad-amber: linear-gradient(120deg, #ffb800 0%, #ff8a3d 100%);

    --text:       #2a3654;
    --text-muted: #5d6b8a;
    --text-light: #93a0bd;
    --bg:         #ffffff;
    --bg-alt:     #f4f7fb;
    --border:     #e2e9f5;
    --grid-line:  #dbe5f7;

    --radius:     14px;
    --radius-lg:  22px;
    --radius-xl:  30px;
    --radius-pill:50px;
    --shadow-sm:  0 2px 12px rgba(13,27,62,0.06);
    --shadow:     0 16px 40px rgba(13,27,62,0.10);
    --shadow-lg:  0 30px 70px rgba(13,27,62,0.16);
    --transition: all 0.28s cubic-bezier(.4,0,.2,1);
    --header-h:   78px;

    --font-head:  'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 106px 0; }
.section-alt { background: var(--bg-alt); }

.text-grad {
    background: var(--grad-blue);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
    padding: 13px 26px; border-radius: 12px;
    cursor: pointer; border: none; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 12px 28px rgba(36,81,230,0.30); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(36,81,230,0.42); color: #fff; }
.btn-amber { background: var(--ink); color: #fff; }
.btn-amber:hover { transform: translateY(-3px); background: var(--ink-soft); color:#fff; }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--blue); transform: translateY(-3px); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ----- Header ----- */
.header {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    display: flex; align-items: center; background: transparent; transition: var(--transition);
}
.header.scrolled { background: rgba(255,255,255,0.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; }
.logo-mark {
    width: 42px; height: 42px; border-radius: 12px; background: var(--ink);
    display: grid; place-items: center; color: #fff; font-size: 1.15rem; font-weight: 700;
    border: 1.5px solid var(--blue-bright);
}
.logo-mark i { color: var(--amber); }
.logo-text { font-size: 1.2rem; letter-spacing: 0.4px; color: var(--ink); }
.logo-accent { color: var(--blue); }
.logo--footer .logo-text { color: #fff; }
.logo--footer .logo-mark { background: rgba(255,255,255,0.08); }

/* ----- Hero (light, split, blueprint) ----- */
.hero {
    position: relative; padding: calc(var(--header-h) + 72px) 0 96px; overflow: hidden;
    background:
      linear-gradient(180deg, #eef3fc 0%, #ffffff 100%);
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.5;
    -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 72%);
            mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 72%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    background: #fff; border: 1px solid var(--border); color: var(--blue-deep);
    padding: 8px 16px; border-radius: var(--radius-pill); font-size: 0.84rem; font-weight: 600;
    margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.hero-badge i { color: var(--amber-deep); }
.hero-title {
    font-family: var(--font-head); font-weight: 700; color: var(--ink);
    font-size: clamp(2.5rem, 5.2vw, 3.9rem); line-height: 1.06; letter-spacing: -1.2px; margin-bottom: 22px;
}
.hero-description { color: var(--text-muted); font-size: 1.16rem; max-width: 550px; margin-bottom: 32px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--ink); }
.hero-stat .num span { color: var(--blue); }
.hero-stat .lbl { font-size: 0.82rem; color: var(--text-light); }
.hero-visual { position: relative; z-index: 2; }
.hero-visual img { border-radius: var(--radius-xl); box-shadow: 0 30px 60px rgba(13,27,62,0.18); border: 1px solid var(--border); }

/* ----- Section header ----- */
.section-header { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 2px;
    text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section-badge::before { content: ""; width: 22px; height: 2px; background: var(--amber); }
.section-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); letter-spacing: -0.6px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.14; margin-bottom: 16px; }
.section-description { color: var(--text-muted); font-size: 1.06rem; }

/* ----- Services (icon-left rows in bordered cards) ----- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.service-card {
    display: flex; gap: 18px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px; transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cdd9f0; }
.service-icon {
    width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center;
    font-size: 1.4rem; color: #fff; background: var(--grad-blue);
}
.service-card:nth-child(3n+2) .service-icon { background: var(--ink); }
.service-card:nth-child(3n+3) .service-icon { background: var(--grad-amber); color: var(--ink); }
.service-card h3 { font-family: var(--font-head); font-size: 1.22rem; color: var(--ink); margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 0.97rem; }

/* ----- Process (horizontal numbered cards) ----- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step {
    position: relative; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 30px 24px; transition: var(--transition);
}
.process-step::after {
    content: ""; position: absolute; top: 52px; right: -14px; width: 12px; height: 12px;
    border-top: 2px solid var(--amber); border-right: 2px solid var(--amber);
    transform: rotate(45deg); opacity: 0.7;
}
.process-grid .process-step:last-child::after { display: none; }
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-number {
    display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
    font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--blue);
    background: #eaf0fe; margin-bottom: 18px;
}
.process-step:nth-child(even) .step-number { color: var(--amber-deep); background: #fff5e0; }
.process-step h3 { font-family: var(--font-head); font-size: 1.18rem; color: var(--ink); margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 0.95rem; }

/* ----- Technologies (blueprint tiles) ----- */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 16px; max-width: 940px; margin: 0 auto; }
.tech-item {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px 14px; transition: var(--transition);
}
.tech-item:hover { transform: translateY(-5px); border-color: var(--blue-bright); box-shadow: var(--shadow-sm); }
.tech-icon { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; color: var(--blue); background: #eef3fc; }
.tech-item span { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink); }

/* ----- About ----- */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.about-text .section-badge, .about-text .section-title { text-align: left; justify-content: flex-start; }
.about-text .section-title { margin-bottom: 18px; }
.about-text p { color: var(--text-muted); margin-bottom: 15px; }
.about-list { margin: 22px 0 30px; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink-soft); }
.about-list i { color: var(--blue); margin-top: 4px; }
.about-image img { border-radius: var(--radius-lg); }

/* ----- Contact ----- */
.contact-content { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; }
.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-blue); font-size: 1.1rem; }
.contact-item h4 { font-family: var(--font-head); font-size: 1rem; color: var(--ink); margin-bottom: 3px; }
.contact-item a, .contact-item p { color: var(--text-muted); font-size: 0.95rem; }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: var(--shadow-sm); }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 600; font-family: var(--font-head); color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
    font-family: var(--font-body); font-size: 0.97rem; padding: 13px 15px;
    border: 1.5px solid var(--border); border-radius: 11px; background: #fbfcfe; color: var(--text); transition: var(--transition); width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,81,230,0.12); }
.form-group textarea { resize: vertical; }
.form-note { grid-column: 1 / -1; min-height: 20px; font-size: 0.92rem; font-weight: 600; }

/* ----- Footer ----- */
.footer { background: var(--ink); color: #b9c4dd; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-brand p { margin-top: 16px; max-width: 380px; color: #93a0bd; }
.footer-contact h4 { font-family: var(--font-head); color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 9px; font-size: 0.95rem; }
.footer-contact i { color: var(--amber); margin-top: 4px; }
.footer-contact a { color: #b9c4dd; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; text-align: center; font-size: 0.88rem; color: #7484a5; }

/* ----- Animations ----- */
@keyframes floatY { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
.animate-fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-fade-up.visible { opacity: 1; transform: none; }
.animate-fade-in { opacity: 0; transition: opacity 0.9s ease; }
.animate-fade-in.visible { opacity: 1; }
.services-grid .service-card:nth-child(2){ transition-delay:.06s }
.services-grid .service-card:nth-child(3){ transition-delay:.12s }
.process-grid .process-step:nth-child(2){ transition-delay:.08s }
.process-grid .process-step:nth-child(3){ transition-delay:.16s }
.process-grid .process-step:nth-child(4){ transition-delay:.24s }

/* ----- Responsive ----- */
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } .process-step:nth-child(2)::after { display: none; } }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 460px; margin: 0 auto; order: -1; }
    .about-content { grid-template-columns: 1fr; gap: 34px; }
    .about-image { order: -1; max-width: 500px; margin: 0 auto; }
    .contact-content { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .section { padding: 74px 0; }
    .process-grid { grid-template-columns: 1fr; }
    .process-step::after { display: none; }
    .service-card { flex-direction: column; }
    .contact-form { grid-template-columns: 1fr; padding: 24px; }
    .btn { width: 100%; justify-content: center; }
    .hero-buttons { flex-direction: column; }
}
