*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: rgb(0,52,104);
    --secondary-color: rgb(201,74,8);
    --bg-color: #e2f2ff;
}

html {
    scroll-behavior: smooth;
  }
  
body{
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.textprimary {
    color: var(--primary-color);
}

.textsecondary {
    color: var(--secondary-color);
}

.bgprimary {
    background-color: var(--primary-color);
}

.bgsecondary {
    background-color: var(--secondary-color);
}

.bgprimary-light {
    background-color: var(--bg-color);
}

.textprimary-light {
    color: var(--bg-color);
}

.container{
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 0 15px;
}

h1 {
    font-size: 2.6rem !important;
}

h2 {
    font-size: 1.8rem !important;
    font-weight: 600;
}

header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    transition: all 0.5s ease;
}

.headerfixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    animation: slideDown 0.7s ease forwards;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.error-message{
    display:block;
    color:#ef4444;
    font-size:12px;
    margin-top:4px;
}

span.error-message.phoneVal {
    position: absolute;
    bottom: -15px;
    left: 5px;
}

/* Smooth slide animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0.7;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 1.8rem !important;
    }
    h2 {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 1.6rem !important;
    }
    h2 {
        font-size: 1.2rem !important;
    }
}
