/* =========================================================
   AUSTBRIDGE - GLOBAL WEBSITE STYLES
   File: assets/css/style.css
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --primary: #0878e8;
    --primary-dark: #055bb2;
    --primary-light: #eaf4ff;

    --secondary: #061a2f;
    --secondary-light: #0d2b48;

    --success: #16a673;
    --warning: #ed9a27;
    --danger: #d64545;

    --white: #ffffff;
    --black: #111827;

    --text: #26384b;
    --text-light: #718096;
    --text-muted: #94a3b8;

    --background: #f5f8fc;
    --border: #e2e8f0;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm:
        0 2px 8px rgba(6, 26, 47, 0.06);

    --shadow-md:
        0 8px 25px rgba(6, 26, 47, 0.09);

    --shadow-lg:
        0 18px 50px rgba(6, 26, 47, 0.12);

    --transition:
        all 0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        "Inter",
        "Poppins",
        Arial,
        sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


button {
    cursor: pointer;
}


ul,
ol {
    list-style: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: var(--secondary);

    color: rgba(255,255,255,0.85);

    font-size: 13px;

    padding: 8px 0;
}


.top-bar .container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.top-bar-left,
.top-bar-right {
    display: flex;

    align-items: center;

    gap: 18px;
}


.top-bar a {
    transition: var(--transition);
}


.top-bar a:hover {
    color: #5dc9ff;
}


.top-bar i {
    margin-right: 5px;
}


/* =========================================================
   MAIN HEADER
========================================================= */

.main-header {
    background: var(--white);

    border-bottom:
        1px solid var(--border);

    position: sticky;

    top: 0;

    z-index: 1000;
}


.header-inner {
    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


.logo-icon {
    width: 44px;
    height: 44px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #48bdf5
        );

    color: var(--white);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;

    box-shadow:
        0 7px 18px
        rgba(8,120,232,0.22);
}


.logo-text strong {
    display: block;

    color: var(--secondary);

    font-family:
        "Montserrat",
        "Poppins",
        sans-serif;

    font-size: 19px;

    font-weight: 800;

    line-height: 1.1;
}


.logo-text span {
    display: block;

    color: var(--primary);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-top: 3px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    display: flex;

    align-items: center;

    gap: 25px;
}


.main-nav a {
    position: relative;

    color: #536779;

    font-size: 13px;

    font-weight: 600;

    padding: 29px 0;

    transition: var(--transition);
}


.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 19px;

    height: 2px;

    background: var(--primary);

    transform:
        scaleX(0);

    transform-origin: center;

    transition: var(--transition);
}


.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}


.main-nav a:hover::after,
.main-nav a.active::after {
    transform:
        scaleX(1);
}


/* =========================================================
   HEADER BUTTONS
========================================================= */

.header-actions {
    display: flex;

    align-items: center;

    gap: 9px;
}


.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    border: none;

    border-radius: 8px;

    padding: 11px 18px;

    font-size: 12px;

    font-weight: 700;

    transition: var(--transition);
}


.btn-primary {
    background: var(--primary);

    color: var(--white);

    box-shadow:
        0 6px 18px
        rgba(8,120,232,0.18);
}


.btn-primary:hover {
    background: var(--primary-dark);

    transform:
        translateY(-1px);
}


.btn-outline {
    background: transparent;

    color: var(--primary);

    border:
        1px solid var(--primary);
}


.btn-outline:hover {
    background: var(--primary);

    color: var(--white);
}


.btn-secondary {
    background: var(--secondary);

    color: var(--white);
}


.btn-secondary:hover {
    background: var(--secondary-light);

    transform:
        translateY(-1px);
}


.btn-light {
    background: var(--primary-light);

    color: var(--primary);
}


.btn-danger {
    background: var(--danger);

    color: var(--white);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn {
    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: var(--white);

    color: var(--secondary);

    display: none;

    align-items: center;

    justify-content: center;

    font-size: 17px;
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;

    min-height: 620px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            110deg,
            #061a2f 0%,
            #082d4d 55%,
            #0878e8 100%
        );

    overflow: hidden;
}


.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.04);

    top: -180px;
    right: -120px;
}


.hero::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    background:
        rgba(93,201,255,0.08);

    bottom: -180px;
    left: -100px;
}


.hero .container {
    position: relative;

    z-index: 2;
}


.hero-content {
    max-width: 650px;

    color: var(--white);
}


.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 7px 12px;

    border:
        1px solid
        rgba(255,255,255,0.2);

    background:
        rgba(255,255,255,0.08);

    border-radius: 30px;

    font-size: 10px;

    font-weight: 700;

    margin-bottom: 20px;
}


