:root {
    --primary-color: #0f172a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-color: #334155;
    --bg-color: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition-speed: 0.3s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text-color); background: var(--bg-color); overflow-x: hidden; }

/* Glassmorphism Header */
.top-header-modern {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white; width: 100vw; position: sticky; top: 0; z-index: 999; left: 0;
    transition: all var(--transition-speed) ease;
}
.header-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 15px 40px; display: flex; align-items: center; justify-content: space-between; }
.logo-modern { display: flex; align-items: center; text-decoration: none; color: white; font-weight: 700; font-size: 1.5rem; gap: 12px; }
.logo-modern img { width: 150px; filter: brightness(0) invert(1) drop-shadow(0 4px 6px rgba(0,0,0,0.5)); transition: transform var(--transition-speed); }
.logo-modern:hover img { transform: scale(1.05); }

.hamburger-modern { display: none; } /* Hidden by default on desktop */

.nav-modern { flex-grow: 1; margin-left: 40px; }
.nav-menu-modern { display: flex; list-style: none; gap: 30px; justify-content: flex-end; }
.nav-link-modern { color: white; font-weight: 500; text-decoration: none; padding: 8px 0; position: relative; transition: color var(--transition-speed) ease; }
.nav-link-modern::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--accent-color); transition: width var(--transition-speed) ease; }
.nav-link-modern:hover { color: var(--accent-color); }
.nav-link-modern:hover::after { width: 100%; }

.dropdown-modern { position: relative; }
.dropdown-menu-modern { position: absolute; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); padding: 12px 0; top: 100%; left: 0; min-width: 200px; opacity: 0; visibility: hidden; border-radius: 8px; transform: translateY(10px); transition: all var(--transition-speed) ease; box-shadow: 0 10px 25px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }
.dropdown-modern:hover .dropdown-menu-modern { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-link-modern { display: block; padding: 10px 20px; color: white; text-decoration: none; font-weight: 500; transition: background var(--transition-speed), padding-left var(--transition-speed); }
.dropdown-link-modern:hover { background: rgba(59, 130, 246, 0.2); padding-left: 25px; color: var(--accent-color); }

.header-buttons-modern { display: flex; gap: 15px; margin-left: 30px; }
.btn-secondary-modern { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 10px 24px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all var(--transition-speed) ease; backdrop-filter: blur(5px); }
.btn-secondary-modern:hover { background: white; color: var(--primary-color); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,255,255,0.2); }

/* Hero Section */
.hero-section { height: 80vh; min-height: 600px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.slider-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out, transform 10s linear; transform: scale(1.05); }
.slide.active { opacity: 1; transform: scale(1); }
.slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.4) 100%); }

.hero-content { position: relative; z-index: 10; width: 100%; max-width: 1200px; padding: 0 40px; color: white; animation: fadeInUp 1s ease 0.5s both; }
.hero-content h2 { font-size: 4rem; margin-bottom: 20px; font-weight: 800; line-height: 1.1; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.hero-content h2 span { color: var(--accent-color); }
.hero-content p { font-size: 1.25rem; margin-bottom: 40px; max-width: 600px; opacity: 0.9; line-height: 1.8; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--secondary-color); color: white; padding: 16px 36px; border: none; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: all var(--transition-speed) ease; box-shadow: 0 10px 20px rgba(59, 130, 246, 0.4); }
.btn-primary:hover { background: #2563eb; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(59, 130, 246, 0.5); }

/* Main Content */
.main-content { padding: 100px 0; position: relative; background: var(--bg-color); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; color: var(--primary-color); font-weight: 700; margin-bottom: 15px; }
.section-header p { color: #64748b; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.content-card { background: var(--card-bg); border-radius: 20px; padding: 40px; border: 1px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; }
.content-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--secondary-color), var(--accent-color)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.content-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.content-card:hover::before { transform: scaleX(1); }

.card-icon { width: 70px; height: 70px; background: rgba(59, 130, 246, 0.1); color: var(--secondary-color); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; font-size: 30px; transition: all var(--transition-speed); }
.content-card:hover .card-icon { background: var(--secondary-color); color: white; transform: rotateY(360deg); }
.card-title { color: var(--primary-color); font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; }
.card-text { color: #475569; line-height: 1.8; margin-bottom: 25px; }
.card-link { color: var(--secondary-color); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all var(--transition-speed); }
.card-link i { transition: transform var(--transition-speed); }
.card-link:hover { color: var(--primary-color); }
.card-link:hover i { transform: translateX(5px); }

/* Footer */
.footer { background: var(--primary-color); color: white; padding: 80px 0 30px; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--secondary-color), var(--accent-color)); }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; align-items: start; }
.footer-logo img { width: 160px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-desc p { color: #94a3b8; line-height: 1.8; margin-bottom: 20px; max-width: 400px; }
.footer-section h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 25px; color: white; position: relative; padding-bottom: 10px; }
.footer-section h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--secondary-color); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color var(--transition-speed); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: white; transform: translateX(5px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 30px; text-align: center; color: #64748b; font-size: 0.9rem; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .header-container { padding: 15px 20px; flex-wrap: wrap; }
    .nav-modern, .header-buttons-modern { display: none; width: 100%; text-align: center; margin-top: 15px; }
    .nav-modern.active, .header-buttons-modern.active { display: flex; flex-direction: column; gap: 15px; }
    .nav-menu-modern { flex-direction: column; gap: 15px; padding: 0; align-items: center; }
    .header-buttons-modern { margin-left: 0; justify-content: center; padding-bottom: 15px; }
    .hamburger-modern { display: flex; flex-direction: column; gap: 6px; background: transparent; border: none; cursor: pointer; z-index: 1000; }
    .hamburger-modern span { width: 30px; height: 2px; background: white; transition: all 0.3s; }
    .hamburger-modern.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger-modern.active span:nth-child(2) { opacity: 0; }
    .hamburger-modern.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero-content h2 { font-size: 2.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; }
}
