/*
Theme Name: Cao đẳng Phương Đông Đà Nẵng
Theme URI: 
Author: Hệ thống tự động
Description: Landing page tuyển sinh ngành Dược chuyên nghiệp
Version: 3.0
Text Domain: phuongdong
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;600;700;800&display=swap');

:root {
  --primary: #004ea2;
  --primary-dark: #00336b;
  --secondary: #e41b23;
  --secondary-dark: #bc131a;
  
  --text-main: #334155;
  --text-muted: #64748b;
  --bg-main: #ffffff;
  --bg-gray: #f8fafc;
  --bg-blue-light: #f0f4f8;
  
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08);
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { font-family: var(--font-body); color: var(--text-main); line-height: 1.6; background-color: var(--bg-main); font-size: 16px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--primary); font-weight: 700; margin-bottom: 1rem; line-height: 1.3; }

a { text-decoration: none; color: var(--primary); transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* Section & Utilities */
.section-padding { padding: 80px 0; }
.bg-gray { background-color: var(--bg-gray); }
.bg-blue-light { background-color: var(--bg-blue-light); }
.text-center { text-align: center; }

.section-head { margin-bottom: 50px; text-align: center; }
.section-head h2 { font-size: 36px; text-transform: uppercase; position: relative; padding-bottom: 15px; margin-bottom: 0; }
.section-head h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--secondary); border-radius: 2px; }

/* Global Additions for Modern UI */
.grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.grid-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.glass-bg { background: linear-gradient(135deg, rgba(240,244,248,0.8), rgba(255,255,255,0.4)); backdrop-filter: blur(10px); }
.glass-card { background: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.6); backdrop-filter: blur(5px); }
.card-hover { transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--primary); z-index: 10; position: relative; }
.wrapper-shadow { border-radius: 12px; padding: 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); border: 1px solid var(--border-color); background: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 6px; font-weight: 600; font-family: var(--font-heading); text-transform: uppercase; font-size: 14px; border: 2px solid transparent; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background: var(--secondary); color: white; border-color: var(--secondary); box-shadow: 0 4px 10px rgba(228, 27, 35, 0.3); }
.btn-primary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); color: white; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-large { padding: 16px 36px; font-size: 16px; border-radius: 50px; }

/* Floating CTA Box */
.cta-group { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 25px; }

/* Header */
.top-bar { background: var(--primary); color: white; padding: 8px 0; font-size: 13px; }
.top-bar-container { display: flex; justify-content: space-between; align-items: center; }
.top-bar ul { display: flex; gap: 20px; }
.top-bar a { color: white; }

.header { position: sticky; top: 0; left: 0; width: 100%; background: white; z-index: 1000; box-shadow: var(--shadow-sm); transition: all 0.3s; }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 80px; transition: height 0.3s; }
.header.scrolled .header-container { height: 70px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 800; font-size: 18px; line-height: 1.2; color: var(--primary); max-width: 330px; }
.logo-wrap span { display: block; }
.logo-img { height: 50px; }
.header.scrolled .logo-img { height: 40px; }

.nav-menu { display: flex; gap: 25px; align-items: center; }
.nav-link { color: var(--text-main); font-weight: 600; font-size: 15px; padding: 10px 0; }
.nav-link:hover { color: var(--secondary); }

.header-actions { display: flex; gap: 10px; align-items: center; }

.mobile-toggle { display: none; font-size: 24px; color: var(--primary); cursor: pointer; }

/* Hero */
.hero { width: 100%; display: block; }
.hero img { width: 100%; height: auto; display: block; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.intro-text h2 { font-size: 32px; line-height: 1.4; color: var(--primary); }
.intro-text p { margin-bottom: 20px; text-align: justify; font-size: 16px; color: var(--text-muted); }
.intro-highlight { background: var(--bg-blue-light); padding: 25px; border-left: 5px solid var(--secondary); border-radius: 4px; margin-bottom: 30px; }
.intro-highlight p { margin: 0; color: var(--primary); font-weight: 600; font-size: 17px; }
.intro-image img { border-radius: 12px; box-shadow: var(--shadow-lg); }

/* Skills - Masonry or clean list */
.skills-container { background: white; border-radius: 12px; padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.skill-item { display: flex; gap: 15px; align-items: flex-start; padding: 15px; background: var(--bg-gray); border-radius: 8px; transition: transform 0.2s; }
.skill-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); background: white; }
.skill-item i { color: var(--secondary); font-size: 18px; margin-top: 3px; }
.skill-item p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-main); }

/* Banner Separator */
.full-banner img { width: 100%; display: block; }

