/* Nectara Website - Custom Styles */



/* Import Fonts */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');



/* Global Styles */

:root {

    --color-primary: #7d37e9;      /* Purple */

    --color-secondary: #ff7836;    /* Orange */

    --color-accent: #fe2e44;       /* Red */

    --color-dark: #15263a;         /* Dark Navy */

    --color-blue: #0599e3;         /* Blue */

    --color-purple-light: #8432f0; /* Light Purple */

    --color-light: #F5F5F5;        /* Light Gray */

    --color-white: #FFFFFF;

    

    --font-primary: 'Poppins', sans-serif;

    

    --border-radius: 10px;

    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    --transition: all 0.3s ease;

}



body {

    margin-top: 80px;

    font-family: var(--font-primary);

    line-height: 1.6;

    color: #e0e0e0 !important;

    overflow-x: hidden;

    background: var(--color-dark);

}



/* Typography */

h1, h2, h3, h4, h5, h6 {

    font-weight: 600;

    line-height: 1.3;

    margin-bottom: 1rem;

    color: #ffffff !important;

}



.display-4 {

    font-weight: 700;

    color: #ffffff !important;

}



.lead {

    font-weight: 400;

    color: #cccccc !important;

}



/* Navigation */

.navbar-brand {

    font-size: 1.5rem;

    font-weight: 700;

}



.navbar-nav .nav-link {

    font-weight: 500;

    margin: 0 0.5rem;

    transition: var(--transition);

    position: relative;

}



.navbar-nav .nav-link:hover,

.navbar-nav .nav-link.active {

    color: var(--color-secondary) !important;

}



.navbar-nav .nav-link.active::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 50%;

    transform: translateX(-50%);

    width: 30px;

    height: 3px;

    background: var(--color-primary);

    border-radius: 2px;

}



/* Enhanced Glass Morphism Effects */

.glass-effect {

    background: rgba(255, 255, 255, 0.25);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.18);

    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

}



.glass-dark {

    background: rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.18);

}



/* Glossy Card Effects */

.card-glossy {

    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.3);

    box-shadow: 

        0 8px 32px 0 rgba(31, 38, 135, 0.37),

        inset 0 1px 0 rgba(255, 255, 255, 0.5),

        inset 0 -1px 0 rgba(255, 255, 255, 0.1);

    position: relative;

    overflow: hidden;

    color: #333;

}



.card-glossy h1, .card-glossy h2, .card-glossy h3, .card-glossy p {

    color: #333 !important;

}



.card-glossy::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);

    transition: left 0.5s;

    z-index: 1;

}



.card-glossy:hover::before {

    left: 100%;

}



/* Enhanced Professional Navigation */

.navbar {

    background: rgba(255, 255, 255, 0.95) !important;

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);

    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

}



.brand-logo-professional {

    background: linear-gradient(145deg, var(--color-primary-professional), var(--color-secondary-professional));

    box-shadow: 

        0 8px 16px rgba(27, 67, 50, 0.3),

        inset 0 1px 0 rgba(255, 255, 255, 0.2),

        inset 0 -1px 0 rgba(0, 0, 0, 0.1);

    position: relative;

    overflow: hidden;

}



.brand-logo-professional::before {

    content: '';

    position: absolute;

    top: -50%;

    left: -50%;

    width: 200%;

    height: 200%;

    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);

    animation: shine 3s infinite;

}



@keyframes shine {

    0% { transform: rotate(0deg); }

    100% { transform: rotate(360deg); }

}

:root {

    --color-primary-professional: #7d37e9;      /* Purple */

    --color-secondary-professional: #8432f0;    /* Light Purple */

    --color-accent-professional: #fe2e44;       /* Red */

    --color-gold-professional: #ff7836;         /* Orange */

    --color-dark-professional: #15263a;         /* Dark Navy */

    --color-blue-professional: #0599e3;         /* Blue */

    --color-light-professional: #F8F9FA;        /* Light Gray */

    --color-white: #FFFFFF;

    

    --font-primary: 'Poppins', sans-serif;

    

    --border-radius-professional: 8px;

    --box-shadow-professional: 0 4px 12px rgba(0, 0, 0, 0.1);

    --transition-professional: all 0.3s ease;

}



/* Professional Navigation */

