/* =========================================
   GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --brand-blue: #003366;      /* Professional Navy */
    --brand-amber: #f9ab00;     /* CTA Gold */
    --content-bg: #ffffff;      /* Clean White */
    --text-main: #202124;       /* Professional Dark */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    background-color: #f4f7f9; 
    color: var(--text-main); 
    font-family: 'Open Sans', sans-serif; 
    line-height: 1.7; 
}

/* =========================================
   STRUCTURAL COMPONENTS
   ========================================= */
.main-content-wrapper {
    background-color: var(--content-bg);
    max-width: 1000px;
    margin: -2rem auto 2rem auto;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

h1, h2 { color: var(--brand-blue); }
p { margin-bottom: 1.5rem; }

.site-footer { background-color: var(--brand-blue); color: #fff; text-align: center; padding: 2rem 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* =========================================
   BUTTON SYSTEM
   ========================================= */
/* CTA Section */
.cta-mid-section {
    background-color: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 1rem;
}   
   
.btn-group { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn { padding: 0.875rem 2rem; border-radius: 9999px; font-weight: 600; text-align: center; transition: 0.2s; border: 1px solid transparent; text-decoration: none; }
.btn-consult { background: #1a73e8; color: #fff; }
.btn-paynow { background: #f9ab00; color: #202124; }
.btn-whatsup { background: #1e8e3e; color: #fff; }

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.main-header { background-color: var(--brand-blue); color: #fff; position: relative; z-index: 999; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 1rem; }
.logo a { color: #fff; text-decoration: none; font-size: 1.5rem; font-weight: bold; }

.main-nav ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 600; transition: color 0.3s; }
.main-nav a:hover { color: var(--brand-amber); }

/* Desktop Dropdown */
.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background-color: #fff; min-width: 220px; box-shadow: 0px 8px 16px rgba(0,0,0,0.15); border-radius: 4px; z-index: 1000; }
.dropdown-content a { color: var(--text-main) !important; padding: 12px 16px; display: block; border-bottom: 1px solid #f0f0f0; }

@media (min-width: 901px) {
    .dropdown:hover .dropdown-content { display: block; }
}

/* =========================================
   MOBILE NAVIGATION (900px and below)
   ========================================= */
.mobile-menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.75rem; cursor: pointer; padding: 5px; }

@media (max-width: 900px) {
    .mobile-menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--brand-blue); }
    .main-nav.active { display: block !important; }
    
    .main-nav ul { flex-direction: column; gap: 0; padding: 1rem 0; }
    .main-nav a { display: block; padding: 15px 20px; text-align: center; }

    /* Dropdown mobile logic */
    .dropdown { width: 100%; text-align: center; }
    .dropdown-content a { color: #fff !important; }
    .dropdown-content {
        display: none;
        position: static;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        width: 100%;
    }

    /* Force show dropdown content when active class is toggled */
    .dropdown.active > .dropdown-content {
        display: block !important;
    }
}
    /* Footer links adjustment */
    .footer-links { margin-top: 10px; }

}

/* ==========================================================
   Card Grid
   ========================================================== */
.aos-card-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:2rem;
    margin:3rem 0;
}
/* ==========================================================
   Feature Grid
   ========================================================== */
.aos-feature-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:1.5rem;
    margin:2rem 0;
}
/* ==========================================================
   Generic Card
   ========================================================== */
.aos-card{
    display:flex;
    flex-direction:column;
    height:100%;
    padding:2rem;
    background:var(--aos-card);
    border:1px solid var(--aos-border);
    border-radius:var(--aos-radius-lg);
    box-shadow:var(--aos-shadow-sm);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}
.aos-card:hover{
    transform:translateY(-4px);
    box-shadow:var(--aos-shadow-md);
    border-color:var(--aos-primary);
}
.aos-card h2,
.aos-card h3,
.aos-card h4{
    margin-top:0;
    margin-bottom:1rem;
}
.aos-card p:last-child,
.aos-card ul:last-child,
.aos-card ol:last-child{
    margin-bottom:0;
}
.aos-card ul,
.aos-card ol{
    padding-left:1.2rem;
}
.aos-card li{
    margin-bottom:.5rem;
}
/* ==========================================================
   Utilities
   ========================================================== */
.aos-text-center{
    text-align:center;
}
.aos-text-left{
    text-align:left;
}
.aos-text-right{
    text-align:right;
}
.aos-mt-3{
    margin-top:3rem;
}
.aos-mb-3{
    margin-bottom:3rem;
}