/* ===== DRUG3K.COM — MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700;800&family=Figtree:wght@300;400;500;600&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0D47A1;
  --primary-mid: #1565C0;
  --accent: #42A5F5;
  --light-accent: #90CAF9;
  --lightest: #E3F2FD;
  --white: #ffffff;
  --dark: #0a1628;
  --dark-mid: #1a2a4a;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(13,71,161,0.10);
  --shadow-lg: 0 8px 40px rgba(13,71,161,0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.7; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--dark); }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.bg-light { background: var(--lightest); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 50%, var(--accent) 100%); }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius); font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: var(--transition); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: var(--white); box-shadow: 0 4px 16px rgba(13,71,161,0.3); }
.btn-primary:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(13,71,161,0.4); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: scale(1.02); }
.btn-white { background: var(--white); color: var(--primary); box-shadow: var(--shadow); }
.btn-white:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); color: var(--primary); }
.btn svg, .btn i { font-size: 1.1em; }

/* ===== SECTION LABELS ===== */
.section-label { display: inline-block; background: var(--lightest); color: var(--primary); font-family: var(--font-heading); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 16px; border: 1px solid var(--light-accent); }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--gray); max-width: 600px; font-weight: 300; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto; }

/* ===== HEADER / NAV ===== */
#site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); transition: var(--transition); }
#site-header.scrolled { box-shadow: var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; color: var(--primary); }
.nav-logo span { color: var(--accent); }
.nav-logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-logo-icon svg { width: 20px; height: 20px; fill: white; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--dark-mid); padding: 8px 14px; border-radius: var(--radius); transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: var(--lightest); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }
.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 16px 24px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; color: var(--dark-mid); padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: none; }

/* ===== HERO VARIANTS ===== */
.hero-video { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,71,161,0.88) 0%, rgba(21,101,192,0.75) 60%, rgba(66,165,245,0.5) 100%); z-index: 1; }
.hero-video-content { position: relative; z-index: 2; color: var(--white); }
.hero-fullwidth { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 60%, var(--accent) 100%); min-height: 480px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-fullwidth::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.hero-fullwidth::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.hero-compact { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%); padding: 80px 0 60px; color: var(--white); }
.hero-article { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-article img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-article-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.4) 100%); z-index: 1; }
.hero-article-content { position: relative; z-index: 2; color: var(--white); padding: 48px 0; }
.hero-contact { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); padding: 100px 0 80px; color: var(--white); }
.hero-banner { position: relative; background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); padding: 80px 0 60px; color: var(--white); }

/* ===== FLOATING BADGE ===== */
.floating-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); color: var(--white); padding: 8px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px; animation: floatBadge 3s ease-in-out infinite; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.floating-badge .dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

/* ===== ANIMATED TEXT ===== */
.animate-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ===== STATS COUNTER ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.stat-card { text-align: center; padding: 40px 24px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border-top: 4px solid var(--accent); transition: var(--transition); }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.95rem; color: var(--gray); margin-top: 8px; font-weight: 400; }

/* ===== CARDS ===== */
.card { background: var(--white); border-radius: var(--radius); border-left: 4px solid var(--primary); box-shadow: var(--shadow); padding: 32px; transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { width: 52px; height: 52px; background: var(--lightest); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 28px; height: 28px; fill: var(--primary); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.95rem; font-weight: 300; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== TESTIMONIALS ===== */
.testimonials-scroll { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.testimonials-scroll::-webkit-scrollbar { height: 4px; }
.testimonials-scroll::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
.testimonials-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.testimonial-card { flex: 0 0 340px; scroll-snap-align: start; background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { font-style: italic; color: var(--gray); font-size: 0.95rem; margin-bottom: 20px; font-weight: 300; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-name { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--gray); }

/* ===== TEAM GRID ===== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.team-card { text-align: center; }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 4px solid var(--lightest); box-shadow: var(--shadow); }
.team-name { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.team-role { font-size: 0.85rem; color: var(--accent); font-weight: 500; margin-bottom: 8px; }
.team-bio { font-size: 0.88rem; color: var(--gray); font-weight: 300; }

/* ===== ACHIEVEMENT BADGES ===== */
.badges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.badge-item { text-align: center; padding: 32px 20px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: var(--transition); }
.badge-item:hover { transform: translateY(-4px); }
.badge-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.badge-icon svg { width: 36px; height: 36px; fill: white; }
.badge-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.badge-desc { font-size: 0.85rem; color: var(--gray); font-weight: 300; }

/* ===== VIDEO SECTION ===== */
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ===== FAQ ACCORDION ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; background: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 1rem; cursor: pointer; border: none; text-align: left; transition: var(--transition); }
.faq-question:hover { background: var(--lightest); }
.faq-question.open { background: var(--lightest); color: var(--primary); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; transition: transform 0.3s; }
.faq-question.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--gray); font-size: 0.95rem; font-weight: 300; }

/* ===== NEWSLETTER ===== */
.newsletter-box { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius-lg); padding: 56px 48px; color: var(--white); text-align: center; }
.newsletter-box h2 { font-size: 2rem; margin-bottom: 12px; }
.newsletter-box p { opacity: 0.9; margin-bottom: 32px; font-weight: 300; }
.newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 14px 20px; border-radius: var(--radius); border: none; font-family: var(--font-body); font-size: 1rem; }
.newsletter-form input:focus { outline: 2px solid var(--light-accent); }

