/* Main Stylesheet - ConsultingBiz Theme Inspiration */
:root {
    --primary-color: #dc2a26;
    /* Red from brand */
    --secondary-color: #2c3e50;
    /* Dark Blue/Grey from theme */
    --accent-color: #015409;
    /* Green from brand */
    --text-color: #555;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --white: #ffffff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Navbar */
/* Navbar */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.5s;
}

.navbar-brand img {
    height: 50px;
    /* Slightly larger for better visibility */
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 18px !important;
    position: relative;
    transition: 0.3s;
    letter-spacing: 0.5px;
}

/* Hover Effect Line - Desktop Only */
@media (min-width: 992px) {
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: 0.3s;
        transform: translateX(-50%);
    }

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

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

/* Remove default Bootstrap arrow */
.dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* Navbar Links Style */
.nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 5px;
    /* Space between text and icon */
}

/* Dropdown Menu Design */
.dropdown-menu {
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 15px;
    /* Spacing from navbar */
    display: block;
    /* For animation setup */
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    left: 0;
    min-width: 250px;
}

/* Show Dropdown on Hover (Desktop) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        display: block;
    }
}

/* Mobile Dropdown */
@media (max-width: 991px) {
    .dropdown-menu {
        display: none;
        /* Default for toggle */
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        padding-left: 15px;
        margin-top: 0;
    }

    .dropdown-menu.show {
        display: block;
    }
}

.dropdown-item {
    font-size: 14px;
    padding: 12px 25px;
    color: var(--text-color);
    font-weight: 500;
    border-bottom: 1px solid #f9f9f9;
    transition: 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: var(--light-bg);
    color: var(--primary-color);
    padding-left: 30px;
    /* Enhanced slide effect */
    font-weight: 600;
}

/* Hero Section */
.hero-wrap {
    width: 100%;
    height: 80vh;
    /* Full screen minus header */
    min-height: 600px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 0;
}

.hero-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    opacity: 0.5;
    background: #000;
    z-index: 1;
}

.hero-wrap .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.slider-text {
    height: 100%;
}

.hero-title {
    font-size: 4rem;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-hero {
    padding: 15px 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: 0.3s;
    text-decoration: none;
}

.btn-hero:hover {
    background: transparent;
    color: #fff;
}

/* Internal Page Hero */
.hero-wrap.hero-internal {
    height: 350px;
    min-height: 350px;
}

.hero-wrap.hero-internal .hero-title {
    font-size: 3rem;
}

/* Sections */
.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title p {
    color: #999;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-img {
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 400px;
    border-radius: 5px;
}

/* Testimonial Carousel */
.custom-testimonial-section {
    position: relative;
    overflow: hidden;
}

.testimonial-box {
    position: relative;
    z-index: 2;
}

.quote-icon i {
    color: #ffc107;
    /* Warning yellow */
    opacity: 0.3;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.carousel-item.active .quote-icon i {
    transform: scale(1.1);
    opacity: 1;
}

.testimonial-carousel .carousel-indicators {
    bottom: -10px;
}

.testimonial-carousel .carousel-indicators button {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.5;
}

.testimonial-carousel .carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.2);
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
    opacity: 1;
}

/* Service/Product Card & Line Card */
.service-card,
.line-card {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #eee;
    margin-bottom: 30px;
    transition: 0.3s;
    border-radius: 4px;
}

.service-card:hover,
.line-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-10px);
    border-color: transparent;
}

.service-card .icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #fff;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-card a {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* Footer */
footer {
    background: #252525;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

footer h5 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 18px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}

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

footer .social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}

footer .social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    padding-left: 0;
}

/* Why Us Section */
.why-us-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    /* Ensure equal heights if parent is flex */
}

.why-us-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.why-us-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(1, 84, 9, 0.1);
    /* Light green bg */
    border-radius: 50%;
    margin-bottom: 20px;
    color: var(--accent-color);
    transition: 0.3s;
}

.why-us-item:hover .icon {
    background: var(--accent-color);
    color: #fff;
}

.why-us-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.why-us-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

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

    .section-padding {
        padding: 60px 0;
    }

    .top-bar {
        text-align: center;
    }

    .top-bar .d-md-block {
        display: none !important;
    }

    .prod-content-wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Button Hover Fix - Green from logo */
.btn-hero:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* Header Offer Button */
.btn-cere-oferta-header {
    padding: 4px 15px;
    font-size: 13px;
    font-weight: 700;
    background-color: var(--primary-color);
    border: none;
    transition: 0.3s;
}

.btn-cere-oferta-header:hover {
    color: var(--accent-color) !important;
    /* Green text on hover as requested */
    background-color: #fff;
    /* Optional: Make bg white so green text pops? Or Keep red bg? */
    /* User said: "butonul de "cere oferta" sa fie verde textul cand e mouseover" */
    /* If bg is red, green text is hard to read. Assuming bg goes white or transparent. */
    background-color: #fff;
}

/* Social Icons Brand Colors */
/* Common class for brand colored icons in footer */
.social-brand.fa-x-twitter,
.social-brand.fa-twitter {
    color: #000;
}

.social-brand.fa-facebook-f {
    color: #1877F2;
}

.social-brand.fa-pinterest-p {
    color: #E60023;
}

.social-brand.fa-linkedin-in {
    color: #0077b5;
}

.social-brand.fa-tiktok {
    color: #000000;
}

.social-brand.fa-youtube {
    color: #FF0000;
}

.social-brand.fa-instagram {
    color: #E4405F;
}

footer .social-icons a {
    background: #fff;
    /* White circle background */
    transition: 0.3s;
    border: 1px solid transparent;
}

footer .social-icons a i {
    transition: 0.3s;
}

/* Hover: Invert colors (Bg becomes brand color, Icon becomes white) */
footer .social-icons a:hover.icon-x {
    background: #000;
    color: #fff;
}

footer .social-icons a:hover.icon-fb {
    background: #1877F2;
    color: #fff;
}

footer .social-icons a:hover.icon-pin {
    background: #E60023;
    color: #fff;
}

footer .social-icons a:hover.icon-in {
    background: #0077b5;
    color: #fff;
}

footer .social-icons a:hover.icon-tiktok {
    background: #000;
    color: #fff;
}

footer .social-icons a:hover.icon-yt {
    background: #FF0000;
    color: #fff;
}

footer .social-icons a:hover.icon-insta {
    background: #E4405F;
    color: #fff;
}

/* In normal state (not hovered), the icon usually inherits text color. 
   User wants "in footer sa punem inconurile pt social media in culorilor lor [normally]". 
   So we explicitly color the <i> inside based on brand.
*/