/* 
 * Rajesh Enterprises - Main Stylesheet
 * Engineered for Work. Built for Purpose.
 */

:root {
    /* Color Palette */
    --clr-graphite: #2b2b2b;
    --clr-charcoal: #1f1f1f;
    --clr-steel-grey: #4a5568;
    --clr-light-grey: #e2e8f0;
    --clr-deep-navy: #0f172a;
    --clr-industrial-orange: #f97316;
    --clr-orange-hover: #ea580c;
    --clr-white: #ffffff;
    --clr-off-white: #f8fafc;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-orange: 0 4px 14px 0 rgba(249, 115, 22, 0.39);
}

body {
    font-family: var(--font-primary);
    color: var(--clr-steel-grey);
    background-color: var(--clr-off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-deep-navy);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--clr-industrial-orange);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--clr-orange-hover);
}

/* Base Components */
.btn-primary {
    background-color: var(--clr-industrial-orange);
    border-color: var(--clr-industrial-orange);
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--clr-orange-hover);
    border-color: var(--clr-orange-hover);
    box-shadow: var(--shadow-orange);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--clr-industrial-orange);
    border-color: var(--clr-industrial-orange);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: all var(--transition-normal);
}

.btn-outline-primary:hover {
    background-color: var(--clr-industrial-orange);
    color: var(--clr-white);
    transform: translateY(-2px);
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--clr-industrial-orange);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.bg-dark-section {
    background-color: var(--clr-deep-navy);
    color: var(--clr-light-grey);
}

.bg-dark-section .section-title {
    color: var(--clr-white);
}

.bg-dark-section .text-muted {
    color: #94a3b8 !important; /* slate-400 */
}

/* Navbar */
.custom-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    transition: all var(--transition-normal);
}

.custom-navbar.scrolled {
    padding: 0.5rem 0;
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--clr-deep-navy);
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 600;
    color: var(--clr-steel-grey) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin: 0 0.5rem;
    position: relative;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

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

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-industrial-orange);
    transition: width var(--transition-normal);
}

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

.btn-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--clr-deep-navy);
    color: var(--clr-white);
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--clr-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-light-grey);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 800px;
}

.hero-visual {
    position: relative;
    z-index: 3;
}

/* Capability Strip */
.capability-strip {
    background-color: var(--clr-industrial-orange);
    color: var(--clr-white);
    padding: 1.5rem 0;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
}

.capability-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.capability-item i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

/* Cards */
.industrial-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-light-grey);
    border-radius: 4px;
    padding: 2rem;
    height: 100%;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.industrial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--clr-industrial-orange);
    transition: height var(--transition-normal);
}

.industrial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.industrial-card:hover::before {
    height: 100%;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--clr-industrial-orange);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--clr-deep-navy);
}

.dark-card {
    background: var(--clr-charcoal);
    border-color: var(--clr-graphite);
    color: var(--clr-light-grey);
}

.dark-card .card-title {
    color: var(--clr-white);
}

/* Workflow/Process */
.workflow-step {
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.workflow-number {
    width: 60px;
    height: 60px;
    background-color: var(--clr-deep-navy);
    color: var(--clr-industrial-orange);
    border: 2px solid var(--clr-industrial-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.workflow-step:hover .workflow-number {
    background-color: var(--clr-industrial-orange);
    color: var(--clr-white);
    transform: scale(1.1);
}

.workflow-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clr-deep-navy);
    text-transform: uppercase;
}

/* Blueprint Visualizer */
.blueprint-container {
    background-color: #0d2b45; /* Blueprint blue */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 2px solid #204c73;
    padding: 3rem;
    border-radius: 4px;
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
}

.blueprint-step {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(13, 43, 69, 0.8);
    position: relative;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.blueprint-step:hover, .blueprint-step.active {
    border-color: var(--clr-industrial-orange);
    background: rgba(20, 60, 95, 0.9);
}

/* Footer */
.footer {
    background-color: var(--clr-charcoal);
    color: var(--clr-light-grey);
    border-top: 4px solid var(--clr-industrial-orange);
}

.footer-brand {
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1px;
}

.footer .text-muted {
    color: #a0aec0 !important;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--clr-light-grey);
    transition: color var(--transition-fast);
}

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

.footer-contact {
    color: var(--clr-light-grey);
}

.footer-contact-link {
    color: var(--clr-light-grey);
    transition: color var(--transition-fast);
}

.footer-contact-link:hover {
    color: var(--clr-industrial-orange);
}

.footer-contact i {
    color: var(--clr-industrial-orange);
    width: 20px;
}

.footer-legal a {
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--clr-white) !important;
}

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

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

.mobile-call-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: var(--clr-industrial-orange);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cookie Banner & Modal */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--clr-industrial-orange);
    z-index: 1050;
    padding: 1.5rem 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
}