/* ===== BLOG CARDS ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 220px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 28px; }
.blog-card-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--gray); margin-bottom: 12px; }
.blog-card-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.9rem; color: var(--gray); font-weight: 300; margin-bottom: 16px; }
.blog-card-tag { display: inline-block; background: var(--lightest); color: var(--primary); font-size: 0.75rem; font-weight: 600; padding: 4px 12px; border-radius: 100px; }

/* ===== ARTICLE STYLES ===== */
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 { font-size: 1.6rem; margin: 40px 0 16px; color: var(--primary); }
.article-body h3 { font-size: 1.25rem; margin: 28px 0 12px; }
.article-body p { margin-bottom: 20px; color: var(--dark-mid); font-size: 1.02rem; font-weight: 300; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 16px 0 24px 24px; }
.article-body li { margin-bottom: 8px; color: var(--dark-mid); font-weight: 300; }
.article-body blockquote { border-left: 4px solid var(--accent); padding: 16px 24px; background: var(--lightest); border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; font-style: italic; color: var(--gray); }
.share-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.share-btn-tw { background: #1da1f2; color: white; }
.share-btn-fb { background: #1877f2; color: white; }
.share-btn-li { background: #0a66c2; color: white; }
.share-btn:hover { opacity: 0.85; transform: scale(1.02); }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.article-tag { background: var(--lightest); color: var(--primary); font-size: 0.8rem; font-weight: 600; padding: 5px 14px; border-radius: 100px; border: 1px solid var(--light-accent); }

/* ===== CONTACT FORM ===== */
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--dark-mid); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(66,165,245,0.15); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-error { display: none; color: #ef4444; font-size: 0.82rem; margin-top: 4px; }
.form-group.error input, .form-group.error textarea { border-color: #ef4444; }
.form-group.error .form-error { display: block; }
.form-success { display: none; background: #dcfce7; color: #166534; padding: 16px 24px; border-radius: var(--radius); margin-top: 16px; font-weight: 600; }

/* ===== CONTACT DETAILS ===== */
.contact-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contact-detail-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.contact-detail-icon { width: 56px; height: 56px; background: var(--lightest); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.contact-detail-icon svg { width: 28px; height: 28px; fill: var(--primary); }
.contact-detail-label { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.contact-detail-value { color: var(--gray); font-size: 0.95rem; }

/* ===== MAP ===== */
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ===== SOCIAL LINKS ===== */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.social-link { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--dark); transition: var(--transition); }
.social-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--primary); }
.social-icon { width: 36px; height: 36px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.social-icon svg { width: 20px; height: 20px; fill: white; }

/* ===== GALLERY MASONRY ===== */
.gallery-masonry { columns: 3; gap: 16px; }
.gallery-masonry img { width: 100%; margin-bottom: 16px; border-radius: var(--radius); break-inside: avoid; transition: var(--transition); }
.gallery-masonry img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

/* ===== TABS ===== */
.tabs-nav { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 32px; overflow-x: auto; }
.tab-btn { padding: 12px 24px; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--gray); background: none; border: none; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: var(--transition); white-space: nowrap; }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: var(--light-accent); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot { position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; background: var(--primary); border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--accent); }
.timeline-content { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.timeline-step { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.timeline-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.timeline-desc { font-size: 0.9rem; color: var(--gray); font-weight: 300; }

/* ===== PARTNERS LOGO STRIP ===== */
.partners-strip { display: flex; gap: 40px; align-items: center; overflow-x: auto; padding: 24px 0; }
.partner-logo { flex-shrink: 0; height: 48px; opacity: 0.5; filter: grayscale(1); transition: var(--transition); }
.partner-logo:hover { opacity: 1; filter: grayscale(0); }

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.portfolio-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.portfolio-card img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,71,161,0.9) 0%, transparent 60%); opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 24px; }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-info { color: white; }
.portfolio-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.portfolio-info p { font-size: 0.85rem; opacity: 0.85; }

/* ===== SIDEBAR LAYOUT ===== */
.sidebar-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.sidebar { position: sticky; top: 100px; }
.sidebar-widget { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px; }
.sidebar-widget h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--lightest); color: var(--primary); }
.popular-post { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.popular-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.popular-post img { width: 64px; height: 64px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; }
.popular-post-title { font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; line-height: 1.4; color: var(--dark); }
.popular-post-date { font-size: 0.78rem; color: var(--gray); margin-top: 4px; }

/* ===== COMMENTS ===== */
.comment { display: flex; gap: 16px; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.comment-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-body { flex: 1; }
.comment-header { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.comment-author { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.comment-date { font-size: 0.8rem; color: var(--gray); }
.comment-text { font-size: 0.92rem; color: var(--dark-mid); font-weight: 300; }

/* ===== RELATED ARTICLES ===== */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.related-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related-card img { width: 100%; height: 160px; object-fit: cover; }
.related-card-body { padding: 20px; }
.related-card h4 { font-size: 1rem; margin-bottom: 8px; }
.related-card p { font-size: 0.85rem; color: var(--gray); font-weight: 300; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: white; }
.breadcrumb-sep { opacity: 0.5; }

/* ===== ICON FEATURE LIST ===== */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--primary); }
.feature-icon { width: 44px; height: 44px; background: var(--lightest); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.feature-content h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-content p { font-size: 0.88rem; color: var(--gray); font-weight: 300; }

/* ===== CHART AREA ===== */
.chart-container { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.chart-bar-group { margin-bottom: 20px; }
.chart-bar-label { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.chart-bar-track { background: var(--lightest); border-radius: 100px; height: 12px; overflow: hidden; }
.chart-bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 1.5s ease; }

/* ===== MEGA FOOTER ===== */
.mega-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 80px 0 0; }
.mega-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { font-size: 0.9rem; font-weight: 300; margin-top: 16px; opacity: 0.7; line-height: 1.8; }
.footer-col h4 { font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem; color: white; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; }
.footer-bottom p { font-size: 0.85rem; opacity: 0.6; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); }
.footer-social a svg { width: 16px; height: 16px; fill: white; }

/* ===== STANDARD FOOTER ===== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.site-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer-bottom p { font-size: 0.82rem; opacity: 0.6; }

/* ===== COOKIE BANNER ===== */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--dark); color: white; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; box-shadow: 0 -4px 24px rgba(0,0,0,0.3); transform: translateY(100%); transition: transform 0.4s ease; }
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { font-size: 0.88rem; opacity: 0.85; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--accent); color: white; border: none; padding: 10px 24px; border-radius: var(--radius); font-family: var(--font-heading); font-weight: 600; cursor: pointer; transition: var(--transition); }
.cookie-accept:hover { background: var(--primary); }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.3); padding: 10px 20px; border-radius: var(--radius); font-family: var(--font-heading); font-weight: 600; cursor: pointer; transition: var(--transition); }
.cookie-decline:hover { border-color: white; color: white; }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; color: var(--primary); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--lightest); }
.legal-content p { margin-bottom: 16px; color: var(--dark-mid); font-weight: 300; font-size: 0.97rem; line-height: 1.8; }
.legal-content ul { margin: 12px 0 20px 24px; }
.legal-content li { margin-bottom: 8px; color: var(--dark-mid); font-weight: 300; font-size: 0.95rem; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.88rem; }
.cookie-table th { background: var(--primary); color: white; padding: 12px 16px; text-align: left; font-family: var(--font-heading); font-weight: 600; }
.cookie-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--dark-mid); }
.cookie-table tr:nth-child(even) td { background: var(--lightest); }

