/* service-page.css — shared styles for all KPPT service detail pages */
:root {
    --primary: #0D5C2F;
    --secondary: #2A9D5F;
    --accent: #FFB627;
    --light: #F8FDF9;
    --dark: #1A2E1E;
    --gray: #5A6C5B;
    --gradient-1: linear-gradient(135deg, #0D5C2F 0%, #2A9D5F 100%);
}

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

body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

/* ── Navigation ── */
nav {
    position: fixed; top: 0; width: 100%;
    background: rgba(248,253,249,0.97);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(13,92,47,0.12);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 18px 40px; }
.logo img { width: 30%; min-width: 260px; max-width: 310px; }
.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { color: var(--dark); text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background: var(--primary); transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px,8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px,-6px); }

/* ── Service Hero ── */
.service-hero {
    margin-top: 76px;
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
    color: white;
}
.hero-pattern {
    position: absolute; right: -10px; bottom: -5px;
    width: 450px; height: 160px; opacity: 0.25; z-index: 1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 450 150'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 130 L430 130' stroke-width='2' opacity='0.4'/%3E%3Cpath d='M50 125 L75 125 L75 105 Q75 100 70 98 L70 92 L55 92 L55 98 Q50 100 50 105 Z'/%3E%3Cpath d='M140 125 L165 125 L165 105 Q165 100 160 98 L160 92 L145 92 L145 98 Q140 100 140 105 Z'/%3E%3Cpath d='M142 120 L163 120 L163 115 Q163 112 160 111 L145 111 Q142 112 142 115 Z' fill='%23ffffff' fill-opacity='0.3' stroke='none'/%3E%3Cpath d='M152 40 L152 95' stroke-width='0.8'/%3E%3Cpath d='M240 125 L265 125 L265 105 Q265 100 260 98 L260 92 L245 92 L245 98 Q240 100 240 105 Z'/%3E%3Cpath d='M242 120 L263 120 L263 110 Q263 107 260 106 L245 106 Q242 107 242 110 Z' fill='%23ffffff' fill-opacity='0.4' stroke='none'/%3E%3Cpath d='M252.5 40 L252.5 82' stroke-width='2'/%3E%3Crect x='246' y='88' width='13' height='4' rx='1' fill='%23ffffff'/%3E%3Cpath d='M340 125 L365 125 L365 105 Q365 100 360 98 L360 92 L345 92 L345 98 Q340 100 340 105 Z'/%3E%3Cpath d='M342 120 L363 120 L363 110 Q363 107 360 106 L345 106 Q342 107 342 110 Z' fill='%23ffffff' fill-opacity='0.4' stroke='none'/%3E%3Crect x='344' y='86' width='17' height='7' rx='1' fill='%23ffffff'/%3E%3Cpath d='M352.5 40 L352.5 75' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E") no-repeat right bottom / contain;
}
.service-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.5); }
.service-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(38px,5vw,68px); font-weight: 400; letter-spacing: -1px; margin-bottom: 16px; }
.hero-sub { font-size: clamp(16px,2vw,21px); color: rgba(255,255,255,0.85); max-width: 700px; }

/* ── Main Content ── */
main { padding: 80px 0; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }

.main-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px,3.5vw,42px);
    color: var(--primary);
    font-weight: 400;
    margin: 50px 0 20px;
}
.main-content h2:first-child { margin-top: 0; }
.main-content p { color: var(--gray); font-size: 17px; line-height: 1.85; margin-bottom: 20px; }
.lead { font-size: 20px !important; color: var(--dark) !important; font-weight: 500; line-height: 1.7 !important; border-left: 4px solid var(--accent); padding-left: 20px; margin-bottom: 30px !important; }

.service-list { list-style: none; padding: 0; margin: 20px 0 30px; }
.service-list li {
    padding: 12px 0 12px 28px;
    position: relative;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(13,92,47,0.08);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
    content: '◆';
    position: absolute; left: 0;
    color: var(--secondary);
    font-size: 10px;
    top: 16px;
}