.cookie-modal .modal-content {
    background-color: var(--clr-charcoal);
    color: var(--clr-white);
    border: 1px solid var(--clr-steel-grey);
}

.cookie-modal .modal-header {
    border-bottom-color: var(--clr-graphite);
}

.cookie-modal .modal-footer {
    border-top-color: var(--clr-graphite);
}

.cookie-option-card {
    background-color: var(--clr-graphite);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--clr-steel-grey);
}

/* Forms */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--clr-light-grey);
    border-radius: 4px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--clr-industrial-orange);
    box-shadow: 0 0 0 0.25rem rgba(249, 115, 22, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--clr-deep-navy);
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid var(--clr-light-grey);
    margin-bottom: 1rem;
    border-radius: 4px !important;
    overflow: hidden;
}

.accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-deep-navy);
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--clr-off-white);
    color: var(--clr-industrial-orange);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================
   Enquiry Form - Custom Thank You Modal
   ======================================================== */
.enquiry-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enquiry-modal-backdrop.show {
    opacity: 1;
}

.enquiry-modal-dialog {
    width: 100%;
    max-width: 440px;
    margin: auto;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.enquiry-modal-backdrop.show .enquiry-modal-dialog {
    transform: scale(1) translateY(0);
}

.enquiry-modal-content {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Header with warm orange/amber industrial gradient */
.enquiry-modal-header {
    background: linear-gradient(135deg, #d97706 0%, #f97316 50%, #ea580c 100%);
    color: #ffffff;
    padding: 1rem 1.25rem;
    position: relative;
    text-align: center;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}

.enquiry-modal-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    display: inline-block;
}

.enquiry-modal-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: all var(--transition-fast, 0.2s ease);
    padding: 0;
    border-radius: 50%;
}

.enquiry-modal-close:hover,
.enquiry-modal-close:focus {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    outline: none;
}

/* Body */
.enquiry-modal-body {
    background-color: #f8fafc;
    padding: 2.25rem 1.75rem 2rem;
    text-align: center;
}

.enquiry-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #ecfdf5;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    animation: enquiryCheckIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.enquiry-thankyou-heading {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.enquiry-thankyou-text {
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.enquiry-modal-action {
    display: flex;
    justify-content: center;
}

.enquiry-modal-action .btn-modal-ok {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    color: #ffffff;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.65rem 2.5rem;
    border-radius: 6px;
    box-shadow: var(--shadow-orange, 0 4px 14px 0 rgba(249, 115, 22, 0.39));
    transition: all var(--transition-normal, 0.3s ease);
}

.enquiry-modal-action .btn-modal-ok:hover,
.enquiry-modal-action .btn-modal-ok:focus {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
    color: #ffffff;
}

@keyframes enquiryCheckIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 575.98px) {
    .enquiry-modal-dialog {
        max-width: 90vw;
    }
    .enquiry-modal-body {
        padding: 1.75rem 1.25rem 1.5rem;
    }
    .enquiry-thankyou-heading {
        font-size: 1.2rem;
    }
    .enquiry-thankyou-text {
        font-size: 0.9rem;
    }
}

