:root {
    --maroon: #800000;
    --light-maroon: #a33;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f4f4f4;
    --white: #fff;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: var(--white);
    color: var(--dark-gray);
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 3%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    overflow: visible;
}

.logo {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo i {
    font-size: 1.8rem;
}

.logo img {
    max-height: 140px;
    width: auto;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.nav-links a {
    color: var(--dark-gray);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--maroon);
}

.hero {
    height: 100vh;
    background: url('img/ai.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-top: 80px; /* Account for fixed navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(128, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
    color: var(--white);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-cards {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 200px;
}

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

.feature-card i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.feature-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    color: var(--white);
}

.scroll-indicator p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--white);
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

.services {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--maroon);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
}

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.cta-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--maroon), var(--light-maroon));
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--dark-gray), var(--medium-gray));
    bottom: -60px;
    right: -60px;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--light-maroon), var(--maroon));
    top: 40%;
    right: 10%;
    animation-delay: 4s;
}

.cta-card h2 {
    font-size: 2.8rem;
    color: var(--maroon);
    margin-bottom: 1.5rem;
    position: relative;
}

.cta-card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--maroon), var(--light-maroon));
}

.cta-card p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.start-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
}

.start-form input {
    padding: 1.2rem;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.start-form input:focus {
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
    outline: none;
}

.cta-button {
    background: linear-gradient(45deg, var(--maroon), var(--light-maroon));
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(128, 0, 0, 0.2);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

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

/* Hero Section Mobile Adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 100px 0 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
        background-size: cover;
        background-position: center;
        overflow: visible;
    }

    .hero-content {
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        white-space: normal;
        text-align: center;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .hero-cards {
        width: 90%;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin: 0 auto 3rem;
        gap: 10px;
    }

    .feature-card {
        flex: 1;
        min-width: 0;
        max-width: none;
        padding: 1rem;
    }

    .feature-card i {
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        width: 100%;
        text-align: center;
        margin-top: 2rem;
    }
}

/* iPhone SE and other small screens */
@media (max-width: 380px) {
    .hero {
        padding: 80px 15px 40px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .hero-cards {
        flex-direction: column !important;
        align-items: center !important;
    }

    .feature-card {
        width: 100%;
        max-width: 200px;
    }
}

/* Taller phones */
@media (min-height: 700px) and (max-width: 768px) {
    .hero-content {
        top: 0;
    }
}

/* Landscape mode */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 15px 40px;
    }

    .hero-content {
        transform: scale(0.45);
        top: 0;
    }
}

/* About Section Styles */
.about-section {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-header h2 {
    font-size: 2.8rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.about-header .subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--maroon);
    color: var(--white);
    padding: 2rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 20px rgba(128,0,0,0.2);
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.experience-badge .years {
    font-size: 2.2rem;
    font-weight: bold;
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.experience-badge .text {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1;
}

.mission-box {
    background: linear-gradient(135deg, var(--maroon), var(--light-maroon));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.mission-box h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--maroon);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--maroon), var(--light-maroon));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.testimonials {
    text-align: center;
}

.testimonials h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark-gray);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
}

.quote-icon {
    color: var(--maroon);
    font-size: 2rem;
    opacity: 0.1;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.testimonial-text {
    color: var(--medium-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--dark-gray);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .experience-badge {
        bottom: 20px;
        right: 20px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-header h2 {
        font-size: 2rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

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

.tech-showcase {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.05) 0%, rgba(51, 51, 51, 0.05) 100%);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-circle {
    position: relative;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--maroon), var(--light-maroon));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.tech-circle i {
    font-size: 3rem;
    color: var(--white);
}

.pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--maroon);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

.tech-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--maroon), transparent);
    height: 2px;
    width: 100%;
    opacity: 0.3;
    animation: scan 3s infinite;
}

.line-1 { top: 25%; animation-delay: 0s; }
.line-2 { top: 50%; animation-delay: 1s; }
.line-3 { top: 75%; animation-delay: 2s; }

.tech-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--maroon);
    border-radius: 50%;
    animation: float 4s infinite ease-in-out;
}

.dot:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.dot:nth-child(2) { top: 60%; right: 20%; animation-delay: 1s; }
.dot:nth-child(3) { bottom: 20%; left: 40%; animation-delay: 2s; }

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    color: var(--maroon);
    opacity: 0.4;
    animation: float 6s infinite ease-in-out;
}

.floating-icons i:nth-child(1) { top: 15%; left: 15%; font-size: 1.5rem; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 25%; right: 20%; font-size: 2rem; animation-delay: 1.5s; }
.floating-icons i:nth-child(3) { bottom: 20%; left: 20%; font-size: 1.8rem; animation-delay: 3s; }
.floating-icons i:nth-child(4) { bottom: 30%; right: 25%; font-size: 1.6rem; animation-delay: 4.5s; }

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0.6; }
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

