:root {
    --bg-main: #06090e; /* Even darker, pure black/slate */
    --bg-darker: #030508;
    --bg-card: rgba(15, 20, 30, 0.4);
    --border-color: rgba(255, 255, 255, 0.05);
    --accent: #F5A623;
    --accent-glow: rgba(245, 166, 35, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    position: relative;
    /* Subtle geometric grid background */
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    background-attachment: fixed;
}

/* Add a glowing ambient light globally */
body::before {
    content: '';
    position: fixed;
    top: -20vh;
    left: 10vw;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.06) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

h1 { font-size: 4.5rem; margin-bottom: 1rem; letter-spacing: -1px; }
h2 { font-size: 2.8rem; margin-bottom: 1rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.accent {
    color: var(--accent);
    text-shadow: 0 0 20px rgba(245, 166, 35, 0.3);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.scrolled {
    background: rgba(6, 9, 14, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 15px rgba(245, 166, 35, 0.5));
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(245, 166, 35, 0.8));
}

.logo-img-footer {
    height: 100px;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(245, 166, 35, 0.3));
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-img-footer:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(245, 166, 35, 0.6));
}

.logo-link {
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-primary-small {
    background: transparent;
    border: 1px solid rgba(245, 166, 35, 0.5);
    color: var(--text-primary) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(5px);
}

.btn-primary-small:hover {
    background: var(--accent);
    color: #000 !important;
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--accent) 0%, #d48c15 100%);
    color: #000;
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.2);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(245, 166, 35, 0.3);
}

#hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at bottom, rgba(10, 14, 23, 0) 0%, var(--bg-main) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.02);
}

.hero-content p {
    font-size: 1.35rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.section {
    padding: 10rem 2rem;
    position: relative;
}

.bg-darker {
    background: linear-gradient(to bottom, transparent, rgba(3, 5, 8, 0.8), transparent);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.feature-card {
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.6) 0%, rgba(10, 15, 25, 0.2) 100%);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 166, 35, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 20px rgba(245,166,35,0.05);
}

.feature-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(245,166,35,0.3));
}

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

.service-card {
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.6) 0%, rgba(10, 15, 25, 0.2) 100%);
    border: 1px solid var(--border-color);
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(245, 166, 35, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(245, 166, 35, 0.05);
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2.5rem;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(245, 166, 35, 0.05) 100%);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--accent);
    box-shadow: 0 0 30px rgba(245, 166, 35, 0.1);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.6) 0%, rgba(10, 15, 25, 0.2) 100%);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
}

.contact-info {
    padding: 5rem 4rem;
    background: radial-gradient(circle at top left, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
}

.contact-list {
    list-style: none;
    margin-top: 3rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.15rem;
}

.contact-list i {
    font-size: 2rem;
    color: var(--accent);
}

.contact-list a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list a:hover {
    color: var(--accent);
}

.contact-form {
    padding: 5rem 4rem;
    background: rgba(0,0,0,0.2);
}

.input-group {
    margin-bottom: 2rem;
}

input, textarea {
    width: 100%;
    padding: 1.2rem 1.8rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: all 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(245,166,35,0.1);
}

.form-submit {
    width: 100%;
    justify-content: center;
    font-size: 1.15rem;
    padding: 1.4rem;
    border-radius: 12px; /* make the button match inputs */
}

footer {
    background: #020305;
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .about-grid, .contact-card {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 3.2rem; }
    h2 { font-size: 2.2rem; }
    
    .contact-info, .contact-form {
        padding: 3rem 2rem;
    }
    
    .nav-links {
        display: none;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
