.elementor-menu-toggle .eicon-menu-bar:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0c9";
}

.elementor-menu-toggle.elementor-active .eicon-menu-bar:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d";
}

.elementor-menu-toggle.elementor-active i.fa-solid.fa-bars:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00d";
}

/* Universal Footer Styles - High Specificity to Override External CSS */
.site-footer,
#footer-container .site-footer,
body .site-footer {
    background-color: #2c3e50 !important;
    color: #ecf0f1 !important;
    padding: 40px 0 20px 0 !important;
    margin-top: 50px !important;
    font-family: Arial, sans-serif !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.site-footer .footer-section h3 {
    color: #3498db !important;
    font-size: 24px !important;
    margin-bottom: 15px !important;
    font-weight: bold !important;
}

.footer-section h4,
.site-footer .footer-section h4 {
    color: #ecf0f1 !important;
    font-size: 18px !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
}

.footer-section p,
.site-footer .footer-section p {
    line-height: 1.6 !important;
    margin-bottom: 10px !important;
    color: #bdc3c7 !important;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a,
.site-footer .footer-nav a {
    color: #bdc3c7 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    font-size: 16px !important;
}

.footer-nav a:hover,
.site-footer .footer-nav a:hover {
    color: #3498db !important;
}

.email-link,
.site-footer .email-link,
.site-footer .contact-info .email-link {
    color: #3498db !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: color 0.3s ease !important;
}

.email-link:hover,
.site-footer .email-link:hover,
.site-footer .contact-info .email-link:hover {
    color: #2980b9 !important;
}

.email-link i,
.site-footer .email-link i,
.site-footer .contact-info .email-link i {
    font-size: 16px !important;
}

.footer-bottom,
.site-footer .footer-bottom {
    border-top: 1px solid #34495e !important;
    padding-top: 20px !important;
    text-align: center !important;
}

.footer-bottom p,
.site-footer .footer-bottom p {
    margin: 0 !important;
    color: #95a5a6 !important;
    font-size: 14px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 20px;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
    
    .site-footer {
        padding: 30px 0 15px 0;
        margin-top: 30px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-nav a {
        font-size: 14px;
    }
    
    .email-link {
        font-size: 14px;
    }
    
    .footer-bottom p {
        font-size: 12px;
    }
}

/* Hidden class to hide sections */
.hidden {
    display: none !important;
}

/* Hide yellow circles on testimonials page */
[data-id="26ebf8ad"],
[data-id="1b6b0e3a"] {
    display: none !important;
    visibility: hidden !important;
}

/* Black outline for main title */
h1.elementor-heading-title.elementor-size-default {
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;
    font-weight: bold;
}

/* Enhanced outline for better visibility on all devices */
@media (max-width: 768px) {
    h1.elementor-heading-title.elementor-size-default {
        text-shadow: 
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000,
            -2px -2px 0 #000,
            2px -2px 0 #000,
            -2px 2px 0 #000,
            2px 2px 0 #000,
            0 0 3px #000;
    }
}

/* Navigation menu desktop fix to prevent wrapping */
@media (min-width: 1025px) {
    .elementor-nav-menu--layout-horizontal {
        flex-wrap: nowrap !important;
        justify-content: flex-end;
    }
    
    .elementor-nav-menu--layout-horizontal .elementor-nav-menu {
        flex-wrap: nowrap !important;
        white-space: nowrap;
    }
    
    .elementor-nav-menu--layout-horizontal .elementor-nav-menu .elementor-item {
        padding: 15px 12px !important;
        font-size: 14px;
        flex-shrink: 0;
    }
}

/* Additional navigation adjustments for medium screens */
@media (min-width: 769px) and (max-width: 1024px) {
    .elementor-nav-menu--layout-horizontal .elementor-nav-menu .elementor-item {
        padding: 15px 8px !important;
        font-size: 13px;
    }
}

/* Hide existing mobile navigation elements on mobile devices */
@media (max-width: 1024px) {
    /* Hide the existing hamburger menu toggle */
    .elementor-nav-menu--toggle .elementor-menu-toggle:not(.mobile-nav-injection-point .elementor-menu-toggle) {
        display: none !important;
    }
    
    /* Hide the existing mobile dropdown menu */
    .elementor-nav-menu--dropdown.elementor-nav-menu__container[role="navigation"]:not(.mobile-nav-menu) {
        display: none !important;
    }
    
    /* Hide existing mobile menu lists */
    ul#menu-2-eb867a0.elementor-nav-menu {
        display: none !important;
    }
}

/* Mobile Navigation Override Styles - Higher Specificity */
.mobile-nav-injection-point .mobile-hamburger-container {
    display: none !important;
    width: 100% !important;
    text-align: right !important;
    padding: 10px 20px !important;
    position: relative !important;
    z-index: 1000001 !important;
}

.mobile-nav-injection-point .mobile-nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    z-index: 999999 !important;
    display: none !important;
    padding-top: 80px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    backdrop-filter: blur(2px) !important;
}

.mobile-nav-injection-point .mobile-nav-menu.mobile-nav-visible {
    display: block !important;
}

.mobile-nav-injection-point .mobile-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 20px !important;
    width: 100% !important;
}

