/* 
   Druk Magical Pvt Ltd - Custom Styles
   Druk Magical Pvt Ltd styling 
*/

/* Core Variables mapped from original site */
:root {
    --primary-color: #0A5C36; /* Deep Premium Forest Green */
    --accent-color: #D4AF37; /* Champagne Gold Accent */
    --footer-bg: #1A1A1A; /* Very dark slate */
    --text-color: #333333;
    --heading-color: #111111;
    --font-body: 'Montserrat', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-menu: 'Cormorant Garamond', serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    font-size: 16px;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

p {
    line-height: 1.7;
    color: var(--text-color);
}

a {
    color: var(--text-color);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Header & Navigation */
.site-header {
    transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    z-index: 1050; /* Ensuring header stays on top */
    will-change: background-color, padding, backdrop-filter, box-shadow;
    -webkit-transform: translateZ(0); /* Hardware acceleration to prevent Webkit invisibility glitch */
    transform: translateZ(0);
}

.transparent-header {
    background-color: rgba(0,0,0,0.05); /* More transparent initially */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.scrolled-header {
    background-color: rgba(255, 255, 255, 0.4); /* Highly transparent light glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.wpc-menu a {
    font-family: var(--font-menu);
    font-weight: 700;
    color: #ffffff !important;
    font-size: clamp(14px, 1.2vw, 18px);
    padding: 0 clamp(10px, 1.2vw, 16px) !important;
    text-transform: uppercase;
}

.scrolled-header .wpc-menu a, .scrolled-header .navbar-toggler {
    color: var(--heading-color) !important;
}

.scrolled-header .navbar-toggler i {
    color: var(--heading-color) !important;
}

.wpc-menu a:hover, .wpc-menu a.active,
.scrolled-header .wpc-menu a:hover, .scrolled-header .wpc-menu a.active {
    color: var(--accent-color) !important;
}

/* Site Branding */
.site-branding {
    margin: 5px 10px 5px 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 80px; /* Logo is 80px */
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scrolled-header .site-logo, 
.py-1 .site-logo {
    height: 64px; /* Logo scales to 64px on scroll */
}

/* Logo Text (Druk Magical Pvt. Ltd) */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-left: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scrolled-header .logo-text {
    color: var(--heading-color) !important;
    font-size: 1.2rem; /* Scale down on scroll */
}

.site-header .navbar {
    /* 10px top/bottom padding + 80px logo = 100px total initial height. (Logo is precisely 80%) */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    transition: padding 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.site-header.scrolled-header .navbar,
.site-header.py-1 .navbar {
    /* 8px top/bottom padding + 64px logo = 80px total scrolled height. (Logo remains precisely 80%) */
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Footer Section */
.site-footer {
    background-color: var(--footer-bg);
    color: #ffffff;
}

.site-footer .widget-title {
    color: #eeeeee;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.site-footer a {
    color: #dddddd;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer p, .site-footer .text-muted {
    color: rgba(255,255,255,0.7) !important;
}

.contact-info-item .contact-text i {
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.contact-value a {
    word-break: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
}

/* Primary buttons and elements */
.btn {
    transition: var(--transition-smooth);
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary, .custom-heading .heading-line.primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(10, 92, 54, 0.3);
}

.btn-primary:hover {
    background-color: #084a2c !important;
    border-color: #084a2c !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 92, 54, 0.4);
}

.btn-dark {
    background-color: #111111;
    border-color: #111111;
}

.btn-dark:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #111111;
    transform: translateY(-2px);
}

.btn-outline-dark {
    border-color: #111111;
    color: #111111;
    border-width: 2px;
}

.btn-outline-dark:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #111111;
    transform: translateY(-2px);
}

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

/* Widget Search Button */
.widget_search .btn {
    background-color: #000000;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.widget_search .btn:hover {
    background-color: var(--primary-color);
}

/* Hero Section (Parallax) */
.parallax-section {
    background-image: url('../assets/downloads/Hero-Banner.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    height: 100vh;
    min-height: 500px;
    background-color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10, 92, 54, 0.6) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: -1;
}

.secondary-hero {
    background-image: url('../assets/downloads/Hero-Banner.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
    padding-top: 220px !important;
    padding-bottom: 220px !important;
    background-color: var(--primary-color);
}

.secondary-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10, 92, 54, 0.85) 0%, rgba(26, 26, 26, 0.95) 100%);
    z-index: -1;
}

.page-title {
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.page-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
}

/* Sections General */
.section-title {
    color: var(--heading-color);
    text-transform: uppercase;
}

.glance-section {
    background-color: #f8f9f9 !important;
}

.video-wrapper {
    border-radius: 8px;
    overflow: hidden;
}

/* News Section & Uniform Slick Carousel Cards */
.news-section {
    background-color: #ffffff;
}

.news-carousel .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.news-carousel .slick-slide {
    height: auto !important;
    display: flex !important;
}

.news-carousel .slick-slide > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

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

.news-img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    height: 220px;
    width: 100%;
    position: relative;
    background-color: #f4f5f5;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-img-wrapper:hover img {
    transform: scale(1.06);
}

.news-title {
    min-height: 52px;
    font-size: 1.1rem;
    line-height: 1.35;
    margin-top: 15px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a {
    color: #111111;
    transition: color 0.2s ease;
}

.news-title a:hover {
    color: var(--primary-color) !important;
}

.news-meta {
    font-size: 0.8rem;
    color: #666666;
    margin: 10px 0 15px 0;
    padding: 8px 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.news-meta i {
    color: var(--primary-color);
}

.news-excerpt {
    flex-grow: 1;
    min-height: 72px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slick Carousel Navigation Arrows & Mobile Responsive Fixes */
.news-carousel {
    position: relative;
}

.news-carousel .slick-prev,
.news-carousel .slick-next {
    width: 44px;
    height: 44px;
    background: #ffffff !important;
    border-radius: 50% !important;
    z-index: 30 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    opacity: 1 !important;
    margin-top: -22px;
}

.news-carousel .slick-prev {
    left: -15px;
}

.news-carousel .slick-next {
    right: -15px;
}

.news-carousel .slick-prev:before,
.news-carousel .slick-next:before {
    color: #111111 !important;
    font-size: 20px !important;
    line-height: 44px !important;
    opacity: 1 !important;
    transition: color 0.25s ease !important;
    font-weight: bold !important;
}

/* Hover & Focus / Active Click State Override */
.news-carousel .slick-prev:hover,
.news-carousel .slick-prev:focus,
.news-carousel .slick-prev:active,
.news-carousel .slick-next:hover,
.news-carousel .slick-next:focus,
.news-carousel .slick-next:active {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 6px 20px rgba(15, 113, 54, 0.4) !important;
    transform: scale(1.08) !important;
    outline: none !important;
}

.news-carousel .slick-prev:hover:before,
.news-carousel .slick-prev:focus:before,
.news-carousel .slick-prev:active:before,
.news-carousel .slick-next:hover:before,
.news-carousel .slick-next:focus:before,
.news-carousel .slick-next:active:before {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Responsive positioning for small screens & mobile viewports */
@media (max-width: 991px) {
    .news-carousel {
        padding: 0 5px;
    }

    .news-carousel .slick-prev {
        left: 5px !important;
    }

    .news-carousel .slick-next {
        right: 5px !important;
    }

    .news-carousel .slick-prev,
    .news-carousel .slick-next {
        width: 38px;
        height: 38px;
        margin-top: -19px;
    }

    .news-carousel .slick-prev:before,
    .news-carousel .slick-next:before {
        font-size: 16px !important;
        line-height: 38px !important;
    }
}

/* Projects Section */
.projects-section {
    background-color: #ffffff;
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.project-card .btn {
    background-color: #111111;
    color: #ffffff;
    transition: var(--transition-smooth);
    white-space: normal;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.project-card .btn:hover {
    background-color: var(--accent-color);
    color: #111111;
}

.project-img-wrapper img {
    height: 250px;
    width: 100%;
}

/* =========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================= */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .page-title {
        font-size: 4rem;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (max-width: 1199.98px) {
    .page-title {
        font-size: 3.5rem;
    }
    
    .secondary-hero {
        padding-top: 180px !important;
        padding-bottom: 180px !important;
    }
}

/* Medium devices (tablets, 768px to 1199px) */
@media (max-width: 1199.98px) {
    .site-header, .site-header.transparent-header {
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(15px) !important;
    }
    
    .wpc-menu {
        background-color: #f7f6ec; /* Match the off-white beige from image */
        padding: 0;
        display: flex !important;
        flex-direction: column !important;
    }

    .wpc-menu .nav-item {
        width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center;
        margin: 0 !important;
    }
    
    .wpc-menu a {
        color: #111111 !important;
        padding: clamp(8px, 1.5vh, 12px) 10px !important;
        font-size: clamp(12px, 2.5vw, 15px) !important;
        border: none !important;
        display: block;
        font-weight: 700;
        letter-spacing: 1px;
    }

    
    /* Make HOME active state golden as per screenshot */
    .wpc-menu a.active {
        color: #d4a32c !important; /* Golden active text */
    }

    .transparent-header .logo-text {
        color: var(--heading-color); 
    }

    .page-title {
        font-size: 3rem;
    }
    
    .secondary-hero {
        padding-top: 150px !important;
        padding-bottom: 150px !important;
    }
    
    .news-card, .project-card {
        margin-bottom: 20px;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767.98px) {
    .page-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .page-subtitle {
        font-size: 1.25rem;
    }
    
    .secondary-hero {
        padding-top: 120px !important;
        padding-bottom: 120px !important;
    }
    
    .footer-column {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .contact-info-item {
        justify-content: center;
    }
    
    .widget_type_4 {
        margin: 0 auto;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .page-title {
        font-size: 2rem;
    }
    
    .logo-placeholder {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .parallax-section {
        min-height: 400px;
    }
}

/* News Section "Read More" Button */
.btn-news-readmore {
    border: 1px solid #000;
    color: #000;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-news-readmore:hover {
    background-color: #1f8c2b;
    border-color: #1f8c2b;
    color: #ffffff !important;
}

/* News Single Page Styling */
.news-single-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0px;
    text-transform: uppercase;
}

.news-single-meta {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: #888;
    text-transform: uppercase;
}

.recent-news-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.recent-news-title a {
    color: #444;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.recent-news-title a:hover {
    color: #1f8c2b;
}

.sidebar-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
}

.archives-list a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    font-size: 0.95rem;
}

.archives-list a:hover {
    color: #1f8c2b;
}

.tag-events {
    background-color: transparent;
    color: #888;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Project Single Page Styling */
.project-single-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0px;
    text-transform: uppercase;
}

.project-info-heading {
    font-size: 2rem;
    color: #ad7c2a; /* Standardized golden heading */
    font-weight: 600;
    font-family: var(--font-menu); /* The serif font */
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.project-info-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

/* Service Single Page Styling */
.service-single-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    letter-spacing: 0px;
    text-transform: uppercase;
}

.service-info-heading {
    font-size: 2rem;
    color: #ad7c2a; /* Standardized golden heading */
    font-weight: 600;
    font-family: var(--font-menu); /* Serif */
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.service-sub-heading {
    font-size: 1.5rem;
    color: #154e66; /* Deep teal/blue */
    font-weight: 500;
    margin-top: 40px;
    margin-bottom: 25px;
}

.service-list {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    padding-left: 1.5rem;
}

.service-list li {
    margin-bottom: 20px;
}

.service-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

/* Employee Status Section */
.employee-status-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.employee-status-heading {
    font-size: 1.8rem;
    color: #ad7c2a; /* Standardized golden heading */
    font-weight: 600;
    font-family: var(--font-menu); /* Serif */
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

.status-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.status-box {
    flex: 1 1 12%; /* Show 8 items across roughly */
    min-width: 130px;
    padding: 30px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-box.bg-gray {
    background-color: #f7f7f7;
}

.status-number {
    font-size: 3rem;
    color: #118c21; /* Match the screenshot Kelly Green */
    font-family: var(--font-menu); /* Serif matches the image */
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.status-label {
    font-size: 0.95rem;
    color: #333;
    font-weight: 400;
    line-height: 1.4;
}


/* =========================================================================
   ADDITIONAL RESPONSIVE TWEAKS (ADDED FOR NEW COMPONENTS)
   ========================================================================= */

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991.98px) {
    /* Details Pages Header Scaling */
    .news-single-title, .project-single-title, .service-single-title {
        font-size: 1.8rem;
    }

    .project-info-heading, .service-info-heading {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    /* Employee Grid Scaling */
    .status-box {
        flex: 1 1 25%; /* 4 items across on tablets */
    }
    
    .employee-status-heading {
        font-size: 1.5rem;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767.98px) {
    /* Header & Logo Override */
    .site-branding {
        margin-left: 15px !important;
    }
    .navbar-toggler {
        margin-right: 15px !important;
    }
    .site-logo {
        height: 55px; /* Downscale logo */
    }
    .scrolled-header .site-logo, 
    .py-1 .site-logo {
        height: 48px; /* Further downscale when scrolled */
    }
    .logo-text {
        font-size: 1.15rem;
        margin-left: 10px;
    }
    .scrolled-header .logo-text {
        font-size: 1.05rem;
    }
    .site-header .navbar {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    
    /* Slick Slider Arrow Fix */
    .slick-prev {
        left: 5px;
    }
    .slick-next {
        right: 5px;
    }

    /* Details Pages Title Overrides */
    .news-single-header, .project-single-header, .service-single-header {
        padding: 110px 0 30px; 
    }
    
    .news-single-title, .project-single-title, .service-single-title {
        font-size: 1.4rem;
    }
    
    .project-info-heading, .service-info-heading {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    /* Additional Subheadings */
    .service-sub-heading {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    /* Employee Status Grid Overrides */
    .status-box {
        flex: 1 1 50%; /* 2 items across on mobile */
        padding: 20px 10px;
    }
    
    .status-number {
        font-size: 2.5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Absolute minimum logo size */
    .site-logo {
        height: 45px; 
    }
    .scrolled-header .site-logo, 
    .py-1 .site-logo {
        height: 40px; 
    }
    .logo-text {
        font-size: 1.05rem;
        margin-left: 8px;
    }
    .scrolled-header .logo-text {
        font-size: 0.95rem;
    }

    .news-single-title, .project-single-title, .service-single-title {
        font-size: 1.25rem;
    }
}


/* =========================================================================
   MOBILE EXPANDED MENU TWEAKS (< 1200px)
   ========================================================================= */
@media (max-width: 1199.98px) {
    /* Toggler Styling */
    .navbar-toggler {
        background-color: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 6px 10px !important;
        outline: none;
        box-shadow: none;
    }
    
    .navbar-toggler i {
        color: var(--heading-color) !important;
        font-size: clamp(20px, 4vw, 24px) !important;
    }

    /* Container Background */
    #mainNavigation {
        background-color: #f4f5f5; /* Light grey backdrop */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .wpc-menu {
        padding: 0px !important; /* Override the 10px 0 padding */
    }

    /* Individual Item Styling */
    .wpc-menu .nav-item {
        width: 100%;
    }

    .wpc-menu a.nav-link {
        font-family: var(--font-menu) !important; /* Forced Serif */
        font-size: 1.25rem !important; /* Larger readable size */
        font-weight: 500 !important;
        color: #111111 !important; /* Absolute black */
        text-transform: uppercase;
        padding: 16px 20px !important; /* Tall box height */
        border-bottom: 1px solid #e9ecef !important; /* Separator lines */
        transition: all 0.2s ease;
    }

    /* Remove bottom border on last item for neatness */
    .wpc-menu .nav-item:last-child a.nav-link {
        border-bottom: none !important;
    }

    /* Hover and Active State Highlights */
    .wpc-menu a.nav-link:hover, 
    .wpc-menu a.nav-link.active {
        color: #d4af37 !important; /* Golden active text */
        background-color: rgba(212, 175, 55, 0.05); /* Very subtle gold tint on active row */
    }
}

/* =========================================================================
   CUSTOM TAB & SIDEBAR STYLING (Standardized)
   ========================================================================= */

/* Horizontal Tab Pills (Services & Projects) */
.custom-service-tabs {
    border-bottom: 0;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-service-tabs .nav-item {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 220px;
    display: flex;
}

.custom-service-tabs .nav-link {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background-color: transparent;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 15px;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-service-tabs .nav-link:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.custom-service-tabs .nav-link.active {
    background-color: var(--accent-color);
    color: white !important;
    border-color: var(--accent-color);
}

/* Sidebar Vertical Tabs (News) */
.custom-sidebar-tabs .nav-link {
    transition: all 0.3s ease;
}

.custom-sidebar-tabs .nav-link:not(.active) {
    opacity: 0.6;
}

.custom-sidebar-tabs .nav-link.active {
    opacity: 1;
    background-color: #fffaf0 !important; /* Subtle highlight */
}

.custom-sidebar-tabs .nav-link:hover:not(.active) {
    opacity: 0.8;
}

/* Responsive Tweak for Pills */
@media (max-width: 992px) {
    .custom-service-tabs .nav-item {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .custom-service-tabs .nav-item {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .custom-service-tabs .nav-link {
        font-size: 0.85rem;
        padding: 10px;
    }
}

/* =========================================================================
   FLOATING MEDIA WIDGET & EMBEDDED WHATSAPP CHAT
   ========================================================================= */

.floating-media-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    right: auto;
    z-index: 99999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
}

/* Main Trigger Button */
.media-trigger-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f7136 0%, #084a2c 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(15, 113, 54, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.media-trigger-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(15, 113, 54, 0.5);
}

.media-trigger-btn .icon-close {
    display: none;
}

.floating-media-container.active .media-trigger-btn {
    background: #222222;
    transform: rotate(90deg);
}

.floating-media-container.active .media-trigger-btn .icon-main {
    display: none;
}

.floating-media-container.active .media-trigger-btn .icon-close {
    display: block;
}

/* Sub-Widget Menu Items */
.media-sub-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s;
    align-items: flex-start;
}

.floating-media-container.active .media-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.media-sub-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    cursor: pointer;
}

.media-sub-label {
    background: rgba(26, 26, 26, 0.9);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.media-sub-item:hover .media-sub-label {
    opacity: 1;
    transform: translateX(0);
}

.media-sub-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}

.media-sub-item:hover .media-sub-btn {
    transform: scale(1.12);
}

/* Specific Sub-Widget Colors */
.btn-phone { background: #00c853; }
.btn-whatsapp { background: #25D366; }
.btn-facebook { background: #1877F2; }

/* Pulse animation on main trigger when inactive */
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(15, 113, 54, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(15, 113, 54, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(15, 113, 54, 0); }
}

.media-trigger-btn:not(.active) {
    animation: pulse-ring 2.5s infinite;
}

/* Embedded WhatsApp Chat Window */
.wa-chat-window {
    position: fixed;
    bottom: 95px;
    left: 25px;
    right: auto;
    width: 360px;
    max-width: calc(100vw - 40px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background: #ffffff;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wa-chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.wa-chat-header {
    background: #075e54;
    color: #ffffff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

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

.wa-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    background: #ffffff;
}

.wa-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #ffffff;
}

.wa-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 3px 0 0 0;
}

.wa-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s ease;
}

.wa-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.wa-chat-body {
    background-color: #ece5dd;
    background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 16px 16px;
    padding: 20px 16px;
    min-height: 200px;
    max-height: 320px;
    overflow-y: auto;
}

.wa-message-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    margin-left: 8px;
    margin-bottom: 10px;
}

.wa-message-card::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 14px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 10px solid #ffffff;
    border-bottom: 8px solid transparent;
}

.wa-sender-name {
    font-weight: 700;
    font-size: 14.5px;
    color: #111111;
    margin-bottom: 4px;
}

.wa-greeting {
    font-size: 14px;
    color: #222222;
    margin-bottom: 8px;
}

.wa-text-content {
    font-size: 13.5px;
    color: #444444;
    line-height: 1.5;
    margin: 0;
}

.wa-chat-footer {
    background: #ffffff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
}

.wa-input-field {
    flex-grow: 1;
    background: #f0f2f5;
    border: none;
    border-radius: 22px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    transition: background 0.2s ease;
}

.wa-input-field:focus {
    background: #e4e6eb;
}

.wa-send-btn {
    background: transparent;
    border: none;
    color: #075e54;
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.wa-send-btn:hover {
    transform: scale(1.15);
    color: #128c7e;
}

/* =========================================================================
   TEAM MEMBER CARDS UNIFORM STYLING
   ========================================================================= */

.team-member {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease !important;
}

.team-member:hover, .transition-hover:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09) !important;
    border-color: rgba(15, 113, 54, 0.2) !important;
}

.team-member img {
    transition: transform 0.4s ease;
}

.team-member:hover img {
    transform: scale(1.06);
}
