/* Denline Shipping Pvt Ltd - public website stylesheet
   Premium, restrained palette: deep navy + off-white + a single muted
   brass accent used sparingly (stat numbers, eyebrow labels, hover
   states) rather than saturated colour everywhere. */

:root {
    --primary: #1c2b45;
    --primary-dark: #101a2c;
    --navy: #0a1220;
    --accent: #a9843f;
    --accent-soft: #cdb37c;
    --text: #20242e;
    --text-muted: #6b7076;
    --bg: #f7f6f2;
    --surface: #ffffff;
    --border: #e7e4db;
    --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.1px;
}

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

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

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

/* Header */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 20px;
}

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

.brand-logo img {
    height: 56px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.2px;
    color: var(--text);
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    border-color: var(--accent);
}

.main-nav li:last-child a {
    background: var(--primary);
    color: #fff;
    padding: 9px 18px;
    border-radius: 999px;
    border-bottom: 0;
}

.main-nav li:last-child a:hover { background: var(--primary-dark); }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 24px;
    color: var(--navy);
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    color: #fff;
    padding: 110px 0 96px;
    background: var(--navy) center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10,18,32,0.94) 0%, rgba(10,18,32,0.82) 45%, rgba(10,18,32,0.55) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 680px;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-soft);
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.18;
    margin-bottom: 20px;
}

.hero p {
    font-family: inherit;
    font-size: 16.5px;
    color: #cdd2dd;
    margin-bottom: 32px;
    max-width: 480px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.2px;
    padding: 13px 26px;
    border-radius: 4px;
    border: 1px solid var(--primary);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

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

.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

.hero-image { display: none; }

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-eyebrow::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

.section h2 {
    font-size: 30px;
    color: var(--navy);
    margin-bottom: 18px;
}

.section-lead {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 640px;
    margin-bottom: 40px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.split img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 4 / 3.3;
    object-fit: cover;
    filter: saturate(0.92);
}

.split.reverse .split-image { order: 2; }

/* Cards grid */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.card {
    background: var(--surface);
    padding: 32px 26px;
}

.card .card-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
    font-size: 14.5px;
}

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

/* Process steps */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 8px;
    position: relative;
}

.process-step {
    padding: 0 20px 0 0;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    right: 0;
    width: 20px;
    height: 1px;
    background: var(--border);
}

.process-number {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 14px;
}

.process-step h3 {
    font-size: 16px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 600;
}

.process-step p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* Contact */
.contact-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: flex-start;
}

.contact-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 4;
}

.contact-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }

.contact-info {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.contact-info-item h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 3px;
    font-weight: 600;
}

.contact-info-item p, .contact-info-item a {
    font-size: 15px;
    color: var(--navy);
    font-weight: 500;
}

form.contact-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 11px 14px;
    font-size: 14.5px;
    font-family: inherit;
    background: var(--bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.contact-form textarea { min-height: 120px; resize: vertical; }

.form-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* Principles (about page) */
.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 44px;
}

.principle {
    text-align: left;
    border-top: 2px solid var(--accent);
    padding-top: 18px;
}

.principle img { display: none; }

.principle h3 {
    font-size: 17px;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 600;
}

.principle p {
    color: var(--text-muted);
    font-size: 14.5px;
}

/* CTA band */
.cta-band {
    background: var(--navy);
    color: #fff;
    padding: 64px 0;
    text-align: center;
}

.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #b7bdc9; margin-bottom: 28px; }

/* Footer */
.site-footer {
    background: var(--navy);
    color: #9298a3;
    padding: 26px 0 14px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 12px;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover { border-color: var(--accent); color: var(--accent-soft); }

.footer-bottom {
    font-size: 12px;
    color: #6c7280;
    text-align: center;
}

/* Slider / gallery */
.slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: var(--navy);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}

.slide {
    position: relative;
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
}

.slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 32px;
    background: linear-gradient(0deg, rgba(4,8,16,0.82), rgba(4,8,16,0));
    color: #fff;
}

.slide-caption h3 {
    font-size: 19px;
    margin-bottom: 4px;
    font-weight: 600;
}

.slide-caption p {
    font-size: 13.5px;
    color: #c6cbd6;
    font-family: 'Inter', sans-serif;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    color: var(--navy);
    border: 0;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-arrow:hover { background: #fff; }

.slider-dots {
    position: absolute;
    bottom: 16px;
    right: 24px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0;
}

.slider-dots button.active { background: var(--accent-soft); }

/* Stats band */
.stats-band {
    background: var(--navy);
    padding: 52px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stats-grid > div:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-soft);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 12px;
    color: #9298a3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services grid (expanded) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}

/* FAQ */
.faq-list {
    max-width: 760px;
    margin-top: 8px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: var(--navy);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Playfair Display', serif;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--accent);
    margin-left: 12px;
    font-family: 'Inter', sans-serif;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item p {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 14.5px;
    font-family: 'Inter', sans-serif;
}

/* Auth (login / signup) */
.auth-section {
    padding: 56px 0 88px;
}

.auth-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.audience-toggle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    margin-bottom: 28px;
}

@media (max-width: 560px) {
    .audience-toggle { grid-template-columns: 1fr; }
    .audience-toggle button:not(:last-child) { border-bottom: 1px solid var(--border); }
}

.audience-toggle button {
    border: 0;
    background: transparent;
    padding: 13px 10px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--text-muted);
    cursor: pointer;
}

.audience-toggle button:first-child { border-right: 1px solid var(--border); }

.audience-toggle button.active {
    background: var(--primary);
    color: #fff;
}

.audience-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.mode-toggle {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.mode-toggle button {
    border: 0;
    background: none;
    padding: 0 0 12px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: 'Playfair Display', serif;
}

.mode-toggle button.active {
    color: var(--navy);
    border-color: var(--accent);
}

.auth-panel { display: none; }
.auth-panel.active { display: block; }

.auth-form { display: grid; gap: 16px; }

.auth-form label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    display: block;
}

.auth-form input, .auth-form select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 11px 14px;
    font-size: 14.5px;
    font-family: inherit;
    background: var(--bg);
}

