/* =====================================================
   KGUSIAME COMPLIANCE - RANGE ROVER EDITION
   Ultra-premium, razor-sharp, absolutely zero wasted space
   Modern typography, sleek design, pure luxury
   ===================================================== */

/* =====================================================
   MODERN NAVIGATION - PERFECT (KEEPING AS-IS)
   ===================================================== */

.nav {
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 61, 92, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: auto !important;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-img {
    height: 86px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
}

.logo-text,
.logo-accent {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    padding: 8px 16px !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #1a3d5c !important;
    border-radius: 6px;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(26, 61, 92, 0.06);
    color: #1a3d5c !important;
}

.nav-btn {
    padding: 10px 20px !important;
    margin: 0 0 0 8px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    background: #1a3d5c !important;
    color: white !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    line-height: 1 !important;
    border: none !important;
}

.nav-btn:hover {
    background: #0f2438 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 61, 92, 0.25);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a3d5c;
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 968px) {
    .nav-container {
        padding: 10px 20px !important;
    }
    
    .logo-img {
        height: 70px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: -2px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px !important;
    }
    
    .nav-btn {
        width: 100%;
        margin: 8px 0 0 0 !important;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 8px 16px !important;
    }
    
    .logo-img {
        height: 56px;
    }
}

/* =====================================================
   RAZOR-SHARP FOOTER - RANGE ROVER STYLE
   ===================================================== */

.footer {
    background: linear-gradient(135deg, #0f2438 0%, #1a3d5c 100%);
    color: white;
    padding: 36px 24px 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer .container {
    max-width: 1400px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem !important;
    margin-bottom: 24px !important;
    align-items: start;
}

.footer-logo {
    margin-bottom: 10px !important;
}

.footer-logo-img {
    height: 58px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
}

.footer-title {
    display: none;
}

.footer-text {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 !important;
    max-width: 300px;
}

.footer-heading {
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px !important;
    color: white;
    opacity: 0.85;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links li {
    margin: 0 !important;
    line-height: 1 !important;
}

.footer-links a {
    font-size: 0.8125rem !important;
    line-height: 1.25 !important;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #d4a574;
    transform: translateX(2px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    margin: 0 !important;
    line-height: 1 !important;
}

.footer-contact strong {
    display: block;
    font-size: 0.6875rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3px !important;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem !important;
    line-height: 1.25 !important;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-contact a:hover {
    color: #d4a574;
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px !important;
    margin-top: 24px !important;
}

.footer-bottom p {
    text-align: center;
    font-size: 0.75rem !important;
    line-height: 1 !important;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 !important;
}

@media (max-width: 968px) {
    .footer {
        padding: 32px 20px 18px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem !important;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 28px 16px 16px !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem !important;
    }
    
    .footer-logo-img {
        height: 48px;
    }
}

/* =====================================================
   PREMIUM TYPOGRAPHY - RANGE ROVER HEADINGS
   ===================================================== */

/* Page Headers - Ultra Premium */
.page-header {
    padding: 110px 24px 50px !important;
    background: linear-gradient(180deg, rgba(26, 61, 92, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.page-title {
    font-family: 'Crimson Pro', serif !important;
    font-size: 3.5rem !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    color: #0f2438 !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.0625rem !important;
    line-height: 1.45 !important;
    color: #4a5568 !important;
    max-width: 700px;
    margin: 0 auto !important;
    font-weight: 400;
}

/* Section Headers */
.section-header {
    margin-bottom: 40px !important;
    text-align: center;
}

.section-title {
    font-family: 'Crimson Pro', serif !important;
    font-size: 2.75rem !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    color: #0f2438 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1rem !important;
    line-height: 1.45 !important;
    color: #4a5568 !important;
    margin: 0 !important;
    font-weight: 400;
}

/* H2 Headings */
h2, .h2 {
    font-family: 'Crimson Pro', serif !important;
    font-size: 2.25rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: #0f2438 !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: -0.01em;
}

/* H3 Headings */
h3, .h3 {
    font-family: 'Crimson Pro', serif !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #1a3d5c !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.005em;
}

/* H4 Headings */
h4, .h4 {
    font-family: 'Work Sans', sans-serif !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #1a3d5c !important;
    margin: 0 0 8px 0 !important;
}

/* Body Text */
p {
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    color: #4a5568 !important;
    margin: 0 0 16px 0 !important;
}

/* Responsive Typography */
@media (max-width: 968px) {
    .page-title {
        font-size: 2.75rem !important;
    }
    
    .section-title {
        font-size: 2.25rem !important;
    }
    
    h2, .h2 {
        font-size: 2rem !important;
    }
    
    h3, .h3 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 640px) {
    .page-title {
        font-size: 2.25rem !important;
    }
    
    .section-title {
        font-size: 1.875rem !important;
    }
    
    h2, .h2 {
        font-size: 1.625rem !important;
    }
    
    h3, .h3 {
        font-size: 1.375rem !important;
    }
}

/* =====================================================
   ULTRA-TIGHT SECTIONS
   ===================================================== */

section {
    padding: 50px 24px !important;
}

.container {
    max-width: 1400px;
    padding-left: 24px;
    padding-right: 24px;
}

/* Specific section adjustments */
.hero-section {
    padding: 80px 24px 60px !important;
}

.services-section,
.about-section,
.contact-section {
    padding: 50px 24px !important;
}

.cta-section {
    padding: 60px 24px !important;
}

@media (max-width: 968px) {
    .page-header {
        padding: 90px 20px 40px !important;
    }
    
    section {
        padding: 40px 20px !important;
    }
    
    .hero-section {
        padding: 60px 20px 50px !important;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 80px 16px 36px !important;
    }
    
    section {
        padding: 36px 16px !important;
    }
    
    .hero-section {
        padding: 50px 16px 40px !important;
    }
}

/* =====================================================
   WHATSAPP BUTTON - PREMIUM
   ===================================================== */

.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

/* =====================================================
   COOKIE CONSENT - SLEEK
   ===================================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0f2438 0%, #1a3d5c 100%);
    color: white;
    padding: 14px 24px;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-text strong {
    font-size: 0.875rem;
    color: white;
    display: inline;
    margin-right: 6px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 9px 22px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    white-space: nowrap;
}

.cookie-accept {
    background: #10b981;
    color: white;
}

.cookie-accept:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cookie-reject {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.cookie-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* =====================================================
   CONTACT PAGE SIDEBAR - PREMIUM
   ===================================================== */

.contact-info-sidebar .contact-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    background: linear-gradient(135deg, #2d5a85 0%, #1a3d5c 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-sidebar .contact-icon svg {
    width: 22px !important;
    height: 22px !important;
    color: white;
    stroke: white;
}

.contact-method {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    margin: 0 0 4px 0;
    color: var(--primary);
    font-size: 0.9375rem;
    font-weight: 600;
}

.contact-details a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

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

.contact-card {
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 14px;
    border: 1px solid rgba(26, 61, 92, 0.08);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.125rem;
}

.contact-card p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.response-time {
    background: linear-gradient(135deg, #2d5a85 0%, #1a3d5c 100%);
    color: white;
}

.response-time h4,
.response-time p {
    color: white;
}

/* =====================================================
   SMOOTH SCROLLING & FINAL TOUCHES
   ===================================================== */

html {
    scroll-behavior: smooth;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove ALL excessive spacing globally */
.mission-section,
.values-section,
.stats-section,
.how-we-work,
.services-overview,
.why-choose-services,
.news-section {
    padding: 50px 24px !important;
}

/* Card spacing */
.service-card,
.value-card,
.benefit-card,
.process-step {
    margin-bottom: 20px !important;
}

/* Grid gaps */
.services-grid,
.values-grid,
.benefits-grid,
.process-grid {
    gap: 1.5rem !important;
}

/* =====================================================
   CONTRAST FIXES - WHITE TEXT ON DARK BACKGROUNDS
   ===================================================== */

/* Fix contact card backgrounds with proper contrast */
.contact-card.response-time,
.response-time {
    background: linear-gradient(135deg, #2d5a85 0%, #1a3d5c 100%) !important;
    color: white !important;
}

.response-time h4,
.response-time p,
.response-time strong {
    color: white !important;
}

/* Fix any blue text on blue backgrounds */
.contact-card h4 {
    color: #1a3d5c !important;
}

/* Ensure white text on dark blue cards */
.contact-card.response-time h4,
.contact-card.response-time p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Fix emoji icons on dark backgrounds */
.contact-card.response-time::before {
    filter: brightness(0) invert(1);
}

/* Specific fix for "Fast Response" and "Free Consultation" cards */
.contact-info-sidebar .contact-card:nth-child(2) {
    background: linear-gradient(135deg, #2d5a85 0%, #1a3d5c 100%) !important;
}

.contact-info-sidebar .contact-card:nth-child(2) h4,
.contact-info-sidebar .contact-card:nth-child(2) p {
    color: white !important;
}

.contact-info-sidebar .contact-card:nth-child(3) {
    background: white !important;
    border: 1px solid rgba(26, 61, 92, 0.08) !important;
}

.contact-info-sidebar .contact-card:nth-child(3) h4 {
    color: #1a3d5c !important;
}

.contact-info-sidebar .contact-card:nth-child(3) p {
    color: #4a5568 !important;
}

/* Fix footer text contrast */
.footer-col h4,
.footer-heading {
    color: rgba(255, 255, 255, 0.95) !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer-links a:hover {
    color: #d4a574 !important;
}

.footer-contact strong {
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Dark background cards should always have white text */
[style*="background: linear-gradient(135deg, #2d5a85"],
[style*="background: linear-gradient(135deg, #1a3d5c"] {
    color: white !important;
}

[style*="background: linear-gradient(135deg, #2d5a85"] h4,
[style*="background: linear-gradient(135deg, #1a3d5c"] h4,
[style*="background: linear-gradient(135deg, #2d5a85"] p,
[style*="background: linear-gradient(135deg, #1a3d5c"] p {
    color: white !important;
}

/* Ensure emoji/icons stay visible on dark backgrounds */
.contact-card h4::before {
    opacity: 1 !important;
}

