/* Custom CSS for BDMS V2.0 Landing Page */

:root {
    --primary-green: #62e176;
    --secondary-green: #50ae5c;
    --light-bg: #F0FEE8;
    --dark-footer: #0f1017;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --text-dark: #2c3e50;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --danger-color: #dc3545;
}

.text-primary-green {
    color: var(--primary-green) !important;
}

.btn-primary-green {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

.btn-primary-green:hover {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    color: var(--white);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.6), rgba(173, 216, 230, 0.6));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .blogo {
    width: 100px;
    height: auto;
    display: inline-block;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    position: relative;
    padding-bottom: 0.4em; /* space for scribble */
    transition: color 0.3s ease;
}

/* Scribble underline */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0.6em;
    width: 100%;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='247' height='22' fill='none'%3E%3Cmask id='a' width='246' height='23' x='0' y='1' maskUnits='userSpaceOnUse' style='mask-type:alpha'%3E%3Cpath fill='%23D9D9D9' d='M0 1h246v23H0z'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath fill='%2362e176' d='M.225 13.987c40.77-3.247 81.218-6.304 122.486-5.61 40.217.68 80.07 3.493 119.823 8.284 4.828.577 4.966-4.727.193-5.301-40.597-4.886-82.029-7.082-123.059-6.436-39.896.627-80.713 2.548-119.53 8.822-.233.04-.132.263.087.25v-.009z'/%3E%3C/g%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-size: 95%;
    background-image: linear-gradient(to right, currentcolor 40%, transparent 50%);
    background-repeat: no-repeat;
    background-size: 0%; /* hidden initially */
    transition: none; /* let animation control */
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

.nav-link:hover::after {
    animation: background-size-300 0.4s ease-in forwards;
}

.btn-upgrade {
    background: var(--secondary-green);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-upgrade:hover {
    background: #3d8a47;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(80, 174, 92, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var( --dark-gray) 0%, var(--secondary-green) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,300 1000,1000 0,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-new {
    background: var(--secondary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-actions .btn {
    transition: all 0.3s ease;
}

.hero-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.monitoring-dashboard {
    /*background: rgba(255, 255, 255, 0.95);*/
    /*border-radius: 20px;*/
    /*padding: 2rem;*/
    /*backdrop-filter: blur(10px);*/
    /*border: 1px solid rgba(255, 255, 255, 0.3);*/
    color: var(--dark-color);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.dashboard-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: blink 2s infinite;
}

.status-indicator.active {
    background: var(--success-color);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: rgba(98, 225, 118, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(98, 225, 118, 0.2);
}

.metric i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.metric .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.metric .unit {
    font-size: 0.875rem;
    color: var(--dark-gray);
}

/* Comparison Cards */
.comparison-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.comparison-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.comparison-card .card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--light-bg), white);
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-card.legacy .card-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.comparison-card.modern .card-header {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Equipment Cards */
.equipment-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.equipment-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--light-bg), white);
}

.equipment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;    
}

.iconrotate {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.iconshake {
    animation: shake  1s linear infinite;
}

@keyframes shake {
    0% { transform: translate(0, 0) rotate(0deg); }
    20% { transform: translate(-2px, 0) rotate(-2deg); }
    40% { transform: translate(2px, 0) rotate(2deg); }
    60% { transform: translate(-2px, 0) rotate(-2deg); }
    80% { transform: translate(2px, 0) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.equipment-card h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-green);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.feature-card:hover .feature-icon::before {
    left: 100%;
}

/* Demo Section */
.demo-banner {
    position: relative;
    /*border-radius: 20px;*/
    overflow: hidden;
    /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);*/
}

.demo-banner{
    width:auto;
    /*height:600px;*/
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

/*.demo-banner:hover .demo-overlay {*/
/*    opacity: 1;*/
/*}*/

.btn-play {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--secondary-green);
    border: none;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: scale(1.1);
    background: var(--secondary-green);
    box-shadow: 0 0 30px rgba(80, 174, 92, 0.5);
}

.screenshot-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.screenshot-card:hover .screenshot-overlay {
    transform: translateY(0);
}

/* Procedure Section */
.procedure {
    padding: 10px 0;
    background: white;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #62e176, #50ae5c);
    z-index: 1;
    
    /*    --primary-green: #62e176;*/
    /*--secondary-green: #50ae5c;*/
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #62e176, #50ae5c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
    max-width: 250px;
    margin: 0 auto;
}

/* Process Screenshots */
.process-screenshots {
    margin-top: 4rem;
}

.process-screenshots h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.process-step.reverse {
    direction: rtl;
}

.process-step.reverse > * {
    direction: ltr;
}

.process-info {
    padding: 2rem;
}

.process-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.process-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.process-info p {
    color: #64748b;
    line-height: 1.6;
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */
@media (max-width: 992px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .steps-container::before {
        content: none; /* hide the connecting line */
    }

    .step {
        margin-bottom: 2rem;
    }

    .process-step {
        grid-template-columns: 1fr; /* stack items */
        text-align: center;
    }

    .process-step.reverse {
        direction: ltr; /* reset for mobile */
    }

    .process-info {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .process-info h4 {
        font-size: 1.2rem;
    }

    .process-info p {
        font-size: 0.9rem;
    }
}


/* Promotional Banners */
.promo-banner {
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color), #1e7e34);
}

.promo-icon {
    font-size: 3rem;
    opacity: 0.7;
}

.promo-banner:hover .promo-icon {
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

/* Statistics */
.stat-item {
    position: relative;
}

.counter {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Accordion Customization */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-green);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background: white;
}

/* Upgrade Section */
.upgrade-visual {
    position: relative;
    padding-top: 2.5rem;
}

.upgrade-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    animation: pulse 2s infinite;
}

.upgrade-badge i {
    margin-right: 0.5rem;
}

.upgrade-benefits {
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-item {
    text-align: center;
    padding: 1.5rem;
}

.contact-item i {
    font-size: 2.5rem;
    display: block;
}

.contact-item h6 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
}

.contact-item a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-green) !important;
}

