/* assets/css/landing.css */
/* Landing page specific styles */

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --success: #27ae60;
    --warning: #f39c12;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --text: #34495e;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 80%;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.slider-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInDown 1s ease-out;
}

.slider-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeIn 1.5s ease-out;
}

.slider-content .btn-hero {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 1.8s ease-out;
    border: none;
    cursor: pointer;
}

.slider-content .btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: var(--secondary);
    color: white;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 4;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
    border-color: var(--secondary);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 4;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Floating Dashboard Image */
.floating-dashboard {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 400px;
    z-index: 4;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.floating-dashboard img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Feature Cards Enhancement */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stats Section Enhancement */
.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 30px;
}

.counter-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.label {
    font-size: 1.1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* About Section Enhancement */
.about-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    padding: 80px 0;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    width: 100%;
    height: auto;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 4px solid var(--secondary);
    border-radius: 15px;
    z-index: -1;
}

.about-content {
    padding: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

/* Contact Section Enhancement */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    padding: 80px 0;
}

.demo-credentials {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.demo-credentials h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.credential-box {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.credential-box:hover {
    background: rgba(255,255,255,0.25);
    transform: translateX(10px);
}

.credential-box .role {
    font-weight: 600;
    color: var(--warning);
}

/* Footer Enhancement */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: relative;
    padding: 60px 0 30px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--success));
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    margin: 0 5px;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.hover-white:hover {
    color: white !important;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInDown {
    from {
        transform: translate3d(0, -40px, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Responsive */
@media (max-width: 768px) {
    .slider-content h1 {
        font-size: 2rem;
    }
    
    .slider-content p {
        font-size: 1rem;
    }
    
    .floating-dashboard {
        display: none;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .counter {
        font-size: 2rem;
    }
}

/* Add to assets/css/landing.css */

/* Hero Slider Container */
.hero-slider .container {
    position: relative;
    z-index: 3;
    height: 100%;
}

.hero-slider .row {
    height: 100%;
}

/* Left-aligned content */
.slider-content.left-align {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 600px;
    text-align: left;
    margin: 0;
    padding: 0;
    animation: slideInLeft 1s ease-out;
}

.slider-content.left-align h1 {
    font-size: 3.2rem;
    text-align: left;
    animation: slideInLeft 1s ease-out;
}

.slider-content.left-align p {
    text-align: left;
    animation: fadeIn 1.5s ease-out;
}

.slider-content.left-align .btn-hero {
    float: left;
    animation: fadeInUp 1.8s ease-out;
}

/* Right-positioned floating dashboard */
.floating-dashboard.right-position {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    animation: float 6s ease-in-out infinite, slideInRight 1s ease-out;
}

.floating-dashboard.right-position img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* New animations */
@keyframes slideInLeft {
    from {
        transform: translate3d(-100px, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translate3d(100px, 0, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .slider-content.left-align {
        text-align: center;
        margin: 0 auto;
    }
    
    .slider-content.left-align h1,
    .slider-content.left-align p {
        text-align: center;
    }
    
    .slider-content.left-align .btn-hero {
        float: none;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .slider-content.left-align h1 {
        font-size: 2rem;
    }
    
    .slider-content.left-align p {
        font-size: 1rem;
    }
}