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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border-color: #f97316;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    border-color: #ea580c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #1e3a8a;
    border-color: #1e3a8a;
}

.btn-secondary:hover {
    background-color: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

/* Logo Styling */
.nav-brand .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-image: url('../images/logo-small.png?v=2');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    display: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text .company-name {
    font-size: 1.25rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: #0c4a6e;
    font-weight: 500;
    margin-top: -2px;
    letter-spacing: 0.025em;
}

/* Logo hover effects */
.nav-logo {
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.nav-logo:hover .company-name {
    background: linear-gradient(135deg, #0c4a6e 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo for footer */
.footer .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer .logo-icon {
    width: 24px;
    height: 24px;
    background-image: url('../images/logo-small.png?v=2');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer .logo-icon::before {
    display: none;
}

.footer .company-name {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #0c4a6e 50%, #1e3a8a 100%);
    color: white;
    padding: 100px 0 100px;
    text-align: center;
    margin-top: 64px;
    position: relative;
    overflow: hidden;
}

.hero-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.main-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}


.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    color: #cbd5e1;
    font-weight: 400;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    border-color: #f97316;
}

.hero-cta .btn-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.hero-cta .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.hero-cta .btn-secondary:hover {
    background-color: white;
    color: #1e3a8a;
}

.hero-trust {
    margin-top: 2rem;
}

.trust-text {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background-color: #f9fafb;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-title {
    color: #1f2937;
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-lead {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    text-align: center;
}

.about-story h3,
.credentials h3,
.mission h3 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.credentials-list {
    list-style: none;
    margin: 1rem 0;
}

.credentials-list li {
    padding: 0.5rem 0;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.credentials-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* Contact Section */
.contact {
    background-color: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.contact-link {
    font-weight: 500;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form-placeholder {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form-placeholder h3 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.response-promise {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #eff6ff;
    border-radius: 6px;
    border-left: 4px solid #2563eb;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-services h4,
.footer-areas h4,
.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-services ul,
.footer-areas ul {
    list-style: none;
}

.footer-services li,
.footer-areas li {
    margin-bottom: 0.5rem;
}

.footer-services a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-services a:hover {
    color: #ffffff;
}

.footer-contact a {
    color: #60a5fa;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav {
        padding: 0.5rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-toggle {
        display: block;
    }

    /* Mobile logo adjustments */

    .logo-text .company-name {
        font-size: 1.125rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        background-image: url('../images/logo-small.png?v=2');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }


    .hero {
        padding: 80px 0 80px;
        margin-top: 35px;
    }

    .main-logo {
        max-width: 240px;
        width: 90%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .logo-container {
        justify-content: center;
    }

    .footer-brand p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-logo {
        max-width: 200px;
        width: 85%;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    .contact-form-placeholder {
        padding: 1.5rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: #000000;
    }

    .service-card {
        border: 2px solid #000000;
    }
}

/* Print styles */
@media print {
    .header,
    .nav-toggle,
    .hero-cta,
    .cta-buttons {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero {
        background: #f8fafc;
        color: #000000;
        padding: 2rem 0;
    }

    .hero::before {
        display: none;
    }

}