*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary: #0F2742; --primary-light: #1a3a5c; --accent: #D62828; --accent-hover: #b01e1e; --text: #1a1a2e; --text-light: #555; --bg: #f8f9fa; --white: #ffffff; --shadow: 0 2px 20px rgba(0,0,0,0.08); --radius: 8px; --transition: 0.3s ease; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); line-height: 1.7; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.08); transition: var(--transition); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 20px; max-width: 1400px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.logo img { height: 60px; width: auto; }
.logo span { letter-spacing: 0.5px; }
.nav-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; padding: 5px; background: none; border: none; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--primary); transition: var(--transition); border-radius: 2px; }
nav { display: flex; align-items: center; gap: 5px; }
nav a { padding: 8px 16px; font-size: 0.9rem; font-weight: 500; color: var(--text); border-radius: 6px; transition: var(--transition); position: relative; }
nav a:hover, nav a.active { background: var(--primary); color: var(--white); }
nav a.dropdown-toggle { padding-right: 28px; }
nav a.dropdown-toggle::after { content: '▾'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 10px; }
.dropdown { position: relative; display: inline-block; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); min-width: 180px; box-shadow: var(--shadow); border-radius: var(--radius); padding: 8px 0; z-index: 100; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 20px; color: var(--text); white-space: nowrap; border-radius: 0; }
.dropdown-menu a:hover { background: var(--primary); color: var(--white); }
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 120px 20px 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,39,66,0.85) 0%, rgba(15,39,66,0.6) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 20px; line-height: 1.2; letter-spacing: -0.5px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 35px; line-height: 1.8; }
.hero-badge { display: inline-block; background: var(--accent); color: var(--white); padding: 8px 24px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; }
.btn { display: inline-block; padding: 14px 36px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(214,40,40,0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-light); }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.section { padding: 90px 0; }
.section-dark { background: var(--primary); color: var(--white); }
.section-gray { background: var(--bg); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 55px; }
.section-header h2 { font-size: 2.3rem; font-weight: 700; margin-bottom: 15px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }
.section-tag { display: inline-block; color: var(--accent); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 2.8rem; font-weight: 800; color: var(--accent); }
.stat-item p { font-size: 0.95rem; opacity: 0.8; margin-top: 5px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 25px; }
.card-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card-body p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }
.card-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 15px; }
.card-icon.gold { background: rgba(214,40,40,0.12); color: var(--accent); }
.card-icon.blue { background: rgba(15,39,66,0.06); color: var(--primary); }
.service-card { text-align: center; padding: 40px 30px; }
.service-card .card-icon { margin: 0 auto 20px; }
.service-card h3 { margin-bottom: 12px; }
.about-content h2 { font-size: 2rem; margin-bottom: 20px; }
.about-content p { margin-bottom: 15px; color: var(--text-light); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
.value-item { display: flex; gap: 15px; padding: 20px; background: var(--bg); border-radius: var(--radius); }
.value-item .num { font-size: 1.5rem; font-weight: 800; color: var(--accent); min-width: 40px; }
.value-item h4 { margin-bottom: 5px; font-size: 1rem; }
.value-item p { font-size: 0.85rem; color: var(--text-light); }
.product-card { text-align: center; }
.product-card .card-img { height: 250px; }
.team-card { text-align: center; }
.team-card .card-img { height: 280px; }
.team-card .card-body h4 { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.team-card .card-body h3 { font-size: 1.1rem; }
.team-card .card-body p { font-size: 0.82rem; }
.skill { margin-bottom: 12px; }
.skill-label { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 4px; }
.skill-bar { height: 8px; background: #e9ecef; border-radius: 10px; overflow: hidden; }
.skill-fill { height: 100%; background: var(--accent); border-radius: 10px; transition: width 1s ease; }
.contact-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact-card { text-align: center; padding: 35px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card .icon { font-size: 2rem; color: var(--accent); margin-bottom: 15px; }
.contact-card h4 { margin-bottom: 8px; }
.contact-card p { color: var(--text-light); font-size: 0.9rem; }
.contact-form { max-width: 600px; margin: 40px auto 0; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 18px; border: 1px solid #ddd; border-radius: var(--radius); font-size: 0.95rem; margin-bottom: 15px; transition: var(--transition); font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(214,40,40,0.1); }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form .btn { width: 100%; }
.map-container { height: 350px; border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.map-container iframe { width: 100%; height: 100%; border: none; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--accent); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--accent); }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 5px; }
.timeline-item .date { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.timeline-item p { color: var(--text-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(15,39,66,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); color: var(--white); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.project-card .card-img { height: 230px; }
.page-header { padding: 120px 20px 60px; text-align: center; background: var(--primary); color: var(--white); }
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.page-header p { font-size: 1rem; opacity: 0.8; max-width: 600px; margin: 0 auto; }
footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 60px 20px 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
footer h4 { color: var(--white); margin-bottom: 20px; font-size: 1.05rem; }
footer p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 10px; }
footer a { font-size: 0.88rem; display: block; margin-bottom: 10px; transition: var(--transition); }
footer a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 15px 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); gap: 0; }
  nav.open { display: flex; }
  nav a { width: 100%; padding: 12px 16px; border-radius: 0; border-bottom: 1px solid #eee; }
  nav a.dropdown-toggle::after { right: 16px; }
  .dropdown-menu { position: static; box-shadow: none; padding-left: 20px; display: none; }
  .dropdown.open .dropdown-menu { display: block; }
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item h3 { font-size: 2rem; }
  .hero h1 { font-size: 1.6rem; }
}