.brand-logo-professional {

    width: 45px;

    height: 45px;

    background: linear-gradient(135deg, var(--color-primary-professional), var(--color-secondary-professional));

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 1.3rem;

}



.brand-name-professional {

    font-size: 1.6rem;

    font-weight: 700;

    color: var(--color-primary-professional);

}



.brand-tagline-professional {

    font-size: 0.75rem;

    color: #666;

    font-weight: 500;

    line-height: 1;

}



.navbar-nav .nav-link {

    color: var(--color-dark-professional) !important;

    font-weight: 500;

    position: relative;

    transition: var(--transition-professional);

}



.navbar-nav .nav-link:hover,

.navbar-nav .nav-link.active {

    color: var(--color-primary-professional) !important;

}



.navbar-nav .nav-link.active::after {

    

    position: absolute;

    bottom: -5px;

    left: 50%;

    transform: translateX(-50%);

    width: 30px;

    height: 3px;

    background: var(--color-gold-professional);

    border-radius: 2px;

}



/* Hamburger Button Visibility Fix */

.navbar-toggler {

    background-color: transparent !important;

    border: 2px solid var(--color-primary-professional) !important;

    padding: 0.5rem;

    border-radius: 8px;

}



.navbar-toggler:focus {

    box-shadow: 0 0 0 0.25rem rgba(125, 55, 233, 0.25);

}



.navbar-toggler-icon {

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(125, 55, 233, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;

}



/* Enhanced Hero Section with Glossy Effects */

.hero-section-professional {

    position: relative;

    min-height: 100vh;

    overflow: hidden;

}



/* Hero Content Overlay with Glass Effect */

.hero-content-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    z-index: 3;

    pointer-events: none; /* Allow clicking through to carousel controls */

    background: transparent; /* Remove heavy gradient */

}



/* Ensure content inside overlay is visible and interactive */

.hero-content-overlay .container {

    pointer-events: auto;

}



/* Text readability on raw images */

.hero-text-card {

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(10px);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.5);

}



.hero-title-professional {

    color: var(--color-dark-professional) !important;

    text-shadow: none !important;

}



.hero-subtitle-professional {

    color: #444 !important;

    text-shadow: none !important;

    font-weight: 500;

}



.trust-badge {

    color: var(--color-primary-professional) !important;

    text-shadow: none !important;

    font-weight: 600;

}



.value-props span {

    color: #333 !important;

    font-weight: 500;

}



.stat-label-professional {

    color: #555 !important;

    font-size: 0.9rem;

    font-weight: 600;

}



.hero-title-professional span.text-warning {

    color: var(--color-secondary-professional) !important;

    text-shadow: none !important;

}



/* Slide Content - make it subtle */

.hero-slide {

    height: 100vh;

    width: 100%;

    position: relative;

    background: transparent; /* Allow hero section gradient to show */

    overflow: hidden;

}



.hero-image-wrapper {

    position: absolute;

    right: 0;

    top: 50%;

    transform: translateY(-50%);

    width: 50%;

    height: auto;

    max-height: 80vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding-right: 5%;

    z-index: 2;

}



.hero-circle-img {

    width: auto;

    height: auto;

    max-width: 90%;

    max-height: 70vh;

    object-fit: contain;

    border-radius: 20px;

    border: 10px solid #fff;

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);

    transition: transform 0.5s ease;

}



.hero-circle-img:hover {

    transform: scale(1.02);

}





/* Removed slide-content-dynamic as per user request */

/* .slide-content-dynamic { ... } */



/* Removed dynamic title and subtitle styles */

/* .slide-title-dynamic { ... } */

/* .slide-subtitle-dynamic { ... } */



/* Responsive adjustments */

