:root {
    --primary-color: #000000;
    --primary-gradient-color: #2f2f30;
    --secondary-color: #ffffff;
    --accent-color: #fc941c;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --text-primary: #374151;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --grey-color: #b5b6b8;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    overflow-x: hidden;
    padding-top: 70px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-gradient-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="10" cy="60" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="90" cy="30" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 0;
}

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

.hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-number, .stat-item {
    text-align: center;
    color: var(--secondary-color);
}

.stat-number, .stat-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* About Section */
.about {
    /* background-image: url("https://images.pexels.com/photos/4348401/pexels-photo-4348401.jpeg"); 
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 50% auto;*/
    background: var(--secondary-color);
    padding: 100px 0 50px 0;
}

.about-image {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.about-content p {
    color: var(--primary-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Button Styles */
.btn-primary,
.btn-light {
    background: var(--accent-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-color);
}

.btn-light {
    background-color: var(--gray-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover,
.btn-light:hover {
    background: #d97706;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.services p.section-subtitle {
    color: #374151 !important;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    padding: 2rem 0;
    background: white;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: var(--light-color);
}

.process-step {
    text-align: center;
    margin-bottom: 3rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonial-card {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    margin: 1rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 30px;
    font-size: 4rem;
    color: var(--accent-color);
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

/* Contact section wrapper */
.contact-section {
    background: var(--section-bg, linear-gradient(135deg, #c3c3c3, #797777));
    padding: 50px 0;
    position: relative;
    color: var(--primary-color, #000) !important;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
    opacity: 0.2;
}

/* Card style (consistent with other cards in your site) */
.contact-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg, 20px);
    box-shadow: var(--shadow-lg, 0 15px 40px rgba(0,0,0,0.2));
    z-index: 2;
}

/* Headings and text */
.contact-card h2 {
    color: var(--primary-color, #000) !important;
}

.contact-card p {
    color: var(--primary-color, #000) !important;
}

/* Gradient button (extend your existing .btn if you have one) */
.btn-gradient {
    background: linear-gradient(90deg, #fc941c, #d97706);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    box-shadow: 0 10px 25px rgba(220, 144, 0, 0.5);
    transform: translateY(-2px);
}


/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-gradient-color));
    color: white;
    padding: 50px 0 30px;
}

.footer-section h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

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

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .lead {
        font-size: 1.1rem;
    }

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

    .navbar-nav {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
    }

    .about-image-container {
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact-icon {
        margin: 0 auto 1rem;
    }

    .footer .row>div {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 0 15px;
    }

    .service-card,
    .testimonial-card,
    .contact-info {
        margin-bottom: 2rem;
    }
}

/* Loading states */
.loaded {
    opacity: 1;
}

/* Keyboard navigation styles */
.keyboard-navigation *:focus {
    outline: 2px solid var(--accent-color) !important;
    outline-offset: 2px;
}

/* Lazy loading styles */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img:not(.lazy) {
    opacity: 1;
}

/* Additional responsive improvements */
@media (max-width: 992px) {
    .hero-stats {
        margin-top: 2rem;
    }

    .process-step {
        margin-bottom: 2rem;
    }
}

/* Print styles */
@media print {

    .navbar,
    .btn,
    .footer {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    * {
        color: black !important;
        background: white !important;
    }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #333333;
        --text-primary: #000000;
        --border-color: #000000;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #1f2937;
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --border-color: #374151;
    }
}