:root {
    --primary-color: #0A1D37;
    --secondary-color: #2D4059;
    --accent-color: #007bff;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo .brand-name {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    text-transform: none;
    font-size: 13px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 29, 55, 0.8), rgba(10, 29, 55, 0.8)), url('../img/hero-bg.webp') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    margin-top: 20px;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: #777;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    border-bottom: 3px solid var(--accent-color);
    transform: translateY(-5px);
}

.service-card i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* References */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ref-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
}

.ref-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ref-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 29, 55, 0.8);
    color: var(--white);
    padding: 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.ref-item:hover .ref-overlay {
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    padding-left: 5px;
    color: var(--accent-color);
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.menu-toggle { display: none; }
.submenu-toggle { background:none; border:0; font:inherit; font-size:14px; font-weight:600; color:var(--secondary-color); text-transform:uppercase; cursor:pointer; }
.nav-links li.submenu-open > .dropdown-menu { opacity:1; visibility:visible; transform:none; }
@media (max-width:768px) {
    .navbar { flex-wrap:wrap; padding:15px 20px; }
    .menu-toggle { display:block; padding:10px 15px; border:1px solid #ccc; background:white; border-radius:5px; }
    #main-menu { display:none; width:100%; max-height:75vh; overflow:auto; }
    #main-menu.is-open { display:block; }
    #main-menu .nav-links { display:flex; flex-direction:column; gap:16px; padding:20px 0; }
    .dropdown-menu { display:none; position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; }
    .submenu-open > .dropdown-menu { display:block; }
    .hero h1 { font-size:32px; }
}

.breadcrumbs { padding-top:16px; padding-bottom:16px; font-size:14px; overflow-wrap:anywhere; }
.breadcrumbs a { color:#0066cc; }

img { max-width:100%; height:auto; }
.blog-content p { margin: 0 0 24px; }
.blog-content h2 { margin: 36px 0 16px; font-size: 26px; line-height: 1.4; color: var(--primary-color); }
.source-ref, .blog-sources a { color: #005bb8; text-decoration: underline; }
.blog-sources { margin-top: 40px; padding: 24px; background: var(--light-bg); border-radius: 10px; font-size: 14px; overflow-wrap: anywhere; }
.blog-sources ol { padding-left: 24px; margin: 16px 0; }
.blog-sources li { margin-bottom: 12px; scroll-margin-top: 100px; }
