/* Custom styles for Dream Ladder Consultancy */

:root {
    --primary-color: #1C4789;
    --secondary-color: #E9941E;
    --light-primary: #3B82F6;
    --light-secondary: #FCD34D;
}

* {
    scroll-behavior: smooth;
}

body {
    background: #fdf7f0;
    overflow-x: hidden;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    appearance: none;
}

/* ======================== Side-Element-Sticky Area ======================== */
[data-sticky-main-ele]{
    position: relative;
}
[data-sticky-main-ele] [data-sticky-content-ele]{
    position: sticky;
    top: 50px;
    z-index: 1;
    height: 100%;
}
/* ======================== End Side-Element-Sticky Area ======================== */

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

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

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

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hero animations */
.hero-element {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-element:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-element:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-element:nth-child(3) {
    animation-delay: 0.5s;
}

.hero-element:nth-child(4) {
    animation-delay: 0.7s;
}

/* Navigation styles */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Myntra-style Dropdown Menu */
header {
    position: relative;
}

/* Custom scrollbar for dropdown */
.myntra-dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.myntra-dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.myntra-dropdown-menu::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.myntra-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.myntra-dropdown {
    position: static;
}

.myntra-dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    background: none;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-top: 1px solid #e5e7eb;
    padding: 0;
    pointer-events: none;
}

.myntra-dropdown.group:hover .myntra-dropdown-menu,
.myntra-dropdown:hover .myntra-dropdown-menu,
.myntra-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 70svh;
}

.myntra-dropdown-content {
    display: block;
    max-width: 1400px;
    max-height: inherit;
    background: #fff;
    box-shadow: 0 2px 8px rgba(90, 90, 90, 0.2);
    padding: 1.2rem 1.6rem;
    margin: 0 auto;
    overflow-y: auto;
    pointer-events: auto;
}

.myntra-dropdown-box{
    column-count: 5;
    column-gap: 2rem;
}

.myntra-dropdown-column {
    display: inline;
}

.myntra-dropdown-heading {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    color: #f59e0b;
    border: 1px solid #f3f4f6;
    border-left: none;
    border-right: none;
    padding: 0.5rem 0;
    margin-bottom: 0.3rem;
}

