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%;
    scroll-behavior: smooth;
}

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-services {
    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%);
}

.service-section {
    padding: 100px 0;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}


.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.service-features li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
}

.service-features i {
    color: var(--accent-gold);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 1.1rem;
    min-width: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.service-grid h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.brexit-alert {
    background-color: #fff3cd;
    color: #856404;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.brexit-alert i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 58, 95, 0.2);
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 58, 95, 0.3);
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideIn 0.3s;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--light-text);
    transition: color 0.3s;
}

.close:hover {
    color: var(--accent-gold);
}

.modal-content h2 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-align: center;
}

#supplyChainForm input,
#supplyChainForm textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s;
}

#supplyChainForm input:focus,
#supplyChainForm textarea:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

#supplyChainForm button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

#supplyChainForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 58, 95, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.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-services {
        padding: 120px 0 80px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    

    
    .service-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;
}