@media (max-width: 991.98px) {

    /* Stack layout for Hero Section: Image Top, Text Bottom */

    .hero-section-professional {

        min-height: auto;

        display: flex;

        flex-direction: column;

        padding-top: 76px; /* Offset for fixed navbar */

    }



    /* Carousel/Image Area */

    .hero-carousel {

        position: relative;

        height: 40vh; /* Takes up top portion */

        min-height: 300px;

        background-color: #f8f9fa;

        order: 1;

    }



    .hero-slide {

        height: 100%;

        width: 100%;

    }



    .hero-image-wrapper {

        position: relative;

        width: 100%;

        height: 100%;

        right: auto;

        top: auto;

        transform: none;

        opacity: 1; /* Fully visible */

        max-width: 100%;

        max-height: 100%;

        padding: 10px;

        display: flex;

        justify-content: center;

        align-items: center;

    }

    

    .hero-circle-img {

        width: 100%;

        height: 100%;

        object-fit: contain;

        border-width: 5px;

        border-radius: 15px;

    }



    /* Text Area */

    .hero-content-overlay {

        position: relative;

        height: auto;

        width: 100%;

        order: 2;

        background: #ffffff;

        padding: 2rem 0;

        pointer-events: auto;

        margin-top: 200px !important;

    }



    /* Override Bootstrap/Custom Layout Classes */

    .hero-content-overlay .min-vh-100 {

        min-height: auto !important;

    }

    

    .hero-content-overlay .col-lg-7 {

        width: 100%;

        padding: 0 20px;

    }



    .hero-text-card {

        background: transparent;

        backdrop-filter: none;

        box-shadow: none;

        border: none;

        padding: 0 !important;

        text-align: center;

    }

    

    .hero-text-card .d-flex {

        justify-content: center;

    }

    

    .trust-badge {

        display: inline-block;

        margin-bottom: 1rem;

    }

    

    .hero-title-professional {

        font-size: 2.5rem; /* Smaller title on mobile */

    }



    .slide-content-dynamic {

        display: none; 

    }



    /* Navbar Mobile Adjustments */

    .brand-name-professional {

        font-size: 1.3rem;

    }

    

    .brand-tagline-professional {

        font-size: 0.65rem;

    }

    

    .navbar-collapse .ms-3 {

        margin-left: 0 !important;

        margin-top: 1rem;

        text-align: center;

    }

    

    .navbar-collapse .btn-success {

        width: 100%; /* Full width button on mobile */

    }

}



.slide-content {

    display: none; /* Hide old slide content */

}



/* Bootstrap Overrides for New Color Palette */

.text-primary { color: var(--color-primary) !important; }

.text-secondary { color: var(--color-secondary) !important; }

.text-success { color: var(--color-blue) !important; }

.text-danger { color: var(--color-accent) !important; }

.text-warning { color: var(--color-secondary) !important; }

.text-dark { color: var(--color-dark) !important; }



.bg-primary { background-color: var(--color-primary) !important; }

.bg-secondary { background-color: var(--color-secondary) !important; }

.bg-success { background-color: var(--color-blue) !important; }

.bg-danger { background-color: var(--color-accent) !important; }

.bg-warning { background-color: var(--color-secondary) !important; }

.bg-dark { background-color: var(--color-dark) !important; }



.btn-primary { 

    background-color: var(--color-primary) !important; 

    border-color: var(--color-primary) !important; 

}

.btn-primary:hover { 

    background-color: var(--color-purple-light) !important; 

    border-color: var(--color-purple-light) !important; 

}



.btn-success { 

    background-color: var(--color-blue) !important; 

    border-color: var(--color-blue) !important; 

}



.btn-warning { 

    background-color: var(--color-secondary) !important; 

    border-color: var(--color-secondary) !important;

    color: #fff !important;

}



.btn-danger { 

    background-color: var(--color-accent) !important; 

    border-color: var(--color-accent) !important; 

}



/* Metric Cards - Initial Definition (to be overridden or kept for structure) */

/* (Keeping this structure but ensuring text is handled) */



/* Sections Backgrounds */

