:root {
    --ey-black: #000000;
    --ey-yellow: #FFCC00;
    --ey-blue: #001E62;
    --ey-green: #00A94F;
    --ey-purple: #782F8A;
    --ey-gray-light: #F5F5F5;
    --ey-gray: #666666;
    --ey-gray-dark: #333333;
    --primary: #001E62;
    --secondary: #FFCC00;
    --accent: #00A94F;
    --light: #f8f9fa;
    --dark: #212529;
    
    /* New accent colors */
    --accent-teal: #15b7A4;
    --accent-mint: #D0FDD5;
    --accent-orange: #E69C4E;
    --accent-sky: #8EC8D6; /* Fixed from #8EC&$D */
    --bg-light-green: #EFF6F3;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fff;
    padding-top: 0px;
    line-height: 1.6;
}

/* EY Specific Styles */
.bg-ey-black {
    background-color: var(--ey-black) !important;
}

.bg-ey-blue {
    background-color: var(--ey-blue) !important;
}

.bg-ey-yellow {
    background-color: var(--ey-yellow) !important;
}

.text-ey-yellow {
    color: var(--ey-yellow) !important;
}

.text-ey-blue {
    color: var(--ey-blue) !important;
}

/* New Background Colors */
.bg-light-green {
    background-color: var(--bg-light-green) !important;
}

.bg-accent-teal {
    background-color: var(--accent-teal) !important;
}

.bg-accent-mint {
    background-color: var(--accent-mint) !important;
}

.bg-accent-orange {
    background-color: var(--accent-orange) !important;
}

.bg-accent-sky {
    background-color: var(--accent-sky) !important;
}

/* New Text Colors */
.text-accent-teal {
    color: var(--accent-teal) !important;
}

.text-accent-mint {
    color: var(--accent-mint) !important;
}

.text-accent-orange {
    color: var(--accent-orange) !important;
}

.text-accent-sky {
    color: var(--accent-sky) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--ey-blue);
}

.ey-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ey-black);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.ey-section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--ey-yellow);
}

.ey-section-subtitle {
    font-size: 1.1rem;
    color: var(--ey-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-brand h2 {
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 600;
    color: var(--ey-black) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--ey-blue) !important;
}

.nav-link.active {
    color: var(--ey-blue) !important;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--ey-yellow);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--ey-blue);
    border-color: var(--ey-blue);
}

.btn-primary:hover {
    background-color: #00144d;
    border-color: #00144d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 30, 98, 0.2);
}

.btn-outline-primary {
    color: var(--ey-blue);
    border-color: var(--ey-blue);
}

.btn-outline-primary:hover {
    background-color: var(--ey-blue);
    border-color: var(--ey-blue);
    transform: translateY(-2px);
}

/* New Accent Buttons */
.btn-accent-teal {
    background-color: var(--accent-teal);
    border-color: var(--accent-teal);
    color: white;
}

.btn-accent-teal:hover {
    background-color: #119c8b;
    border-color: #119c8b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 183, 164, 0.2);
}

.btn-accent-orange {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
}

.btn-accent-orange:hover {
    background-color: #d3893a;
    border-color: #d3893a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 156, 78, 0.2);
}

/* Hero Section */
.hero-section {
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
    transform: rotate(180deg);
}

.hero-wave svg path {
    fill: #FFFFFF;
}

/* Cards */
.ey-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.ey-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--ey-yellow);
}

.ey-card-hover {
    transition: all 0.3s ease;
}

.ey-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.ey-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ey-blue), #003399);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