.hero h1 {
    font-family:
        "Montserrat",
        "Poppins",
        sans-serif;

    font-size:
        clamp(35px, 5vw, 62px);

    line-height: 1.08;

    font-weight: 800;

    margin-bottom: 20px;
}


.hero h1 span {
    color: #5dc9ff;
}


.hero p {
    color:
        rgba(255,255,255,0.82);

    font-size: 16px;

    max-width: 580px;

    margin-bottom: 30px;
}


.hero-buttons {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 11px;
}


/* =========================================================
   SECTION
========================================================= */

.section {
    padding: 80px 0;
}


.section-sm {
    padding: 55px 0;
}


.section-title {
    max-width: 700px;

    margin:
        0 auto 45px;

    text-align: center;
}


.section-title .eyebrow {
    display: inline-block;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    margin-bottom: 8px;
}


.section-title h2 {
    color: var(--secondary);

    font-family:
        "Montserrat",
        "Poppins",
        sans-serif;

    font-size:
        clamp(26px, 4vw, 38px);

    line-height: 1.2;

    margin-bottom: 12px;
}


.section-title p {
    color: var(--text-light);

    font-size: 14px;
}


/* =========================================================
   CARDS
========================================================= */

.card {
    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}


.card:hover {
    transform:
        translateY(-4px);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   SERVICE CARDS
========================================================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.service-card {
    padding: 28px;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: var(--radius-lg);

    transition: var(--transition);
}


.service-card:hover {
    border-color:
        rgba(8,120,232,0.25);

    box-shadow: var(--shadow-md);

    transform:
        translateY(-5px);
}


.service-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 19px;

    margin-bottom: 18px;
}


.service-card h3 {
    color: var(--secondary);

    font-size: 16px;

    margin-bottom: 8px;
}


.service-card p {
    color: var(--text-light);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   STATS
========================================================= */

.stats-section {
    background: var(--secondary);

    color: var(--white);
}


.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.stat-box {
    text-align: center;

    padding: 20px;
}


.stat-box strong {
    display: block;

    color: var(--white);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 35px;

    font-weight: 800;
}


.stat-box span {
    display: block;

    color:
        rgba(255,255,255,0.65);

    font-size: 11px;

    margin-top: 4px;
}


/* =========================================================
   FORMS
========================================================= */

.form-group {
    margin-bottom: 17px;
}


.form-group label {
    display: block;

    color: var(--secondary);

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 7px;
}


.form-control,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border:
        1px solid var(--border);

    background: var(--white);

    color: var(--text);

    border-radius: 8px;

    outline: none;

    padding:
        11px 13px;

    font-size: 12px;

    transition: var(--transition);
}


.form-control {
    min-height: 42px;
}


.form-group textarea {
    min-height: 120px;

    resize: vertical;
}


.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(8,120,232,0.08);
}


.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;
}


/* =========================================================
   ALERTS
========================================================= */

.alert {
    padding: 12px 15px;

    border-radius: 8px;

    font-size: 11px;

    font-weight: 600;

    margin-bottom: 15px;
}


.alert-success {
    background: #eaf8f2;

    color: var(--success);

    border:
        1px solid #c8ecdd;
}


.alert-danger {
    background: #fff1f1;

    color: var(--danger);

    border:
        1px solid #f1d3d3;
}


.alert-warning {
    background: #fff7e8;

    color: #b46c0c;

    border:
        1px solid #f5dfb9;
}


.alert-info {
    background: var(--primary-light);

    color: var(--primary);

    border:
        1px solid #cfe5fb;
}


/* =========================================================
   BADGES
========================================================= */

.badge {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding:
        4px 9px;

    border-radius: 30px;

    font-size: 9px;

    font-weight: 800;
}


.badge-primary {
    background: var(--primary-light);

    color: var(--primary);
}


.badge-success {
    background: #eaf8f2;

    color: var(--success);
}


.badge-warning {
    background: #fff7e8;

    color: #b46c0c;
}


.badge-danger {
    background: #fff1f1;

    color: var(--danger);
}


.badge-secondary {
    background: #eef2f5;

    color: #607482;
}


/* =========================================================
   TABLE
========================================================= */

.table-wrapper {
    width: 100%;

    overflow-x: auto;

    background: var(--white);

    border:
        1px solid var(--border);

    border-radius: 12px;
}


.table {
    width: 100%;

    border-collapse: collapse;

    min-width: 700px;
}


