
:root {
    --primary-color: #3a86ff;
    --secondary-color: #ff006e;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --success-color: #38b000;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
.header {
    background: var(--dark-color);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.header nav a, .header nav button {
    color: #ffffff;
    transition: color 0.3s ease;
}
.header nav a:hover, .header nav button:hover {
    color: #cccccc;
    text-decoration: none;
}
.hero-section {
    position: relative;
    min-height: 65vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 1rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    color: white;
    padding: 2rem;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #d7e1ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.model-container {
    flex: 1;
    min-width: 300px;
    height: 400px;
    position: relative;
    perspective: 1000px;
    animation: float 6s ease-in-out infinite;
}

.upload-container {
    max-width: 800px;
    margin: -100px auto 3rem;
    position: relative;
    z-index: 3;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.5s ease;
    animation: slideUp 1s ease;
}

.upload-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-header {
    background: var(--primary-color);
    padding: 1.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 5s infinite;
}

.card-body {
    background: white;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(58, 134, 255, 0.2);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.85rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(58, 134, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-primary span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.text-danger {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: var(--secondary-color);
    animation: slideIn 0.5s ease;
}

.file-input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    border: 2px dashed #c8d4e2;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8fafc;
}

.file-input-wrapper:hover {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.file-label {
    font-weight: 500;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.file-instructions {
    font-size: 0.9rem;
    color: #6b7280;
}

.selected-file {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #e8f4ff;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e429f;
}

.features-section {
    padding: 5rem 2rem;
    background: white;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

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

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

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
}

.how-it-works {
    padding: 5rem 2rem;
    background: #f8fafc;
}

.steps-container {
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #e5e7eb;
    transform: translateX(-50%);
}

.step {
    position: relative;
    margin-bottom: 5rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

.step-content {
    flex: 1;
    max-width: 400px;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-title {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.step-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
}

.testimonials {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
}

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

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: #e0e7ff;
    position: absolute;
    top: -2rem;
    left: -0.5rem;
    font-family: sans-serif;
    z-index: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 700;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0 0 0.2rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.faq-section {
    padding: 5rem 2rem;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 0;
}

.faq-question {
    font-size: 1.2rem;
    color: var(--dark-color);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-top: 1rem;
}

.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #3a86ff, #1a56db);
    text-align: center;
    color: white;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
}

.cta-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 3rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    animation: fadeInUp 1.4s ease;
    text-decoration: none;
}

.cta-btn:hover {
    background: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
}

/* Root variables for consistent theming */
:root {
    --primary-color: #3b82f6; /* Vibrant blue for brand accents */
    --dark-color: #1f2937; /* Deep, elegant gray for background */
    --text-light: #f3f4f6; /* Soft white for text */
    --text-muted: #9ca3af; /* Muted gray for secondary text */
    --accent-hover: #60a5fa; /* Lighter blue for hover states */
    --border-color: rgba(255, 255, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer container */
footer {
    background: var(--dark-color);
    color: var(--text-light);
    padding: 4rem 1.5rem 2rem;
    font-family: 'Inter', sans-serif; /* Clean, modern font */
    position: relative;
    overflow: hidden;
}

/* Subtle background gradient for depth */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

/* Footer content */
.footer-content {
    max-width: 1280px; /* Slightly wider for modern screens */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding-bottom: 2rem;
}

/* Footer logo */
.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-logo:hover {
    color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Footer description */
.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
    margin: 1.5rem 0;
}

/* Section headings */
.footer-links h3, .footer-contact h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
}

/* Underline animation */
.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-links h3:hover::after, .footer-contact h3:hover::after {
    transform: scaleX(1);
}

/* Footer links */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links ul li a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

/* Footer contact */
.footer-contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Social icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: var(--border-color);
    border-radius: 12px; /* Softer corners */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Footer bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--accent-hover);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer {
        padding: 3rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo, .footer-desc, .social-icons {
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }

    .footer-links h3, .footer-contact h3 {
        text-align: center;
    }

    .footer-links h3::after, .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }

    .footer-links h3:hover::after, .footer-contact h3:hover::after {
        transform: translateX(-50%) scaleX(1);
    }

    .footer-links ul li a:hover {
        transform: none;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Success Modal for form submission */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    max-width: 500px;
    background: white;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    transform: translateY(50px);
    transition: all 0.5s ease;
    opacity: 0;
}

.success-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.success-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.modal-heading {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.modal-text {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-close {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

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

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


/* Loading Animation for form submission */
.loading-spinner {
    display: none;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -15px;
}

.btn-text {
    transition: opacity 0.3s ease;
}

.btn-primary.loading .btn-text {
    opacity: 0;
}

.btn-primary.loading .loading-spinner {
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .model-container {
        height: 350px;
    }
    
    .step:nth-child(even) {
        flex-direction: row;
    }
    
    .steps-container::before {
        left: 30px;
    }
    
    .step {
        padding-left: 60px;
    }
    
    .step-number {
        margin: 0;
        margin-right: 2rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        position: absolute;
        left: 0;
    }
    
    .step-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .model-container {
        height: 300px;
    }
    
    .upload-container {
        margin: -50px auto 3rem;
    }
    
    .card-header h2 {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .section-heading h2 {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .cta-heading {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .model-container {
        height: 250px;
    }
    
    .upload-container {
        margin: -30px 1rem 2rem;
    }
    
    .card-header {
        padding: 1.2rem;
    }
    
    .card-header h2 {
        font-size: 1.3rem;
    }
    
    .card-body {
        padding: 1.2rem;
    }
    
    .file-input-wrapper {
        padding: 1.5rem;
    }
    
    .section-heading h2 {
        font-size: 1.8rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .cta-heading {
        font-size: 1.8rem;
    }
    
    .cta-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
}
@media (max-width: 768px) {
    .header .logo {
        font-size: 1.4rem;
    }
    .header nav a, .header nav button {
        font-size: 0.9rem;
        margin-left: 10px;
    }

}
@media (max-width: 576px) {
    .header {
        padding: 1rem 0;
    }
    .header .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .header nav {
        width: 100%;
        text-align: center;
    }
    .header nav .btn {
        margin: 5px;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

