/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.6; color: #333; background-color: #fff; }

/* COLOR PALETTE */
:root {
    --kc-red: #B00020;
    --kc-dark: #222222;
    --kc-grey: #f4f4f4;
    --white: #ffffff;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 15px; }
a { text-decoration: none; transition: 0.3s; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.bg-light { background-color: var(--kc-grey); }
.bg-white { background-color: var(--white); }

/* HEADER */
header { background: var(--white); border-bottom: 3px solid var(--kc-red); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-flex { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { font-size: 1.8rem; font-weight: 800; color: var(--kc-dark); letter-spacing: -1px; }
.logo-red { color: var(--kc-red); }
nav a { color: var(--kc-dark); margin-left: 25px; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; }
nav a:hover { color: var(--kc-red); }
.btn-nav { background: var(--kc-red); color: var(--white); padding: 10px 20px; border-radius: 4px; }
.btn-nav:hover { background: #8a0018; color: var(--white); }
.mobile-toggle { display: none; font-size: 1.5rem; color: var(--kc-dark); }

/* HERO SLIDER SECTION */
.hero { 
    height: 600px; 
    position: relative;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    overflow: hidden; 
    background: #000;
}
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; }
.slide.active { opacity: 1; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2; }
.hero-content { position: relative; z-index: 3; color: var(--white); max-width: 800px; padding: 20px; }
.hero h1 { font-size: 3.5rem; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.hero-sub { font-size: 1.2rem; margin-bottom: 30px; }
.btn-primary { background: var(--kc-red); color: var(--white); padding: 15px 40px; font-weight: bold; text-transform: uppercase; border-radius: 4px; border: 2px solid var(--kc-red); }
.btn-primary:hover { background: transparent; color: var(--white); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.3); color: white; border: none; font-size: 1.5rem; padding: 15px; cursor: pointer; z-index: 4; transition: 0.3s; }
.slider-btn:hover { background: var(--kc-red); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* TRUST STRIP (UPDATED WITH LOGOS) */
.trust-strip { 
    background: var(--kc-dark); 
    color: var(--white); 
    padding: 15px 0; /* Slightly reduced padding for tighter look */
    border-bottom: 1px solid #444; 
}

.trust-strip .container { 
    display: flex; 
    justify-content: center; 
    gap: 50px; /* Space between the 3 main items */
    flex-wrap: wrap; 
    align-items: center; /* Ensures everything is vertically centered */
}

/* Individual Item Container */
.trust-item { 
    display: flex; 
    align-items: center; 
    font-weight: 700; 
    font-size: 1.1rem; /* Slightly larger text */
    letter-spacing: 0.5px;
}

/* The Logo Images */
.trust-item img { 
    height: 50px; /* Controls the size of the logo */
    width: auto;  /* Maintains aspect ratio */
    margin-right: 15px; /* Space between image and text */
    display: block;
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .trust-strip .container { gap: 20px; }
    .trust-item { width: 100%; justify-content: center; } /* Stack vertically on mobile */
}

/* ABOUT SECTION */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sub-heading { color: var(--kc-red); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px; }
.section-title { font-size: 2.2rem; color: var(--kc-dark); }
.text-content p { margin-bottom: 20px; color: #555; }
.red-list { list-style: none; margin-top: 20px; }
.red-list li { margin-bottom: 12px; font-weight: 600; color: #444; }
.red-list i { color: var(--kc-red); margin-right: 12px; }
.image-content img { width: 100%; border-radius: 4px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* SERVICES SECTION */
.center-head { text-align: center; margin-bottom: 50px; }
.red-line { width: 60px; height: 3px; background: var(--kc-red); margin: 0 auto; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-box { background: var(--white); padding: 40px 25px; text-align: center; border: 1px solid #e0e0e0; border-radius: 4px; transition: 0.3s; }
.service-box:hover { border-color: var(--kc-red); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.service-box i { font-size: 3rem; color: var(--kc-red); margin-bottom: 20px; }
.service-box h3 { font-size: 1.25rem; color: var(--kc-dark); }

/* CLIENTS SECTION (NEW) */
.clients-section { background-color: #000000; padding: 80px 0; }
.text-white { color: #ffffff !important; }
.text-grey { color: #999999; margin-bottom: 20px; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; align-items: center; margin-top: 40px; }
.client-logo { display: flex; justify-content: center; padding: 10px; }
/* Magic Filter: Turns colored logos into White */
.client-logo img { width: 100%; max-width: 150px; height: auto; filter: grayscale(100%) brightness(0) invert(100%); opacity: 0.8; transition: 0.3s; }
.client-logo img:hover { opacity: 1; transform: scale(1.05); }

/* CONTACT SECTION */
.contact-bg { background: #1a1a1a; color: var(--white); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-details h2 { color: var(--white); border-left: 4px solid var(--kc-red); padding-left: 15px; }
.info-item { display: flex; align-items: center; margin-bottom: 25px; margin-top: 25px; }
.info-item i { width: 40px; height: 40px; background: var(--kc-red); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-right: 15px; }
.contact-form-box { background: var(--white); padding: 30px; border-radius: 4px; color: var(--kc-dark); }
.contact-form-box h3 { color: var(--kc-red); margin-bottom: 20px; }
.contact-form-box input, .contact-form-box textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 4px; background: #f9f9f9; }
.btn-full { width: 100%; background: var(--kc-dark); color: var(--white); padding: 12px; border: none; font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-full:hover { background: var(--kc-red); }
.g-recaptcha { margin-bottom: 15px; transform: scale(0.9); transform-origin: 0 0; }

/* FOOTER */
footer { background: #111; color: #666; text-align: center; padding: 20px 0; font-size: 0.85rem; border-top: 1px solid #222; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .header-flex { padding: 15px 20px; }
    nav { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .slider-btn { display: none; } 
    .split-layout, .contact-wrapper { grid-template-columns: 1fr; }
    .image-content { order: -1; }
    .client-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .client-logo img { max-width: 120px; }
}