/* Home Page Styles - Extracted from home.blade.php */

/* College Map Styles */
.rbt-college-map-area {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.map-container {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(24, 113, 185, 0.1);
    border: 1px solid rgba(24, 113, 185, 0.1);
}

.svg-map-wrapper {
    position: relative;
    width: 100%;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.india-svg-map {
    width: 100%;
    height: 100%;
    max-width: 800px;
    max-height: 800px;
    transition: all 0.3s ease;
    border-radius: 10px;
    object-fit: scale-down;
    object-position: center;
}

.map-markers-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.college-marker {
    position: absolute;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    z-index: 10;
}

.marker-dot {
    width: 16px;
    height: 16px;
    background: #1871b9;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(24, 113, 185, 0.3);
    margin: 0 auto;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.college-marker:hover .marker-dot {
    width: 20px;
    height: 20px;
    background: #1565c0;
    box-shadow: 0 4px 12px rgba(24, 113, 185, 0.5);
    animation: none;
}

.marker-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(24, 113, 185, 0.95);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 8px rgba(24, 113, 185, 0.3);
    z-index: 15;
}

.college-marker:hover .marker-label {
    opacity: 1;
}

.map-region {
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-region:hover {
    fill: #e3f2fd;
    stroke-width: 3;
}

/* State Highlighting Styles */
.state-highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.state-highlight {
    fill: rgba(24, 113, 185, 0.3);
    stroke: #1871b9;
    stroke-width: 2;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.state-highlight:hover {
    fill: rgba(24, 113, 185, 0.5);
    stroke-width: 3;
}

.state-highlight.active {
    fill: rgba(255, 107, 53, 0.4);
    stroke: #ff6b35;
    stroke-width: 3;
}

/* College Info Panel Dynamic Styles */
.college-info-panel .state-info {
    background: linear-gradient(135deg, #1871b9 0%, #1565c0 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.college-info-panel .state-info h5 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.college-info-panel .state-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.college-info-panel .college-list .college-item.hidden,
.college-item.hidden,
.india-college.hidden,
.abroad-college.hidden {
    display: none !important;
}

.college-info-panel .college-list .college-item.visible,
.college-item.visible,
.india-college.visible,
.abroad-college.visible {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.college-info-panel .college-list .college-item.visible {
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.college-info-panel .college-list .college-item.visible:hover {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-color: #1871b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 113, 185, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* State Name Tooltip */
.state-tooltip {
    position: absolute;
    background: rgba(24, 113, 185, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(24, 113, 185, 0.3);
    transform: translate(-50%, -100%);
    margin-top: -10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.state-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(24, 113, 185, 0.95);
}

.state-tooltip.show {
    opacity: 1;
}

.college-marker {
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(24, 113, 185, 0.3));
}

.college-marker:hover {
    r: 12;
    fill: #ff6b35;
    filter: drop-shadow(0 4px 8px rgba(24, 113, 185, 0.4));
    animation: pulse 1.5s infinite;
}

.college-marker.active {
    r: 12;
    fill: #ff6b35;
    filter: drop-shadow(0 4px 8px rgba(24, 113, 185, 0.4));
}

.city-marker {
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-marker:hover {
    r: 6;
    fill: #1871b9;
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.marker-label {
    font-size: 12px;
    font-weight: 600;
    fill: #1871b9;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.college-marker:hover+.marker-label,
.college-marker.active+.marker-label {
    opacity: 1;
    font-weight: 700;
    fill: #ff6b35;
}

.state-boundary {
    transition: all 0.3s ease;
}

.state-boundary:hover {
    opacity: 0.6;
    stroke-width: 2;
}

/* State highlight styles */
.state-highlight {
    pointer-events: auto !important;
    z-index: 10 !important;
    opacity: 1 !important;
}

.state-highlight:hover {
    opacity: 1 !important;
}

/* Ensure state highlights are visible */
svg .state-highlight {
    display: block !important;
    visibility: visible !important;
}

.college-info-panel {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(24, 113, 185, 0.1);
    border: 1px solid rgba(24, 113, 185, 0.1);
    height: 800px;
    display: flex;
    flex-direction: column;
}

.panel-title {
    color: #1871b9;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.college-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    min-height: 400px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.college-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 20%, #ffffff 100%);
    border: 1px solid rgba(24, 113, 185, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
}

.college-item:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 50%, #ffffff 100%);
    border-color: #1871b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 113, 185, 0.12);
    text-decoration: none;
    color: inherit;
}

.college-item.active {
    background: linear-gradient(135deg, #1871b9, #3b82f6);
    border-color: #1871b9;
    color: white;
}

.college-item.active:hover {
    color: white;
}

.college-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid rgba(24, 113, 185, 0.15);
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.college-info {
    flex: 1;
}

.college-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(233, 236, 239, 0.6);
}

.college-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}


.college-name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
    text-align: left;
    letter-spacing: -0.02em;
}

.college-location {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 6px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    line-height: 1.3;
}

.college-courses {
    font-size: 12px;
    color: #495057;
    font-weight: 500;
    margin-bottom: 8px;
    width: 100%;
    display: block;
    line-height: 1.4;
    background: linear-gradient(135deg, rgba(24, 113, 185, 0.05) 0%, rgba(24, 113, 185, 0.02) 100%);
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 2px solid #1871b9;
}

.college-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 0;
    width: 100%;
    align-items: center;
}

.college-type,
.college-affiliation {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: none;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.college-type {
    background: linear-gradient(135deg, #1871b9, #0d5a9e);
    color: white;
}

.college-type:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(24, 113, 185, 0.3);
}

.college-affiliation {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.college-affiliation:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Search Highlighting Styles */
.search-highlighted {
    animation: searchPulse 2s infinite;
}

@keyframes searchPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(24, 113, 185, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(24, 113, 185, 0.4);
    }
}

.country-category-box.search-highlighted {
    border: 2px solid #1871b9 !important;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%) !important;
}

.country-category-box.search-highlighted:hover {
    transform: translateY(-8px) scale(1.03) !important;
}

/* SVG Map State Animation */
@keyframes statePulse {
    0%, 100% {
        opacity: 0.85;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Additional SVG Map Styles */
.india-svg-map {
    transition: all 0.3s ease;
}

.search-matched-state {
    animation: statePulse 2s ease-in-out infinite;
    transform-origin: center;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .rbt-college-map-area {
        padding: 40px 0;
    }
    
    .map-container,
    .college-info-panel {
        padding: 20px;
        border-radius: 15px;
    }
    
    .svg-map-wrapper {
        height: 500px;
    }
    
    .college-info-panel {
        height: auto;
        min-height: 500px;
        margin-top: 30px;
    }
    
    .panel-title {
        font-size: 1.3rem;
    }
    
    .college-item {
        padding: 12px;
        gap: 12px;
    }
    
    .college-icon {
        width: 50px;
        height: 50px;
    }
    
    .college-name {
        font-size: 14px;
    }
    
    .college-location {
        font-size: 13px;
    }
}

/* College Search Styles */
.college-search-container,
.abroad-search-container {
    position: relative;
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .form-control {
    padding-left: 55px !important;
    padding-right: 50px !important;
}

.search-input {
    padding: 12px 50px 12px 55px !important;
    border: 2px solid #e8f2ff;
    border-radius: 25px;
    font-size: 14px;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(24, 113, 185, 0.1);
    width: 100%;
    text-indent: 0;
}

.search-input:focus {
    border-color: #1871b9;
    box-shadow: 0 4px 20px rgba(24, 113, 185, 0.2);
    outline: none;
    padding-left: 55px !important;
}

.search-input::placeholder {
    padding-left: 0;
    margin-left: 0;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #1871b9;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 3;
}

.search-clear:hover {
    background: rgba(24, 113, 185, 0.1);
    color: #1871b9;
}

/* Search and Filter Styles */
.search-filter-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(24, 113, 185, 0.1);
}

.search-input-group {
    position: relative;
    margin-bottom: 15px;
}

.search-input-group input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input-group input:focus {
    outline: none;
    border-color: #1871b9;
    box-shadow: 0 0 0 0.2rem rgba(24, 113, 185, 0.25);
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    cursor: pointer;
    display: none;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestion {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
}

.search-suggestion:hover {
    background-color: #f8f9fa;
}

.search-suggestion:last-child {
    border-bottom: none;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-select {
    flex: 1;
    min-width: 150px;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #1871b9;
    box-shadow: 0 0 0 0.2rem rgba(24, 113, 185, 0.25);
}

/* College Tab Navigation Styles */
.college-tab-navigation {
    margin-bottom: 30px;
}

.college-nav-tabs {
    border: none;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(24, 113, 185, 0.1);
    backdrop-filter: blur(10px);
    display: inline-flex;
}

.college-nav-tabs .nav-link {
    background: transparent;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 15px 25px;
    color: #495057;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.college-nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1871b9, #3b82f6);
    transition: left 0.3s ease;
    z-index: -1;
}

.college-nav-tabs .nav-link:hover::before,
.college-nav-tabs .nav-link.active::before {
    left: 0;
}

.college-nav-tabs .nav-link:hover,
.college-nav-tabs .nav-link.active {
    color: white;
    border-color: #1871b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 113, 185, 0.3);
}

/* Abroad Colleges Styles */
.abroad-countries-area {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 800px;
}

.country-category-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 0;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    height: 100%;
}

.country-category-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(24, 113, 185, 0.2);
    border-color: #1871b9;
}

.country-category-box .thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.country-flag-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1871b9 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

.country-flag-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%);
    background-size: 20px 20px;
    animation: move 2s linear infinite;
}

@keyframes move {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

.country-flag-container img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.country-category-box:hover .country-flag-container img {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.country-category-box .content {
    padding: 20px 15px;
}

.country-category-box .title {
    color: #1871b9;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.country-category-box:hover .title {
    color: #0d5a9e;
}

.country-info-brief {
    margin-bottom: 15px;
}

.country-category-box .rbt-btn-link {
    color: #1871b9;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.country-category-box:hover .rbt-btn-link {
    color: #0d5a9e;
    transform: translateX(5px);
}

/* Selected Country Box */
.country-category-box.selected {
    background: white;
    border: 3px solid #1871b9;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(24, 113, 185, 0.3);
}

.country-category-box.selected .title {
    color: #1871b9 !important;
    font-weight: 700;
}

.country-category-box.selected .country-info-brief {
    color: #495057 !important;
}

.country-category-box.selected .country-info-brief p {
    color: #495057 !important;
}

.country-category-box.selected .country-info-brief i {
    color: #1871b9 !important;
}

.country-category-box.selected .rbt-btn-link {
    color: #1871b9 !important;
    font-weight: 700;
    background: rgba(24, 113, 185, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
}

.country-category-box.selected .country-flag-container {
    background: #f8f9fa !important;
    border: 2px solid #1871b9;
}

/* Country Selection Tabs */
.country-selection-tabs {
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(24, 113, 185, 0.1);
    backdrop-filter: blur(10px);
}

.country-tabs {
    border: none;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.country-tabs .nav-link {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 12px 20px;
    color: #495057;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-tabs .nav-link:hover,
.country-tabs .nav-link.active {
    background: linear-gradient(135deg, #1871b9, #3b82f6);
    color: white;
    border-color: #1871b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 113, 185, 0.3);
}

.flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid #dee2e6;
}

/* Country Maps Content */
.country-maps-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(24, 113, 185, 0.1);
    border: 1px solid rgba(24, 113, 185, 0.1);
    min-height: 700px;
}

.country-map-wrapper {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.country-svg-map {
    max-width: 100%;
    max-height: 100%;
    transition: all 0.3s ease;
}

.country-info-card {
    background: linear-gradient(135deg, #1871b9 0%, #3b82f6 100%);
    color: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(24, 113, 185, 0.3);
    margin-bottom: 30px;
}

.country-info-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.country-flag-large {
    width: 80px;
    height: 53px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

/* Country Cards Grid */
.country-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.country-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.country-card:hover,
.country-card.selected {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(24, 113, 185, 0.2);
    border-color: #1871b9;
}

.country-card.selected {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-color: #1871b9 !important;
    border-width: 3px;
}

.country-card .country-flag {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #dee2e6;
    margin-bottom: 15px;
}

.country-card .country-name {
    font-size: 20px;
    font-weight: 600;
    color: #1871b9;
    margin-bottom: 10px;
}

.country-card .country-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.country-card .stat-item {
    text-align: center;
}

.country-card .stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #1871b9;
    display: block;
}

.country-card .stat-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* World Map Styles */
.world-map-wrapper {
    height: 600px;
    background: #f8f9fa;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.world-svg-map {
    width: 100%;
    height: 100%;
    max-width: 1000px;
    max-height: 600px;
}

/* College Meta Badges */
.college-meta {
    margin-top: 8px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.college-type.badge,
.college-affiliation.badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.college-type.badge {
    background: linear-gradient(135deg, #1871b9, #0d5a9e);
    color: white;
}

.college-affiliation.badge {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.college-meta .badge {
    min-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* College Item Enhancements - Removed duplicate styles */

.college-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 50%;
    border: none;
    background: transparent;
    display: block !important;
}

.college-courses {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.college-location {
    font-size: 13px;
    color: #495057;
    margin-bottom: 4px;
}

.college-name {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
}

/* Testimonial Mobile Fixes */
@media only screen and (max-width: 767px) {
    .rbt-testimonial-area {
        overflow-x: hidden;
    }
    
    .scroll-animation-wrapper {
        overflow-x: hidden;
    }
    
    .rbt-testimonial-area .container {
        overflow-x: hidden;
    }
    
    .rbt-testimonial-area .row {
        overflow-x: hidden;
    }
    
    .testimonial-slider {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    .testimonial-item {
        width: 100% !important;
        flex-shrink: 0;
        margin-right: 0 !important;
    }
    
    .rbt-testimonial-area .section-title .title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .rbt-testimonial-area .section-title .description {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Map Mobile Responsiveness */
    .rbt-college-map-area {
        padding: 40px 0;
    }
    
    .map-container {
        padding: 15px;
        border-radius: 15px;
    }
    
    .svg-map-wrapper {
        height: 400px;
    }
    
    .college-info-panel {
        margin-top: 20px;
        padding: 20px 15px;
        height: auto;
        min-height: 400px;
    }
    
    .panel-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .college-list {
        min-height: 300px;
        padding: 10px;
    }
    
    .college-item {
        padding: 10px;
        gap: 6px;
        border-radius: 10px;
        margin-bottom: 6px;
    }
    
    .college-header {
        gap: 8px;
        margin-bottom: 6px;
        padding-bottom: 4px;
    }
    
    .college-icon {
        width: 38px;
        height: 38px;
        border-width: 2px;
    }
    
    .college-name {
        font-size: 13px;
        font-weight: 700;
        line-height: 1.2;
    }
    
    .college-courses {
        padding: 5px 8px;
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .college-type,
    .college-affiliation {
        font-size: 9px;
        padding: 3px 6px;
        border-radius: 12px;
    }
    
    .college-location {
        font-size: 12px;
    }
    
    .college-meta .badge {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    /* Search and Filter Mobile */
    .search-filter-container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .filter-select {
        min-width: auto;
        width: 100%;
    }
    
    .search-input-group input {
        padding: 10px 40px 10px 12px;
        font-size: 14px;
    }
    
    /* College Tab Navigation Mobile */
    .college-nav-tabs {
        flex-direction: row;
        gap: 8px;
        padding: 8px;
        border-radius: 15px;
        width: 100%;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 3px 15px rgba(24, 113, 185, 0.08);
    }
    
    .college-nav-tabs .nav-item {
        flex: 1;
    }
    
    .college-nav-tabs .nav-link {
        padding: 12px 8px;
        text-align: center;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
    }
    
    .college-nav-tabs .nav-link.active {
        background: linear-gradient(135deg, #1871b9, #3b82f6);
        color: white;
        border-color: #1871b9;
        box-shadow: 0 4px 15px rgba(24, 113, 185, 0.25);
    }
    
    .college-nav-tabs .nav-link:not(.active):hover {
        background: rgba(24, 113, 185, 0.05);
        border-color: #1871b9;
        color: #1871b9;
    }
    
    /* Extra small mobile devices */
    @media (max-width: 480px) {
        .college-nav-tabs {
            gap: 5px;
            padding: 6px;
        }
        
        .college-nav-tabs .nav-link {
            padding: 10px 6px;
            font-size: 13px;
            border-radius: 15px;
        }
        
        .college-tab-navigation {
            margin-bottom: 20px;
        }
        
        .row.mb--30.px-4 {
            padding-left: 15px !important;
            padding-right: 15px !important;
        }
    }
    
    /* Abroad Countries Mobile */
    .abroad-countries-area {
        padding: 40px 0;
    }
    
    .country-category-box .thumbnail {
        height: 150px;
    }
    
    .country-flag-container img {
        width: 80px;
        height: 53px;
    }
    
    .country-category-box .content {
        padding: 15px 12px;
    }
    
    .country-category-box .title {
        font-size: 16px;
    }
    
    /* Country Selection Tabs Mobile */
    .country-selection-tabs {
        padding: 15px;
    }
    
    .country-tabs .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .flag-icon {
        width: 18px;
    }
    
    /* Country Maps Mobile */
    .country-maps-content {
        padding: 15px;
        min-height: 550px;
    }
    
    .country-map-wrapper {
        height: 500px;
    }
    
    .country-svg-map {
        max-width: 500px;
        max-height: 500px;
    }
    
    .country-info-card {
        padding: 30px 20px;
    }
    
    .country-info-card h3 {
        font-size: 24px;
    }
    
    .country-flag-large {
        width: 60px;
    }
    
    .country-card .country-name {
        font-size: 18px;
    }
    
    .country-card .stat-item {
        font-size: 12px;
    }
    
    .world-map-wrapper {
        height: 500px;
    }
}


    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideInLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(1.2);
            opacity: 0.7;
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    .feature-item:hover {
        transform: translateX(10px);
        transition: transform 0.3s ease;
    }

