/* Basic Reset & Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { line-height: 1.6; color: #333; background-color: #f4f4f4; display: flex; flex-direction: column; min-height: 100vh; }
a { text-decoration: none; color: inherit; }

/* --- IMAGE PROTECTION CSS --- */
img { -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; user-drag: none; -webkit-touch-callout: none; user-select: none; }

/* Navigation Bar */
header { background: #121622; color: #fff; position: sticky; top: 0; z-index: 100; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 15px 20px; }
.logo-container { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.header-logo { height: 65px; width: auto; }

.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: #fff; }

nav { margin-left: auto; }
nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; align-items: center; }
nav ul li { position: relative; }
nav ul li > a { font-size: 1.05rem; transition: color 0.3s ease; display: block; padding: 10px 0; font-variant: small-caps; }
nav ul li > a:hover { color: #f39c12; }

/* Dropdown Styles Desktop */
.dropdown-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background-color: #121622; 
    min-width: 260px; 
    box-shadow: 0 8px 16px rgba(0,0,0,0.5); 
    z-index: 1000; 
    border-radius: 4px; 
    padding: 0 0 10px 0; 
}

.dropdown-menu li { width: 100%; }
.dropdown-menu li a { padding: 12px 20px; font-size: 0.95rem; color: #fff; display: block; transition: background-color 0.3s, padding-left 0.3s; border-bottom: 1px solid rgba(255,255,255,0.05); font-variant: small-caps; }
.dropdown-menu li a:hover { background-color: #f39c12; color: #121622; padding-left: 25px; }

@media (min-width: 769px) {
    nav ul li:hover .dropdown-menu { display: block; }
    .dropdown-toggle i { display: none !important; }
}

/* Hero Section */
.hero { position: relative; height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: white; overflow: hidden; }
.hero video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -1; transform: translateX(-50%) translateY(-50%) scale(1.02); object-fit: cover; border: none; outline: none; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 0; }

.hero-content { 
    position: relative; 
    z-index: 1; 
    max-width: 800px; 
    padding: 10px; 
    margin-top: -10vh; 
}
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; color: #f39c12; text-transform: uppercase; letter-spacing: 2px;}
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; }

/* General Section Formatting */
section { padding: 2.5rem 5%; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 1.5rem; color: #121622; text-transform: uppercase; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: #f39c12; margin: 10px auto 0; }

section[id], .theme-wrapper[id] { scroll-margin-top: 96px; }

@media (max-width: 768px) {
    section[id], .theme-wrapper[id] { scroll-margin-top: 81px; }
}

/* About Us Section */
#about { background-color: #F5F5F5 !important; padding: 60px 5% 40px; width: 100%; box-sizing: border-box; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-start; }
.about-content { display: grid; grid-template-columns: 55% 45%; gap: 40px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-text-col { display: flex; flex-direction: column; justify-content: center; }
.about-text-block h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 22px; color: #121622; text-transform: uppercase; margin-bottom: 15px; border-bottom: 2px solid #f39c12 !important; display: inline-block; padding-bottom: 5px; }
.about-text-block p { text-align: justify; font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 15px; }
.about-image-col { width: 100%; height: 100%; display: flex; align-items: center;}
.about-image-col img { width: 100%; min-height: 450px; object-fit: cover; border-radius: 8px; display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* Facilities Grid */
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1rem; max-width: 1200px; margin: 0 auto; }
.facility-card { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s; border-top: 4px solid transparent; height: 100%; }
.facility-card h3 { margin-bottom: 15px; color: #121622; font-size: 1.4rem; text-align: center; }
.facility-list { list-style: none; }
.facility-list li { margin-bottom: 6px; position: relative; padding-left: 18px; font-size: 0.95rem; color: #555; }
.facility-list li::before { content: '▪'; color: #f39c12; position: absolute; left: 0; top: 0; font-size: 1.2rem; line-height: 1; }

.facility-card-link { text-decoration: none !important; color: inherit !important; display: block; transition: all 0.3s ease; }
.facility-card-link:hover .facility-card { transform: translateY(-5px); border-top: 4px solid #f39c12; box-shadow: 0 10px 20px rgba(0,0,0,0.15); cursor: pointer; }
.facility-card::after { content: 'View Details →'; display: block; text-align: right; font-size: 12px; font-weight: bold; color: #f39c12; margin-top: 10px; opacity: 0; transition: opacity 0.3s ease; }
.facility-card-link:hover .facility-card::after { opacity: 1; }

/* Materials Section */
#materials-section { width: 100%; background-color: #3d3d3d; padding: 30px 0; }
.materials-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.station-widget-frame { position: relative; width: 100%; height: 320px; background-color: #000; border: 1px solid #333; border-radius: 4px; overflow: hidden; color: #fff; font-family: 'Montserrat', sans-serif; }
.st-track { display: block; width: 100%; transition: transform 1.5s ease-in-out; }
.st-slide { width: 100%; height: 320px; display: grid; grid-template-columns: 40% 60%; align-items: stretch; }
.st-panel-left { background: linear-gradient(135deg, #111 0%, #000 100%); display: flex; flex-direction: column; justify-content: center; padding: 15px 30px; border-right: 1px solid #222; text-align: right; }
.st-panel-right { background-color: #111; padding: 15px 40px; display: flex; align-items: center; }
.st-title { font-size: 1.3rem; font-weight: 700; line-height: 1.3; color: #fff; }
.st-list { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 15px; }
.st-list li { font-size: 0.9rem; line-height: 1.2; color: #ccc; position: relative; padding-left: 15px; text-align: left; }
.st-list li::before { content: "■"; color: #f39c12; font-size: 0.7rem; position: absolute; left: 0; top: 3px; }
.st-highlight { color: #f39c12; }
.st-controls-bar { position: absolute; bottom: 10px; right: 20px; display: flex; align-items: center; gap: 12px; z-index: 10; background: rgba(0,0,0,0.7); padding: 6px 12px; border-radius: 20px; border: 1px solid #333; }
.st-dot { width: 8px; height: 8px; background-color: #666; border-radius: 50%; cursor: pointer; transition: all 0.3s; }
.st-dot.active { background-color: #f39c12; transform: scale(1.3); }
.st-pause-btn { background: none; border: none; color: #888; font-size: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color 0.3s; margin-left: 5px; }

/* Thematic Additions (Guiding Principles & Why Choose Us) */
.theme-wrapper { width: 100%; margin: 0; padding: 0; overflow: hidden; position: relative; border: none; }
.bg-theme-about { background-color: #ffffff; color: #333; }
.bg-theme-black { background-color: #050505; color: #fff; }
.content-limit-container { max-width: 1200px; margin: 0 auto; padding: 15px 20px; }

.vertical-timeline { position: relative; max-width: 850px; margin: 0 auto; padding: 5px 0; }
.vertical-timeline::before { content: ''; position: absolute; left: 30px; top: 0; width: 1px; height: 100%; background: #eee; }
.v-item { position: relative; margin-bottom: 15px; padding-left: 70px; }
.v-item::before { content: ''; position: absolute; left: 21px; top: 5px; width: 18px; height: 18px; background: #f39c12; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px #f39c12; z-index: 2; }
.v-item h3 { font-family: 'Montserrat', sans-serif; text-transform: uppercase; color: #121622; margin-bottom: 3px; font-size: 1.2rem; font-weight: 800; }
.v-item p, .vmv-list li { line-height: 1.4; font-size: 0.9rem; color: #555; text-align: justify; margin-bottom: 3px; }
.vmv-list { list-style: none; padding: 0; }
.vmv-list li { position: relative; padding-left: 20px; }
.vmv-list li::before { content: '→'; position: absolute; left: 0; color: #f39c12; font-weight: bold; }

.why-header { text-align: center; font-size: 1.8rem; margin-bottom: 15px; text-transform: uppercase; font-weight: bold; font-family: 'Montserrat', sans-serif; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: why-counter; }
.why-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); padding: 15px; border-radius: 6px; transition: 0.3s ease; position: relative; overflow: hidden; counter-increment: why-counter; }
.why-card:hover { transform: translateY(-3px); border-color: #f39c12; background: rgba(255, 255, 255, 0.06); }
.why-card::before { content: "0" counter(why-counter); position: absolute; top: -5px; right: 8px; font-size: 50px; font-weight: 900; color: rgba(255, 255, 255, 0.02); z-index: 0; }
.why-card.wide { grid-column: span 2; background: linear-gradient(135deg, rgba(243, 156, 18, 0.05) 0%, transparent 100%); }
.why-card h4 { font-size: 14px; margin-bottom: 5px; text-transform: uppercase; color: #f1f1f1; z-index: 2; position: relative; font-weight: 700;}
.why-card p { font-size: 1.0rem; color: #bbb; z-index: 2; position: relative; line-height: 1.4; text-align: justify;}

/* Texture Video Section */
.texture-video-section { position: relative; width: 100%; height: 30vh; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 0; }
.texture-video-section video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; transform: translateX(-50%) translateY(-50%); object-fit: cover; }
.texture-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background-color: rgba(0, 17, 34, 0.6); background-image: radial-gradient(rgba(0,0,0,0.6) 1px, transparent 1px); background-size: 4px 4px; }

/* Clients Section */
.clients-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1rem; max-width: 1200px; margin: 0 auto; align-items: center; justify-items: center; }
.client-img { width: 100%; max-width: 90px; height: auto; transition: transform 0.3s ease; }
.client-img:hover { transform: scale(1.1); cursor: pointer; }

/* Contact Form Styles */
.contact-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.contact-info-box h3, .contact-form-box h3 { margin-bottom: 1rem; color: #121622; font-size: 1.5rem; }
.contact-details { list-style: none; margin-bottom: 1rem; }
.contact-details li { display: flex; align-items: center; gap: 15px; margin-bottom: 1rem; font-size: 1.1rem; }
.contact-details i { font-size: 1.5rem; color: #f39c12; width: 30px; text-align: center; }

.mail-form { display: flex; flex-direction: column; gap: 10px; }
.mail-form .input-group { display: flex; gap: 10px; flex-wrap: wrap; }
.mail-form .input-field { flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.mail-form label { font-size: 11px; color: #777; font-weight: 700; margin-bottom: 5px; text-transform: uppercase; }
.mail-form input, .mail-form textarea { width: 100%; padding: 10px 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; transition: border 0.3s; background: #fff; }
.mail-form input:focus, .mail-form textarea:focus { outline: none; border-color: #f39c12; }
.mail-form textarea { resize: vertical; min-height: 100px; }
.mail-form button { margin-top: 5px; background: #f39c12; color: #fff; padding: 12px 20px; border: none; border-radius: 5px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: background 0.3s; text-transform: uppercase; }

/* Footer Styles */
.main-footer { background-color: #1e2532; color: #d1d5db; padding: 2.5rem 5% 1.5rem; margin-top: auto; border: none; overflow: hidden; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2.4fr 0.5fr 0.5fr 2.1fr; gap: 1.5rem; margin-bottom: 2rem; }
.footer-col h4 { color: #fff; text-transform: uppercase; margin-bottom: 1rem; font-size: 1.1rem; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-links-list li { margin-bottom: 0.5rem; }
.footer-links-list a { text-transform: uppercase; font-size: 0.85rem; transition: color 0.3s; }
.footer-links-list a:hover { color: #f39c12; }
.quality-col p { margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.6; text-align: justify; }

.certifications { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cert-icon-btn { display: inline-block; transition: transform 0.3s ease; border-radius: 4px; background: #fff; padding: 2px; cursor: pointer; }
.cert-icon-btn img { height: 35px; width: auto; display: block; border-radius: 2px; }

.footer-bottom { position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; padding-top: 1.5rem; gap: 1.5rem; border-top: 1px solid #3b4863; }
.copyright-wrapper { display: flex; flex-direction: column; gap: 5px; text-align: left; }
.copyright-text { color: #9ca3af; font-size: 0.85rem; margin: 0; }
.powered-text { color: #f39c12; font-size: 0.75rem; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; margin: 0; }

.visitor-counter { display: flex; align-items: center; gap: 8px; justify-content: center; }
.social-icons { display: flex; gap: 15px; align-items: center; justify-content: flex-end; }
.social-btn { color: #fff; font-size: 1.3rem; transition: color 0.3s; display: inline-flex; align-items: center; }

/* ------------------------------------------- */
/* MOBILE RESPONSIVENESS (Consolidated Block)  */
/* ------------------------------------------- */
@media (max-width: 1024px) { 
    .clients-grid { grid-template-columns: repeat(6, 1fr); } 
}

@media (max-width: 950px) {
    .about-content { grid-template-columns: 1fr; gap: 25px; }
    .about-image-col { order: -1; height: auto; padding: 10px 0; }
    .about-image-col img { min-height: 300px; max-height: 400px; }
    .about-text-col { padding: 15px 10px; }
    #about { padding-top: 100px; }
    
    .station-widget-frame { height: 480px; }
    .st-slide { height: 480px; grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding-bottom: 30px; }
    .st-panel-left { text-align: left; padding: 10px 20px; border-right: none; border-bottom: 1px solid #222; }
    .st-panel-right { padding: 10px 20px; }
    .st-list { grid-template-columns: 1fr; gap: 5px; } 
    .st-controls-bar { right: 50%; transform: translateX(50%); bottom: 5px; }
}

@media (max-width: 900px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-card.wide { grid-column: span 1; }
}

@media (max-width: 768px) {
    /* Header & Navigation Fixes */
    .header-container { flex-direction: row; flex-wrap: wrap; }
    .menu-toggle { display: block; }
    .header-logo { height: 50px; }
    
    nav { display: none; width: 100%; margin-top: 15px; background: #121622; padding: 15px 0; border-top: 1px solid #333; }
    nav.active { display: block; }
    nav ul { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 15px; }
    
    .dropdown-menu { position: static; display: none; width: 100%; box-shadow: none; background: rgba(255, 255, 255, 0.05); padding-left: 20px; margin-top: 5px; border-radius: 0; }
    .dropdown-menu::before { display: none; } 
    .has-dropdown.open .dropdown-menu { display: block; }
    
    .dropdown-toggle i { display: inline-block; transition: transform 0.3s; margin-left: 8px; }
    .has-dropdown.open .dropdown-toggle i { transform: rotate(180deg); }

    /* Content Scaling */
    .hero-content h1 { font-size: 2.5rem; }
    .clients-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1rem; }
    .copyright-wrapper { text-align: center; }
    .social-icons { justify-content: center; }
}

@media (max-width: 480px) { 
    .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } 
}

/* --- Individual Page Overrides & Fixes --- */

/* Fix for the video/content boxes on sub-pages */
.div-wrapper { 
    background-color: transparent !important; 
    border: none !important; 
    box-shadow: none !important; 
    margin-bottom: 20px !important; 
    padding: 0 !important; 
    display: block !important; 
    width: auto !important; 
    max-width: 100% !important; 
    page-break-inside: auto !important; 
    break-inside: auto !important; 
}

/* Helper class just in case you ever want a whole section to be white */
.bg-white-section {
    background-color: #ffffff !important;
}