/* * KINGS ESCORT - PREMIUM CORPORATE THEME (UPDATED V2)
 * Fixes: Director Image Size, Hero Text Visibility
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary: #0F2B46; /* Deep Corporate Blue */
    --primary-dark: #081a2b;
    --secondary: #1A4D2E; /* Security Green */
    --accent: #C5A059; /* Gold */
    --accent-light: #e0be75;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --white: #ffffff;
    --off-white: #f4f7f6;
    --border: #e1e1e1;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); line-height: 1.7; background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; color: var(--primary); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* UTILITY BAR */
.top-bar { background: var(--primary-dark); color: rgba(255,255,255,0.8); padding: 10px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-contact span { margin-right: 25px; display: inline-flex; align-items: center; gap: 8px; }
.top-contact i { color: var(--accent); }

/* HEADER & NAVIGATION */
header { background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; transition: 0.3s; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 90px; }
/* UPDATED LOGO STYLES FOR IMAGE */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 60px; width: auto; transition: transform 0.3s; }
.logo:hover img { transform: scale(1.05); } 
/* Removed old text logo styles (.logo i, .logo span) as they are replaced by image */

.nav-links { display: flex; gap: 35px; }
.nav-links a { font-weight: 600; color: var(--primary); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; position: relative; padding: 5px 0; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background: var(--accent); transition: 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.hamburger { display: none; cursor: pointer; font-size: 24px; color: var(--primary); }

/* HERO SECTION - FIXED TEXT COLOR */
.hero { position: relative; height: 90vh; min-height: 600px; overflow: hidden; background: #000; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; background-size: cover; background-position: center; transform: scale(1.1); transition: transform 6s ease, opacity 1.5s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }

/* Darker overlay to ensure text pops */
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(8, 26, 43, 0.85) 0%, rgba(15, 43, 70, 0.6) 100%); display: flex; align-items: center; }

.hero-content { position: relative; z-index: 2; max-width: 800px; padding-left: 20px; }
.hero-badge { display: inline-block; background: rgba(197, 160, 89, 0.2); border: 1px solid var(--accent); color: var(--accent); padding: 5px 15px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 25px; border-radius: 50px; backdrop-filter: blur(5px); box-shadow: 0 0 10px rgba(0,0,0,0.5); }

/* Forced White Text with Shadow */
.hero h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 25px; font-weight: 800; color: #ffffff !important; text-shadow: 0 4px 20px rgba(0,0,0,0.6); }
.hero p { font-size: 1.25rem; margin-bottom: 40px; opacity: 1; font-weight: 400; color: #f0f0f0 !important; max-width: 650px; border-left: 4px solid var(--accent); padding-left: 25px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }

/* BUTTONS */
.btn { display: inline-block; padding: 16px 40px; border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: 2px solid transparent; cursor: pointer; font-size: 0.9rem; transition: all 0.3s; }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(197, 160, 89, 0.6); }
.btn-outline { border-color: #ffffff; color: #ffffff; background: rgba(255,255,255,0.1); margin-left: 15px; backdrop-filter: blur(5px); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

/* TRUST STRIP - FIXED LAYOUT */
.trust-strip { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--border); position: relative; z-index: 20; box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin-top: -60px; border-radius: 8px 8px 0 0; }
.trust-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 15px; flex: 1; min-width: 200px; justify-content: center; }
.trust-item i { font-size: 32px; color: var(--secondary); background: rgba(26, 77, 46, 0.1); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; }
.trust-item:hover i { background: var(--secondary); color: var(--white); transform: rotateY(360deg); }
.trust-text h4 { font-size: 15px; margin-bottom: 2px; color: var(--primary); }
.trust-text p { font-size: 13px; color: var(--text-light); margin: 0; }

