/* DropSpeed - Main CSS */
/* PDF s.1-7 - Global Styles */

/* Font Face Definitions */
@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../assets/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../assets/fonts/Urbanist-Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../assets/fonts/Urbanist-Light.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../assets/fonts/Urbanist-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Urbanist';
    src: url('../assets/fonts/Urbanist-Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

/* CSS Variables - Color Palette */
:root {
    --primary-color: #0070b9;
    --primary-hover: rgba(0, 112, 185, 0.9);
    --text-dark: #1f2a37;
    --text-muted: #6b7280;
    --text-white: #ffffff;
    --bg-light: #F8F8F8;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Urbanist', 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem; /* 40px */
    font-weight: 700;
}

h2 {
    font-size: 2rem; /* 32px */
    font-weight: 600;
}

h3 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
}

h4 {
    font-size: 1.25rem; /* 20px */
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.text-muted {
    color: var(--text-muted);
}

.text-primary {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

.logo__image {
    width: auto;
    height: 60px;
    object-fit: contain;
}

.logo {
    height: 60px;
}

@media (max-width: 480px) {
    .logo{
        margin: 0 auto;
    }
}

/* Container and Grid System */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col {
    flex: 1;
    padding: 0 0.75rem;
}

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
}

.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--bg-white);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Sections */
.section {
    padding: 2.5rem 0;
}

.section--blue {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.section--blue h1,
.section--blue h2,
.section--blue h3,
.section--blue h4,
.section--blue h5,
.section--blue h6 {
    color: var(--bg-white);
}

.section--muted {
    background-color: var(--bg-light);
}

.section--light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 0rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header Styles */
.top-bar {
    background-color: #376DAE;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-light);
}

.top-bar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__contact a {
    color: var(--text-white);
    margin: 0 0.5rem;
}

.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.2s ease;
}

.header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__item {
    margin-left: 2rem;
}

.nav__link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
    color: var(--primary-color);
}

.nav__link[aria-current="page"]::after,
.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-toggle:hover {
    background-color: rgba(0, 112, 185, 0.1);
    color: var(--primary-color);
}

.nav-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background-color: currentColor;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.page-banner__subtitle{
    color: var(--text-white);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0 2rem;
}

.footer--primary {
    background-color: var(--primary-color);
    text-align: center;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__column h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer__links {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: var(--bg-white);
}

.footer__column--logo {
    /*max-width: 250px;*/
}

.footer_logo__image{
    width: 50%;
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.footer__contact span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
}

.footer__contact a:hover {
    color: var(--bg-white);
}

/* Copyright Section */
.copyright-section {
    background-color: var(--bg-white);
    padding: 0.5rem 0;
    border-top: 1px solid var(--border-light);
}

.footer__copyright {
    text-align: center;
    margin: 0;
}

.footer__copyright p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.875rem;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Responsive Design */
@media (max-width: 991px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem; /* 32px */
    }
    
    h2 {
        font-size: 1.75rem; /* 28px */
    }
    
    h3 {
        font-size: 1.375rem; /* 22px */
    }
    
    .col-6,
    .col-4,
    .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        border-top: 1px solid var(--border-light);
        box-shadow: var(--shadow-md);
        flex-direction: column;
        padding: 1rem 0;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .nav.is-open {
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav__item {
        margin: 0;
    }
    
    .nav__link {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav__link:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .top-bar__container {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 2.5rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 1.75rem; /* 28px */
    }
    
    h2 {
        font-size: 1.5rem; /* 24px */
    }
    
    h3 {
        font-size: 1.25rem; /* 20px */
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .header__container {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .top-bar {
        padding: 0.375rem 0;
    }
}