.myntra-dropdown-link {
    display: block;
    text-decoration: none;
    font-size: 0.8rem;
    color: #1f2937;
    line-height: 1.2;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.myntra-dropdown-link:hover {
    color: var(--primary-color);
    padding-left: 0.3rem;
}

.myntra-dropdown-column .myntra-dropdown-link:last-child {
    padding-bottom: 1rem;
}

/* Active state for nav link when dropdown is open */
.myntra-dropdown.group:hover .nav-link,
.myntra-dropdown:hover .nav-link {
    color: var(--primary-color);
}

.myntra-dropdown.group:hover .nav-link::after,
.myntra-dropdown:hover .nav-link::after {
    width: 100%;
}

/* Mobile Responsive Styles for Myntra Dropdown */
@media (max-width: 768px) {
    .myntra-dropdown-menu {
        position: static !important;
        width: 100%;
        max-height: 0;
        box-shadow: none;
        border-top: none;
        padding: 0;
        transform: none !important;
        top: auto !important;
    }

    .myntra-dropdown.group:hover .myntra-dropdown-menu,
    .myntra-dropdown:hover .myntra-dropdown-menu,
    .myntra-dropdown-menu.active {
        max-height: none;
        padding: 1rem 0;
        border-top: 1px solid #e5e7eb;
        margin-top: 0.5rem;
        transform: none !important;
    }

    .myntra-dropdown-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .myntra-dropdown-column {
        gap: 0.375rem;
    }

    .myntra-dropdown-heading {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
    }

    .myntra-dropdown-link {
        font-size: 0.8125rem;
        padding: 0.375rem 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .myntra-dropdown-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
        padding: 0 1.5rem;
    }
}

/* Base Explore Menu */
.explore-menu {
    position: relative;
}

.explore-dropdown {
    position: fixed;
    top: 43px;
    left: 0;
    width: 100vw;
    background: #fff;
    display: flex;
    flex-direction: row;
    padding: 2rem 5vw;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.35s ease;
    z-index: 999;
    border-top: 1px solid #eee;
}

/* .explore-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
} */
.dropdown-close:hover {
    background: var(--primary-color);
    color: #fff;
}

/* explore mobile view */


@media (max-width: 768px) {
    * {
        box-sizing: border-box;
        font-family: "Inter", "Poppins", sans-serif;
    }

    .explore-container {
        position: relative;
    }

    .explore-btn {
        background: linear-gradient(135deg, #2563eb, #3b82f6);
        color: #fff;
        font-weight: 600;
        padding: 10px 16px;
        border: none;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .explore-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }

    /* 🌫️ Overlay (glass background) */
    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* 🪟 Explore Panel */
    .explore-panel {
        position: fixed;
        left: 0;
        bottom: -100%;
        width: 100%;
        background: #ffffffee;
        backdrop-filter: blur(10px);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        padding: 20px;
        box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.2);
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        z-index: 100;
        max-height: 85vh;
        overflow-y: auto;
    }

    .explore-panel.active {
        bottom: 0;
    }

    /* Header */
    .panel-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .panel-header h2 {
        font-size: 1.1rem;
        font-weight: 700;
        color: #111827;
    }

    .close-btn {
        background: #f3f4f6;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 1.4rem;
        color: #4b5563;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .close-btn:hover {
        background: #2563eb;
        color: #fff;
    }

    /* Country Tabs */
    .country-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
    }

    .tab {
        border: none;
        padding: 8px 14px;
        font-size: 0.9rem;
        border-radius: 30px;
        background: #f3f4f6;
        color: #374151;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .tab.active {
        background: #2563eb;
        color: #fff;
        box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    }

    .tab:hover {
        transform: translateY(-2px);
    }

    /* Content */
    .country-content {
        display: none;
        animation: fadeIn 0.3s ease forwards;
    }

    .country-content.active {
        display: block;
    }

    .content-section {
        margin-bottom: 1.5rem;
    }

    .content-section h3 {
        color: #111827;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .content-section ul li {
        color: #374151;
        padding: 4px 0;
        font-size: 0.9rem;
        border-left: 2px solid transparent;
        padding-left: 6px;
        transition: all 0.2s ease;
    }

    .content-section ul li:hover {
        color: #2563eb;
        border-left-color: #2563eb;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

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

    /* Optional tweak for slightly larger mobiles */
    @media (min-width: 600px) {
        .explore-panel {
            max-width: 420px;
            margin: auto;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 24px;
        }
    }
}

.m-country-content {
    display: none;
    /* default hidden */
}

.m-country-content.active {
    display: block;
    /* show when active */
}

/* Country List */
.country-list {
    min-width: 14rem;
    padding-right: 2rem;
    border-right: 1px solid #f1f1f1;
    max-height: 80vh;
    overflow-y: auto;
}

.country-list a {
    display: block;
    padding: 10px 12px;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
    font-weight: 500;
    font-size: clamp(0.85rem, 1vw, 1rem);
}

.country-list a:hover,
.country-list a.active {
    color: var(--primary-color);
    background: rgba(244, 124, 32, 0.15);
}

.dropdown-column a:hover {
    color: var(--primary-color);
    /* transform: translateX(4px); */
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--light-primary));
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(28, 71, 137, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 71, 137, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--light-secondary));
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 148, 30, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 148, 30, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Card hover effects */
.service-card {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.country-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.country-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Stats animation */
.stat-item {
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Form styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 71, 137, 0.1);
}

/* Course result cards */
.course-result-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.course-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.show {
    display: block !important;
    animation: slideInRight 0.3s ease;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Modal styles */
.modal-overlay {
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sidebar styles */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 71, 137, 0.1);
}

.category-link:hover {
    color: var(--primary-color);
    padding-left: 8px;
    transition: all 0.3s ease;
}

.tag-cloud span {
    transition: all 0.3s ease;
}

.tag-cloud span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.recent-post-item:hover {
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .text-5xl {
        font-size: 2.5rem;
    }

    .text-6xl {
        font-size: 3rem;
    }

    .service-card,
    .country-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 1024px) {
    .blog-sidebar {
        display: none;
    }

    .blog-main-content {
        max-width: 100%;
    }
}

