body {
    color: var(--dark-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.75;
    overflow-x: hidden !important;
    width: 100%; 
    background-color: var(--light-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Prevent all horizontal scroll issues */
html, body {
    overflow-x: hidden !important;
    width: 100%;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
}


/* Utility Classes */
.text-gradient {
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background-color: rgba(45, 55, 72, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue);
}

.navbar-brand span {
    color: var(--accent-gold);
}

.whyus {
    background: linear-gradient(rgba(60, 100, 150, 0.6), rgba(60, 100, 150, 0.6));
}

.nav-link {
    margin: 0 10px;
    transition: color 0.3s;
    color: var(--dark-text);
}

.nav-link:hover {
    color: var(--accent-gold) !important;
}


.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-gold:hover {
    background-color: #b8941f;
    border-color: #b8941f;
    color: white;
    transform: translateY(-2px);
}

.hero-about {
    background: linear-gradient(rgba(26, 58, 95, 0.9), rgba(26, 58, 95, 0.9)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.about-section {
    padding: 40px 0;
}

.section-gray {
    background-color: var(--light-bg);
}

.card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--accent-gold);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: var(--light-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-box i {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 30px;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.code-conduct {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-left: 5px solid var(--accent-gold);
}

.founder-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.founder-img {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
    border: 5px solid var(--light-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    position: relative;
    padding-left: 30px;
}

.founder-quote:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--light-gold);
    font-family: serif;
    line-height: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-top: 4px solid var(--accent-gold);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.stat-card p {
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
}

.footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 70px 0 20px;
}

.footer h5 {
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.footer a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--accent-gold);
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-about {
        padding: 120px 0 80px;
    }
    
    .card, .code-conduct, .stat-card {
        padding: 30px 25px;
    }
    
    .founder-section {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-img {
        width: 200px;
        height: 200px;
    }
    
    .founder-quote {
        padding-left: 0;
    }
    
    .founder-quote:before {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.navbar-nav .nav-item .nav-link{
    border: 2px solid transparent;
}

.navbar-nav .nav-item .nav-link:hover{
    color: var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
}

.navbar-nav .nav-item .active{
    color: var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
}

/* Blog Hero Header */
.hero-blog {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero-blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 58, 95, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.page-title {
    margin-bottom: 1.5rem;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-blue));
    border-radius: 2px;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 700px;
    margin-top: 2.5rem;
}
