:root {
    --primary-blue: #0f2342;
    --light-blue: #0681c6;
    --accent-yellow: #ffcc00;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-white: #ffffff;
    --bg-gray: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: 50px; font-weight: 600;
    cursor: pointer; transition: var(--transition); gap: 10px;
    border: none; font-size: 16px;
}
.btn-primary {
    background: var(--accent-yellow); color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(255, 204, 0, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 204, 0, 0.5);
}
.btn-outline {
    border: 2px solid var(--primary-blue); color: var(--primary-blue); background: transparent;
}
.btn-outline:hover { background: var(--primary-blue); color: #fff; }

/* Top Bar */
.top-bar { background: var(--primary-blue); color: #fff; padding: 8px 0; font-size: 14px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.contact-info a { margin-right: 20px; color: #cbd5e1; }
.contact-info a i { color: var(--accent-yellow); margin-right: 5px; }
.contact-info a:hover { color: var(--accent-yellow); }
.social-links a { margin-left: 15px; color: #cbd5e1; }
.social-links a:hover { color: var(--accent-yellow); }

/* Main Header */
.main-header { padding: 20px 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo h1 { font-weight: 800; font-size: 26px; color: var(--primary-blue); line-height: 1; }
.logo h1 span { color: var(--light-blue); }
.logo h1 small { font-weight: 600; font-size: 14px; letter-spacing: 2px; color: var(--text-light); }

.nav-menu ul { display: flex; gap: 20px; align-items: center; }
.nav-menu > ul > li > a { font-weight: 600; font-size: 15px; color: var(--primary-blue); display: flex; align-items: center; gap: 5px; padding: 10px 5px; }
.nav-menu > ul > li > a:hover { color: var(--light-blue); }

.has-dropdown { position: relative; }
.has-dropdown .dropdown {
    position: absolute; top: 100%; left: 0; background: #fff; min-width: 280px; width: max-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: var(--transition); padding: 10px 0;
    border-top: 3px solid var(--accent-yellow);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { padding: 12px 25px; display: block; color: var(--text-dark); font-weight: 500; border-bottom: 1px solid var(--bg-gray); white-space: nowrap; font-size: 15px; }
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--bg-gray); color: var(--light-blue); padding-left: 30px; }

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    padding: 100px 0; color: #fff; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,204,0,0.1) 0%, transparent 60%); z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero h2 { font-size: 48px; margin-bottom: 20px; font-weight: 800; }
.hero h2 span { color: var(--accent-yellow); }
.hero p { font-size: 20px; margin-bottom: 40px; color: #e2e8f0; font-weight: 300; }
.hero-features { display: flex; justify-content: center; gap: 30px; margin-top: 50px; }
.hf-item { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 18px; }
.hf-item i { color: var(--accent-yellow); font-size: 24px; }

/* Services Section */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title span { color: var(--light-blue); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; display: block; margin-bottom: 10px; }
.section-title h2 { font-size: 36px; color: var(--primary-blue); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card {
    background: var(--bg-white); padding: 40px 30px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; transition: var(--transition);
    border-bottom: 4px solid transparent; relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-10px); border-bottom-color: var(--accent-yellow); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.service-icon {
    width: 80px; height: 80px; background: var(--bg-gray); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 25px;
    font-size: 36px; color: var(--light-blue); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--light-blue); color: #fff; }
.service-card h3 { font-size: 24px; margin-bottom: 15px; color: var(--primary-blue); }
.service-card p { color: var(--text-light); margin-bottom: 25px; }
.service-list { text-align: left; margin-bottom: 25px; }
.service-list li { margin-bottom: 8px; display: flex; align-items: center; gap: 10px; color: var(--text-dark); font-weight: 500; }
.service-list li i { color: var(--accent-yellow); }
.service-card .btn-outline { width: 100%; border-color: var(--bg-gray); color: var(--text-dark); }
.service-card:hover .btn-outline { background: var(--light-blue); border-color: var(--light-blue); color: #fff; }

/* Subpage Hero */
.page-hero { background: var(--primary-blue); padding: 60px 0; color: #fff; text-align: center; }
.page-hero h1 { font-size: 40px; color: var(--accent-yellow); margin-bottom: 15px; }
.breadcrumb { font-size: 15px; color: #cbd5e1; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--accent-yellow); }

/* Service Detail Flex */
.service-detail-container { display: flex; gap: 50px; }
.service-sidebar { width: 30%; }
.service-content { width: 70%; }
.service-content img { border-radius: 16px; margin-bottom: 30px; }
.service-content h2 { font-size: 32px; color: var(--primary-blue); margin-bottom: 20px; }
.service-content p { font-size: 18px; color: var(--text-light); margin-bottom: 20px; }

.sidebar-menu-list { background: var(--bg-gray); border-radius: 12px; padding: 20px; }
.sidebar-menu-list li a {
    display: block; padding: 12px 15px; color: var(--text-dark); font-weight: 600;
    border-radius: 8px; margin-bottom: 5px; transition: var(--transition);
}
.sidebar-menu-list li a:hover, .sidebar-menu-list li a.active {
    background: var(--light-blue); color: #fff; padding-left: 25px;
}

/* Footer */
.main-footer { background: var(--primary-blue); color: #fff; padding-top: 80px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-logo h3 { font-size: 24px; font-weight: 800; margin-bottom: 20px; color: #fff; }
.footer-logo h3 span { color: var(--accent-yellow); }
.about-col p { color: #cbd5e1; margin-bottom: 20px; }
.footer-social a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: inline-flex;
    align-items: center; justify-content: center; border-radius: 50%; color: #fff; margin-left: 0; margin-right: 10px;
}
.footer-col h4 { font-size: 20px; margin-bottom: 25px; color: var(--accent-yellow); position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--light-blue); }
.links-col ul li { margin-bottom: 12px; }
.links-col ul li a { color: #cbd5e1; display: flex; align-items: center; gap: 10px; }
.links-col ul li a:hover { color: var(--accent-yellow); padding-left: 5px; }
.contact-col ul li { margin-bottom: 15px; display: flex; gap: 15px; color: #cbd5e1; }
.contact-col ul li i { color: var(--accent-yellow); font-size: 18px; margin-top: 5px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; color: #cbd5e1; font-size: 14px; }

/* Responsive */
@media(max-width: 992px) {
    .service-detail-container { flex-direction: column; }
    .service-sidebar, .service-content { width: 100%; }
    .hero h2 { font-size: 36px; }
    .footer-inner { grid-template-columns: 1fr; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: #fff;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1); padding: 80px 30px; flex-direction: column; transition: var(--transition);
    }
    .nav-menu.active { right: 0; }
    .nav-menu ul { flex-direction: column; gap: 10px; }
    .mobile-menu-btn { display: block; }
    .header-action { display: none; }
    .has-dropdown .dropdown { position: static; opacity: 1; visibility: visible; transform: none; width: 100%; box-shadow: none; padding-left: 20px; border: none; display: none; }
    .has-dropdown:hover .dropdown { display: block; }
}
