/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 90px;
    width: auto;
    margin: -10px 0;
    filter: var(--logo-filter);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--nav-active-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--link-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.nav-phone:hover {
    color: var(--link-hover);
}

.nav-phone i {
    font-size: 0.85rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    transition: var(--transition);
}

/* ===== Theme Toggle ===== */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-green);
}

.theme-toggle i {
    transition: transform 0.4s ease;
}

.theme-toggle:active i {
    transform: rotate(360deg);
}

.theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: inline;
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 60px;
    display: flex;
    align-items: center;
    background:
        var(--hero-image-overlay),
        var(--hero-bg-image) center center / cover no-repeat,
        var(--bg-surface);
    position: relative;
    overflow: hidden;
}

/* Dot grid texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle, var(--hero-dot-color) 1px, transparent 1px
    );
    background-size: 24px 24px;
    pointer-events: none;
}

/* Gradient mesh accent */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle, var(--hero-glow-color) 0%, transparent 70%
    );
    pointer-events: none;
}

.hero-content {
    max-width: 780px;
    position: relative;
    z-index: 1;
}

/* Hero entrance animation */
.hero .section-label,
.hero h1,
.hero-subtitle,
.hero-support,
.hero-cta,
.hero-phone-callout {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeIn 0.7s ease forwards;
}

.hero .section-label   { animation-delay: 0.1s; }
.hero h1               { animation-delay: 0.25s; }
.hero-subtitle         { animation-delay: 0.4s; }
.hero-support          { animation-delay: 0.55s; }
.hero-cta              { animation-delay: 0.7s; }
.hero-phone-callout    { animation-delay: 0.85s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 620px;
}

.hero-support {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 560px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-phone-callout {
    margin-top: 0.5rem;
}

.hero-phone-callout a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--phone-callout-color);
}

/* ===== Proof Section ===== */
.proof {
    padding: 80px 0;
    background: var(--bg-body);
}

.proof h2 {
    max-width: 600px;
}

.proof-story {
    max-width: 680px;
    margin-bottom: 3rem;
}

.proof-story p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== Capabilities Section ===== */
.solutions {
    padding: 80px 0;
    background: var(--bg-surface);
}

.solutions h2 {
    max-width: 600px;
}

.capability-block {
    max-width: 680px;
    margin-bottom: 2.5rem;
}

.capability-block p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.capability-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.capability-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.capability-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.capability-item > i {
    font-size: 1.25rem;
    color: var(--capability-icon-color);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.capability-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.capability-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Process Section ===== */
.process {
    padding: 80px 0;
    background: var(--bg-body);
}

.process h2 {
    max-width: 550px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    position: relative;
}

/* Connector line between process steps */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(40px + 1rem);
    right: -2rem;
    height: 2px;
    background: var(--border-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.process-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    padding: 80px 0;
    background: var(--bg-surface);
}

.about-content {
    max-width: 680px;
}

.about-text h2 {
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.credential i {
    color: var(--primary-green);
    font-size: 1rem;
}

/* ===== Contact Section ===== */
.contact {
    padding: 80px 0;
    background: var(--bg-body);
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--contact-icon-bg);
    color: var(--contact-icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-main);
    font-size: 1rem;
}

.contact-item a {
    color: var(--text-main);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--contact-link-hover);
}

/* ===== Contact Form ===== */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: var(--form-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--form-input-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--form-input-bg);
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--form-placeholder);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--form-focus-color);
    box-shadow: var(--form-focus-shadow);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
}

.contact-form .btn-primary.full-width {
    grid-column: 1 / -1;
}

/* ===== Pre-Footer CTA ===== */
.pre-footer-cta {
    padding: 60px 0;
    background: var(--bg-surface);
    text-align: center;
}

.pre-footer-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.pre-footer-cta h2::after {
    margin-left: auto;
    margin-right: auto;
}

.pre-footer-cta p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-blue);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}
