/* Tech Kimya - Shared Styles */
:root {
    --primary: #1a3a6c;
    --secondary: #e6a903;
    --accent: #2a5a8c;
    --light: #f8f9fa;
    --dark: #222;
    --gray: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; line-height: 1.2; }
h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}
h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
}
h3 { font-size: 1.5rem; color: var(--accent); }
p { margin-bottom: 1rem; font-size: 1.05rem; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }
/* Tighter spacing on home: hero → trust → divisions → certifications */
.trust-indicators + .section-padding { padding: 10px 0 32px; }
.trust-indicators + .section-padding h2 { margin-bottom: 0.5rem; }
.trust-indicators + .section-padding > .container > p { margin-bottom: 0.75rem; }
.section-padding + .section-padding.section-light { padding: 18px 0 32px; }
.section-padding + .section-padding.section-light h2 { margin-bottom: 0.5rem; }
.section-padding + .section-padding.section-light > .container > p { margin-bottom: 0.75rem; }
.section-cta { text-align: center; margin-top: 16px !important; margin-bottom: 0; }
.section-light { background-color: var(--light); }

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn:hover {
    background-color: #d09703;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}
.btn-outline:hover { background-color: var(--secondary); color: #fff; }
.btn-primary { background-color: var(--primary); }
.btn-primary:hover { background-color: #0d2a4a; }

/* Header & Navigation */
header {
    background-color: rgba(245, 245, 245, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo { display: flex; align-items: center; }
.logo a { text-decoration: none; display: flex; flex-direction: column; }
.logo h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.logo .logo-tagline { font-size: 0.85rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; font-weight: 600; }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 25px; }
nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}
nav ul li a:hover { color: var(--secondary); }
nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s;
}
nav ul li a:hover:after { width: 100%; }

.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-top: 3px solid var(--secondary);
    z-index: 1;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
    color: var(--primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
}
.dropdown-content a:hover { background-color: #f5f5f5; }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}
.hero h1 { color: white; margin-bottom: 0; }
.company-name-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}
.hero .company-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 3.2rem;
    color: #ffffff;
    letter-spacing: 0.25em;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}
.hero .company-name::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    right: -5%;
    height: 8px;
    background: linear-gradient(90deg,
        transparent 0%,
        #FFC107 10%,
        #FFD54F 50%,
        #FFC107 90%,
        transparent 100%);
    transform: translateY(-50%) rotate(-3deg);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
    animation: hero-slash-pulse 3s ease-in-out infinite;
}
@keyframes hero-slash-pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; box-shadow: 0 0 30px rgba(255, 193, 7, 0.8); }
}
.hero .accent-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFC107, transparent);
    margin: 25px auto;
}
.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.6;
    margin-bottom: 24px;
}
.hero .hero-tagline .highlight {
    color: #FFC107;
    font-weight: 500;
}
.hero-desc,
.hero p {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #eee;
}
.hero-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Trust Indicators - horizontal row */
.trust-indicators {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 24px 0;
    background-color: var(--light);
}
.trust-indicators .container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 20px;
}
.trust-item {
    text-align: center;
    padding: 14px 12px;
    flex: 1;
    min-width: 0;
}
.trust-item i { font-size: 2.2rem; color: var(--primary); margin-bottom: 10px; }
.trust-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.trust-item p { font-size: 0.85rem; margin-bottom: 0; }

/* Sectors / Cards */
.sectors { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.sector-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.sector-card:hover { transform: translateY(-10px); }
.sector-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    isolation: isolate;
}
.sector-content { padding: 18px; }
.sector-content h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.sector-content p { font-size: 0.95rem; margin-bottom: 1rem; }

/* Global Reach / Capabilities */
.global-map {
    background: url('https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}
.global-map:before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(26, 58, 108, 0.85);
}
.global-content { position: relative; z-index: 2; color: white; text-align: center; }
.global-content h2 { color: white; }
.global-content h2:after { left: 50%; transform: translateX(-50%); }
.destinations { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.destination {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
}

/* Tables & packing */
.specs-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.specs-table th, .specs-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #ddd; }
.specs-table th { background-color: #f5f5f5; font-weight: 600; }
.packing-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.packing-item { background-color: #f0f0f0; padding: 8px 15px; border-radius: 4px; font-size: 0.9rem; }

/* Footer */
footer { background-color: var(--dark); color: #ddd; padding: 36px 0 20px; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.footer-column { flex: 1; min-width: 200px; }
.footer-column h3 { color: white; margin-bottom: 14px; font-size: 1.05rem; }
.footer-column p { font-size: 0.85rem; line-height: 1.5; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-column ul li a { color: #aaa; text-decoration: none; transition: color 0.3s; }
.footer-column ul li a:hover { color: var(--secondary); }
.copyright { text-align: center; padding-top: 18px; border-top: 1px solid #444; color: #aaa; font-size: 0.8rem; }
.copyright p { margin-bottom: 0; font-size: 0.8rem; }

/* Contact Form */
#contact.section-padding { padding-top: 96px; }
.contact-group { max-width: 640px; margin: 0 auto; }
.contact-form { background: white; padding: 24px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.contact-form h3 { font-size: 1.1rem; margin-bottom: 16px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.85rem; }
.form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
}
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }

.contact-cards { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.contact-card { text-align: center; font-size: 0.9rem; }
.contact-card h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: 0.85rem; }

/* Certifications */
.certifications { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.cert-badge {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}
.cert-badge i { color: var(--success); font-size: 1.8rem; }

/* Tabs */
.tabs { display: flex; border-bottom: 1px solid #ddd; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); }
.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%; height: 3px;
    background-color: var(--secondary);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background-color: var(--accent); }

/* Anchor scroll offset for fixed header */
#request-quote { scroll-margin-top: 100px; }
#solvents, #caustic-soda, #sulfur, #rsfo, #csfo { scroll-margin-top: 120px; }

/* Page title (for inner pages) */
.page-title {
    padding: 120px 0 24px;
    background-color: var(--light);
    margin-bottom: 0;
}
.page-title h1 { margin-bottom: 0.5rem; font-size: 1.75rem; }
.page-title p { margin-bottom: 0; font-size: 0.9rem; color: var(--gray); }

/* Responsive */
@media (max-width: 992px) {
    .trust-indicators,
    .trust-indicators .container { flex-wrap: wrap; justify-content: center; }
    .trust-item { min-width: 160px; }
    .logo h1 { font-size: 1.75rem; }
    .logo .logo-tagline { font-size: 0.75rem; }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }
    .hero .company-name { font-size: 2.2rem; letter-spacing: 0.15em; }
    .hero .company-name::before { height: 6px; }
    .hero-tagline { font-size: 1.1rem; letter-spacing: 0.1em; }
    .hero p { font-size: 1.1rem; }
    .mobile-menu-btn { display: block; }
    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: white;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        padding-top: 30px;
        transition: right 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    nav ul.active { right: 0; }
    nav ul li { margin: 0; border-bottom: 1px solid #eee; }
    nav ul li a { display: block; padding: 15px 20px; }
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: none;
        display: none;
        width: 100%;
    }
    .dropdown:hover .dropdown-content { display: none; }
    .dropdown.active .dropdown-content { display: block; }
    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero { padding: 100px 0 50px; }
    .hero .company-name { font-size: 1.75rem; letter-spacing: 0.12em; }
    .hero .company-name::before { height: 5px; }
    .hero-tagline { font-size: 0.9rem; letter-spacing: 0.08em; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .contact-form { padding: 18px; }
    .page-title { padding: 100px 0 16px; }
}