.mobile-nav-injection-point .mobile-nav-list .menu-item {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #eee !important;
}

.mobile-nav-injection-point .mobile-nav-list .elementor-item {
    display: block !important;
    padding: 15px 20px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.mobile-nav-injection-point .mobile-nav-list .elementor-item:hover {
    background-color: #f8f8f8 !important;
    color: #007cba !important;
}

/* Mobile hamburger toggle - Orange and Right Aligned */
.mobile-nav-injection-point .elementor-menu-toggle {
    display: inline-block !important;
    cursor: pointer !important;
    padding: 10px !important;
    z-index: 1000000 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: none !important;
    border: none !important;
}

.mobile-nav-injection-point .elementor-menu-toggle i.fa-solid {
    color: #ff6600 !important; /* Orange color */
    font-size: 24px !important;
    transition: color 0.3s ease !important;
}

.mobile-nav-injection-point .elementor-menu-toggle:hover i.fa-solid {
    color: #e55a00 !important; /* Darker orange on hover */
}

/* Show new hamburger menu on mobile/tablet only */
@media (max-width: 1024px) {
    .mobile-nav-injection-point .mobile-hamburger-container {
        display: block !important;
    }
}

/* Ensure proper z-index hierarchy */
.mobile-nav-injection-point .mobile-nav-menu {
    z-index: 999999 !important;
}

.mobile-nav-injection-point .elementor-menu-toggle {
    z-index: 1000000 !important;
}

/* Prevent body scrolling when mobile menu is open */
body.mobile-nav-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* Fallback mobile navigation styles */
.mobile-nav-fallback .mobile-hamburger-container {
    display: none !important;
    width: 100% !important;
    text-align: right !important;
    padding: 10px 20px !important;
    position: relative !important;
    z-index: 1000001 !important;
}

.mobile-nav-fallback .elementor-menu-toggle {
    display: inline-block !important;
    cursor: pointer !important;
    padding: 10px !important;
    z-index: 1000000 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: none !important;
    border: none !important;
}

.mobile-nav-fallback .elementor-menu-toggle i.fa-solid {
    color: #ff6600 !important; /* Orange color */
    font-size: 24px !important;
    transition: color 0.3s ease !important;
}

.mobile-nav-fallback .elementor-menu-toggle:hover i.fa-solid {
    color: #e55a00 !important; /* Darker orange on hover */
}

@media (max-width: 1024px) {
    .mobile-nav-fallback .mobile-hamburger-container {
        display: block !important;
    }
    
    .mobile-nav-fallback .mobile-nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        z-index: 999999 !important;
        display: none !important;
        padding-top: 80px !important;
    }
}

/* College Success Section Styles */
.university-list .university-item {
    position: relative;
    padding: 15px 20px 15px 60px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.university-list .university-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* University Icons using CSS pseudo-elements */
.university-list .university-item::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    text-align: center;
    line-height: 24px;
}

