/* Custom Premium Styling for Pratiksha Hygiene */

:root {
    --primary: #0e5b7a;       /* Deep Ocean Blue */
    --accent: #f87a2a;        /* Vibrant Coral/Orange */
    --accent-dark: #d55f18;   /* Darker Coral */
    --dark: #1e2833;          /* Dark Charcoal slate */
    --light-bg: #f5f8fa;      /* Clean light grayish blue background */
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --purple: #6f42c1;        /* Purple for 2FA */
    --teal: #20c997;          /* Teal for last OTP login */
    --orange: #fd7e14;        /* Orange for failed OTP */
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 18px;
}

/* Typography classes */
.font-playfair {
    font-family: var(--font-heading);
}

.font-outfit {
    font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: var(--font-heading);
}

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

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

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

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

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

/* Buttons */
.btn-primary {
    background-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #0b4a64;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    transition: var(--transition);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 122, 42, 0.4);
}

/* Micro-Animations & Hover Effects */
.hover-scale {
    transition: var(--transition) !important;
}

.hover-scale:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Top bar style */
.top-bar-info span {
    font-size: 0.85rem;
    font-weight: 400;
}

.text-xs {
    font-size: 0.85rem;
}

.text-sm {
    font-size: 0.95rem;
}

/* Navbar styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Override Bootstrap container max-width for wider layout */
.container {
    max-width: 95% !important;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px !important;
    }
}

.nav-link {
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

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

/* Mega menu styles */
.mega-menu-box {
    border-radius: 0 0 15px 15px !important;
    animation: slideUpMenu 0.4s ease forwards;
}

@keyframes slideUpMenu {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-links a {
    transition: var(--transition);
}

.mega-menu-links a:hover {
    padding-left: 5px;
    color: var(--primary) !important;
}

/* Hero Swiper Slider */
.hero-slider {
    height: calc(100vh - 120px);
    min-height: 500px;
    width: 100%;
    overflow: hidden;
}

.hero-slider .swiper-wrapper {
    height: 85%;
    width: 100%;
}

.hero-slider .swiper-slide {
    height: 100%;
    width: 100%;
    position: relative;
}

.hero-slide-item {
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.hero-slide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(14, 91, 122, 0.85) 0%, rgba(30, 40, 51, 0.4) 100%);
    z-index: -1;
}

/* Premium Card Sections (Why Pratiksha Hygiene) */
.premium-card {
    border: none;
    border-radius: 16px;
    background-color: var(--white);
    transition: var(--transition);
    overflow: hidden;
}

.premium-card .card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(14, 91, 122, 0.15) !important;
    border-bottom: 4px solid var(--accent);
}

.premium-card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary);
}

/* Timeline/Steps Process */
.process-timeline {
    position: relative;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--accent);
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-card {
    width: 45%;
    margin-left: 0;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(14, 91, 122, 0.1);
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-card {
    margin-right: auto;
    text-align: right;
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 20px;
    }
    .timeline-dot {
        left: 20px;
        transform: none;
    }
    .timeline-card {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        text-align: left !important;
    }
}

/* Certifications and Industries Served Cards */
.icon-card {
    border: none;
    border-radius: 12px;
    transition: var(--transition);
    background-color: var(--white);
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

/* CTA Lead Generation Background */
.cta-lead-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-lead-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(248, 122, 42, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 1;
}

/* Newsletter banner background */
.newsletter-section {
    background-color: var(--primary);
}

/* Floating WhatsApp Widget */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    transform: scale(1.1);
}

.my-float {
    font-size: 32px;
}

/* Product Cards in Portfolio */
.product-grid-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--white);
    transition: var(--transition);
}

.product-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(14, 91, 122, 0.12) !important;
}

.product-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background-color: var(--light-bg);
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-grid-card:hover .product-image-container img {
    transform: scale(1.08);
}

/* Tab contents and Accordions custom styled */
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--light-bg);
    color: var(--primary);
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(14, 91, 122, 0.2);
}

/* Custom testimonial slider dot */
.swiper-pagination-bullet-active {
    background: var(--accent) !important;
}

/* Admin Dashboard layout tweaks */
.admin-sidebar {
    min-height: 100vh;
    background-color: var(--dark);
    color: var(--white);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7) !important;
    border-bottom: none;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255,255,255,0.08);
}
