/* ==========================================================================
   1. BRAND VARIABLES & CORE SETUP
   ========================================================================== */
:root {
    /* Primary Colors from Logo */
    --cs-blue: #0062AF;      /* Trust & Stability */
    --cs-orange: #F16522;    /* Innovation & Energy */
    
    /* UI Tones */
    --cs-light-bg: #F8F9FA;
    --cs-white: #FFFFFF;
    --cs-text-dark: #212529;
    --cs-text-muted: #6c757d;
    
    /* Effects */
    --cs-shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --cs-shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --cs-transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    color: var(--cs-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--cs-white);
}

/* ==========================================================================
   2. TOP BAR & NAVIGATION (UPDATED)
   ========================================================================== */

/* Navbar Logo responsive height */
.navbar-logo {
    height: 55px;
    width: auto;
    transition: var(--cs-transition);
}

/* Navbar Link Styling */
.navbar-nav .nav-link {
    color: var(--cs-text-dark) !important;
    transition: var(--cs-transition);
    position: relative;
    padding: 0.5rem 1rem !important;
    font-weight: 600;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--cs-orange) !important;
}

/* Desktop Underline Effect */
@media (min-width: 992px) {
    .navbar-nav .nav-link::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: var(--cs-orange);
        transition: width .3s;
        position: absolute;
        bottom: 5px;
        left: 1rem;
    }
    .navbar-nav .nav-link:hover::after {
        width: calc(100% - 2rem);
    }
}

/* Apply Here Button Customization */
.btn-apply {
    background-color: var(--cs-orange) !important;
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 10px 25px !important;
    transition: var(--cs-transition) !important;
}

.btn-apply:hover {
    background-color: #d6551b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 101, 34, 0.4) !important;
}

/* ==========================================================================
   MOBILE-SPECIFIC OVERRIDES & INFO SECTION
   ========================================================================== */
@media (max-width: 991.98px) {
    /* Logo scaling for mobile */
    .navbar-logo {
        height: 45px;
    }

    /* Mobile Dropdown Styling */
    .navbar-collapse {
        background-color: var(--cs-white);
        margin-top: 15px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: var(--cs-shadow-md);
    }

    /* Mobile Contact Info Styling */
    .text-orange {
        color: var(--cs-orange) !important;
    }

    .text-blue i {
        color: var(--cs-blue);
        transition: var(--cs-transition);
    }

    .text-blue i:hover {
        color: var(--cs-orange);
    }

    /* Menu Item Spacing */
    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    /* Full-width Apply Button on Mobile */
    .btn-apply {
        margin: 15px 0;
        width: 100%;
    }
}


/* ==========================================================================
   3. UPDATED PROFESSIONAL FOOTER STYLING
   ========================================================================== */

.footer-section {
    background-color: #1a1a1a; /* Deep Charcoal from reference image */
    border-top: 4px solid var(--cs-orange);
    color: #ffffff;
}

/* Decorative Title Underlines */
.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 15px;
    color: #ffffff;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--cs-orange);
    /* Soft glow effect for the line */
    box-shadow: 0 0 10px rgba(241, 101, 34, 0.5);
}

/* Link List Styling */
.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--cs-orange) !important;
    transform: translateX(8px); /* The slide effect from your reference */
}

.footer-links a:hover i {
    transform: scale(1.2);
}

/* Social Media Icons */
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white !important;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--cs-orange);
    color: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Info Blocks */
.footer-contact-block i {
    width: 25px;
    font-size: 1.1rem;
    /* Aligns icons with the Madhura Nagar address text */
}

/* ==========================================================================
   INTEGRATED FOOTER BOTTOM DESIGN (NO BLACK BOX)
   ========================================================================== */

/* Full-width clean separator line */
.footer-bottom-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1); /* Subtle white line */
}

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-legal-links {
        justify-content: flex-end;
    }
}

.legal-link {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--cs-orange) !important;
}

.legal-separator {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 12px;
    font-size: 0.8rem;
}

/* Responsive Handling */
@media (max-width: 767.98px) {
    .footer-section {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a:hover {
        transform: none; /* Disables slide on mobile for better tap UX */
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

/* ==========================================================================
   DRAG AND DROP ZONE (STEP 3)
   ========================================================================== */
.upload-drop-zone {
    border: 2px dashed #cbd5e1;
    background-color: var(--cs-light-bg);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--cs-transition);
    cursor: pointer;
}

.upload-drop-zone:hover, 
.upload-drop-zone.dragover {
    border-color: var(--cs-orange);
    background-color: rgba(241, 101, 34, 0.05); /* Very light orange */
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--cs-blue);
    margin-bottom: 15px;
}

.preview-img {
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--cs-shadow-sm);
}

.sig-preview-img {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    background: #fff;
}

/*====================================== STEP-3 end ======================================*/

/* ================================  openings page styling ================================ */

/* ==========================================================================
   HERO SECTION SLIDER STYLING
   ========================================================================== */
.multi-parallax-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0b1121; /* Fallback dark color */
}

.parallax-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}

.parallax-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 1;
}

/* Force all images in the slider to be the exact same height */
.hero-slider-img {
    height: 450px;
    object-fit: cover; /* Prevents stretching */
}

/* Premium effect: The image slowly zooms in while it is on screen */
.carousel-item img {
    transition: transform 4s ease-in-out;
    transform: scale(1);
}

.carousel-item.active img {
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
    .multi-parallax-hero {
        text-align: center;
        padding-top: 40px;
    }
    .hero-slider-img {
        height: 300px; /* Shorter on mobile */
    }
}

/* Hover effect for role cards */
.role-card {
    transition: var(--cs-transition);
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--cs-blue);
}

.role-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--cs-shadow-md);
    border-top-color: var(--cs-orange);
}

/* =============================== openings page styling end =============================== */

