*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 80px; 
}

:root {
    --primary-blue: #2563eb;
    --primary-dark: #1e40af;
    --secondary-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --white: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.navbar {
    background-color: var(--white);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;  
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--neutral-200);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.navbar__container{
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#navbar__logo{
    color: var(--primary-blue);
    display: flex; 
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    gap: 0.75rem;
}

.navbar__logo-img{
    height: 30px;
    width: auto;
    transition: all 0.2s ease-in-out;
    padding-right: 10px;
}

.navbar__logo-text{
    color: var(--neutral-600);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

#navbar__logo:hover .navbar__logo-img{
    transform: scale(1.05);
}

#navbar__logo:hover .navbar__logo-text{
    color: var(--primary-dark);
}

.navbar__menu{
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.navbar__item{
    height: auto;
}

.navbar__links{
    color: var(--neutral-600);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease-in-out;
    border-radius: 0.5rem;
}

.navbar__btn{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;
}

.button{
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-sm);
}

.navbar__links:hover{
    color: var(--primary-blue);
    background-color: var(--neutral-50);
}

.button:hover{
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

@media screen and (max-width: 960px){
    .navbar__container{
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu{
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px; 
        opacity: 1;
        transition: all 0.5s ease;
        z-index: -1;
    }

    .navbar__menu.active{
        background: var(--neutral-100);
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 1;
        height: 60vh;
        font-size: 1.6rem;
    }

    #navbar__logo{
        padding-left: 25px;
    }

    .navbar__toggle .bar{
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: var(--neutral-600);
    }

    .navbar__item{
        width: 100%;
    }

    .navbar__links{
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
    }

    .navbar__btn{
        padding-bottom: 2rem;
    }

    .button{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }
    
    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__toggle .bar{
        display: block;
        cursor: pointer;
    }

    #mobile-menu.active .bar:nth-child(2){
        opacity: 0;
    }

    #mobile-menu.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Hero Section */

.hero {
    background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-300) 100%);
    position: relative;
    overflow: hidden;
    min-height: 30vh;
    padding: 6rem 0 0 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    height: 100%;
}

.hero__heading {
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    max-width: 800px;
}

.hero__heading span{
    color: var(--primary-blue);
    position: relative;
}

.hero__description{
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
}

