/* Neptune Webpage Styles */
:root {
    --primary: #66cae3; /* Neptune Aqua */
    --primary-dark: #0f2b3a; /* Deep Navy */
    --secondary: #f6fafa; /* Cloud White */
    --accent: #ff5c4a; /* Neptune Coral */
    --accent-soft: rgba(255, 92, 74, 0.18);
    --text: #0f2b3a;
    --text-muted: #3a4f54; /* Slate Grey */
    --white: #ffffff;
    --border: #cde4e9;
    --shadow-soft: 0 20px 45px rgba(15, 43, 58, 0.15);
    --highlight: #66cae3;
    --headline-font: "Walkway", "Space Grotesk", "Cairo", sans-serif;
}

@font-face {
    font-family: "Walkway";
    src: url("../images/Walkway-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Grotesk", "Cairo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background-color: var(--secondary);
    line-height: 1.7;
    min-height: 100vh;
}

body.rtl {
    direction: rtl;
    font-family: "Cairo", "Space Grotesk", sans-serif;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 110px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: none;
    padding: 0.95rem 1.8rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 1px solid rgba(15, 43, 58, 0.25);
    background: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(102, 202, 227, 0.18);
    border-color: var(--accent);
    color: var(--primary);
}

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.3);
}

.btn:not(.btn-outline):not(.btn-ghost) {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 12px 25px rgba(255, 92, 74, 0.35);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(246, 250, 250, 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(102, 202, 227, 0.35);
    z-index: 1000;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.logo span {
    color: var(--accent);
}

.logo-mark {
    width: 220px;
    height: auto;
    transition: width 0.2s ease;
    /* display: block; */
}

.logo-text {
    font-family: "Walkway", "Space Grotesk", sans-serif;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
}

.logo-dot {
    margin-left: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--text);
    position: relative;
    padding-bottom: 6px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-cta {
    border: none;
    background: var(--accent);
    color: var(--white);
    padding-inline: 1.6rem;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(255, 92, 74, 0.35);
}

.nav-cta:hover {
    background: #e34d3e;
    color: var(--white);
}

.language-switch {
    display: inline-flex;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.1rem;
    background: var(--white);
}

.lang-btn {
    border: none;
    background: transparent;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(0, 180, 216, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.hero {
    background: radial-gradient(circle at 20% 20%, rgba(102,202,227,0.35), transparent 55%),
                radial-gradient(circle at 80% 0%, rgba(255,92,74,0.25), transparent 50%),
                linear-gradient(135deg, var(--primary-dark), #0e3d52);
    color: var(--white);
    padding-top: 170px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    font-family: var(--headline-font);
    letter-spacing: 0.03em;
}

.hero-lede {
    font-size: 1.1rem;
    max-width: 540px;
    color: rgba(255,255,255,0.9);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

.hero-badges a {
    color: var(--accent);
    font-weight: 600;
}

.hero-stats {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: rgba(255,255,255,0.08);
    padding: 1.5rem;
    border-radius: 18px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--accent);
}

.hero-visual {
    position: relative;
    min-height: 420px;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.8;
}

.orb-one {
    width: 220px;
    height: 220px;
    background: rgba(102,202,227,0.45);
    top: 10%;
    right: 10%;
    animation: float 14s ease-in-out infinite;
}

.orb-two {
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.35);
    bottom: 5%;
    left: 15%;
    animation: float 12s ease-in-out infinite reverse;
}

.glass-card {
    position: relative;
    background: rgba(246,250,250,0.1);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 24px;
    padding: 2rem;
    color: rgba(255,255,255,0.95);
    box-shadow: var(--shadow-soft);
    max-width: 420px;
    backdrop-filter: blur(15px);
    margin: 0 auto;
}

.glass-card ul {
    margin-top: 1rem;
    list-style: none;
    color: rgba(255,255,255,0.85);
}

.glass-card li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.35rem;
}

.glass-card li::before {
    content: "•";
    color: var(--highlight);
    position: absolute;
    left: 0;
}

.legacy {
    background: var(--white);
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
    font-family: var(--headline-font);
}

.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.legacy-card {
    background: var(--secondary);
    border-radius: 18px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: 0 15px 40px rgba(15, 43, 58, 0.08);
}

.legacy-card.highlight {
    background: var(--primary);
    color: var(--white);
    border: none;
}

.checklist {
    list-style: none;
    margin: 1.5rem 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.checklist li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--highlight);
}

.badge-note span {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(102, 202, 227, 0.2);
    color: var(--primary-dark);
    font-weight: 600;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.pill {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    font-size: 0.9rem;
}

.product-suite {
    background: linear-gradient(180deg, var(--secondary) 0%, #e9f4f4 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    color: var(--primary);
    font-family: var(--headline-font);
}

.section-title p {
    color: var(--text-muted);
    max-width: 620px;
    margin: 0.75rem auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 20px 45px rgba(15, 43, 58, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
    min-height: 340px;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
}

.product-card h3 {
    font-size: 1.35rem;
    color: var(--primary);
}

.product-card ul {
    list-style: none;
    margin-top: auto;
}

.product-card li {
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
}

.product-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.vision {
    background: var(--white);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.vision-card {
    background: var(--secondary);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px rgba(15, 43, 58, 0.08);
}

.vision-card h2,
.vision-card h3 {
    font-family: var(--headline-font);
}

.vision-card blockquote {
    margin-top: 1.8rem;
    padding-left: 1.2rem;
    border-left: 3px solid var(--accent);
    color: var(--text);
    font-style: italic;
}

.vision-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.goals {
    background: var(--primary);
    color: var(--white);
    border: none;
}

.goal-list {
    list-style: none;
    margin-top: 1.5rem;
}

.goal-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.goal-number {
    font-weight: 700;
    color: var(--accent);
}

.impact {
    background: radial-gradient(circle at top, rgba(102,202,227,0.2), transparent 55%), var(--white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.impact-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(7, 28, 51, 0.08);
    text-align: center;
}

.impact-number {
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.gallery {
    background: linear-gradient(180deg, #081824 0%, #0f2b3a 100%);
    color: var(--white);
}

.gallery .section-title h2,
.gallery .section-title p {
    color: var(--white);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.gallery-item img {
    height: 260px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,0.75) 100%);
}

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.contact-content h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 1rem;
    font-family: var(--headline-font);
}

.contact-details {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-weight: 600;
}

.contact-details a {
    color: var(--primary);
}

.contact-form {
    background: var(--secondary);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 45px rgba(15, 43, 58, 0.08);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid transparent;
    background: var(--white);
    font-size: 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

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

footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 2.5rem 0;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.footer-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.footer-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 180, 216, 0.4);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
    100% { transform: translateY(0); }
}

/* RTL helpers */
body.rtl .hero-cta,
body.rtl .hero-badges,
body.rtl .hero-stats,
body.rtl .legacy-grid,
body.rtl .product-grid,
body.rtl .vision-grid,
body.rtl .impact-grid,
body.rtl .contact-grid,
body.rtl .gallery-container {
    direction: rtl;
}

body.rtl .glass-card li,
body.rtl .product-card li,
body.rtl .goal-list li,
body.rtl .checklist li {
    padding-left: 0;
    padding-right: 1.2rem;
}

body.rtl .glass-card li::before,
body.rtl .product-card li::before {
    left: auto;
    right: 0;
}

body.rtl .goal-list li {
    text-align: right;
}

/* Responsive */
@media (max-width: 1100px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        box-shadow: var(--shadow-soft);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .nav-actions {
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .logo-mark {
        width: 130px;
    }

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

    .hero-cta {
        width: 100%;
    }

    .hero-cta .btn {
        flex: 1 1 220px;
    }

    .product-card,
    .vision-card,
    .impact-card,
    .contact-form {
        padding: 1.75rem;
    }
}

@media (max-width: 540px) {
    .hero-badges,
    .contact-details {
        font-size: 0.9rem;
    }

    .logo-mark {
        width: 95px;
    }

    .language-switch {
        display: none;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
}
