/* Font Awesome font-display override (CDN uses block by default) */
@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-regular-400.woff2") format("woff2");
}

@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2") format("woff2");
}

/* Global Styles */
:root {
    --primary-color: #ff7a18;
    --secondary-color: #ffb347;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Override Bootstrap Primary Color */
.text-primary {
    color: var(--primary-color) !important;
}



/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a2a 100%);
    padding: 0.5    rem 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}/*  */

.navbar-brand {
    font-size: 1.5rem;
    color: var(--secondary-color) !important;
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-color) !important;
    transform: scale(1.05);
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

.btn-navbar-phone {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-navbar-phone:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.hero-section::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 1440 320"><path fill="rgba(255,255,255,0.1)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,170.7C384,181,480,171,576,160C672,149,768,139,864,144C960,149,1056,171,1152,176C1248,181,1344,171,1392,165.3L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.8s ease;
    position: relative;
    z-index: 1;
}

.hero-section h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    animation: slideInUp 0.8s ease 0.2s backwards;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease 0.4s backwards;
}

.hero-section .btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: slideInUp 0.8s ease 0.6s backwards;
    position: relative;
    z-index: 1;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* About Section */
#about, #expertise {
    padding: 6rem 0;
}

#about {
    background: white;
}

#expertise {
    background: white;
}

.img-fluid {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}


/* Services Section */
#services {
    background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
}

.service-card {
    background-color: white;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    border-top: 4px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
}

.service-image {
    width: calc(100% + 4rem);
    object-fit: cover;
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: 10px;
    display: block;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}
.service-card h5 a,
.service-card h5 a:visited,
.service-card h5 a:hover,
a:has(.service-card),
a:has(.service-card):visited,
a:has(.service-card):hover {
    text-decoration: none;
    color: black;
}
/* 
#gallery {
    background: linear-gradient(135deg, var(--light-color) 0%, #fff 100%);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay p {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}  */

/* Contact Section */
#contact {
    padding: 6rem 0;
    background: white;
}

/* .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 102, 59, 0.25);
}

#contactForm {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
} */

.btn-lg {
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 8px;
}

/* Contact Info */
.contact-info {
    text-align: center;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a1a 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

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

    .hero-section h2 {
        font-size: 1.3rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

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

    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .nav-link:after {
        display: none;
    }

    .nav-link:hover {
        padding-left: 1rem;
    }

    /* .gallery-item {
        height: 200px;
        margin-bottom: 1rem;
    } */

    #about .row,
    #expertise .row {
        flex-direction: column;
    }

    .ps-lg-5 {
        padding-left: 0 !important;
        margin-top: 2rem;
    }

    .order-lg-2 {
        order: 0 !important;
    }

    .contact-info {
        margin-top: 2rem;
    }
}

@media (max-width: 520px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section h2 {
        font-size: 1.1rem;
    }

    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }

  /*   #contactForm {
        padding: 1rem;
    } */
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
button:focus, a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar, footer {
        display: none;
    }

    .hero-section {
        background: white;
        color: black;
    }
}