/* ===== DOWNLOAD PDF BUTTON ===== */
.download-box { background: var(--lightest); border-radius: var(--radius-lg); padding: 40px; text-align: center; border: 2px dashed var(--light-accent); }
.download-box h3 { font-size: 1.3rem; margin-bottom: 8px; }
.download-box p { color: var(--gray); margin-bottom: 24px; font-weight: 300; }

/* ===== SPLIT HERO ===== */
.hero-split { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.hero-split-content { padding: 80px 60px 80px 0; }
.hero-split-image { position: relative; height: 100%; min-height: 100vh; overflow: hidden; }
.hero-split-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-split-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,71,161,0.3), transparent); z-index: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .mega-footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split-content { padding: 80px 0 40px; }
  .hero-split-image { min-height: 400px; }
  .gallery-masonry { columns: 2; }
}
@media (max-width: 768px) {
  .section-pad { padding: 56px 0; }
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .mega-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter-form { flex-direction: column; }
  .gallery-masonry { columns: 2; }
  .hero-split-image { display: none; }
  .hero-split-content { padding: 60px 0; }
  .contact-form { padding: 28px; }
  .newsletter-box { padding: 36px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { columns: 1; }
  .share-buttons { flex-direction: column; }
  .hero-video { min-height: 80vh; }
  .section-title { font-size: 1.6rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
