/* --- Base & Typography --- */
:root {
    --accent-color: #FFFFFF;
    --accent-color-salmon: rgb(255, 136, 109);
    --main-bg: #222222; /* Dark Grey */
    --flair-bg: #FFFFFF;
    --main-text: #EEEEEE;
    --secondary-text: #BBBBBB;
    --dark-text: #111111;
    --border-color-light: rgba(255, 255, 255, 0.1);
    --border-color-dark: rgba(0, 0, 0, 0.1);
}

@font-face {
    font-family: 'Surt';
    src: url('../fonts/Surt-Normal-Regular-TRIAL.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Surt';
    src: url('../fonts/Surt-Normal-Bold-TRIAL.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Surt';
    src: url('../fonts/Surt-Normal-Regular-Italic-TRIAL.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Surt Expanded';
    src: url('../fonts/Surt-Expanded-Regular-TRIAL.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Surt Expanded';
    src: url('../fonts/Surt-Expanded-Bold-TRIAL.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Surt Expanded';
    src: url('../fonts/Surt-Expanded-Regular-Italic-TRIAL.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6, .section-title {
    font-family: 'Surt Expanded', 'Surt', 'Outfit', sans-serif;
}

body {
    background-color: var(--main-bg);
    color: var(--main-text);
    font-family: 'Surt', 'Outfit', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 600;
}

/* --- Navbar --- */
.navbar {
    background-color: rgba(34, 34, 34, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--secondary-text);
    transition: color 0.3s ease, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color-salmon);
    border-bottom: 2px solid var(--accent-color-salmon);
}

/* --- Hero Section --- */
#hero {
    min-height: 100vh;
    background: linear-gradient(to bottom, #333333, #111111);
    position: relative;
    overflow: hidden;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.hero-subheadline {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--secondary-text);
}

.hero-cta {
    margin-top: 2rem;
    display: block;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
}

.hero-cta .btn {
    margin: 0 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 400;
    transition: all 0.3s ease;
    opacity: 0;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-text);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--accent-color-salmon);
    border-color: var(--accent-color-salmon);
    color: #fff;
}

.btn-outline-light {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline-light:hover {
    background-color: var(--accent-color-salmon);
    border-color: var(--accent-color-salmon);
    color: #fff;
    transform: translateY(-3px);
}

/* --- General Section Styling --- */
section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color-light);
}

.bg-flair {
    background-color: var(--flair-bg);
    color: var(--dark-text);
    border-bottom-color: var(--border-color-dark);
}

.bg-flair .section-title, .bg-flair h3 {
    color: var(--dark-text);
}

#who-we-serve {
    background: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.serve-card {
    background: #232224;
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    border: none;
    border-top: 4px solid var(--accent-color-salmon);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: left;
    color: var(--main-text);
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
.serve-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 40px 0 rgba(255,136,109,0.10);
}
.serve-icon {
    font-size: 2.2rem;
    color: var(--accent-color-salmon);
    margin-bottom: 1.5rem;
}
.serve-card-title {
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.7rem;
    color: var(--main-text);
}
.serve-card-desc {
    color: var(--secondary-text);
    font-size: 1.05rem;
    margin-bottom: 0;
    margin-top: auto;
}
.serve-card h3 {
    color: #fff;
}

/* --- Typographic & Informational Enhancements --- */

.lead {
    color: var(--secondary-text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bg-flair .lead {
    color: #555;
}

.feature-highlight {
    background: var(--main-bg);
    border-left: 4px solid var(--accent-color-salmon);
    padding: 1.5rem 2rem;
    margin: 1rem 0;
    border-radius: 0.25rem;
}

.feature-highlight p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 0;
}

.feature-grid .feature-item {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

.feature-item .feature-icon {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: #333;
    color: var(--accent-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--accent-color-salmon);
    color: var(--dark-text);
    transform: rotate(15deg);
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--secondary-text);
}

.ecosystem-grid .ecosystem-item {
    background-color: #f0f0f0;
    padding: 2rem;
    border-radius: 0.5rem;
    height: 100%;
    transition: background-color 0.3s ease;
    border-left: 4px solid var(--accent-color-salmon);
}

.ecosystem-grid .ecosystem-item:hover {
    background-color: #e9e9e9;
}

.ecosystem-item h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* --- "Why Keeta?" Section --- */
#why-keeta ul {
    list-style: none;
    padding-left: 0;
}
#why-keeta li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}
#why-keeta li::before {
    content: '\f058'; /* Font Awesome check-circle icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
}

/* --- "Our Ecosystem" Section --- */
#our-ecosystem {
    border-bottom: none;
    border-radius: 0 0 3rem 3rem;
}

/* --- "Join Us" Section --- */
.social-links .social-icon {
    font-size: 2rem;
    margin: 0 1rem;
    color: var(--secondary-text);
    transition: color 0.3s, transform 0.3s;
}

.social-links .social-icon:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.subscribe-form .form-control {
    background-color: #333;
    border-color: var(--border-color-light);
    color: var(--main-text);
}

.subscribe-form .form-control::placeholder {
    color: var(--secondary-text);
}

/* --- Footer --- */
footer {
    background-color: #111111;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color-light);
}
footer p {
    margin-bottom: 0;
}
footer .disclaimer {
    font-size: 0.8rem;
    color: var(--secondary-text);
    margin-top: 0.5rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
}

.accent-salmon {
    color: var(--accent-color-salmon) !important;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.25;
    pointer-events: none;
}
#hero {
    position: relative;
    overflow: hidden;
}
#hero-circle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    mix-blend-mode: difference;
    pointer-events: none;
}
#hero .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
    background-color: #1a1a1a;
}

.trench-modal-content {
    background: #232224;
    border-radius: 1.5rem;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.18);
    border: none;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    color: var(--main-text);
    position: relative;
}
.trench-modal-content .modal-title {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.trench-modal-content .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}
.trench-modal-content .modal-body {
    padding-top: 0.5rem;
}
.trench-modal-content .btn-close {
    filter: invert(1) grayscale(1) brightness(1.5);
    opacity: 0.7;
    transition: opacity 0.2s;
}
.trench-modal-content .btn-close:hover {
    opacity: 1;
}

.btn-salmon-nav {
    background: var(--accent-color-salmon);
    color: #fff;
    font-family: 'Surt Expanded', 'Surt', 'Outfit', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.4rem;
    font-size: 1rem;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(255,136,109,0.08);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    outline: none;
}
.btn-salmon-nav:hover, .btn-salmon-nav:focus {
    background: #ff6f3c;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,136,109,0.18);
    transform: translateY(-2px) scale(1.04);
}
