/* Modern Home Page Styles */

/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    /* Modern Color Palette */
    --color-primary: #2563eb;
    --color-secondary: #7c3aed;
    --color-accent: #f59e0b;
    --color-dark: #111827;
    --color-light: #f3f4f6;
    --color-white: #ffffff;
    --color-success: #10b981;
    --color-error: #ef4444;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.login-btn {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

/* Theme Toggle Styles */
.theme-toggle {
    margin-left: 1.5rem;
    position: relative;
}

.theme-toggle input {
    opacity: 0;
    position: absolute;
}

.theme-toggle label {
    cursor: pointer;
    padding: 0.5rem;
    background: var(--color-light);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 60px;
    height: 30px;
    transform-origin: center;
    transition: all 0.3s ease;
}

.theme-toggle label:hover {
    transform: scale(1.1);
}

.theme-toggle label i {
    font-size: 0.875rem;
    transition: all 0.3s ease;
    width: 20px;
    text-align: center;
}

.theme-toggle label .fa-sun {
    color: #f59e0b;
}

.theme-toggle label .fa-moon {
    color: #6366f1;
}

.theme-toggle label::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    top: 4px;
    left: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.theme-toggle input:checked + label::after {
    transform: translateX(30px);
}

.theme-toggle input:checked + label {
    background: var(--color-dark);
}

/* Remove underlines from all links */
a {
    text-decoration: none;
}

.material-action {
    color: var(--color-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.material-action:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.material-action i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.material-action:hover i {
    transform: translateX(3px);
}

/* Dark mode adjustments for theme toggle */
[data-theme="dark"] .theme-toggle label {
    background: var(--color-dark);
}

[data-theme="dark"] .theme-toggle label::after {
    background: var(--color-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 100%);
    opacity: 0.1;
    transform: rotate(-45deg);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideUp 1s ease;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #4b5563;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-btn {
    background: var(--color-primary);
    color: var(--color-white);
}

.primary-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.secondary-btn {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.secondary-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    /* height: auto; */
    MARGIN-TOP: 50PX;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 8rem 5%;
    background: var(--color-white);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.section-title p {
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 20px;
    background: var(--color-light);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-white);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    text-align: center;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1rem;
}

.feature-card .material-action {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        grid-row: 1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block !important;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .theme-toggle {
        margin: 1rem auto;
        display: block;
    }

    [data-theme="dark"] .nav-links {
        background: var(--color-dark);
    }

    [data-theme="dark"] .nav-link {
        color: var(--color-light);
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
    }

    .login-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 6rem;
    }

    .hero-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }

    .features {
        padding: 2rem 5%;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }
}


/* Image Slider Section */
.slider-section {
    
    margin: 1.5rem;
    background-color: var(--bg-color);
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 400px;
    position: relative;
    width: 100%;
}

.slide {
    min-width: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-dark);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

/* Bullet Indicators */
.slider-bullets {
    position: relative;
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    background: transparent;
}

.bullet {
    width: 50px;
    height: 6px;
    border: none;
    background: #e2e8f0;
    cursor: pointer;
    position: relative;
    border-radius: 3px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bullet.active {
    background: #7a7a7abd;
}

.bullet .progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000000, #000000);
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 3px;
}

.bullet.active .progress {
    animation: bulletProgress 3s linear forwards;
}

@keyframes bulletProgress {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {

    .slider {
        height: 300px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .bullet {
        width: 25px;
    }
}

@media (max-width: 480px) {
    
    .slider {
        height: 200px;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .bullet {
        width: 20px;
    }
}


/* Footer Styles */
.footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 5rem 5% 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.footer-column p {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    color: #9ca3af;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #9ca3af;
}

/* Dark Mode Styles */
[data-theme="dark"] {
    --color-dark: #f3f4f6;
    --color-light: #111827;
    --color-white: #1f2937;
    --bg-color: #111827;
    --text-color: #f3f4f6;
    --border-color: #374151;
}

[data-theme="dark"] .navbar {
    background: rgba(31, 41, 55, 0.95);
}

[data-theme="dark"] .feature-card {
    background: #1f2937;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

[data-theme="dark"] .footer {
    background: #0f172a;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 5% 2rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        justify-content: center;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    color: var(--color-primary);
}

/* Dark Mode Styles */
[data-theme="dark"] .mobile-menu-btn {
    color: var(--color-light);
}

[data-theme="dark"] .mobile-menu-btn:hover {
    color: var(--color-primary);
}

[data-theme="dark"] .mobile-menu-btn i {
    color: var(--color-light);
} 