/* Demo Modal */
.demo-placeholder {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.demo-overlay-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-features {
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .dashboard-metrics {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        text-align: center;
    }
    
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-actions .btn:last-child {
        margin-bottom: 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button Enhancements */
.btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background: var(--secondary-green);
    border-color: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(98, 225, 118, 0.3);
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* Advanced Animations */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-in-left {
    animation: slideInFromLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInFromRight 0.8s ease-out;
}




/* Modal Enhancements */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.modal-header {
    border-bottom: 1px solid #f0f0f0;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-lg .modal-body {
    padding: 2.5rem;
}

/* Modal Backdrop Enhancement */
.modal-backdrop {
    background-color: rgba(15, 16, 23, 0.7);
}

/* Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.8) translateY(-50px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

.selection-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .btn-incubator {
        height: auto;
        padding: 1.5rem 1rem;
    }
    
    .btn-content {
        gap: 1rem;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .selection-buttons .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Animations */
.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-green);
    position: relative;
    margin: 0 auto 1rem;
}

.success-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    border: solid var(--white);
    border-width: 0 3px 3px 0;
    transform: translate(-50%, -60%) rotate(45deg);
    animation: checkmark 0.6s ease-in-out;
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%) rotate(45deg) scale(0);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -60%) rotate(45deg) scale(1);
    }
}

/* Button Hover Effects */
.btn-incubator .btn-content {
    transition: all 0.3s ease;
}

.btn-incubator:hover .icon-container {
    transform: scale(1.1);
    background: var(--primary-green);
}

.btn-incubator:hover .icon-container i {
    color: var(--white);
}

.btn-incubator:hover .arrow-icon {
    transform: translateX(5px);
}

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.social-links a:hover {
    color: var(--primary-green) !important;
    transform: translateY(-2px);
}

/* Navbar Enhancements */
.navbar-brand {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-green) !important;
}

.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Button Active State */
.btn-incubator:active {
    transform: translateY(-2px) scale(0.98);
}

/* Accessibility Improvements */
.btn-incubator:focus-visible {
    outline: 3px solid rgba(98, 225, 118, 0.5);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-green);
}

/* Demo Request Form Styles */
.selected-incubator-info {
    background: var(--light-bg);
    border: 1px solid rgba(98, 225, 118, 0.2);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(98, 225, 118, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(98, 225, 118, 0.25);
}

/* Success Animation */
.success-animation {
    animation: bounceIn 0.6s ease-out;
}

.success-checkmark-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s infinite;
}

.success-checkmark-large i {
    font-size: 2rem;
    color: var(--white);
    animation: checkmarkPop 0.6s ease-out 0.3s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmarkPop {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(98, 225, 118, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(98, 225, 118, 0);
    }
}

/* Form Validation Styles */
.was-validated .form-control:valid {
    border-color: var(--primary-green);
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

/* Form Animation */
.form-control, .form-select, .form-check-input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:hover {
    border-color: var(--primary-green);
    transform: translateY(-1px);
}

/* Submit Button Enhancement */
#demoRequestForm button[type="submit"] {
    position: relative;
    overflow: hidden;
}

#demoRequestForm button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(98, 225, 118, 0.3);
}

/* Loading State for Form */
.form-loading {
    pointer-events: none;
    opacity: 0.7;
}

.form-loading .btn {
    position: relative;
}

.form-loading .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modal Backdrop Enhancement */
.modal-backdrop.show {
    opacity: 0.7;
}

/* Responsive Form Adjustments */
@media (max-width: 768px) {
    .modal-lg {
        max-width: 95%;
    }
    
    .modal-body {
        padding: 1.5rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}