/* --- TYPOGRAPHY: MANROPE & NOTO SANS SC (BILINGUAL) --- */

/* 1. Set the main text (including form inputs) */
body, p, li, input, select, textarea {
    font-family: 'Manrope', 'Noto Sans SC', sans-serif;
    font-weight: 400;
}

/* 2. Set headings to ExtraBold */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', 'Noto Sans SC', sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px; 
}

/* 3. Make navigation and buttons bold and clear */
button, .btn, .button, input[type="submit"], nav a, header a {
    font-family: 'Manrope', 'Noto Sans SC', sans-serif;
    font-weight: 700;
}

/* Optional subheadings and form hints */
.subheading, .subtitle, .hint {
    font-weight: 500;
}

/* --- CSS RESET & SMOOTH SCROLL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Old font removed from here so Manrope flows perfectly */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa;
    color: #333;
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 999;
    background: transparent;
}

.nav-logo {
    max-height: 40px; 
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px; 
    align-items: center;
}

.nav-links a, .nav-links span {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: nowrap; 
}

.nav-links a:hover {
    color: #ff6b00; 
}

.nav-links .nav-cta {
    background-color: #ff6b00;
    padding: 10px 18px; 
    border-radius: 4px;
    white-space: nowrap;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; 
    background-color: #111; 
}

/* --- ANIMATED SLIDESHOW (KEN BURNS EFFECT) --- */
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: #111; 
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    animation: fadeZoom 18s linear infinite; 
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }

@keyframes fadeZoom {
    0% { opacity: 0; transform: scale(1); }
    11.11% { opacity: 1; }
    33.33% { opacity: 1; }
    44.44% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.15); }
}

/* --- OVERLAYS & HERO CONTENT --- */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.477);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 20px;
    max-width: 800px;
    margin-top: 20vh; 
}

h1 {
    font-size: 4rem; 
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
    line-height: 1.6;
}

.contact-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ff6b00; 
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.contact-btn:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
}

/* --- PARTNER BADGE --- */
.partner-badge {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.partner-text {
    color: #333; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px;
    text-align: right; line-height: 1.2;
}

.partner-logo {
    height: 45px; width: auto;
}

/* --- QUOTE FORM SECTION --- */
.quote-section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem; color: #111; margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem; color: #666; max-width: 700px; margin: 0 auto;
}

/* NEW CLEAN WARNING BOX (No more yellow) */
.warning-box {
    background-color: #fcfcfc; 
    color: #444;
    padding: 18px 20px; 
    border: 1px solid #eee;
    border-left: 5px solid #ff6b00; /* Cargo orange accent */
    margin-bottom: 40px; /* Much bigger gap so it doesn't touch the text below */
    border-radius: 4px; 
}

.quote-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    grid-column: span 2;
}

label {
    font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; color: #444;
}

.hint {
    font-size: 0.8rem; color: #777; margin-left: 5px;
}

input[type="text"], input[type="email"], input[type="date"], select, textarea, input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none; border-color: #ff6b00;
}

textarea { resize: vertical; min-height: 100px; }

.file-upload-box {
    border: 2px dashed #ccc;
    padding: 20px; text-align: center; background: #fafafa; border-radius: 4px;
}

.submit-btn {
    background-color: #ff6b00; color: #fff; border: none;
    padding: 18px; font-size: 1.2rem; text-transform: uppercase;
    border-radius: 4px; cursor: pointer; transition: 0.3s; width: 100%;
    margin-top: 20px;
}

.submit-btn:hover { background-color: #e65c00; }

/* --- TEMPLATE DOWNLOAD LINK --- */
.template-link {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0056b3; /* Professional blue to indicate a safe download */
    text-decoration: none;
    background-color: #eaf4ff;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #b8daff;
    transition: all 0.3s ease;
}

.template-link:hover {
    background-color: #cce5ff;
    color: #004085;
}

/* --- CONTACT DETAILS SECTION --- */
.contact-section {
    padding: 60px 20px 80px;
    background-color: #eaeef1; 
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    color: #ff6b00; 
    margin-bottom: 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card p, .contact-card a {
    color: #555;
    text-decoration: none;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-card a:hover {
    color: #ff6b00;
}

/* --- MINI HERO FOR SUBPAGES --- */
.mini-hero {
    position: relative;
    height: 45vh; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/images/hero/hero-bg-2.jpg'); 
    background-size: cover;
    background-position: center;
    background-color: #111;
}

.mini-hero h1 {
    margin-top: 60px; 
    font-size: 3.5rem;
}

/* --- FOOTER (RESTORED) --- */
.footer {
    background-color: #111; 
    color: #888; 
    text-align: center; 
    padding: 30px 20px; 
    font-size: 0.9rem;
    width: 100%;
    display: block;
}

.footer p {
    margin-bottom: 5px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .content { margin-top: 5vh; }
    
    .quote-form { 
        grid-template-columns: 1fr; 
        padding: 25px; 
    }
    .full-width { grid-column: span 1; }
    
    .partner-badge {
        bottom: 20px; right: 50%; transform: translateX(50%);
        width: 85%; justify-content: center;
    }
}