html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #4a5568;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #2d3748;
}

/* Colors */
.text-success { color: #16a34a !important; }
.bg-success { background-color: #16a34a !important; }

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-success { background-color: #16a34a; border-color: #16a34a; }
.btn-success:hover { background-color: #15803d; border-color: #15803d; box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2); }
.btn-outline-success { color: #16a34a; border-color: #16a34a; }
.btn-outline-success:hover { background-color: #16a34a; color: #fff; box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2); }

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}
.btn-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Top Bar */
.top-bar {
    background-color: #1e293b;
    font-size: 0.85rem;
}
.top-bar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    margin-left: 8px;
    transition: all 0.3s;
}
.top-bar .social-links a:hover {
    background-color: #16a34a;
    color: white;
}
.top-bar a:hover {
    color: #16a34a !important;
}

/* Navbar */
.main-navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 12px 0;
}
.navbar-nav .nav-item {
    position: relative;
    margin: 0 2px;
}
.navbar-nav .nav-link {
    color: #475569;
    font-size: 0.95rem;
    padding: 10px 8px !important;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #16a34a;
}
/* Modern Underline Animation for Nav Links */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #16a34a;
    transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Cards & Hover Effects */
.card { 
    border: 1px solid rgba(0,0,0,0.03) !important;
}
.shadow-sm { box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important; }
.shadow-lg { box-shadow: 0 10px 40px rgba(0,0,0,0.06) !important; }

.transition-hover { transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); }
.transition-hover:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important; 
}

/* Hero Section */
.hero-bg { background: linear-gradient(-45deg, var(--brand-navy), #0f172a, #1e3a8a, #0b2239); background-size: 400% 400%; animation: gradientBG 15s ease infinite; position: relative; padding: 3rem 0; }
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-bg > .container { display: flex; align-items: center; animation: fadeInUp 0.8s ease-out forwards; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .hero-bg, .hero-bg > .container { min-height: 400px; }
    .hero-bg h1 { font-size: 2.2rem; }
}

/* Accordion Styling */
.accordion-button {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #2d3748;
}
.accordion-button:not(.collapsed) {
    color: #16a34a;
    background-color: #f0fdf4;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(22, 163, 74, 0.2);
}

/* Page Content */
.page-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
.page-content h2, .page-content h3 { font-weight: bold; margin-top: 30px; margin-bottom: 15px; color: #16a34a; }
.page-content ul { font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; padding-left: 20px; }
.page-content ul li { margin-bottom: 10px; }

/* Footer */
footer {
    background-color: #0f172a !important;
}
footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}
footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #16a34a;
}
footer p, footer li, footer a {
    color: #94a3b8 !important;
}
footer a:hover { 
    color: #16a34a !important; 
    text-decoration: none !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}
footer ul li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

/* Custom Color Palette */
:root {
    --brand-green: #16a34a;
    --brand-navy: #0b2239;
    --brand-orange: #f97316;
}

.text-navy { color: var(--brand-navy) !important; }
.bg-navy { background-color: var(--brand-navy) !important; }
.text-orange { color: var(--brand-orange) !important; }
.bg-orange { background-color: var(--brand-orange) !important; }

/* Custom Buttons */
.btn-orange {
    background-color: var(--brand-orange) !important;
    color: white !important;
    border: none;
    transition: all 0.3s ease;
}
.btn-orange:hover {
    background-color: #ea580c !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

.btn-navy {
    background-color: var(--brand-navy) !important;
    color: white !important;
    border: none;
    transition: all 0.3s ease;
}
.btn-navy:hover {
    background-color: #173d61 !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(11, 34, 57, 0.3);
}

/* Titles */
.section-title {
    position: relative;
    display: inline-block;
    color: var(--brand-navy);
    font-weight: 800;
}
.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--brand-orange);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.btn-outline-orange {
    color: var(--brand-orange);
    border: 2px solid var(--brand-orange);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-orange:hover {
    background-color: var(--brand-orange);
    color: white !important;
}

.btn-outline-navy {
    color: var(--brand-navy);
    border: 2px solid var(--brand-navy);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-navy:hover {
    background-color: var(--brand-navy);
    color: white !important;
}

.main-navbar { z-index: 9999 !important; }