/* Comment styles */
.comment-item {
    transition: all 0.3s ease;
}

.comment-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comment-reply {
    border-left: 4px solid var(--secondary-color);
    background: white;
    margin-top: 1rem;
    margin-left: 2rem;
}

.comment-form {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.comment-form:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(28, 71, 137, 0.1);
}

.comment-author-badge {
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-weight: 600;
}

.comment-like-btn:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.comment-reply-btn:hover {
    color: var(--primary-color);
}

/* Comment form animations */
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(28, 71, 137, 0.1);
    transform: translateY(-1px);
}

/* Smooth scrolling for Safari */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    html {
        scroll-behavior: smooth;
    }
}

/* Live chat widget styles */
#live-chat-widget {
    z-index: 1000;
}

#chat-bubble {
    animation: pulse 2s infinite;
}

#chat-bubble:hover {
    animation: none;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(233, 148, 30, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(233, 148, 30, 0);
    }
}

#chat-window {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Exit intent popup styles */
#exit-intent-popup {
    backdrop-filter: blur(8px);
}

#popup-content {
    animation: bounceIn 0.3s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

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

/* Quick course finder styles */
#quick-course-finder select:focus,
#quick-course-finder input:focus {
    box-shadow: 0 0 0 3px rgba(28, 71, 137, 0.1);
}

#quick-results {
    animation: fadeInUp 0.5s ease-out;
}

/* Enhanced hover effects */
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced hero animations */
@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    50%,
    100% {
        transform: translateX(100%);
    }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

/* Counter animation enhancement */
.counter-animate {
    transition: all 0.3s ease;
}

.counter-animate:hover {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* University ranking cards */
.ranking-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.ranking-card:hover {
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

/* Course comparison table enhancements */
.comparison-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--light-primary));
}

.comparison-table td {
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover td {
    background-color: rgba(28, 71, 137, 0.05);
}

/* University filter cards */
.filter-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.02);
}

/* Enhanced button animations */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-animated:hover::before {
    left: 100%;
}

/* Course category cards */
.category-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-card:hover {
    transform: translateY(-10px) rotate(2deg);
}

/* University search filters */
.search-filter {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transition: all 0.3s ease;
}

.search-filter:focus-within {
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Hero section enhancements */
.hero-bg-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(233, 148, 30, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    background-position: 0 0, 15px 15px;
}

/* Floating elements animation */
@keyframes float-complex {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.float-complex {
    animation: float-complex 8s ease-in-out infinite;
}

/* Page transition effects */
@keyframes pageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.page-content {
    animation: pageSlideIn 0.6s ease-out;
}

/* Hero Slider Styles */
#hero-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slide:first-child {
    position: relative;
}

/* Slider navigation */
.slider-dot {
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot.active {
    opacity: 1 !important;
    background-color: var(--secondary-color) !important;
}

/* Enhanced gradient backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-primary) 50%, var(--secondary-color) 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--light-secondary) 50%, #f59e0b 100%);
}

/* Floating animation for background elements */
@keyframes floating {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

.floating-element {
    animation: floating 6s ease-in-out infinite;
}

/* Counter animation styles */
.counter-number {
    font-feature-settings: 'tnum';
    font-variant-numeric: tabular-nums;
}

/* Focus styles for accessibility */
/* *:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
} */

/* Course finder specific styles */
#course-finder .form-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
}

/* Success message styles */
.success-message {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease;
}

/* Error message styles */
.error-message {
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    animation: fadeInUp 0.5s ease;
}

button:disabled {
    opacity: .75;
    cursor: not-allowed;
}

span.btn-loader {
    display: none;
}

.btn-with-loading span:not(.btn-loader) {
    display: none;
}

.btn-with-loading span.btn-loader {
    display: inline-block;
}

.text-overflow {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    overflow: hidden;
}

.scrollbar-hide::-webkit-scrollbar {
    -webkit-appearance: none;
    appearance: none;
    display: none;
    width: 0;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.not-valid-input {
    border: 2px solid #dc3545 !important;
}

.not-valid-message {
    display: block;
    color: #dc3545;
    font-size: 11px;
}

@media (max-width: 768px) {
    .nav-link::after{
        background-color: transparent;
    }
}