/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #27ae60;
    /* Requested Highlighter Color */
    --primary-dark: #7f7f7f;
    --secondary-color: #333333;
    /* Professional Dark Gray for headers */
    --accent-gray: #cccccc;
    /* Requested #ccc */
    --dark-bg: #1a1c1e;
    --light-bg: #f5f6f7;
    --text-color: #2d3436;
    --text-muted: #636e72;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary-color) !important;
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark) !important;
}

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

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

/* Custom CSS Hover Dropdown */
@media (min-width: 992px) {
    .dropdown-hover:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s ease;
    }

    .dropdown-menu .dropdown-item {
        font-size: 0.8rem;
    }
}

/* Ensure mobile taps open dropdown natively without JS conflict */
@media (max-width: 991px) {
    .offcanvas-lg.offcanvas-start {
        width: 280px !important;
    }

    .dropdown-hover .dropdown-menu {
        display: none;
    }

    .dropdown-hover:focus-within>.dropdown-menu,
    .dropdown-hover:hover>.dropdown-menu,
    .dropdown-hover:active>.dropdown-menu {
        display: block;
        background-color: transparent;
        border: none;
        box-shadow: none !important;
        padding-left: 1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(159, 159, 159, 0.3);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--dark-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1541888086425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 28, 30, 0.9), rgba(26, 28, 30, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Page Headers */
.page-header {
    padding: 120px 0 60px;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.page-header h1 {
    color: #fff;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff;
}

/* Section Title */
.section-title {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h5 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Service Cards */
.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

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

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-bg);
    border: 1px solid var(--accent-gray);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: #fff;
}

/* Project Cards */
.project-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.project-img {
    overflow: hidden;
    position: relative;
}

.project-img img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(159, 159, 159, 0.85);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay a {
    transform: translateY(0);
}

.filter-btn {
    background: transparent;
    border: 2px solid #eee;
    padding: 8px 20px;
    margin: 0 5px 10px;
    border-radius: 30px;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Testimonials */
.testimonial-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 8px;
    margin: 15px;
    border-left: 4px solid var(--primary-color);
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

/* Contact Details */
.contact-info-card {
    display: flex;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border: 1px solid var(--accent-gray);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    border-top: 5px solid var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
}

.footer-widget h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
}

/* Floating Elements */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

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

/* Bootstrap Overrides for Theme Consistency */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

@media (max-width: 450px) {

    html,
    body {
        overflow-x: hidden !important;
    }
}

/* Custom Alignment for my8989 */
.my8989 img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.my8989 img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .my8989 img {
        height: 200px;
    }
}

/* Social Media Brand Colors & Professional Hover Effects */

/* Header Top Bar - Subtle White to Brand Color */
.social-links-top a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.social-links-top a i {
    color: inherit !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.social-links-top a:hover i.social-facebook { color: #1877F2 !important; }
.social-links-top a:hover i.social-x { color: #ffffff !important; }
.social-links-top a:hover i.social-linkedin { color: #0077B5 !important; }
.social-links-top a:hover i.social-instagram { color: #E4405F !important; }

/* Footer Circular Links - White Icons to Brand Color Circle */
.footer-widget .social-links a {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-widget .social-links a i {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-widget .social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

/* Footer Individual Brand Hover Backgrounds */
.footer-widget .social-links a:hover:has(.social-facebook) { background: #1877F2 !important; }
.footer-widget .social-links a:hover:has(.social-x) { background: #000000 !important; }
.footer-widget .social-links a:hover:has(.social-linkedin) { background: #0077B5 !important; }
.footer-widget .social-links a:hover:has(.social-instagram) { background: #E4405F !important; }

.footer-widget .social-links a:hover i {
    transform: scale(1.15);
}