/* Color palette
   Deep Cold Blue (primary): #0b1f3b
   Mid Blue: #1e3a8a
   Accent Blue: #38bdf8
   Fiery Red (accent): #e11d48
   Dark Red: #b91c1c
   Soft Background: #f3f4f6
   Deep Navy BG: #020617
   Neutral Text: #111827 / #4b5563
*/

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #111827;
    background-color: #f3f4f6;
}

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

a:hover {
    text-decoration: underline;
}

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

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

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

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #0b1f3b;
}

.section-header p {
    color: #6b7280;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Primary: deep blue base, red hover glow */
.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #0b1f3b);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 35px rgba(185, 28, 28, 0.35);
}

/* Secondary: light with red outline */
.btn-secondary {
    background-color: #ffffff;
    color: #0b1f3b;
    border: 1px solid #e11d48;
}

.btn-secondary:hover {
    background-color: #fef2f2;
}

.btn-full {
    width: 100%;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.96), rgba(11, 31, 59, 0.96));
    backdrop-filter: blur(12px);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.header.sticky {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
}

.navbar {
    padding: 0.75rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e5e7eb;
}

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

.nav-menu a {
    color: #e5e7eb;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: #f97373;
}

/* Call button: fiery red */
.nav-cta .btn-call {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid #fca5a5;
    color: #fee2e2;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e11d48, #b91c1c);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.45);
}

.nav-cta .btn-call:hover {
    background: linear-gradient(135deg, #f97373, #e11d48);
    box-shadow: 0 10px 28px rgba(220, 38, 38, 0.6);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero Section */
.hero {
    padding-top: 5rem;
    padding-bottom: 4rem;
    background: radial-gradient(circle at top left, #1e3a8a 0, #020617 55%);
    color: #e5e7eb;
}

.hero-content {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
    max-width: 640px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #bae6fd;
    margin-bottom: 0.75rem;
}

.hero-description {
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

/* Feature chips: blue base with red icons */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: rgba(15, 23, 42, 0.75);
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.feature-icon {
    color: #fca5a5;
}

/* Services */
.services {
    padding: 4rem 0;
    background-color: #f3f4f6;
}

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

.service-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border-top: 3px solid transparent;
    border-image: linear-gradient(to right, #38bdf8, #e11d48) 1;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #0b1f3b;
}

.service-card p {
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 0.25rem;
}

/* About */
.about {
    padding: 4rem 0;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: center;
}

.about-intro {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.certifications h3 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0b1f3b;
}

.certifications ul {
    list-style: none;
    color: #374151;
}

.certifications li {
    margin-bottom: 0.25rem;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    background: radial-gradient(circle at top left, #1e3a8a 0, #0b1f3b 60%);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    min-width: 140px;
    color: #e5e7eb;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: #cbd5f5;
}

.about-image .placeholder-image {
    border-radius: 1rem;
    background: linear-gradient(135deg, #0b1f3b, #020617);
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: #e5e7eb;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.about-image small {
    display: block;
    margin-top: 0.5rem;
    color: #bae6fd;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: radial-gradient(circle at top, #0b1f3b 0, #020617 60%);
    color: #e5e7eb;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: #e5e7eb;
}

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

.testimonial-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.stars {
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    color: #e5e7eb;
    margin-bottom: 0.75rem;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fca5a5;
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background-color: #f9fafb;
}

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

.faq-item {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e5e7eb;
}

.faq-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #0b1f3b;
}

.faq-item p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* Contact */
.contact {
    padding: 4rem 0;
    background: radial-gradient(circle at top, #0b1f3b 0, #020617 55%, #0b1120 100%);
    color: #e5e7eb;
}

.contact .section-header h2,
.contact .section-header p {
    color: #e5e7eb;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: flex-start;
}

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

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #38bdf8;
}

.contact-item p {
    font-size: 0.95rem;
}

.contact-item a {
    color: #fca5a5;
}

.contact-item a:hover {
    color: #f97373;
}

.small-text {
    font-size: 0.85rem;
    color: #9ca3af;
}

.contact-form-wrapper {
    background-color: #020617;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #e5e7eb;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #4b5563;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #020617;
    color: #e5e7eb;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6b7280;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

/* Footer */
.footer {
    background-color: #020617;
    color: #9ca3af;
    padding: 2.5rem 0 1.75rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer h3,
.footer h4 {
    color: #e5e7eb;
    margin-bottom: 0.75rem;
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.footer a {
    color: #9ca3af;
}

.footer a:hover {
    color: #fca5a5;
}

.footer-license {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #111827;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-wrapper {
        gap: 1rem;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #020617;
        flex-direction: column;
        padding: 0.75rem 1.25rem 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.2s ease, opacity 0.2s ease;
    }

    .nav-menu.active {
        max-height: 240px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu li {
        padding: 0.35rem 0;
    }

    .hero {
        padding-top: 4.25rem;
    }

    .hero-content {
        padding-top: 2.5rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .feature-item {
        width: 100%;
        justify-content: flex-start;
    }

    .contact-form-wrapper {
        padding: 1.25rem 1.25rem;
    }
}
