﻿/* Main Design System */
:root {
    --primary: #002D5C;
    /* Deep Navy - Pass WCAG AA at all sizes */
    --primary-light: #00428A;
    --accent: #B08D30;
    /* Darker Gold - Better contrast on white */
    --accent-vibrant: #D4AF37;
    --success: #1B5E20;
    /* Dark Green */
    --error: #B71C1C;
    /* Dark Red */

    --text-main: #121212;
    /* Near Black */
    --text-muted: #333333;
    /* High contrast gray */
    --text-white: #FFFFFF;

    --bg-light: #F4F7FA;
    --bg-white: #FFFFFF;
    --border: #E1E8F0;

    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);

    --radius: 8px;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

section {
    padding: 100px 0;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: var(--primary);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

p {
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.highlight {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white) !important;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-image: url('../images/logo-transparent-png.png');
    background-size: 200px auto;
    /* Scale to show the icon part clearly */
    background-repeat: no-repeat;
    background-position: -5px center;
    /* Shift to focus on the icon */
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.75rem;
    color: var(--primary);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.accent-text {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

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

.nav-list a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-list a:not(.btn):hover {
    color: var(--primary);
}

/* Hero Section - Antigravity Theme */
.hero {
    background: var(--bg-white);
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
    /* Subtle background grid */
    background-image:
        radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Elite Spotlight Glow Effect */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Stronger, more vibrant spotlight */
    background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(0, 45, 92, 0.12) 0%,
            rgba(212, 175, 55, 0.08) 30%,
            transparent 80%);
    z-index: 1;
    transition: background 0.1s ease-out;
}

/* Secondary "Scanner" Glow */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            black 0%,
            transparent 100%);
    z-index: 2;
    opacity: 0.6;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* Services */
.services {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-box img {
    width: 32px;
    height: 32px;
}

/* About */
.about .about-text {
    padding-left: 20px;
}

.rounded {
    border-radius: 16px;
}

.img-responsive {
    width: 100%;
    box-shadow: var(--shadow-hover);
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
    font-size: 1.2rem;
}

/* Testimonials */
.testimonials {
    background: var(--primary);
    color: var(--text-white);
    text-align: center;
}

.testimonial-box {
    max-width: 800px;
    margin: 0 auto;
}

.avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 24px;
    font-weight: 300;
}

cite {
    font-weight: 700;
    font-style: normal;
    color: var(--accent-vibrant);
    font-size: 1.1rem;
}

/* Contact */
.contact {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    background: var(--bg-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-details {
    margin-top: 40px;
}

.contact-details p {
    margin-bottom: 12px;
}

form .form-group {
    margin-bottom: 24px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-white);
    transition: var(--transition);
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary);
}

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

.captcha-row {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.form-status {
    margin-top: 20px;
    padding: 12px;
    border-radius: var(--radius);
    display: none;
    font-weight: 600;
}

.form-status.success {
    display: block;
    background: #E8F5E9;
    color: var(--success);
}

.form-status.error {
    display: block;
    background: #FFEBEE;
    color: var(--error);
}

/* Footer */
footer {
    padding: 60px 0;
    background: #001A33;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
    }

    .nav-list.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 992px) {

    .grid-2,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-text {
        padding-left: 0;
        margin-top: 40px;
    }

    .contact-wrapper {
        padding: 40px 24px;
    }
}

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

    .logo-text {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .contact-wrapper {
        padding: 40px 16px;
    }
}