/* USP / RECOGNITION SECTION - FIXED & RESIZED */
.usp-section { 
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: center;
    background: #fff; 
    padding: 80px 20px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.usp-image-col { 
    flex: 0 1 400px; /* Don't grow beyond 400px */
    min-width: 300px; 
    margin-right: 60px; 
    position: relative;
    text-align: center;
}

/* Image Control: Constrained & Framed */
.usp-image-col img { 
    width: 100%; 
    max-width: 380px; /* LIMIT WIDTH HERE */
    height: auto; 
    border-radius: 12px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
    border: 5px solid #fff; /* Card effect */
} 

.usp-content { 
    flex: 1; 
    min-width: 350px; 
    padding: 20px 0;
}

.usp-badge { display: inline-flex; align-items: center; gap: 10px; background: #fdf8e8; color: #8a6d1c; padding: 8px 20px; border-radius: 50px; font-weight: 600; margin-bottom: 25px; border: 1px solid #e6cf93; font-size: 0.9rem; }

/* ANIMATION CLASSES */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 1s ease; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 1s ease; }
.reveal-right.active { opacity: 1; transform: translateX(0); }

/* SECTIONS */
section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header .sub-title { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; position: relative; display: inline-block; }
.section-header h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--accent); margin: 15px auto 0; transition: width 0.3s; }
.section-header:hover h2::after { width: 100px; }
.bg-light { background: var(--off-white); }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-box { background: var(--white); padding: 40px 30px; border: 1px solid var(--border); border-radius: 8px; transition: 0.3s; position: relative; overflow: hidden; height: 100%; }
.service-box::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); transition: 0.3s; }
.service-box:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.service-box:hover::before { width: 100%; opacity: 0.05; }
.service-icon { font-size: 40px; color: var(--primary); margin-bottom: 25px; transition: 0.3s; }
.service-box:hover .service-icon { color: var(--accent); transform: scale(1.1) rotate(5deg); }
.service-box h3 { font-size: 1.4rem; margin-bottom: 15px; }
.service-link { margin-top: 20px; display: inline-block; color: var(--secondary); font-weight: 700; font-size: 0.9rem; position: relative; }
.service-link::after { content: '→'; margin-left: 5px; transition: 0.3s; }
.service-link:hover::after { margin-left: 10px; }

/* STATS */
.stats-section { background: url('https://placehold.co/1920x600/0F2B46/000?text=Map+Overlay') center/cover fixed; position: relative; color: var(--white); }
.stats-overlay { background: rgba(15, 43, 70, 0.9); position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.stats-grid { display: flex; justify-content: space-between; position: relative; z-index: 2; text-align: center; flex-wrap: wrap; gap: 40px; }
.stat-item h2 { font-size: 4rem; color: var(--accent); margin-bottom: 5px; font-weight: 800; }
.stat-item p { font-size: 1.1rem; opacity: 0.8; font-weight: 600; letter-spacing: 1px; }

/* CLIENTS MARQUEE */
.clients-marquee { overflow: hidden; background: var(--white); padding: 50px 0; border-top: 1px solid var(--border); }
.marquee-content { display: flex; gap: 80px; animation: scroll 30s linear infinite; width: max-content; }
.client-logo-box { height: 60px; display: flex; align-items: center; opacity: 0.5; transition: 0.3s; filter: grayscale(100%); }
.client-logo-box:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.05); }
.client-logo-box h3 { font-size: 1.5rem; color: #aaa; margin: 0; }
.client-logo-box:hover h3 { color: var(--primary); }

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* FOOTER */
footer { background: #0b1e33; color: #aab2bd; padding: 80px 0 30px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 1.1rem; letter-spacing: 1px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-contact li { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 5px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.05); text-align: center; padding-top: 30px; font-size: 0.85rem; }
.wa-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 999; transition: transform 0.3s; }
.wa-float:hover { transform: scale(1.1) rotate(10deg); }

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .nav-links { display: none; } 
    .hamburger { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .trust-strip { margin-top: 0; border-radius: 0; }
    
    /* Mobile Director Section */
    .usp-section { flex-direction: column; text-align: center; padding: 50px 20px; }
    .usp-image-col { margin-right: 0; margin-bottom: 30px; flex: auto; width: 100%; }
    .usp-image-col img { max-width: 300px; /* Even smaller on mobile */ }
    .usp-content { padding: 0; text-align: center; }
    .usp-badge { margin: 0 auto 20px auto; } 
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .stats-grid { flex-direction: column; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links { position: fixed; top: 90px; left: -100%; width: 100%; height: calc(100vh - 90px); background: var(--white); flex-direction: column; align-items: center; padding-top: 50px; transition: 0.3s; }
    .nav-links.active { left: 0; display: flex; }
}