/* Adjust responsive styles */
@media (max-width: 768px) {
    .tech-showcase {
        height: 300px;
    }
    
    .tech-circle {
        width: 90px;
        height: 90px;
    }
    
    .tech-circle i {
        font-size: 2.5rem;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, #000 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.contact-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    opacity: 0.8;
}

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

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

.social-icon:hover {
    background: var(--maroon);
    transform: translateY(-5px);
}

/* Contact Form Styles */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark-gray);
    color: var(--white);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--maroon);
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    background: var(--maroon);
    padding: 0 0.5rem;
    border-radius: 4px;
    color: var(--white);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--maroon);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: var(--light-maroon);
    transform: translateY(-2px);
}

.submit-btn i {
    transition: transform 0.3s;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-header h2 {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 2rem;
    }
}

/* Assessment Popup Styles */
.assessment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.assessment-popup {
    background: #ffffff;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    margin: 20px;
}

.assessment-header {
    background: var(--maroon);
    padding: 1.5rem;
}

.assessment-header h2 {
    color: #ffffff;
    margin: 0;
    font-size: 1.8rem;
}

.assessment-content {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

/* Form Groups - Main Container for Each Question */
.form-group {
    margin-bottom: 30px;  /* Increased bottom margin */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #ffffff;
    position: relative;  /* For label positioning */
}

/* Question Labels */
.form-group > label {
    display: block;
    color: #000000;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;  /* Increased space between question and answers */
    background: #ffffff;
    position: relative;
}

/* Select Dropdown Styles */
.form-group select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    background-color: #ffffff;
    border: 2px solid #cccccc;
    border-radius: 8px;
    color: #000000;
    margin-top: 10px;  /* Space after label */
    position: relative;
    z-index: 1;  /* Ensure dropdown appears above other elements */
}

/* Dropdown Options */
.form-group select option {
    background: #ffffff;
    color: #000000;
    padding: 12px;
    font-size: 16px;
}

/* Checkbox Container */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;  /* Space after label */
    background: #ffffff;
    position: relative;
    z-index: 1;
}

/* Individual Checkbox Items */
.checkbox-group label {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 0;
    color: #000000;
    font-weight: normal;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    position: relative;  /* Ensure proper stacking */
}

/* Checkbox Input */
.checkbox-group input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Assessment Step */
.assessment-step {
    display: none;
}

.assessment-step[data-step="1"] {
    display: block;
}

.business-step,
.personal-step {
    display: none;
}

/* Section Headers */
.assessment-step h3 {
    color: #000000;
    margin-bottom: 30px;  /* Increased space after headers */
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 2px solid #f0f0f0;
}

/* Selected States */
.checkbox-group label:has(input[type="checkbox"]:checked) {
    background: #f0f0f0;
    border-color: var(--maroon);
    color: #000000;
}

/* Hover States */
.checkbox-group label:hover {
    background: #f5f5f5;
    border-color: var(--maroon);
}

select:hover {
    border-color: var(--maroon);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .assessment-popup {
        width: 95%;
        margin: 10px;
    }
    
    .form-group {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .checkbox-group label {
        padding: 10px;
    }
    
    .form-group > label {
        margin-bottom: 15px;
    }
}

/* Fix for overlapping text */
.form-group select,
.form-group input,
.form-group .checkbox-group {
    clear: both;  /* Prevent floating elements */
    display: block;  /* Ensure block-level display */
    position: relative;  /* Create new stacking context */
}

/* Ensure proper spacing between elements */
.form-group > *:not(:last-child) {
    margin-bottom: 15px;
}

/* Progress Bar */
.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #ffffff;
    transition: width 0.3s ease;
}

/* Navigation Buttons */
.assessment-footer {
    padding: 1.5rem;
    background: #ffffff;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    position: sticky;
    bottom: 0;
}

.prev-btn, .next-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.prev-btn {
    background: #f0f0f0;
    color: #000000;
}

.prev-btn:hover {
    background: #e0e0e0;
}

.next-btn {
    background: var(--maroon);
    color: #ffffff;
}

