:root {
    --primary-color: #00838f;
    --secondary-color: #006064;
    --text-color: #333;
    --light-color: #f8f9fa;
    --error-color: #d00000;
    --success-color: #38b000;
    /* New hero section variables */
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --secondary: #7C4DFF;
    --accent: #00E676;
    --background: #f8f9fa;
    --text: #263238;
    --text-light: #546E7A;
    --white: #ffffff;
    --success: #00C853;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Header Styles */
.main-header {
    background-color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(124, 77, 255, 0.1);
}

nav ul li a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 30px;
    width: auto;
    margin-right: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E88E5; 
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .logo-image {
        height: 24px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}



nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

/* NEW HERO SECTION STYLES */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background-color: #f5f9ff;
    padding: 1rem 0 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #ebf4ff 0%, #f5f9ff 35%, #e3f2fd 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.07) 0%, rgba(30, 136, 229, 0) 70%);
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.07) 0%, rgba(124, 77, 255, 0) 70%);
    z-index: -1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: float 20s linear infinite;
}

.e1 {
    top: 15%;
    left: 10%;
    animation-duration: 15s;
    animation-delay: -2s;
}

.e2 {
    top: 60%;
    left: 15%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.e3 {
    top: 25%;
    right: 20%;
    animation-duration: 18s;
    animation-delay: -8s;
}

.e4 {
    top: 75%;
    right: 10%;
    animation-duration: 22s;
    animation-delay: -12s;
}

.e5 {
    top: 45%;
    left: 50%;
    animation-duration: 20s;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(10px) translateX(20px);
    }
    75% {
        transform: translateY(15px) translateX(-10px);
    }
}

.hero-content {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.hero-center {
    max-width: 800px;
    text-align: center;
    width: 100%;
}

.hero-tagline {
    display: inline-block;
    background-color: rgba(124, 77, 255, 0.1);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.hero-feature {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    padding: 0.25rem 0.5rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    color: var(--primary);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
    width: 100%;
}

.primary-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 320px;
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0) 100%
    );
    transition: all 0.6s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.primary-button:hover::before {
    left: 100%;
}

.button-label {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.users-online {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    margin-right: 0.5rem;
    position: relative;
}


.hero-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 1.5rem;
    position: relative;
    z-index: 1;
}

.info-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.info-card {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex: 1 1 100%;
    min-width: 280px;
    max-width: 350px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 0.5rem;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-content h3 {
    color: var(--text);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* A nice animation for when the hero section loads */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-center > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-tagline {
    animation-delay: 0.1s;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-description {
    animation-delay: 0.3s;
}

.hero-features {
    animation-delay: 0.4s;
}

.hero-cta {
    animation-delay: 0.5s;
}

.info-cards {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}
/* END OF NEW HERO SECTION STYLES */

/* Main Content Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Original Hero Section Styles - commented out or removed to avoid conflicts
.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h1 {
    color: white;
    font-size: 3.4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.2rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    color: white;
    font-size: 1.3rem;
}

.hero-section {
    width: 100%;
    padding: 5rem 2rem;
    text-align: center;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
*/

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    background: #0ca1ae;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 131, 143, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Shine effect */
.cta-button::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: transform 1.2s ease-in-out;
    opacity: 0;
}

/* Hover effects */
.cta-button:hover {
    background: #06A5B3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 131, 143, 0.5);
}

.cta-button:hover::after {
    opacity: 1;
    transform: rotate(30deg) translate(350%, -120%);
    transition: all 1.2s ease-in-out;
}

.cta-button:active {
    transform: translateY(-2px) scale(0.99);
    box-shadow: 0 4px 10px rgba(0, 131, 143, 0.4);
}

/* Pulsing animation */
@keyframes pulsing {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 131, 143, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 131, 143, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 131, 143, 0);
    }
}

/* Button tag styling */
.button-tag {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    text-transform: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 700;
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
}

/* Form Styles */
.phone-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #555;
}

.country-select {
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.country-select option {
    display: flex;
    align-items: center;
    padding: 8px;
}

/* For the flag emoji spacing */
.country-select option::before {
    margin-right: 8px;
}

.phone-input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.phone-code {
    padding: 0.75rem;
    background-color: #f0f0f0;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-weight: 600;
    min-width: 65px;
    text-align: center;
}

.phone-input {
    flex: 1;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.verify-button {
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.verify-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0) 100%
    );
    transition: all 0.6s ease;
}

.verify-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(124, 77, 255, 0.4);
}

.verify-button:hover::before {
    left: 100%;
}

.result-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.success {
    background-color: rgba(6, 214, 160, 0.2);
    color: var(--success-color);
    display: block;
}

.error {
    background-color: rgba(230, 57, 70, 0.2);
    color: var(--error-color);
    display: block;
}

/* Features Section */
.features-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    margin-top: 4rem;
    text-align: center;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .container {
        padding: 1rem;
    }

    .modal {
        width: 90%;
        padding: 1.5rem;
    }
    
    /* New hero section responsive styles */
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        margin-bottom: 1rem;
    }
}

@media (min-width: 768px) {
    /* Larger screen hero section styles */
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.3rem;
    }

    .hero-features {
        gap: 2.5rem;
    }

    .feature-icon {
        width: 24px;
        height: 24px;
    }

    .primary-button {
        padding: 1.2rem 3rem;
        font-size: 1.1rem;
    }

    .info-card {
        flex: 1 1 280px;
        align-items: flex-start;
    }

    .card-icon {
        width: 48px;
        height: 48px;
    }

    .card-content h3 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* Small screen hero section styles */
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-features .hero-feature {
        font-size: 0.8rem;
    }

    .primary-button {
        font-size: 0.9rem;
        padding: 0.9rem 1.2rem;
    }

    .card-content h3 {
        font-size: 0.95rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .header-container {
        padding: 1rem;
        flex-direction: row; /* Fixed from earlier */
        justify-content: space-between;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 100;
        padding-top: 60px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        margin-top: 0; /* Fixed */
    }
    
    nav ul li {
        margin: 1rem 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 90;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    nav {
        width: 85%;
    }
}