/* New Accent Icon Wrappers */
.ey-icon-wrapper-teal {
    background: linear-gradient(135deg, var(--accent-teal), #0d9c8c);
}

.ey-icon-wrapper-orange {
    background: linear-gradient(135deg, var(--accent-orange), #d3893a);
}

.ey-icon-wrapper-sky {
    background: linear-gradient(135deg, var(--accent-sky), #6cb0c3);
}

/* Team Cards */
.team-img-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 30, 98, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.team-img-wrapper:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.team-social a:hover {
    background-color: var(--ey-yellow);
    color: var(--ey-black) !important;
}

/* Badges */
.badge {
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 4px;
}

/* New Accent Badges */
.badge-accent-teal {
    background-color: var(--accent-teal);
    color: white;
}

.badge-accent-orange {
    background-color: var(--accent-orange);
    color: white;
}

.badge-accent-sky {
    background-color: var(--accent-sky);
    color: white;
}

.badge-accent-mint {
    background-color: var(--accent-mint);
    color: var(--ey-gray-dark);
}

/* Form Styling */
.form-control {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--ey-blue);
    box-shadow: 0 0 0 3px rgba(0, 30, 98, 0.1);
}

/* Footer */
footer {
    background-color: var(--ey-black);
    color: #fff;
    padding: 0px 0 30px;
}

footer h5 {
    color: var(--ey-yellow);
    margin-bottom: 20px;
    font-weight: 700;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    opacity: 0.9;
}

footer a:hover {
    color: var(--ey-yellow);
    opacity: 1;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 0px;
    }
    
    .hero-section {
        min-height: 600px;
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .ey-section-title {
        font-size: 2rem;
    }
    
    .navbar-brand h2 {
        font-size: 1.5rem;
    }
}

/* Additional styles for new pages */

/* Process numbers */
.process-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Article content styling */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--ey-blue);
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--ey-blue);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--ey-yellow);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--ey-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--ey-gray);
}

/* Accordion styling */
.accordion-button {
    font-weight: 600;
    color: var(--ey-blue);
    background-color: white;
}

.accordion-button:not(.collapsed) {
    color: var(--ey-blue);
    background-color: rgba(0, 30, 98, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--ey-yellow);
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 0, 0.25);
}

/* Form validation */
.form-control:valid {
    border-color: #198754;
}

.form-control:invalid {
    border-color: #dc3545;
}

/* Success/Error messages */
.alert {
    border-radius: 8px;
    border: none;
    padding: 1.25rem;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

/* Accent-colored alerts */
.alert-accent-teal {
    background-color: rgba(21, 183, 164, 0.1);
    color: #0d9c8c;
    border-left: 4px solid var(--accent-teal);
}

.alert-accent-orange {
    background-color: rgba(230, 156, 78, 0.1);
    color: #b8731e;
    border-left: 4px solid var(--accent-orange);
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.75rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Enhanced Back to Top Button */
#backToTopEnhanced {
    transition: all 0.3s ease;
}

#backToTopEnhanced .progress-circle {
    position: relative;
}

#backToTopEnhanced .progress-background {
    transition: all 0.3s ease;
}

#backToTopEnhanced .progress-bar {
    transition: stroke-dashoffset 0.3s ease;
}

#backToTopEnhanced button {
    background: linear-gradient(135deg, var(--ey-yellow), #ffdb4d);
    color: var(--ey-blue);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

#backToTopEnhanced button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #backToTopEnhanced {
        bottom: 80px !important;
        right: 15px;
    }
    
    #backToTopEnhanced .progress-circle {
        width: 45px;
        height: 45px;
    }
}

/* New Gradient Backgrounds */
.bg-gradient-teal {
    background: linear-gradient(135deg, var(--accent-teal), #0d9c8c);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, var(--accent-orange), #d3893a);
}

.bg-gradient-sky {
    background: linear-gradient(135deg, var(--accent-sky), #6cb0c3);
}

.bg-gradient-mint {
    background: linear-gradient(135deg, var(--accent-mint), #b0f7b6);
}

/* Accent borders */
.border-accent-teal {
    border-color: var(--accent-teal) !important;
}

.border-accent-orange {
    border-color: var(--accent-orange) !important;
}

.border-accent-sky {
    border-color: var(--accent-sky) !important;
}

.border-accent-mint {
    border-color: var(--accent-mint) !important;
}