/* =========================================
   AC-Berlin Ausbau-Consulting UG
   Premium Corporate Style Sheet
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0D3B66;
    --secondary: #F4A261;
    --dark: #1D3557;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #555555;
    --border: #e9ecef;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: #fff;
    overflow-x: hidden;
}

/* =========================================
   GLOBAL
========================================= */

section {
    position: relative;
}

a {
    text-decoration: none;
    transition: .3s;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    margin-bottom: 15px;
}

.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #082b4b;
    border-color: #082b4b;
}

.btn-warning {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}

.btn-warning:hover {
    background: #e4893d;
    border-color: #e4893d;
    color: #fff;
}

/* =========================================
   TOP BAR
========================================= */

.top-bar {
    background: var(--dark);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar i {
    margin-right: 8px;
    color: var(--secondary);
}

/* =========================================
   NAVBAR
========================================= */

.custom-navbar {
    background: rgba(13, 59, 102, .95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: .4s;
}

.navbar-brand {
    color: #fff !important;
    font-size: 28px;
}

.nav-link {
    color: #fff !important;
    margin-left: 15px;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary) !important;
}

/* =========================================
   HERO
========================================= */

.hero {
    background: url('../images/hero.jpg') center center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-content h1 {
    font-size: 60px;
    color: #fff;
    margin-bottom: 25px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    max-width: 750px;
}

/* =========================================
   PAGE HEADER
========================================= */

.page-header {
    background: linear-gradient(rgba(13, 59, 102, .85),
            rgba(13, 59, 102, .85)),
        url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
}

.page-header h1 {
    color: #fff;
    font-size: 52px;
}

.page-header p {
    color: #eee;
    font-size: 18px;
}

/* =========================================
   ABOUT
========================================= */

.about-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* =========================================
   SERVICES
========================================= */

.services-section {
    background: #f9fbfd;
}

.service-card {
    background: #fff;
    padding: 35px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: .4s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 50px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h4 {
    margin-bottom: 15px;
}

/* =========================================
   FEATURE BOX
========================================= */

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
}

.feature-box i {
    font-size: 45px;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* =========================================
   COUNTER
========================================= */

.counter-section {
    background: var(--primary);
    padding: 80px 0;
    color: #fff;
}

.counter-section h2 {
    color: #fff;
    font-size: 50px;
    font-weight: 800;
}

.counter-section p {
    margin: 0;
    color: #ddd;
}

/* =========================================
   TESTIMONIALS
========================================= */

.testimonial-section {
    background: #f8f9fa;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.testimonial-card h6 {
    margin-top: 20px;
    color: var(--primary);
}

/* =========================================
   CONTACT
========================================= */

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-box {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.contact-box i {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    font-size: 22px;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-control {
    padding: 15px;
    border-radius: 10px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

/* =========================================
   LEGAL PAGES
========================================= */

.legal-content {
    background: #fff;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary);
}

.legal-content h3 {
    margin-top: 25px;
    color: var(--dark);
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* =========================================
   CTA
========================================= */

.cta-section {
    background: linear-gradient(135deg,
            var(--primary),
            var(--dark));
    color: #fff;
    text-align: center;
    padding: 90px 0;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    color: #ddd;
    margin-bottom: 30px;
}

/* =========================================
   FOOTER
========================================= */

footer {
    background: #0a1f35;
    color: #ddd;
    padding: 70px 0 20px;
}

footer h4,
footer h5 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: var(--secondary);
}

footer hr {
    border-color: rgba(255, 255, 255, .1);
    margin: 40px 0 20px;
}

footer a {
    color: #ddd;
    text-decoration: none;
}

footer a:hover {
    color: #F4A261;
}

footer .fa-map-marker-alt,
footer .fa-envelope {
    color: #F4A261;
}

/* =========================================
   IMAGE EFFECTS
========================================= */

img {
    transition: .4s;
}

img:hover {
    transform: scale(1.02);
}

/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #eee;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:991px) {

    .hero-content h1 {
        font-size: 42px;
    }

    .page-header h1 {
        font-size: 38px;
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

}

@media(max-width:768px) {

    .top-bar {
        text-align: center;
    }

    .top-bar .text-end {
        text-align: center !important;
        margin-top: 5px;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .page-header {
        padding: 90px 0;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .counter-section h2 {
        font-size: 36px;
        margin-top: 20px;
    }

    .contact-box {
        flex-direction: column;
    }

    .legal-content {
        padding: 25px;
    }

}

@media(max-width:576px) {

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

}