/* =========================================
   GLOBAL STYLES & TYPOGRAPHY
   ========================================= */
body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Montserrat', sans-serif; 
    color: #ffffff; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    background: #001220 url('images/bg.jpg') center/cover fixed; 
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 30px 60px; 
}

.logo a { 
    display: block; 
}

.logo img { 
    height: 90px; 
    filter: brightness(0) saturate(100%) invert(53%) sepia(87%) saturate(1634%) hue-rotate(178deg) brightness(104%) contrast(101%); 
}

nav { 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    padding: 12px 40px; 
    border-radius: 40px; 
    backdrop-filter: blur(10px); 
}

nav ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    gap: 40px; 
}

nav a { 
    text-decoration: none; 
    color: #b3d4ff; 
    font-size: 13px; 
    font-weight: 500; 
    letter-spacing: 1px; 
    transition: 0.3s; 
}

nav a:hover { 
    color: #00a8ff; 
}

/* =========================================
   HERO / HOME PAGE SECTION
   ========================================= */
.hero {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide p {
    font-size: 1.1rem;
    color: #b3d4ff;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #00a8ff;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    background: transparent;
    transition: 0.3s;
}

.btn:hover {
    background: rgba(0, 168, 255, 0.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
    margin-top: 50px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4a6685;
    cursor: pointer;
}

.dot.active {
    background: #00a8ff;
}

/* =========================================
   SERVICES PAGES & GRIDS
   ========================================= */
.sales-services {
    padding: 80px 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.sales-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* =========================================
   LEGAL / DOCUMENT PAGES (Privacy, Terms)
   ========================================= */
.page-header { 
    text-align: center; 
    padding: 60px 20px 20px; 
}

.page-header h1 { 
    font-size: 3rem; 
    margin: 0; 
    font-weight: 700; 
    color: #fff; 
}

.document-container { 
    max-width: 900px; 
    margin: 40px auto 80px; 
    padding: 50px; 
    background: rgba(0, 12, 25, 0.75); 
    border: 1px solid rgba(0, 168, 255, 0.2); 
    border-radius: 15px; 
    backdrop-filter: blur(15px); 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); 
}

.legal-content h2 { 
    color: #00a8ff; 
    font-size: 1.5rem; 
    margin-top: 40px; 
    margin-bottom: 15px; 
    border-bottom: 1px solid rgba(0, 168, 255, 0.2); 
    padding-bottom: 10px; 
}

.legal-content h2:first-child { 
    margin-top: 0; 
}

.legal-content p, .legal-content li { 
    color: #b3d4ff; 
    font-size: 1.05rem; 
    line-height: 1.8; 
    margin-bottom: 20px; 
}

.legal-content ul { 
    margin-bottom: 20px; 
    padding-left: 20px; 
}

.legal-content a { 
    color: #00a8ff; 
    text-decoration: none; 
}

.legal-content a:hover { 
    text-decoration: underline; 
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.site-footer { 
    background: rgba(0, 8, 15, 0.85); 
    border-top: 1px solid rgba(0, 168, 255, 0.2); 
    padding: 60px 80px 20px; 
    margin-top: auto; 
}

.footer-top { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 40px; 
}

.footer-logo img { 
    height: 55px; 
    margin-bottom: 20px; 
    filter: brightness(0) saturate(100%) invert(53%) sepia(87%) saturate(1634%) hue-rotate(178deg) brightness(104%) contrast(101%); 
}

.footer-col p { 
    color: #b3d4ff; 
    line-height: 1.7; 
    font-size: 0.95rem; 
    margin: 0; 
}

.footer-col h4 { 
    color: #fff; 
    font-size: 1.1rem; 
    margin: 0 0 20px; 
    padding-bottom: 10px; 
    border-bottom: 2px solid #00a8ff; 
    display: inline-block; 
}

.footer-bottom { 
    border-top: 1px solid rgba(255,255,255,0.08); 
    padding-top: 25px; 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.85rem; 
    color: #88a4c4; 
}

.footer-links { 
    display: flex; 
    gap: 15px; 
    align-items: center; 
}

.footer-links a { 
    color: #88a4c4; 
    text-decoration: none; 
    transition: color 0.3s; 
} 

.footer-links a:hover { 
    color: #00a8ff; 
}

.footer-divider { 
    color: #4a6685; 
}

/* =========================================
   MOBILE RESPONSIVENESS (MEDIA QUERIES)
   ========================================= */

/* --- TABLET LAYOUT --- */
@media (max-width: 1024px) {
    .sales-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 40px 20px; }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .document-container { margin: 40px 20px; padding: 30px; }
}

/* --- MOBILE PHONE LAYOUT --- */
@media (max-width: 768px) {
    /* Header & Nav - Tighter Spacing */
    header { flex-direction: column; padding: 15px; gap: 10px; }
    .logo img { height: 65px; max-width: 100%; object-fit: contain; }
    nav { width: 100%; box-sizing: border-box; padding: 10px; }
    nav ul { gap: 10px; justify-content: center; flex-wrap: wrap; }
    nav a { font-size: 11px; }

    /* Hero Section - Fixing Distance & Scaling */
    .hero { padding: 20px 10px; min-height: auto; text-align: center; overflow-x: hidden; }
    .slide h1 { font-size: 1.8rem; margin-top: 15px; }
    .slide p { font-size: 0.95rem; margin-bottom: 20px; padding: 0 10px; max-width: 100%; margin-left: auto; margin-right: auto; }
    .btn { margin: 0 auto; }
    .slider-dots { justify-content: center; margin-top: 20px; }

    /* Document Pages (Privacy, Terms, About) */
    .page-header h1 { font-size: 2.2rem; }
    .document-container { margin: 20px 15px; padding: 20px; }

    /* Sales & Services - Reduced Padding */
    .sales-services { padding: 40px 15px; }
    .section-header h2 { font-size: 1.8rem; margin-bottom: 25px; }
    .sales-grid { grid-template-columns: 1fr; gap: 15px; } 
    
    /* Footer - Tighter Spacing */
    .site-footer { padding: 40px 15px 20px 15px; text-align: center; }
    .footer-top { grid-template-columns: 1fr; gap: 25px; margin-bottom: 20px; }
    .footer-logo img { margin: 0 auto 15px auto; height: 45px; }
    .footer-col h4 { margin-bottom: 10px; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); } 
    .footer-bottom { flex-direction: column; gap: 15px; padding-top: 15px; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
}