.hero__image{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero__image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.highlight{
    border-bottom: 4px solid var(--primary-dark);
    border-radius: 0.5rem 0.5rem 0 0;
}

.highlight__button{
    border-bottom: 4px solid var(--primary-dark);
}

@media screen and (max-width: 768px){
    .hero {
        min-height: 50vh;
        padding: 4rem 0;
        display: flex;
        align-items: center;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto;
        min-height: auto;
    }
    
    .hero__heading{
        font-size: 4rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero__description{
        font-size: 1.125rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero__image {
        order: -1;
        justify-content: center;
        height: auto;
    }
    
    .hero__image img {
        max-height: 300px;
        width: auto;
    }
}

@media screen and (max-width: 480px){
    .hero__heading{
        font-size: 2.5rem;
    }

    .hero__description{
        font-size: 1rem;
    }

    .hero__image img {
        max-height: 250px;
        width: auto;
    }
}

/* About section */

.main {
    background-color: var(--white);
    padding: 4rem 0;
    min-height: auto;
}

.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.main__content{
    color: var(--text-primary);
    width: 100%;
}

.main__content h1{
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.main__content h2{
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.main__content p{
    margin-top: 0;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.main__btn{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    background: var(--primary-blue);
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.75rem;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
    outline: none;
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.main__btn a {
    color: var(--white);
    text-decoration: none;
}

.main__btn:hover{
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.main__btn:active{
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

/* Newsletter Form Styles */
.newsletter__form {
    margin-top: 2rem;
    width: 100%;
    max-width: 500px;
}

.form__group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

.form__group:last-of-type {
    flex-direction: column;
}

.email__input,
.name__input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--neutral-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text-primary);
    transition: all 0.2s ease-in-out;
    outline: none;
}

.email__input:focus,
.name__input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.email__input::placeholder,
.name__input::placeholder {
    color: var(--text-secondary);
}

.subscribe__btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}

.subscribe__btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.subscribe__btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.form__checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1rem;
    height: 1rem;
    accent-color: var(--primary-blue);
}

.form__checkbox label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
    cursor: pointer;
}

.main__img--container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.main__img--card{
    width: 400px;
    height: 400px;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-blue);
    background: var(--neutral-50);
    border: 2px solid var(--neutral-200);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease-in-out;
}

.main__img--card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.fa-map-location-dot, 
.fa-users {
    font-size: 6rem;
    margin: 0;
    color: var(--primary-blue);
    opacity: 0.8;
}

#card-2{
    background: #e65c00;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #dd2476, #ff512f);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #dd2476, #ff512f); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/* Mobile responsive */

@media screen and (max-width: 1100px) {
    .main {
        padding: 3rem 0;
    }
    
    .main__container{
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
        gap: 2rem;
    }

    .main__img--container{
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .main__img--card{
        height: 350px;
        width: 350px;
    }

    .main__content{
        text-align: center;
        margin-bottom: 2rem;
    }

    .main__content h1{
        font-size: 1rem;
        margin-top: 1rem;
    }

    .main__content h2{
        font-size: 2rem;
    }

    .main__content p{
        margin-top: 1rem;
        font-size: 1.125rem;
    } 
}

@media screen and (max-width: 480px){
    .main__container {
        grid-template-columns: 1fr;
    }
    
    .main__img--container {
        order: -1;
    }
    
    .main__img--card{
        height: 250px;
        width: 250px;
    }

    .fa-layer-group, 
    .fa-users {
        font-size: 4rem;
    }

    .main__content h1{
        font-size: 2rem;
        margin-top: 3rem;
    }

    .main__content h2{
        font-size: 2rem;
    }

    .main__content p{
        margin-top: 2rem;
        font-size: 1.5rem;
    } 

    .main__btn{
        padding: 12px 36px;
        margin: 2.5rem 0;
    }
    
    /* Newsletter form mobile styles */
    .form__group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .subscribe__btn {
        width: 100%;
        padding: 1rem;
    }
    
    .form__checkbox {
        margin-top: 1rem;
    }
    
    .form__checkbox label {
        font-size: 0.8rem;
    }
}

/* Service section */

.features{
    background: var(--neutral-50);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
    min-height: auto;
}

.features h1{
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

.features__wrapper{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    padding: 0 2rem;
    width: 100%;
}

.features__card{
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    transition: all 0.3s ease-in-out;
    height: auto;
    min-height: 200px;
}

.features__card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.features__card h2{
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}

.features__card p{
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: left;
    flex-grow: 1;
}

.features__btn{
    display: flex; 
    justify-content: flex-start;
}

.features__card button{
    color: var(--white);
    background: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: var(--shadow-sm);
}

.features__card button:hover{
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

@media screen and (max-width: 1300px){
    .features__wrapper{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px){
    .features{
        padding: 3rem 0;
    }
    
    .features__wrapper{
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .features h1{
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Footer css */
.footer__container{
    background-color: var(--neutral-800);
    padding: 4rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer__logo{
    color: var(--white);
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer__links{
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.footer__link--wrapper{
    display: flex;
    gap: 3rem;
}

.footer__link--items{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-width: 160px;
}

.footer__link--items h2{
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

.footer__link--items a{
    color: var(--neutral-300);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    transition: color 0.2s ease-in-out;
}

.footer__link--items a:hover{
    color: var(--white);
}

.footer__icon--link{
    color: #fff;
    font-size: 24px;
}

.social__media{
    max-width: 1000px;
    width: 100%;
}

.social__media{
    max-width: 1200px;
    width: 100%;
}

.social__media--wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    padding: 2rem 2rem 0 2rem;
    border-top: 1px solid var(--neutral-700);
}

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

.social__icons--link{
    color: var(--neutral-300);
    font-size: 1.25rem;
    transition: all 0.2s ease-in-out;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.social__icons--link:hover{
    color: var(--white);
    background-color: var(--neutral-700);
    transform: translateY(-2px);
}

.website__rights{
    color: var(--neutral-100);
    font-size: 0.875rem;
}

@media screen and (max-width: 800px){
    .footer__links{
        padding-top: 2rem;
        justify-content: left;
    }

    .footer__link--wrapper{
        flex-direction: column;
        gap: 1rem;
    }

    .social__media--wrap{
        flex-direction: column;
    }

    .social__icons{
        margin-top: 1rem;
        width: 100%;
        justify-content: space-around;
    }
}

@media screen and (max-width: 400px){
    #footer__logo{
        font-size: 1.25rem;
    }

    .footer__link--items h2{
        font-size: 1rem;
    }

    .footer__link--items a{
        font-size: 0.75rem;
    }
}