.auth-form input:focus, .auth-form select:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.auth-submit {
    width: 100%;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border: 0;
    border-radius: 4px;
    padding: 13px 20px;
    font-size: 14.5px;
    cursor: pointer;
    margin-top: 4px;
}

.auth-submit:hover { background: var(--primary-dark); }

.portal-actions {
    display: grid;
    gap: 12px;
}

.portal-actions .auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    text-align: center;
    text-decoration: none;
}

.portal-actions .auth-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.portal-actions .auth-secondary:hover,
.portal-actions .auth-secondary:focus-visible {
    color: #fff;
    background: var(--primary);
}

.portal-actions .auth-secondary[hidden] {
    display: none;
}

.portal-actions + .form-note {
    margin-top: 14px;
}

.auth-switch {
    text-align: center;
    font-size: 13.5px;
    color: var(--text-muted);
    margin-top: 18px;
}

.auth-switch a { color: var(--primary); font-weight: 600; }

.auth-alert {
    background: #f1ede2;
    color: #6b5426;
    border-left: 2px solid var(--accent);
    padding: 12px 16px;
    font-size: 13.5px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 860px) {
    .split,
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    .split.reverse .split-image { order: 0; }
    .cards, .principles, .services-grid, .process { grid-template-columns: 1fr; }
    .process-step:not(:last-child)::after { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid > div:nth-child(2n) { border-right: 0; }
    .stats-grid > div { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .slider { aspect-ratio: 4 / 3.4; }
    .slide-caption h3 { font-size: 16px; }
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        display: none;
    }
    .main-nav.open { display: block; }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 16px;
    }
    .main-nav a { display: block; padding: 12px 0; }
    .main-nav li:last-child a { text-align: center; margin-top: 8px; }
    .hero { padding: 80px 0 64px; }
    .hero h1 { font-size: 30px; }
}

/* Investor relations page */
.investor-hero{position:relative;padding:96px 0 88px;color:#fff;background:linear-gradient(105deg,rgba(5,22,42,.96),rgba(12,54,86,.86)),url('../img/denline-containers-wide.jpg') center/cover}.investor-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.65fr);gap:72px;align-items:center}.investor-hero h1{max-width:780px;font-size:clamp(44px,5.5vw,72px);line-height:1.04;margin:18px 0 24px}.investor-hero .hero-copy{max-width:700px;font-size:19px;color:#d5e2ed}.investor-hero .btn{margin-top:20px}.investor-snapshot{padding:30px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.08);backdrop-filter:blur(10px)}.investor-snapshot small{display:block;color:#e4b75f;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}.investor-snapshot strong{display:block;font-family:'Playfair Display',serif;font-size:28px;line-height:1.3;margin:12px 0 24px}.snapshot-list{display:grid;gap:10px}.snapshot-list span{padding:12px 14px;border-radius:6px;background:rgba(255,255,255,.08);font-size:14px}.investor-intro{max-width:820px}.investor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:38px}.investor-card{padding:30px;border:1px solid #dce3ea;border-radius:10px;background:#fff;box-shadow:0 12px 35px rgba(10,35,60,.06)}.investor-card .card-num{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:50%;background:#eaf3fa;color:#143659;font-weight:800}.investor-card h3{font-size:23px;margin:18px 0 10px}.investor-card p{color:#5c6d7d}.business-model{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:38px}.model-panel{padding:36px;border-radius:12px;background:#0b2947;color:#fff}.model-panel:nth-child(2){background:#eef4f8;color:#102b46}.model-label{color:#e2b65e;font-size:12px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase}.model-panel h3{font-size:28px;margin:12px 0}.model-panel p{opacity:.82}.investor-roadmap{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:42px;border-top:1px solid #cad6e0}.roadmap-step{position:relative;padding:32px 24px 10px 0}.roadmap-step:before{content:'';position:absolute;top:-6px;left:0;width:11px;height:11px;border-radius:50%;background:#d4a84d}.roadmap-step small{color:#a77b25;font-weight:800}.roadmap-step h3{font-size:19px;margin:9px 0}.roadmap-step p{font-size:14px;color:#667687}.investor-data-room{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;padding:58px;border-radius:14px;background:#f1f6f9}.check-list{display:grid;gap:12px;padding:0;list-style:none}.check-list li:before{content:'✓';display:inline-flex;margin-right:10px;color:#15827b;font-weight:900}.investor-disclaimer{max-width:960px;margin:28px auto 0;color:#778593;font-size:12px;text-align:center}@media(max-width:900px){.investor-hero-grid,.investor-data-room{grid-template-columns:1fr}.investor-grid{grid-template-columns:1fr 1fr}.investor-roadmap{grid-template-columns:1fr 1fr}.business-model{grid-template-columns:1fr}}@media(max-width:640px){.investor-hero{padding:70px 0}.investor-grid,.investor-roadmap{grid-template-columns:1fr}.investor-data-room{padding:30px 22px}.investor-hero h1{font-size:42px}}