.next-btn:hover {
    background: var(--light-maroon);
    transform: translateY(-2px);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Fix Checkbox Clicking */
.checkbox-group label {
    cursor: pointer;
    user-select: none;
}

.checkbox-group input[type="checkbox"] {
    cursor: pointer;
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

/* Step Visibility */
.assessment-step {
    display: none;
}

.assessment-step.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

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

/* Disabled Button State */
.prev-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Progress Bar Animation */
@keyframes progressFill {
    from { width: 0; }
    to { width: 100%; }
}

/* DateTime Picker Styles */
.datetime-picker {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-input,
.time-input {
    padding: 12px;
    border: 2px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff;
    color: #000000 !important;  /* Force black text */
}

/* Also ensure the value text is black */
.date-input::-webkit-datetime-edit-text,
.date-input::-webkit-datetime-edit-month-field,
.date-input::-webkit-datetime-edit-day-field,
.date-input::-webkit-datetime-edit-year-field {
    color: #000000;
}

/* Ensure placeholder text is visible */
.date-input::placeholder {
    color: #666666;
}

.date-input {
    flex: 2;
    cursor: pointer;
}

.time-input {
    flex: 1;
    cursor: pointer;
}

.date-input:focus,
.time-input:focus {
    border-color: var(--maroon);
    outline: none;
}

.timezone-note {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
}

/* Disable past dates in the calendar */
.date-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

/* Contact Form Input Styles */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff;
    color: #000000 !important;  /* Force black text */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666666;  /* Darker placeholder text */
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--maroon);
    outline: none;
    color: #000000;
}

/* Ensure text remains black when typing */
.contact-form input:not(:placeholder-shown),
.contact-form textarea:not(:placeholder-shown) {
    color: #000000 !important;
}

/* Mobile Navigation Styles */
.mobile-menu {
    display: none;  /* Hidden by default, shown only on mobile */
    cursor: pointer;
    z-index: 1000;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;  /* Show on mobile */
        font-size: 1.5rem;
        margin-right: 1rem;
    }

    .nav-links {
        display: none;  /* Hide by default on mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
        padding: 2rem;
    }

    .nav-links.active {
        display: flex;  /* Show when active */
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.4rem;
        color: var(--dark-gray);
    }

    /* Adjust hero section for mobile */
    .hero-content {
        padding: 0 1rem;
        margin-top: 4rem;  /* Add space below fixed navbar */
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    /* Ensure navbar stays on top */
    .navbar {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.98);
    }

    .logo {
        font-size: 1.3rem;
    }

    /* Hero Section */
    .hero-cards {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
    }

    .feature-card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-card {
        padding: 2rem 1rem;
    }

    .shape-1 {
        width: 80px;
        height: 80px;
        top: -20px;
        left: -20px;
        opacity: 0.5;
    }

    .shape-2 {
        width: 100px;
        height: 100px;
        bottom: -30px;
        right: -30px;
        opacity: 0.5;
    }

    .shape-3 {
        width: 60px;
        height: 60px;
        top: 30%;
        right: 5%;
        opacity: 0.5;
    }

    .cta-card h2 {
        font-size: 2rem;
        position: relative;
        z-index: 2;
    }

    .cta-card p {
        font-size: 1rem;
        position: relative;
        z-index: 2;
    }

    .start-form {
        position: relative;
        z-index: 2;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    /* Assessment Popup */
    .assessment-popup {
        width: 95%;
        height: 90vh;
        margin: 0;
        overflow-y: auto;
    }

    .assessment-content {
        max-height: calc(90vh - 140px);
    }

    .datetime-picker {
        flex-direction: column;
        gap: 0.5rem;
    }

    .date-input,
    .time-input {
        width: 100%;
    }
}

/* Additional mobile optimization for smaller screens */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .nav-links a {
        font-size: 1.2rem;
        margin: 0.8rem 0;
    }

    .about-header h2,
    .contact-header h2 {
        font-size: 1.8rem;
    }

    .info-card {
        padding: 1rem;
    }

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

    .assessment-header h2 {
        font-size: 1.5rem;
    }

    .checkbox-group label {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .feature-card:hover,
    .service-card:hover,
    .info-card:hover,
    .social-icon:hover {
        transform: none;
    }

    .submit-btn:active,
    .cta-button:active {
        transform: scale(0.98);
    }
}

/* Radio Group Styles */
.radio-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 20px;
}

.radio-card {
    flex: 0 1 350px;
    position: relative;
}

.radio-card input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    margin: 0;
}

.radio-content {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    background: white;
    text-align: center;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.radio-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.radio-circle:after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--maroon);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s;
}

.radio-card i {
    font-size: 32px;
    color: var(--maroon);
}

.radio-text h4 {
    color: #000;
    margin: 0 0 10px 0;
    font-size: 20px;
}

.radio-text p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

/* Hover state */
.radio-card:hover .radio-content {
    border-color: var(--maroon);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Selected state */
.radio-card input[type="radio"]:checked + .radio-content {
    border-color: var(--maroon);
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.radio-card input[type="radio"]:checked + .radio-content .radio-circle {
    border-color: var(--maroon);
}

.radio-card input[type="radio"]:checked + .radio-content .radio-circle:after {
    opacity: 1;
}

@media (max-width: 768px) {
    .radio-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .radio-card {
        width: 100%;
        max-width: 350px;
    }
}

input[type="date"] {
    color: #757575; /* Default color */
}

input[type="date"]:valid {
    color: #000000; /* Black text when date is selected */
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
} 