/* ===== CSS VARIABLES ===== */
:root {
    /* Color Palette */
    --primary-blue: #0055A4;
    --secondary-blue-gray: #F2F6FA;
    --accent-gold: #FFBA00;
    --text-dark: #333333;
    --text-white: #FFFFFF;
    --text-light: #666666;
    --background-light: #FFFFFF;
    --background-dark: #1A1A1A;
    
    /* Typography */
    --font-family: 'Open Sans', sans-serif;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-body: 1rem;
    --font-size-small: 0.875rem;
    
    /* Spacing */
    --section-padding: 80px;
    --section-padding-mobile: 40px;
    --container-max-width: 1050px; /* was 1200px */
    --border-radius: 4px;
    --border-radius-large: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 10px; /* was 20px */
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--font-size-h1);
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 10px 20px; /* slightly smaller */
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 0.95rem; /* slightly smaller */
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: none;
}

.btn--primary {
    background-color: var(--primary-blue);
    color: var(--text-white);
}

.btn--primary:hover {
    background-color: #004080;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 85, 164, 0.3);
}

.btn--accent {
    background-color: var(--accent-gold);
    color: var(--text-dark);
}

.btn--accent:hover {
    background-color: #E6A800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 186, 0, 0.3);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--background-light);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0; /* was 1rem 0 */
}

.nav__logo-text {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.05rem; /* was 1.25rem */
    text-decoration: none;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 1.2rem; /* was 2rem */
    margin-right: 1rem; /* was 2rem */
}

.nav__link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-size: 1rem; /* was default body size */
}

.nav__link:hover {
    color: var(--primary-blue);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

    .hero__content {
        text-align: center;
        color: var(--text-white);
        max-width: 800px;
        z-index: 1;
        background: rgba(0, 0, 0, 0.25);
        padding: 3rem;
        border-radius: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--section-padding) 0;
}

.section__title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== ABOUT SECTION ===== */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about__feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about__feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about__feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.about__feature-text {
    color: var(--text-light);
    margin-bottom: 0;
}

.about__image {
    position: relative;
}

.about__img {
    width: 100%;
    max-width: 350px;
    height: 400px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
    /* Remove border, background, and shadow */
    border-radius: 0;
    box-shadow: none;
    background: none;
}

.about__img-text {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-blue-gray);
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
    border-radius: var(--border-radius-large);
    border: 2px dashed var(--primary-blue);
    text-align: center;
}

/* ===== SERVICES SECTION ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service__card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-gold);
}

.service__icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.service__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service__link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service__link:hover {
    color: var(--accent-gold);
}

/* ===== FINANCIALS SECTION ===== */
.financials__chart-container {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.financials__chart {
    width: 100%;
    height: 400px;
}

.financials__metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.metric__card {
    background-color: var(--secondary-blue-gray);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    transition: var(--transition);
}

.metric__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.metric__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.metric__value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.metric__change {
    font-size: var(--font-size-small);
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== CONTACT SECTION ===== */
.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    position: relative;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    transition: var(--transition);
    background-color: var(--background-light);
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 85, 164, 0.1);
}

.form__label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-light);
    transition: var(--transition);
    pointer-events: none;
    background-color: var(--background-light);
    padding: 0 0.5rem;
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label,
.form__textarea:focus + .form__label,
.form__textarea:not(:placeholder-shown) + .form__label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact__icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact__text {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

.contact__social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact__social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.contact__social-link:hover {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--secondary-blue-gray);
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__logo-text {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer__description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--primary-blue);
}

.footer__social-links {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer__social-link:hover {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.footer__bottom {
    border-top: 1px solid #E0E0E0;
    padding-top: 1rem;
    text-align: center;
}

.footer__copyright {
    color: var(--text-light);
    font-size: var(--font-size-small);
    margin-bottom: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .nav__list {
        gap: 1.5rem;
        margin-right: 1.5rem;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .about__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .section {
        padding: var(--section-padding-mobile) 0;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--background-light);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2rem;
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .nav__toggle,
    .nav__close {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 2rem;
        right: 2rem;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.125rem;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .financials__metrics {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .about__feature {
        flex-direction: column;
        text-align: center;
    }
    
    .contact__item {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.nav__link:focus,
.service__link:focus,
.footer__link:focus,
.contact__social-link:focus,
.footer__social-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-light: #333333;
        --background-light: #FFFFFF;
    }
} 

.chatbot-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 9999;
    transition: background 0.2s;
}
.chatbot-bubble:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
}
.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 320px;
    max-width: 95vw;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    display: none;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
}
.chatbot-container.open {
    display: flex;
}
.chatbot-header {
    background: var(--primary-blue);
    color: #fff;
    padding: 0.75rem 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-close {
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: bold;
}
.chatbot-messages {
    padding: 1rem;
    height: 220px;
    overflow-y: auto;
    background: #f7fafd;
    font-size: 1rem;
    flex: 1;
}
.chatbot-message {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.chatbot-message.user {
    text-align: right;
    color: var(--primary-blue);
}
.chatbot-message.bot {
    text-align: left;
    color: var(--text-dark);
}
.chatbot-form {
    display: flex;
    border-top: 1px solid #eee;
    background: #fff;
}
.chatbot-input {
    flex: 1;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    outline: none;
}
.chatbot-send {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 0 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.chatbot-send:hover {
    background: var(--accent-gold);
    color: var(--text-dark);
}
@media screen and (max-width: 600px) {
    .chatbot-container {
        right: 8px;
        width: 98vw;
        min-width: 0;
    }
    .chatbot-bubble {
        right: 8px;
        bottom: 8px;
    }
} 