/* Vassar - Purple */
.university-item.vassar::before {
    background: linear-gradient(135deg, #6B46C1, #9333EA);
    content: "V";
}

/* Lehigh - Brown */
.university-item.lehigh::before {
    background: linear-gradient(135deg, #92400E, #B45309);
    content: "L";
}

/* Tufts - Blue */
.university-item.tufts::before {
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
    content: "T";
}

/* Skidmore - Green */
.university-item.skidmore::before {
    background: linear-gradient(135deg, #059669, #10B981);
    content: "S";
}

/* Binghamton - Dark Green */
.university-item.binghamton::before {
    background: linear-gradient(135deg, #166534, #22C55E);
    content: "B";
}

/* Stony Brook - Red */
.university-item.stony-brook::before {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    content: "SB";
    font-size: 10px;
}

/* Rider - Cranberry */
.university-item.rider::before {
    background: linear-gradient(135deg, #BE123C, #E11D48);
    content: "R";
}

/* Albany - Purple/Gold */
.university-item.albany::before {
    background: linear-gradient(135deg, #7C3AED, #A855F7);
    content: "A";
}

/* Responsive adjustments for university list */
@media (max-width: 768px) {
    .university-list {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .university-list .university-item {
        padding: 12px 15px 12px 50px !important;
        font-size: 16px !important;
    }
    
    .university-list .university-item::before {
        width: 20px !important;
        height: 20px !important;
        left: 15px !important;
        font-size: 10px !important;
        line-height: 20px !important;
    }
    
    .university-item.stony-brook::before {
        font-size: 8px !important;
    }
}

@media (max-width: 480px) {
    .college-success-section h2 {
        font-size: 28px !important;
    }
    
    .college-success-section p {
        font-size: 16px !important;
    }
}

/* Cities Served List Styles */
.cities-served-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cities-served-list .city-item {
    position: relative;
    padding: 12px 0 12px 40px;
    font-size: 20px !important;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.cities-served-list .city-item:hover {
    color: #F8673F;
    transform: translateX(5px);
}

/* Map pin icon using CSS pseudo-element */
.cities-served-list .city-item::before {
    content: "📍";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #F8673F;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Alternative Font Awesome icon version (if emoji doesn't display well) */
.cities-served-list .city-item::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #F8673F;
    border-radius: 50% 50% 50% 0;
    transform: translateY(-50%) rotate(-45deg);
    display: none; /* Hidden by default, can be enabled if needed */
}

/* Responsive adjustments for cities list */
@media (max-width: 768px) {
    .cities-served-list .city-item {
        font-size: 18px !important;
        padding: 10px 0 10px 35px;
    }
    
    .cities-served-list .city-item::before {
        font-size: 16px;
        left: 0;
    }
}

@media (max-width: 480px) {
    .cities-served-list {
        gap: 12px;
    }
    
    .cities-served-list .city-item {
        font-size: 17px !important;
        padding: 8px 0 8px 32px;
    }
    
    .cities-served-list .city-item::before {
        font-size: 15px;
        left: 0;
    }
}

/* Nested List Styles for Test Prep Section */
.nested-list {
    margin-top: 10px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.nested-list .sub-item {
    padding-left: 0 !important;
    font-size: 0.9em !important;
    opacity: 0.9;
}

.nested-list .sub-item .elementor-icon-list-icon {
    opacity: 0.8;
    transform: scale(0.8);
}

/* Responsive adjustments for nested items */
@media (max-width: 768px) {
    .nested-list {
        margin-left: 0 !important;
    }
    
    .nested-list .sub-item {
        padding-left: 0 !important;
    }
    
    /* Mobile-specific alignment for Test Prep section */
    .elementor-icon-list-items .elementor-icon-list-item {
        padding-left: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
    }
    
    .elementor-icon-list-items .elementor-icon-list-item .elementor-icon-list-text {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    /* Ensure consistent spacing for all Test Prep items on mobile */
    .elementor-icon-list-items .elementor-icon-list-item #check-icon {
        margin-right: 10px !important;
        display: inline-block !important;
    }
}

/* Mobile-friendly Ready to Start Banner */
@media (max-width: 768px) {
    /* Call to Action Section Mobile Optimization */
    .elementor-section.elementor-top-section.elementor-section-boxed[style*="background: linear-gradient(135deg, #F8673F"] {
        padding: 60px 20px !important;
    }
    
    /* Main heading mobile sizing */
    .elementor-section.elementor-top-section.elementor-section-boxed[style*="background: linear-gradient(135deg, #F8673F"] h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
        padding: 0 10px !important;
    }
    
    /* Subtitle mobile sizing */
    .elementor-section.elementor-top-section.elementor-section-boxed[style*="background: linear-gradient(135deg, #F8673F"] p {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 25px !important;
        padding: 0 15px !important;
    }
    
    /* Button mobile optimization */
    .elementor-section.elementor-top-section.elementor-section-boxed[style*="background: linear-gradient(135deg, #F8673F"] a[href="contact-us.html"] {
        padding: 12px 25px !important;
        font-size: 16px !important;
        display: inline-block !important;
        margin: 0 10px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - further optimization */
    .elementor-section.elementor-top-section.elementor-section-boxed[style*="background: linear-gradient(135deg, #F8673F"] {
        padding: 50px 15px !important;
    }
    
    /* Main heading for very small screens */
    .elementor-section.elementor-top-section.elementor-section-boxed[style*="background: linear-gradient(135deg, #F8673F"] h2 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }
    
    /* Subtitle for very small screens */
    .elementor-section.elementor-top-section.elementor-section-boxed[style*="background: linear-gradient(135deg, #F8673F"] p {
        font-size: 15px !important;
        padding: 0 10px !important;
    }
    
    /* Button for very small screens */
    .elementor-section.elementor-top-section.elementor-section-boxed[style*="background: linear-gradient(135deg, #F8673F"] a[href="contact-us.html"] {
        padding: 10px 20px !important;
        font-size: 15px !important;
    }
}

/* Navigation Box Styles */
.elementor-element-28576276,
.elementor-element-45dad951,
.elementor-element-science-inner-box,
.elementor-element-2b83ec00 {
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 20px !important;
    overflow: hidden !important;
}

.elementor-element-28576276 {
    background-color: #F8673F !important;
    background-image: none !important;
}

.elementor-element-45dad951 {
    background-color: #8BC34A !important;
    background-image: none !important;
}

.elementor-element-science-inner-box {
    background-color: #97D4E7 !important;
    background-image: none !important;
}

.elementor-element-2b83ec00 {
    background-color: #FFC107 !important;
    background-image: none !important;
}

/* Math Section - White Background */
.math-section-blue {
    background-color: #ffffff !important;
    background-image: none !important;
    padding: 40px 0 !important;
}

/* Science Section - White Background */
.science-section-purple {
    background-color: #ffffff !important;
    background-image: none !important;
    padding: 40px 0 !important;
}

/* Elementor Toggle Widget Styling - Ceria Template Style */
.elementor-toggle .elementor-toggle-item {
    margin-bottom: 10px;
}

.elementor-toggle .elementor-toggle-item .elementor-tab-title {
    background-color: #97d4e7;
    color: #ffffff;
    border-radius: 6px;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
    border: none;
    margin-bottom: 0;
}

.elementor-toggle .elementor-toggle-item .elementor-tab-title:hover {
    background-color: #8bc9dd;
}

.elementor-toggle .elementor-toggle-item .elementor-tab-title.elementor-active {
    background-color: #97d4e7;
    border-radius: 6px 6px 0 0;
}

.elementor-toggle .elementor-toggle-item .elementor-toggle-title {
    color: #ffffff;
    text-decoration: none !important;
    font-size: 17px;
    font-weight: 600;
    order: 1;
}

.elementor-toggle .elementor-toggle-item .elementor-toggle-icon {
    color: #ffffff;
    font-size: 16px;
    order: 2;
}

.elementor-toggle .elementor-toggle-item .elementor-toggle-icon-closed {
    display: inline-block;
}

.elementor-toggle .elementor-toggle-item .elementor-toggle-icon-opened {
    display: none;
}

.elementor-toggle .elementor-toggle-item .elementor-tab-title.elementor-active .elementor-toggle-icon-closed {
    display: none;
}

.elementor-toggle .elementor-toggle-item .elementor-tab-title.elementor-active .elementor-toggle-icon-opened {
    display: inline-block;
}

.elementor-toggle .elementor-toggle-item .elementor-tab-content {
    background-color: #ffffff;
    padding: 20px 24px;
    color: #333;
    line-height: 1.8;
    font-size: 15px;
    border-radius: 0 0 6px 6px;
    display: none;
}

.elementor-toggle .elementor-toggle-item .elementor-tab-content.elementor-active {
    display: block;
}

.elementor-toggle .elementor-toggle-item .elementor-tab-content p {
    margin: 0;
    color: #333;
    line-height: 1.8;
}

.subject-list li {
    margin-bottom: 10px;
    color: #34495e;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive adjustments for accordions */
@media (max-width: 768px) {
    .panel-header {
        padding: 12px 15px;
    }
    
    .subject-title {
        font-size: 16px;
    }
    
    .panel-content {
        padding: 15px;
    }
    
    .subject-list li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .panel-header {
        padding: 10px 12px;
    }
    
    .subject-title {
        font-size: 15px;
    }
    
    .icon-indicator {
        margin-right: 10px;
        font-size: 0.9em;
    }
    
    .panel-content {
        padding: 12px;
    }
    
    .subject-list {
        padding-left: 20px;
    }
    
    .subject-list li {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .math-section-blue,
    .science-section-purple {
        padding: 30px 0 !important;
    }
}