* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.hero-section {
    overflow-x: hidden;
    color: #fff;
    position: relative;
    width: 100%;
    padding: 3rem 2rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    text-align: center;
}

.brand-name {
    color: #ff3333;
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

.typewriter-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.main-heading {
    font-family: 'Myriad Pro', sans-serif;
    font-size: clamp(1rem, 3vw, 2rem); /* reduced sizes */
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}


.prefix {
    display: inline-block;
    margin-right: 0.3em;
    text-align: center;
    white-space: nowrap;
}

.animated-text-container {
    display: inline-block;
    position: relative;
    min-height: 1.2em;
    text-align: center;
    white-space: nowrap;
}

.animated-text {
    display: inline-block;
    position: relative;
    border-right: 3px solid #fff;
    animation: blink 0.7s step-end infinite;
    white-space: nowrap;
    text-align: center;
}

.selected {
    background-color: #fff;
    color: #000;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #fff; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sub-heading {
    font-size: clamp(1rem, 3vw, 1.5rem); /* reduced font size */
    font-weight: 350; /* lighter weight */
    color: #666; /* lighter gray color */
    margin-bottom: 1.5rem;
    max-width: 900px;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 1s forwards;
    padding: 0 1rem;
    text-align: center;
    width: 100%;
}



.description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 1.5s forwards;
    padding: 0 1rem;
    text-align: center;
    width: 100%;
}



@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .main-heading {
        margin-bottom: 1rem;
        flex-direction: row;
        justify-content: center;
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .sub-heading {
        margin-bottom: 1rem;
    }
    
  
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .main-heading {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        flex-direction: row;
        align-items: center;
        white-space: nowrap;
    }
    
    .prefix {
        margin-right: 0.2em;
    }
    
    .animated-text-container {
        overflow: visible;
    }
}