.highlight-box {
    background: linear-gradient(135deg, #f0faf4 0%, #e8f5ed 100%);
    border-left: 4px solid var(--secondary);
    border-radius: 0 12px 12px 0;
    padding: 30px 35px;
    margin: 40px 0;
}
.highlight-box h3 { font-size: 20px; color: var(--primary); margin-bottom: 12px; font-weight: 700; }
.highlight-box p { font-size: 16px; color: var(--gray); margin: 0; line-height: 1.7; }

/* Capability cards grid */
.capability-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin: 20px 0 30px; }
.cap-card { background: white; padding: 24px; border-radius: 12px; box-shadow: 0 4px 20px rgba(13,92,47,0.07); border-top: 3px solid var(--secondary); border-bottom: 3px solid var(--secondary);}
.cap-card h4 { font-size: 16px; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.cap-card p { font-size: 14px; color: var(--gray); line-height: 1.6; margin: 0; }

/* Process steps */
.process-steps { counter-reset: step; margin: 20px 0 30px; }
.process-step {
    display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start;
    padding-bottom: 28px; border-bottom: 1px solid rgba(13,92,47,0.08);
}
.process-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-num {
    counter-increment: step;
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 20px; color: white;
}
.step-content h4 { font-size: 17px; color: var(--primary); margin-bottom: 6px; font-weight: 700; }
.step-content p { font-size: 15px; color: var(--gray); margin: 0; line-height: 1.65; }

/* Dosage form grid */
.dosage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 20px 0; }
.dosage-tag { background: white; border: 1px solid rgba(13,92,47,0.15); border-radius: 8px; padding: 12px 16px; font-size: 14px; color: var(--primary); font-weight: 500; text-align: center; transition: all 0.25s; }
.dosage-tag:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ── Sidebar ── */
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: var(--dark); color: white; border-radius: 16px; padding: 30px; box-shadow: 0 8px 30px rgba(13,92,47,0.08); }
.sidebar-card h3 { font-size: 20px; color: var(--accent); margin-bottom: 14px; font-weight: 700; }
.sidebar-card p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 16px; }

.cta-card { background: var(--gradient-1); color: white; }
.cta-card h3 { color: white; font-size: 22px; }
.cta-card p { color: rgba(255,255,255,0.85); }

.btn { display: block; width: 100%; padding: 14px 20px; border-radius: 50px; font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; transition: all 0.3s; border: none; cursor: pointer; font-family: 'Instrument Sans', sans-serif; margin-bottom: 10px; }
.btn:last-child { margin-bottom: 10; }
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: #FFC857; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: white; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-accent { background: var(--accent); color: var(--dark); }
.btn-accent:hover { background: #FFC857; transform: translateY(-2px); }
.btn-light { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: white; }
.btn-light:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.related-links { list-style: none; padding: 0; }
.related-links li { border-bottom: 1px solid rgba(13,92,47,0.08); }
.related-links li:last-child { border-bottom: none; }
.related-links a { display: block; padding: 10px 0; font-size: 15px; color: var(--secondary); text-decoration: none; font-weight: 500; transition: color 0.2s, transform 0.2s; }
.related-links a:hover { color: var(--primary); transform: translateX(4px); }

.credentials-card { background: var(--dark); color: white; }
.credentials-card h3 { color: var(--accent); }
.cred-list { list-style: none; padding: 0; }
.cred-list li { padding: 8px 0; font-size: 14px; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.08); }
.cred-list li:last-child { border-bottom: none; }

/* ── CTA Band ── */
.cta-band { background: var(--gradient-1); padding: 80px 0; text-align: center; color: white; }
.cta-band h2 { font-family: 'DM Serif Display', serif; font-size: clamp(32px,4vw,52px); font-weight: 400; margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn { width: auto; min-width: 200px; padding: 16px 36px; }

/* ── Footer ── */
footer { background: var(--dark); color: rgba(255,250,255,0.6); padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 30px; }
.footer-about h3 { font-family: 'DM Serif Display', serif; color: white; font-size: 18px; margin-bottom: 12px; font-weight: 400; }
.footer-about p { font-size: 14px; line-height: 1.65; }
.footer-links h4, .footer-contact h4 { color: white; font-size: 13px; margin-bottom: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.footer-links ul { list-style: none; }
.footer-links a { color: rgba(255,250,255,0.6); text-decoration: none; display: block; margin-bottom: 6px; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact p { font-size: 13px; line-height: 1.8; margin-bottom: 8px; }
.footer-contact a { color: rgba(255,250,255,0.7); text-decoration: none; font-size: 13px; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,250,255,0.1); font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: relative; top: 0; }
    .footer-content { grid-template-columns: repeat(2,1fr); }
    .capability-grid { grid-template-columns: 1fr; }
    .dosage-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-content { padding: 14px 20px; }
    .logo img { width: 55%; min-width: 240px; max-width: 290px; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; gap: 0; padding: 20px; box-shadow: 0 10px 30px rgba(13,92,47,0.15); }
    .nav-links.active { display: flex; }
    .nav-links li { padding: 14px 0; border-bottom: 1px solid rgba(13,92,47,0.1); text-align: center; }
    .nav-links li:last-child { border-bottom: none; }
    .hamburger { display: flex; }
    .footer-content { grid-template-columns: 1fr; gap: 28px; }
    .dosage-grid { grid-template-columns: 1fr 1fr; }
    main { padding: 50px 0; }
    .service-hero { padding: 60px 0 50px; }
}