.section-light-purple {

    background: linear-gradient(180deg, #15263a 0%, #2a1b3d 100%);

    color: #ffffff;

}



.section-light-blue {

    background: linear-gradient(180deg, #15263a 0%, #0d2c40 100%);

    color: #ffffff;

}



.section-off-white {

    background-color: #1b2e4b;

    color: #ffffff;

}



/* Fix text colors inside white cards */

.hero-text-card h1, 

.hero-text-card h2, 

.hero-text-card h3, 

.hero-text-card p, 

.hero-text-card span,

.hero-text-card .stat-label-professional {

    color: #333 !important;

}



.hero-text-card .text-warning {

    color: var(--color-secondary) !important;

}



.metric-card {

    background: white;

    padding: 2rem;

    border-radius: 15px;

    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

    transition: all 0.3s ease;

    border-bottom: 4px solid var(--color-primary-professional);

    color: #333;

}



.metric-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(125, 55, 233, 0.2);

}



.metric-card h3, .metric-card p {

    color: #333 !important;

}



/* Footer Dark Override */

footer.bg-dark {

    background-color: #0b141d !important;

    border-top: 1px solid rgba(255,255,255,0.05);

}

/* Fix Text Contrast on Light Backgrounds */

.bg-light, .bg-white {

    color: #333 !important;

}



.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6,

.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white h5, .bg-white h6,

.bg-light p, .bg-white p,

.bg-light li, .bg-white li,

.bg-light span, .bg-white span,

.bg-light div, .bg-white div {

    color: #333 !important;

}



/* Ensure Navbar Links are Dark on White Navbar */

.navbar-light .navbar-nav .nav-link {

    color: var(--color-dark-professional) !important;

}



.navbar-light .navbar-nav .nav-link:hover,

.navbar-light .navbar-nav .nav-link.active {

    color: var(--color-primary-professional) !important;

}



/* Card Content Fixes */

.card-body {

    color: #333 !important;

}



.card-body h5, .card-body p, .card-body span {

    color: #333 !important;

}



/* Fix specific dark sections to ensure white text */

.bg-dark, .section-light-purple, .section-light-blue, .section-off-white, footer {

    color: #ffffff !important;

}



.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark p, .bg-dark span,

footer h1, footer h2, footer h3, footer p, footer span, footer a {

    color: #ffffff !important;

}



/* Mobile Hero Overlay Fix */

@media (max-width: 991.98px) {

    .hero-content-overlay h1, 

    .hero-content-overlay p, 

    .hero-content-overlay span {

        color: #333 !important;

    }

}



/* Orange Background Section */

.section-orange {

    background-color: #FE9900 !important;

    color: #ffffff !important;

}



.section-orange h1, 

.section-orange h2, 

.section-orange h3, 

.section-orange h4, 

.section-orange h5, 

.section-orange h6, 

.section-orange p, 

.section-orange span, 

.section-orange li,

.section-orange .section-subtitle-professional,

.section-orange .category-description-professional,

.section-orange .feature-description-enhanced,

.section-orange .stat-label,

.section-orange .feature-item-professional span {

    color: #ffffff !important;

}



/* Specific overrides for cards inside orange section */
.section-orange .category-card-professional,
.section-orange .feature-card-enhanced {
    background: #ffffff !important; /* Keep cards white for contrast */
    border: none;
    border-radius: 20px; /* Softer corners */
    padding: 2.5rem; /* More breathing room */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth pop effect */
    position: relative;
    overflow: hidden; /* For any inner effects */
    height: 100%; /* Uniform height */
}

.section-orange .category-card-professional:hover,
.section-orange .feature-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Add a subtle top border line for extra flair */
.section-orange .category-card-professional::before,
.section-orange .feature-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-orange .category-card-professional:hover::before,
.section-orange .feature-card-enhanced:hover::before {
    opacity: 1;
}



/* Ensure text INSIDE white cards is dark */

.section-orange .category-card-professional h3,

.section-orange .category-card-professional p,

.section-orange .category-card-professional span,

.section-orange .feature-card-enhanced h4,

.section-orange .feature-card-enhanced p,

.section-orange .feature-card-enhanced span,

.section-orange .feature-card-enhanced .stat-number,

.section-orange .feature-card-enhanced .stat-label {

    color: #333 !important;

}



/* Fix badges and icons in orange section */

.section-orange .section-badge-professional,

.section-orange .section-badge-enhanced {

    background: rgba(255, 255, 255, 0.2);

    color: #ffffff !important;

    border: 1px solid rgba(255, 255, 255, 0.3);

}



.section-orange .text-primary-professional {

    color: #ffffff !important; /* Make highlighted text white in headers */

}



/* Fix feature icons inside white cards to be orange or primary */

.section-orange .feature-icon-enhanced i {

    color: #FE9900 !important;

}



.section-orange .feature-item-professional i {

    color: var(--color-success) !important; /* Keep success checkmarks green/blue */

}



/* Stat numbers inside white cards */

.section-orange .stat-number {

    color: var(--color-primary) !important;

}

/* Fallback: show AOS elements if AOS is not initialized or fails */
html:not(.aos-init) [data-aos],
body:not(.aos-init) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