.table th {
    background: #f7f9fc;

    color: #617482;

    font-size: 10px;

    font-weight: 800;

    text-align: left;

    padding: 13px 15px;

    border-bottom:
        1px solid var(--border);
}


.table td {
    color: var(--text);

    font-size: 10px;

    padding: 13px 15px;

    border-bottom:
        1px solid #edf1f4;
}


.table tr:last-child td {
    border-bottom: none;
}


.table tr:hover td {
    background: #fbfdff;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--secondary);

    color:
        rgba(255,255,255,0.75);

    padding: 55px 0 20px;
}


.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr
        1fr;

    gap: 35px;

    padding-bottom: 35px;
}


.footer-column h3 {
    color: var(--white);

    font-size: 13px;

    margin-bottom: 15px;
}


.footer-column p {
    color:
        rgba(255,255,255,0.58);

    font-size: 11px;

    line-height: 1.8;
}


.footer-column a {
    display: block;

    color:
        rgba(255,255,255,0.62);

    font-size: 10px;

    margin-bottom: 8px;

    transition: var(--transition);
}


.footer-column a:hover {
    color: #5dc9ff;

    padding-left: 3px;
}


.footer-bottom {
    padding-top: 18px;

    border-top:
        1px solid
        rgba(255,255,255,0.09);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    font-size: 9px;
}


/* =========================================================
   LOADING
========================================================= */

.loading {
    width: 25px;
    height: 25px;

    border:
        3px solid
        rgba(8,120,232,0.15);

    border-top-color:
        var(--primary);

    border-radius: 50%;

    animation:
        spin 0.8s linear infinite;
}


@keyframes spin {

    to {
        transform:
            rotate(360deg);
    }

}


/* =========================================================
   SCROLL TO TOP
========================================================= */

.scroll-top {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: var(--shadow-md);

    z-index: 500;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(10px);

    transition: var(--transition);
}


.scroll-top.show {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* =========================================================
   UTILITY CLASSES
========================================================= */

.text-center {
    text-align: center;
}


.text-left {
    text-align: left;
}


.text-right {
    text-align: right;
}


.text-primary {
    color: var(--primary);
}


.text-success {
    color: var(--success);
}


.text-danger {
    color: var(--danger);
}


.text-muted {
    color: var(--text-light);
}


.bg-white {
    background: var(--white);
}


.bg-primary {
    background: var(--primary);
}


.bg-light {
    background: var(--background);
}


.d-none {
    display: none !important;
}


.d-block {
    display: block !important;
}


.flex {
    display: flex;
}


.items-center {
    align-items: center;
}


.justify-between {
    justify-content: space-between;
}


.gap-10 {
    gap: 10px;
}


.gap-20 {
    gap: 20px;
}


.mt-10 {
    margin-top: 10px;
}


.mt-20 {
    margin-top: 20px;
}


.mb-10 {
    margin-bottom: 10px;
}


.mb-20 {
    margin-bottom: 20px;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 15px;
    }


    .main-nav a {
        font-size: 11px;
    }


    .services-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 760px) {

    .top-bar {
        display: none;
    }


    .header-inner {
        min-height: 68px;
    }


    .main-nav {
        position: absolute;

        left: 0;
        right: 0;

        top: 68px;

        background: var(--white);

        border-top:
            1px solid var(--border);

        border-bottom:
            1px solid var(--border);

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 20px;

        box-shadow: var(--shadow-md);
    }


    .main-nav.open {
        display: flex;
    }


    .main-nav a {
        padding: 12px 5px;

        border-bottom:
            1px solid #f0f3f6;
    }


    .main-nav a::after {
        display: none;
    }


    .mobile-menu-btn {
        display: flex;
    }


    .header-actions .btn-outline {
        display: none;
    }


    .hero {
        min-height: 560px;
    }


    .hero h1 {
        font-size: 38px;
    }


    .hero p {
        font-size: 14px;
    }


    .section {
        padding: 55px 0;
    }


    .services-grid {
        grid-template-columns: 1fr;
    }


    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .form-row {
        grid-template-columns: 1fr;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }


    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }


    .header-actions {
        gap: 5px;
    }


    .header-actions .btn-primary {
        padding:
            9px 11px;

        font-size: 10px;
    }


    .logo-text strong {
        font-size: 16px;
    }


    .logo-icon {
        width: 38px;
        height: 38px;
    }


    .hero h1 {
        font-size: 32px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .hero-buttons .btn {
        width: 100%;
    }


    .stats-grid {
        grid-template-columns: 1fr;
    }


    .stat-box strong {
        font-size: 30px;
    }

}