/* Jobs */
.jobs-content-wrap { max-width: 100%; margin: 0 auto; }
.job-item { display: flex; gap: 18px; padding: 20px; border-radius: 12px; background: white; border: 1px solid var(--border-color); box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: all 0.2s ease; }
.job-item:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.06); transform: translateY(-3px); border-color: rgba(0,78,162,0.2); }
.job-icon { flex-shrink: 0; width: 48px; height: 48px; background: rgba(0,78,162,0.05); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 20px; }
.job-content h4 { font-size: 17px; margin-bottom: 6px; color: var(--primary); line-height: 1.4; font-weight: 700; }
.job-content p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.5; }
.job-notice { background: #fff3f3; border: 1px solid #fecaca; padding: 25px; border-radius: 8px; margin-top: 40px; }
.job-notice p { color: #991b1b; margin-bottom: 10px; font-size: 15px; }
.job-notice p:last-child { margin-bottom: 0; }

.job-img-box { margin-top: 50px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }

/* Advantages */
.adv-list { display: flex; flex-direction: column; gap: 30px; }
.adv-item { background: white; padding: 40px; border-radius: 12px; box-shadow: var(--shadow-md); border-top: 4px solid var(--secondary); }
.adv-item-full { grid-column: 1 / -1; }
.adv-item h3 { font-size: 22px; color: var(--primary); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.adv-item h3 i { color: var(--secondary); font-size: 24px; }
.adv-item p { margin-bottom: 15px; color: var(--text-muted); font-weight: 500; }
.adv-item ul { display: flex; flex-direction: column; gap: 10px; }
.adv-item ul li { position: relative; padding-left: 25px; color: var(--text-main); font-size: 15px; line-height: 1.6; }
.adv-item ul li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--primary); font-size: 16px; }

/* Programs */
.prog-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.prog-header { background: var(--primary); color: white; padding: 25px; text-align: center; }
.prog-header h3 { margin: 0; color: white; font-size: 18px; line-height: 1.4; }
.prog-body { padding: 25px; flex-grow: 1; }
.prog-body ul { display: flex; flex-direction: column; gap: 10px; }
.prog-body ul li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--text-main); border-bottom: 1px dashed var(--border-color); padding-bottom: 9px; }
.prog-body ul li:last-child { border-bottom: none; padding-bottom: 0; }
.prog-body ul li i { color: var(--secondary); margin-top: 4px; }

/* CTA Final */
.cta-final { background: var(--bg-blue-light); padding: 80px 0; text-align: center; }
.cta-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: stretch; background: white; border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; padding: 40px; }
.cta-qr-box { display: flex; align-items: center; justify-content: center; background: #f8fafc; border-radius: 12px; padding: 30px; }
.cta-qr-box img { max-width: 250px; width: 100%; height: auto; mix-blend-mode: multiply; }
.cta-content-box { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; }
.cta-content-box h2 { font-size: 32px; color: var(--primary); margin-bottom: 25px; text-transform: uppercase; }
.cta-content-box p { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; text-align: center; max-width: 600px; }
.cta-buttons-wrap { display: flex; gap: 15px; justify-content: center; width: 100%; margin-top: 20px; }
.btn-cta-primary { background: var(--secondary); color: white; padding: 15px 30px; border-radius: 50px; font-weight: bold; }
.btn-cta-outline { background: white; color: var(--primary); border: 2px solid var(--primary); padding: 13px 30px; border-radius: 50px; font-weight: bold; }

/* Footer */
.footer { background: var(--primary-dark); color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.footer h3 { color: white; font-size: 22px; margin-bottom: 20px; }
.footer p, .footer li { color: #cbd5e1; font-size: 15px; margin-bottom: 15px; line-height: 1.6; }
.footer ul li { display: flex; gap: 15px; align-items: flex-start; }
.footer ul li i { color: var(--secondary); margin-top: 5px; }
.footer-logo img { background: white; padding: 15px; border-radius: 8px; max-width: 250px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 40px; text-align: center; font-size: 14px; color: #94a3b8; }

/* Mobile */
@media (max-width: 1024px) {
  .grid-4col { grid-template-columns: repeat(2, 1fr); }
  .grid-3col { grid-template-columns: repeat(2, 1fr); }
  .grid-2col { grid-template-columns: 1fr; }
  .adv-item-full { grid-column: span 1; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-actions { display: none; }
  .mobile-toggle { display: block; }
  .job-item { padding: 15px; gap: 12px; flex-direction: row; align-items: flex-start; }
  
  .nav-menu { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background: white; flex-direction: column; padding: 30px; box-shadow: var(--shadow-md); transition: 0.3s; align-items: flex-start; z-index: 999; }
  .nav-menu.active { left: 0; }
  
  .logo-wrap { gap: 10px; font-size: 14px; max-width: 240px; }
  .logo-img { height: 35px; }
  
  .grid-4col { grid-template-columns: 1fr; }
  .grid-3col { grid-template-columns: 1fr; }
  .grid-2col { grid-template-columns: 1fr; }
  
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-image img { margin-top: 10px; }
  .skills-grid { grid-template-columns: 1fr; gap: 15px; }
  .skills-container { padding: 20px; }
  .job-img-box { margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-head h2 { font-size: 28px; }
  .cta-grid { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .cta-qr-box { padding: 20px; }
  .cta-buttons-wrap { flex-direction: column; }
}
