/* Pro Enhancements for Neovision Website */

/* --- Typography & General --- */
body {
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #444;
    background-color: #f9f9fc;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: #302984;
}

.page-title-custom {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.page-title-custom::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #f4b905;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title-custom {
    color: #302984;
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    border-left: 5px solid #f4b905;
    padding-left: 15px;
}

p {
    line-height: 1.8;
    color: #555;
    font-size: 1.1em;
}

/* --- Improved Slider --- */
.slider-container {
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
    overflow: hidden;
    /* Ensure images don't bleed out of rounded corners */
}

/* Make slide overlay cleaner */
.slide {
    position: relative;
}

.slide-text {
    background: linear-gradient(0deg, rgba(48, 41, 132, 0.95) 0%, rgba(48, 41, 132, 0.6) 50%, rgba(48, 41, 132, 0) 100%) !important;
    opacity: 1 !important;
    color: #fff !important;
    padding: 60px 30px 30px !important;
    text-align: left !important;
    font-size: 1.2rem !important;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.prev,
.next {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px);
    border-radius: 50% !important;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -25px;
    /* Center vertically corrected for height */
    color: white !important;
    transition: all 0.3s ease;
}

.prev:hover,
.next:hover {
    background-color: #f4b905 !important;
    color: #302984 !important;
    transform: scale(1.1);
}

.dots-container {
    margin-top: 15px;
}

.dot {
    background-color: #ddd;
    width: 12px;
    height: 12px;
    margin: 0 6px;
}

.dot.active,
.dot:hover {
    background-color: #302984;
    transform: scale(1.2);
}

/* --- Hero Text Section --- */
.hero-text-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border-left: 8px solid #302984;
}

/* --- Feature Grid (replacing lists) --- */
.pro-feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.pro-feature-card {
    flex: 1 1 300px;
    /* Min width 300px, grow to fill */
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pro-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #302984;
    transition: width 0.3s ease;
}

.pro-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(48, 41, 132, 0.15);
}

.pro-feature-card:hover::before {
    width: 8px;
    background: #f4b905;
}

.pro-feature-card h4 {
    margin-top: 0;
    color: #302984;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.pro-feature-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

.pro-feature-icon {
    font-size: 2rem;
    color: #f4b905;
    margin-bottom: 15px;
    display: inline-block;
}

/* --- Video Container --- */
.video-container-custom {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid #fff;
    position: relative;
    background: #000;
}

.video-container-custom video {
    display: block;
    /* Remove bottom gap */
}

/* --- Footer Tweaks --- */
/* Ensure text in footer is readable if overridden */
#footer {
    /* Keep original dark theme but maybe clean up */
    border-top: 5px solid #f4b905;
}

/* --- Table Enhancements (Hardware & Software) --- */
.equipment-table thead,
table.equipment-table thead th {
    background: #302984 !important;
    /* Override brand blue */
    color: white !important;
    border-color: #302984 !important;
}

.equipment-table th {
    padding: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.equipment-table td {
    border: 1px solid #eee;
    padding: 15px;
}

.equipment-thumbnail {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    background: #fff;
    padding: 10px;
}

/* --- Media Queries for Responsiveness --- */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .pro-feature-card {
        flex: 1 1 45%;
        /* 2 cards per row on tablets */
    }

    .page-title-custom {
        font-size: 2.5rem;
    }

    /* Ensure navbar collapses properly and scrolls on mobile/tablet */
    .navbar-collapse {
        max-height: 80vh;
        /* Use viewport height to avoid cutoffs */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .pro-feature-card {
        flex: 1 1 100%;
        /* 1 card per row on mobile */
    }

    .slide-text {
        padding: 40px 15px 20px !important;
        /* Reduce padding */
        font-size: 1rem !important;
        /* Smaller text */
    }

    .page-title-custom {
        font-size: 2rem;
    }

    .section-title-custom {
        font-size: 1.8rem;
    }

    .hero-text-section {
        padding: 25px;
    }

    .prev,
    .next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* --- New Design Enhancements for About Page --- */
.hero-title-main {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle-main {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.impact-highlight-box {
    background: #fff;
    border-left: 6px solid #f4b905;
    padding: 30px 40px;
    border-radius: 4px;
    /* Slight rounding on right side */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Subtle float */
    position: relative;
    margin-top: 20px;
}

.impact-highlight-box::before {
    content: '\f10d';
    /* FontAwesome Quote Left */
    font-family: FontAwesome;
    font-size: 30px;
    color: rgba(244, 185, 5, 0.2);
    position: absolute;
    top: 20px;
    left: 15px;
}

.impact-lead-text {
    font-size: 1.4rem;
    color: #302984;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 15px;
}

.impact-sub-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* --- Standard Hero Banner (Hardware/Software Style) --- */
.hero-banner-page {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    background-color: #000;
    /* Fallback */
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.hero-banner-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-banner-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #f4b905;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 0 5px;
    font-size: 0.9rem;
    color: white;
}

.hero-badge i {
    color: #f4b905;
    margin-right: 5px;
}