/*
Theme Name: Emoticon
Author: emoticon
Description: Bootstrap 5 Custom Theme for Emoticon Job Portal.
Version: 2.0
*/

/* --- THEME VARIABLES & OVERRIDES --- */
:root {
    --theme-primary: #9f0677;
    --theme-hover: #8c056d;
    --theme-bg-light: #f8f8f8;
    --theme-text-dark: #333;
    --font-primary: "Roboto", sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--theme-text-dark);
    line-height: 1.6;
    background-color: var(--theme-bg-light);
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: var(--theme-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--theme-hover);
}

/* --- BOOTSTRAP OVERRIDES (Theme Color) --- */
.text-primary {
    color: var(--theme-primary) !important;
}

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

.btn-primary {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--theme-hover) !important;
    border-color: var(--theme-hover) !important;
}

/* --- CUSTOM UTILITIES --- */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--theme-text-dark);
}

/* Card Styling (Shadows & Radius) */
.custom-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    padding: 30px;
    height: 100%; /* Make cards equal height in grid */
    transition: transform 0.3s ease;
    border: none;
}

.custom-card:hover {
    transform: translateY(-5px);
}

/* --- HERO SLIDER --- */
.hero-section {
    background-color: #D4DAE1;
    color: #2D3748;
    min-height: 550px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3rem; 
    font-weight: 700;
    color: #2D3748;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
}

/* Swiper Nav Overrides */
.swiper-button-next, .swiper-button-prev {
    color: #2D3748 !important;
    background: rgba(255,255,255,0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    backdrop-filter: blur(2px);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

/* --- NUMBERS SECTION --- */
.stat-item h3 {
    font-size: 3rem;
    color: var(--theme-primary);
    font-weight: 700;
}
.stat-item p {
    font-weight: 600;
    margin-bottom: 0;
}

/* --- BRANDS SECTION --- */
.logo-gray {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    max-height: 60px; /* Consitent height */
}
.logo-gray:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- SERVICES SECTION --- */
.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #E6E6FA; /* Light Lavender */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* --- CONTACT / PARALLAX SECTION --- */
.contact-section {
    padding: 100px 0;
    background-image: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('/job/wp-content/themes/emotion/assets/images/contact-hero-bg.jpg'); /* Ensure path is correct */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    color: #333;
}

.dropdown-item.hover, .dropdown-item:hover {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: #9f0677;
	color:#fff;
}

 

/* Quform Specific Overrides for Bootstrap Compatibility */
.quform-input, .quform-textarea, .quform-select {
    width: 100%; 
    border: 1px solid #ced4da;
    border-radius: 6px;
    margin-bottom: 15px;
}
.quform-submit button {
    background-color: var(--theme-primary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
}
.quform-submit button:hover {
    background-color: var(--theme-hover);
}


/* --- Bootstrap Menu Fixes for WordPress --- */

/* 1. Remove bullets and add spacing */
.navbar-nav {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

/* 2. Style the links to look like Bootstrap nav-links */
.navbar-nav li a {
    display: block;
    padding: 0 1rem; /* Top/Bottom Left/Right padding */
    color: rgba(0,0,0,0.65); /* Dark gray text */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease-in-out;
}

 

/* 4. Mobile Specific Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff; /* Ensure background is white on mobile */
        padding-bottom: 20px;
        position: absolute; /* Optional: Makes it overlay content */
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        border-bottom: 1px solid #eee;
        padding-left: 15px;
        padding-right: 15px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    
    .navbar-nav li {
        border-bottom: 1px solid #f0f0f0; /* Separator lines on mobile */
    }
    
    .navbar-nav li:last-child {
        border-bottom: none;
    }
    
    .navbar-nav li a {
        padding: 12px 0; /* More vertical space for tapping */
    }
}
/* ===============================
   BOOTSTRAP FOOTER OVERRIDES
   =============================== */

/* 1. Widget Headings */
.footer-widgets h2, 
.footer-widgets h3, 
.footer-widgets h4, 
.footer-widgets .widget-title {
    color: #fff;
    font-size: 1.25rem; /* Bootstrap h5 size */
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2. Remove Bullets from Menus */
.footer-widgets ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0;
}

/* 3. Style List Items */
.footer-widgets ul li {
    margin-bottom: 10px;
    position: relative;
}

/* 4. Link Styling */
.footer-widgets ul li a {
    color: #adb5bd; /* Bootstrap 'gray-500' */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-widgets ul li a:hover {
    color: #9f0677; /* Your Theme Color */
    padding-left: 5px; /* Slight movement on hover */
}

/* 5. Text Widgets (About Us) */
.footer-widgets p {
    color: #adb5bd;
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 18px;
}

.border-primary { 
    border-color: #9f0677 !important;
}

.card-body h3 {
    text-transform: uppercase;
}

.text-theme { color: var(--theme-primary); }
    .bg-theme { background-color: var(--theme-primary) !important; margin: 10px 23px;}
    .btn-theme {
        background-color: var(--theme-primary);
        color: #fff;
        border: none;
        padding: 12px 30px;
        border-radius: 5px;
        transition: background 0.3s;
        text-decoration: none;
        display: inline-block;
    }
    .btn-theme:hover {
        background-color: var(--theme-primary-dark);
        color: #fff;
    }
    /* Hover effect for Team Cards */
    .team-card-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .team-card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

@media (min-width: 768px) {
    .gap-md-5 {
        gap: 2rem !important;
    }
}

/* 6. Social Icons (If used in text widget or menu) */
.footer-widgets .fa, 
.footer-widgets .fab, 
.footer-widgets .fas {
    font-size: 1.2rem;
}
/* Specific styling for social menu if it's a list */
.footer-widgets .social-links ul,
.menu-social-container ul {
    display: flex;
    gap: 15px;
}
.footer-widgets .social-links a,
.menu-social-container a {
    color: #fff; /* Theme Purple */
}
.footer-widgets .social-links a:hover,
.menu-social-container a:hover {
    color: #fff;
}

/* Fix WP Login Form Inputs inside Modal */
#loginform p { margin-bottom: 1rem; }
#loginform label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
#loginform input[type="text"], 
#loginform input[type="password"] {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
#loginform input[type="submit"] {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    color: #fff;
    background-color: var(--theme-primary);
    width: 100%;
    margin-top: 10px;
    transition: background-color 0.3s;
}
#loginform input[type="submit"]:hover {
    background-color: var(--theme-hover);
}

/* Card Hover Effect */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* Pagination Helper - Ensures current page looks active */
.pagination-wrapper .current span {
    background-color: var(--bs-primary) !important;
    color: white !important;
    border-color: var(--bs-primary) !important;
}


.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
/* Basic Pagination Styling Fix if WP styles are missing */
.pagination .page-numbers {
    padding: 0.5rem 0.75rem;
    margin: 0 2px;
    border: 1px solid #dee2e6;
    background-color: #fff;
    color: var(--bs-primary);
    text-decoration: none;
    border-radius: 0.25rem;
}
.pagination .current {
    background-color: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}