/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Raleway', sans-serif;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section - Split Layout */
.hero {
    min-height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
    position: relative;
    background-image: url('Avara Technology Hibiscus Flower Background Mobile.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    padding: 3rem 2rem 3rem 4rem;
    position: relative;
    flex: 1;
    z-index: 2;
    box-sizing: border-box;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(224, 242, 247, 0.85), rgba(192, 224, 240, 0.85));
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.4) 0%, transparent 50%);
    mask-image: linear-gradient(to right, black, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black, black 95%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-image {
    display: none;
}

/* Logo */
.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-align: left;
    position: relative;
    z-index: 1;
}

.tagline {
    font-size: 1rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1.75rem;
    line-height: 1.6;
    text-align: left;
    position: relative;
    z-index: 1;
}

.features {
    list-style: none;
    text-align: left;
    margin: 0 0 1.75rem 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.features li {
    font-size: 1rem;
    color: #333333;
    margin-bottom: 0.25rem;
    padding-left: 1.25rem;
    position: relative;
    font-weight: 700;
    line-height: 1.4;
}

.features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    top: 0;
}

.mission {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.mission p {
    font-size: 1rem;
    color: #333333;
    line-height: 1.8;
    text-align: left;
}

/* Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: #8A2BE2;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #7A1BD2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(138, 43, 226, 0.3);
}

.btn-primary .arrow {
    margin-left: 0.5rem;
}

.btn-secondary {
    background-color: #6A1B4D;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #5A0B3D;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(106, 27, 77, 0.3);
}

/* Footer */
.footer-main {
    width: 100%;
}

.footer-upper {
    background-color: #6A1B4D;
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-upper p {
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.8;
    text-transform: uppercase;
}

.footer-lower {
    background-color: #222222;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-lower p {
    font-size: 0.875rem;
    color: #ffffff;
    margin: 0;
}

.footer-lower .copyright {
    text-align: left;
    flex: 1;
}

.footer-lower .email {
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: auto;
    z-index: 1;
}

.footer-lower .phone {
    text-align: right;
    flex: 1;
    padding-left: 2rem;
}

.footer-lower a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-lower a:hover {
    color: #E0F2F7;
    text-decoration: underline;
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal:target {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: #000;
    margin: auto;
    padding: 2rem;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: -10px;
    right: 10px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    line-height: 1;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content video {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        min-height: calc(100vh - 180px);
        background-image: url('Avara Technology Hibiscus Flower Background Desktop.webp');
    }

    .hero-content {
        width: 45%;
        max-width: 50%;
        padding: 4rem 3.5rem 4rem 6rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
    }

    .hero-content::before {
        width: 50%;
        left: 0;
        mask-image: linear-gradient(to right, black, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black, black 85%, transparent 100%);
    }

    .logo {
        max-width: 250px;
        margin-bottom: 1.75rem;
    }

    h1 {
        font-size: 2.25rem;
        margin-bottom: 1.5rem;
    }

    .tagline {
        font-size: 1.0625rem;
        margin-bottom: 2rem;
        line-height: 1.7;
    }

    .features {
        margin-bottom: 2rem;
    }

    .features li {
        font-size: 1.0625rem;
        margin-bottom: 0.25rem;
        line-height: 1.4;
    }

    .mission {
        margin-bottom: 2.25rem;
    }

    .mission p {
        font-size: 1.0625rem;
        line-height: 1.8;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 1.25rem;
        margin-bottom: 0;
    }

    .btn {
        padding: 0.9375rem 1.875rem;
        font-size: 1rem;
    }

    .footer-upper {
        padding: 2rem 3rem;
    }

    .footer-upper p {
        font-size: 1rem;
    }

    .footer-lower {
        padding: 1.25rem 3rem;
    }

    .footer-lower p {
        font-size: 1rem;
    }

    .modal-content {
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        width: 42%;
        max-width: 50%;
        padding: 5rem 4.5rem 5rem 7rem;
        box-sizing: border-box;
    }

    .hero-content::before {
        width: 45%;
        mask-image: linear-gradient(to right, black, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black, black 85%, transparent 100%);
    }

    .logo {
        max-width: 280px;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 2.75rem;
        margin-bottom: 1.75rem;
    }

    .tagline {
        font-size: 1.125rem;
        margin-bottom: 2.25rem;
    }

    .features li {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
        line-height: 1.4;
    }

    .mission {
        margin-bottom: 2.5rem;
    }

    .mission p {
        font-size: 1.125rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
a:focus {
    outline: 3px solid #8A2BE2;
    outline-offset: 2px;
}

/* Content wrapper - ensure all content is above overlay */
.hero-content > * {
    position: relative;
    z-index: 1;
}

