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

html {
    scroll-behavior: smooth;
}

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

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

/* Utility Classes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
    gap: 8px;
}

.btn-primary {
    background: #ea580c;
    color: white;
}

.btn-primary:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

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

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Top Bar */
.top-bar {
    background: #1e3a8a;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

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

.contact-info {
    display: flex;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.license-info {
    color: #93c5fd;
}

/* Header */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

.logo-inc {
    font-size: 0.875rem;
    color: #6b7280;
}

.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1d4ed8;
}

.cta-desktop {
    display: block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.mobile-menu-content {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
}

.mobile-cta {
    margin-top: 16px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-highlight {
    display: block;
    color: #fb923c;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-item i {
    font-size: 2rem;
    color: #fb923c;
}

.trust-content {
    text-align: left;
}

.trust-title {
    font-weight: 600;
    font-size: 1.125rem;
}

.trust-subtitle {
    font-size: 0.875rem;
    color: #d1d5db;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 12px;
    background: white;
    border-radius: 2px;
    animation: pulse 2s infinite;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f9fafb;
}

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

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 24px;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-header i {
    font-size: 2rem;
    color: #ea580c;
}

.service-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.service-content p {
    color: #6b7280;
    margin-bottom: 16px;
}

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

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: #6b7280;
}

.service-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ea580c;
    border-radius: 50%;
    flex-shrink: 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ea580c;
    margin-bottom: 8px;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.company-info {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
}

.company-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item i {
    color: #ea580c;
    width: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    border-radius: 12px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.floating-card.left {
    bottom: 16px; /* was -24px, now inside wrapper */
    left: 16px;   /* was -24px, now inside wrapper */
}

.floating-card.right {
    top: 16px;    /* was -24px, now inside wrapper */
    right: 16px;  /* was -24px, now inside wrapper */
    background: #ea580c;
    color: white;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.card-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: #1e3a8a;
    color: white;
}

.stats-section .section-title {
    color: white;
}

.stats-section .section-description {
    color: #93c5fd;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fb923c;
    margin-bottom: 8px;
}

.counter-number::after {
    content: '+';
}

.counter-item:last-child .counter-number::after {
    content: '';
}

.counter-label {
    font-size: 1.25rem;
    color: #93c5fd;
    margin-bottom: 8px;
}

.counter-subtitle {
    font-size: 0.875rem;
    color: #bfdbfe;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f9fafb;
}

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

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.testimonial-header i {
    font-size: 2rem;
    color: #ea580c;
}

.stars {
    display: flex;
    gap: 4px;
}

.stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #374151;
    margin-bottom: 24px;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.author-name {
    font-weight: 600;
    color: #1f2937;
}

.author-location {
    font-size: 0.875rem;
    color: #6b7280;
}

.author-project {
    font-size: 0.875rem;
    color: #ea580c;
    font-weight: 500;
    margin-top: 4px;
}

.rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fef3c7;
    padding: 16px 24px;
    border-radius: 50px;
    margin-top: 48px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.rating-badge span {
    color: #374151;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form-container {
    background: #f9fafb;
    padding: 32px;
    border-radius: 12px;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.btn-loading {
    display: none;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #ea580c;
    margin-top: 4px;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.contact-value {
    color: #6b7280;
}

.office-locations h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 24px;
}

.location-card {
    background: #f9fafb;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.location-header i {
    color: #ea580c;
}

.location-title {
    font-weight: 600;
    color: #1f2937;
}

.location-address {
    color: #6b7280;
    margin-left: 28px;
}

.emergency-contact {
    background: #fef2f2;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #fecaca;
    margin-top: 32px;
}

.emergency-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 8px;
}

.emergency-contact p {
    color: #b91c1c;
    margin-bottom: 12px;
}

.emergency-number {
    font-weight: 600;
    color: #991b1b;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 48px 0 24px;
}

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

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fb923c;
    margin-bottom: 16px;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #374151;
    color: #9ca3af;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #fb923c;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-item i {
    color: #fb923c;
    width: 16px;
}

.footer-contact-item div {
    color: #9ca3af;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-location {
    background: #374151;
    padding: 16px;
    border-radius: 8px;
}

.location-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.location-address {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
}

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

.copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.company-number {
    color: #6b7280;
    font-size: 0.75rem;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
    }

    .nav-desktop,
    .cta-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu.active {
        display: block;
    }

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

    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .trust-item {
        justify-content: center;
    }

    .trust-content {
        text-align: center;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

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

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

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

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

    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-counter-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline-flex;
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .service-card,
    .testimonial-card {
        border: 1px solid #333;
    }
}

.about-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px; /* increased to fit floating cards */
    overflow: hidden;
    padding-bottom: 48px; /* extra space for bottom card */
    padding-top: 32px;    /* extra space for top card */
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}