/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.98);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .logo h1 {
        color: #667eea;
        background: none;
    }
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #667eea;
}

.btn-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    color: #fff !important;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px 30px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    max-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
    max-width: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    padding: 40px 0;
    background: #f8f9fa;
}

.gallery h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2d3748;
    padding: 0 20px;
}

.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item {
    display: none;
    width: 100%;
}

.gallery-item.active {
    display: block;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    background: #000;
}

.gallery-arrow {
    background: rgba(102, 126, 234, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

.gallery-arrow:hover {
    background: rgba(102, 126, 234, 1);
    transform: scale(1.1);
}

.gallery-arrow:active {
    transform: scale(0.95);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-dot.active {
    background: #667eea;
    width: 12px;
    height: 12px;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

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

.feature {
    padding: 1.5rem;
    border-left: 4px solid #667eea;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.feature:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.feature h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature p {
    color: #666;
}

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

.app-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.app-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.app-description h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.app-description ul {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.app-description li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.app-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 20px;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

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

.testimonial {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial p {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.author {
    color: #667eea;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.contact-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

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

.contact-method {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.contact-method h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-method a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 15px;
}

.contact-form h3 {
    text-align: center;
    color: #2d3748;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    background: #1a202c;
    color: #fff;
    padding: 3rem 20px 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #667eea;
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #cbd5e0;
}

/* Responsive Design */

/* Images and Videos - Always responsive */
img, video {
    max-width: 100%;
    height: auto;
}

/* Tablet and below */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .service-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .gallery-container {
        max-height: 400px;
    }

    .gallery-item img,
    .gallery-item video {
        max-height: 400px;
    }
}

/* Mobile landscape and below */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 80px;
        max-height: 140px;
        padding: 60px 15px 25px;
    }

    .hero-video {
        width: 100%;
        height: 100%;
    }

    .hero h1 {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    .service-grid,
    .features-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .gallery {
        padding: 30px 0;
    }

    .gallery-wrapper {
        padding: 0 10px;
    }

    .gallery-arrow {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .gallery-container {
        max-height: 350px;
    }

    .gallery-item img,
    .gallery-item video {
        max-height: 350px;
    }

    section {
        padding: 60px 15px;
    }

    .services,
    .features,
    .app-features,
    .testimonials,
    .contact {
        padding: 60px 15px;
    }

    h2 {
        font-size: 2rem !important;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero {
        min-height: 70px;
        max-height: 120px;
        padding: 50px 10px 20px;
    }

    .hero h1 {
        font-size: 1.1rem;
    }

    .hero p {
        font-size: 0.75rem;
    }

    .btn-primary {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .gallery {
        padding: 20px 0;
    }

    .gallery h2 {
        font-size: 1.25rem !important;
    }

    .gallery-wrapper {
        padding: 0 5px;
        gap: 0.5rem;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.75rem;
    }

    .gallery-container {
        max-height: 250px;
    }

    .gallery-item img,
    .gallery-item video {
        max-height: 250px;
    }

    .gallery-dots {
        margin-top: 1rem;
    }

    .gallery-dot {
        width: 8px;
        height: 8px;
    }

    .gallery-dot.active {
        width: 10px;
        height: 10px;
    }

    .service-card,
    .feature,
    .testimonial {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }
}
