/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header Styles */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

nav ul li a:hover {
    color: #e60012;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.login-btn, .register-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.login-btn {
    background-color: #f0f0f0;
    color: #333;
}

.register-btn {
    background-color: #e60012;
    color: #fff;
}

/* Banner Styles */
.banner {
    background-color: #e60012;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.banner h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.banner p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #fff;
    color: #e60012;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

.cta-button:hover {
    background-color: #f0f0f0;
}

/* Services Styles */
.services {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5em;
    color: #2c3e50;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.services h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.service-item:hover img {
    transform: scale(1.08);
}

.service-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.5em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-item:hover h3 {
    color: #667eea;
}

.service-item p {
    color: #6c757d;
    line-height: 1.7;
    font-size: 1em;
    margin: 0;
}

/* About Styles */
.about {
    padding: 60px 20px;
    background-color: #f5f5f5;
}

.about h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;
}

.about p {
    max-width: 1200px;
    margin: 0 auto 20px;
    text-align: justify;
}

.faq-item {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.faq-item h3 {
    color: #e60012;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: #555;
    line-height: 1.8;
    font-size: 1em;
}

/* App Section Styles */
.app-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: #fff;
}

.app-section h2 {
    margin-bottom: 15px;
    font-size: 2.5em;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.app-section > img {
    width: 180px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.app-section > img:hover {
    transform: scale(1.05) rotate(2deg);
}

.app-section > p {
    margin-bottom: 40px;
    font-size: 1.2em;
    color: rgba(255,255,255,0.95);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.app-section .service-grid {
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.app-section .service-item {
    background-color: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.app-section .service-item:hover {
    background-color: rgba(255,255,255,0.25);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.app-section .service-item h3 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1.4em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.app-section .service-item p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-size: 1em;
}

.app-download {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.download-btn:hover {
    background: #fff;
    color: #667eea;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-info h3 {
    margin-bottom: 15px;
    color: #e60012;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 15px;
    color: #e60012;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: #e60012;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Login Page Styles */
.login-page {
    padding: 60px 20px;
    background-color: #f5f5f5;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group button {
    width: 100%;
    padding: 12px;
    background-color: #e60012;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.form-group button:hover {
    background-color: #c00010;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .banner h1 {
        font-size: 2em;
    }
    
    .services, .about, .app-section, .login-page {
        padding: 40px 15px;
    }
    
    .services {
        padding: 50px 15px;
    }
    
    .services h2 {
        font-size: 1.8em;
        margin-bottom: 35px;
    }
    
    .services h2::after {
        width: 60px;
        height: 3px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-item {
        padding: 30px 25px;
    }
    
    .service-item img {
        height: 150px;
        margin-bottom: 20px;
    }
    
    .service-item h3 {
        font-size: 1.3em;
    }
    
    .faq-item {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .faq-item h3 {
        font-size: 1.1em;
    }
    
    .app-section {
        padding: 50px 15px;
    }
    
    .app-section h2 {
        font-size: 1.8em;
    }
    
    .app-section > img {
        width: 150px;
        margin-bottom: 20px;
    }
    
    .app-section > p {
        font-size: 1em;
        margin-bottom: 30px;
    }
    
    .app-section .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .app-section .service-item {
        padding: 25px 20px;
    }
    
    .app-section .service-item h3 {
        font-size: 1.2em;
    }
    
    .app-download {
        gap: 15px;
    }
    
    .download-btn {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .banner h1 {
        font-size: 1.5em;
    }
    
    .banner p {
        font-size: 1em;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .login-container {
        padding: 30px 20px;
    }
}