/* Custom Break Even Styles */
:root {
    --primary: #00a09e;
    --primary-light: #00a09d35;
    --secondary: #F2990C;
    --secondary-light: #f29a0c37;
    --dark-blue: #025159;
    --light-blue: #0f8d93;
    --dark-gray: #3d3938;
    --mid-gray: #666666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --danger: #dc3545;
    --danger-hover: #bb2d3b;
    --border: #e5e5e5;
    --gradient-primary: linear-gradient(135deg, #00a09e 0%, #0f8d93 100%);
    --gradient-secondary: linear-gradient(135deg, #f2990c 0%, #ffb347 100%);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Pending */
    --grey-bg: #90A4AE;
    --grey-bg-subtle: #ECEFF1;
    --grey-bg-text-subtle: #546E7A;

    /* In Progress */
    --blue-bg: #2196F3;
    --blue-bg-subtle: #E3F2FD;
    --blue-bg-text-subtle: #1565C0;

    /* Completed */
    --green-bg: #4CAF50;
    --green-bg-subtle: #E8F5E9;
    --green-bg-text-subtle: #2E7D32;

    /* On Hold */
    --orange-bg: #FFC107;
    --orange-bg-subtle: #FFF8E1;
    --orange-bg-text-subtle: #FF8F00;

    /* Cancelled */
    --red-bg: #F44336;
    --red-bg-subtle: #FFEBEE;
    --red-bg-text-subtle: #C62828;
}

html {
  scroll-behavior: smooth;
}

/* Override SP_CSS colors */
.sp-bg-primary { background-color: var(--primary) !important; }
.sp-bg-secondary { background-color: var(--secondary) !important; }
.sp-bg-dark-blue { background-color: var(--dark-blue) !important; }
.sp-bg-light-blue { background-color: var(--light-blue) !important; }
.sp-bg-dark-gray { background-color: var(--dark-gray) !important; }

.sp-text-primary { color: var(--primary) !important; }
.sp-text-secondary { color: var(--secondary) !important; }
.sp-text-dark-blue { color: var(--dark-blue) !important; }
.sp-text-light-blue { color: var(--light-blue) !important; }
.sp-text-dark-gray { color: var(--dark-gray) !important; }

.sp-btn-primary { 
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 160, 158, 0.3);
    z-index: 1;
    text-decoration: none !important;
}

.sp-btn-primary::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: all 0.6s;
    z-index: -1;
}

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

.sp-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 160, 158, 0.4);
    text-decoration: none !important;
}

.sp-btn-secondary { 
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(242, 153, 12, 0.3);
    z-index: 1;
    text-decoration: none !important;
}

.sp-btn-secondary::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: all 0.6s;
    z-index: -1;
}

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

.sp-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 153, 12, 0.4);
    text-decoration: none !important;
}

.sp-btn-outline-primary {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none !important;
}

.sp-btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: all 0.3s;
    z-index: -1;
}

.sp-btn-outline-primary:hover::before {
    width: 100%;
}

.sp-btn-outline-primary:hover {
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 160, 158, 0.3);
    text-decoration: none !important;
}

.sp-btn-outline-secondary {
    border: 2px solid var(--secondary) !important;
    color: var(--secondary) !important;
    background: transparent !important;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none !important;
}

.sp-btn-outline-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--secondary);
    transition: all 0.3s;
    z-index: -1;
}

.sp-btn-outline-secondary:hover::before {
    width: 100%;
}

.sp-btn-outline-secondary:hover {
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 153, 12, 0.3);
    text-decoration: none !important;
}

@font-face {
    font-family: "Neo Sans Std Medium";
    src: url("../fonts/Neo Sans Std Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

/* Apply to everything */
* {
    font-family: "Neo Sans Std Medium", sans-serif;
}

/* Apply GE SS Text to Arabic text, Poppins to English, and don't touch icons */
body {
    font-family:  'Neo Sans Std Medium', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: white;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 81, 89, 0.85) 0%, rgba(0, 160, 158, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    padding: 15px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: block;
    background: linear-gradient(135deg, var(--secondary), #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: white;
    text-align: center;
    cursor: pointer;
}

.scroll-arrow {
    display: block;
    width: 30px;
    height: 30px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(10px) rotate(45deg);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(242, 153, 12, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 160, 158, 0.4);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}

.section-bg-pattern {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiMwMGEwOWUiIGZpbGwtb3BhY2l0eT0iMC4xIj48Y2lyY2xlIGN4PSIzMCIgY3k9IjMwIiByPSIyIi8+PC9nPjwvZz48L3N2Zz4=');
    background-size: 60px 60px;
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.vision-bg {
    background-image: linear-gradient(rgba(2, 81, 89, 0.85), rgba(0, 160, 158, 0.85)), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    color: white;
}

.values-bg {
    background-image: linear-gradient(rgba(2, 81, 89, 0.85), rgba(0, 160, 158, 0.85)), url('https://www.peru.edu/media/site-sections/academics/programs/majors/accounting/accounting-page-banner.jpg');
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
}

.vision-section .section-subtitle,
.values-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Modern Cards */
.modern-card {
    border: none;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(242, 153, 12, 0.03) 0%, rgba(0, 160, 158, 0.03) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-card:hover::before {
    opacity: 1;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card {
    border-top: 4px solid var(--secondary);
    height: 100%;
}

.service-card.primary {
    border-top-color: var(--primary);
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #ffb347 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4xIj48Y2lyY2xlIGN4PSIzMCIgY3k9IjMwIiByPSIyIi8+PC9nPjwvZz48L3N2Zz4=');
    background-size: 60px 60px;
    opacity: 0.3;
}

.stat-circle {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.stat-circle:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.stat-circle::before {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.stat-circle-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.stat-circle-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 5px;
    display: block;
    background: linear-gradient(135deg, var(--secondary), #f5c45a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-circle-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Values Grid */
.value-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: var(--white);
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), #ffb347);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.value-item:hover::before {
    opacity: 0.05;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), #ffb347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
    transition: all 0.4s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Partners Grid */
.partners-section {
    background: var(--light-gray);
    padding: 100px 0;
    position: relative;
}

.partner-logo {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid var(--border);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.partner-logo:hover::before {
    opacity: 0.05;
}

.partner-logo:hover {
    border-color: var(--secondary);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.partner-logo:hover .partner-img {
    filter: grayscale(0%);
}

/* Contact Form */
.contact-section {
    padding: 100px 0;
    position: relative;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.form-control-custom {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control-custom:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(242, 153, 12, 0.1);
}

/* Navigation */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.nav-link-custom {
    color: var(--dark-gray) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    text-decoration: none !important;
}

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

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

.nav-link-custom:hover {
    color: var(--secondary) !important;
    text-decoration: none !important;
}

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

/* Bundle Cards */
.bundle-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.bundle-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.bundle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bundle-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-align: left;
}

.bundle-feature i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background: var(--dark-blue);
    color: white;
    position: relative;
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PGNpcmNsZSBjeD0iMzAiIGN5PSIzMCIgcj0iMiIvPjwvZz48L2c+PC9zdmc+');
    background-size: 60px 60px;
    opacity: 0.3;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: white;
}

.contact-info-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.contact-details h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    height: 400px;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wMyI+PGNpcmNsZSBjeD0iMzAiIGN5PSIzMCIgcj0iMiIvPjwvZz48L2c+PC9zdmc+');
    background-size: 60px 60px;
    opacity: 0.3;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links h5 {
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle Animation */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Finance Platform Charts Styles */
.finance-dashboard {
    width: 100%;
    /* max-width: 500px; */
    background: linear-gradient(135deg, #00a09e 0%, #0f8d93 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(1deg) rotateX(1deg);
    transition: var(--transition);
    position: relative;
}

.finance-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.05"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.finance-dashboard:hover {
    transform: perspective(1000px) rotateY(6deg) rotateX(-2deg);
}

.finance-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.finance-dashboard-controls {
    display: flex;
    gap: 0.75rem;
}

.finance-control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.finance-control-dot:nth-child(1) {
    background: #ff5f57;
}

.finance-control-dot:nth-child(2) {
    background: #ffbd2e;
}

.finance-control-dot:nth-child(3) {
    background: #28ca42;
}

.finance-dashboard-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
}

.finance-dashboard-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.finance-chart-container {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.finance-chart-container:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.finance-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.finance-chart-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 600;
}

.finance-chart-value {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
}

.finance-chart {
    width: 100%;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.finance-chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    padding: 0 0.5rem;
}

.finance-chart-bar {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    width: 12%;
    border-radius: 3px 3px 0 0;
    position: relative;
    transition: all 0.3s ease;
}

.finance-chart-bar:hover {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    transform: scale(1.05);
}

.finance-chart-bar::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px 3px 0 0;
}

.finance-chart-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.finance-chart-line-path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.7);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.finance-chart-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.finance-chart-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    transform: translate(-50%, -50%);
}

.finance-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
}

.finance-chart-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    text-align: center;
    width: 12%;
}

.finance-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.finance-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.finance-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.finance-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f2990c 0%, #ffb347 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.finance-stat-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.finance-stat-value {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .stat-circle {
        width: 140px;
        height: 140px;
    }
    
    .stat-circle-number {
        font-size: 2.2rem;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-stats .sp-row {
        flex-direction: column;
    }
    
    .hero-stats .sp-col-lg-3 {
        margin-bottom: 20px;
    }
    
    .finance-dashboard {
        transform: none;
        max-width: 100%;
    }
    
    .finance-dashboard:hover {
        transform: translateY(-5px);
    }
    
    .finance-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .scroll-to-top,
    .whatsapp-button {
        bottom: 20px;
    }
    
    .scroll-to-top {
        right: 20px;
    }
    
    .whatsapp-button {
        left: 20px;
    }
}

/* User Profile Dropdown Styles */
.user-profile-dropdown {
    position: relative;
    display: inline-block;
}

.user-profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: var(--dark-gray);
}

.user-profile-btn:hover {
    background-color: rgba(0, 160, 158, 0.1);
    color: var(--primary);
}

.user-profile-btn i:first-child {
    font-size: 1.8rem;
    color: var(--secondary);
}

.user-name {
    font-weight: 500;
    margin: 0 8px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.base-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--border);
}

.user-profile-dropdown:hover .base-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.base-dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 20px !important;
    color: var(--mid-gray) !important;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.base-dropdown-item:hover {
    background-color: rgba(0, 160, 158, 0.08);
    color: var(--primary) !important;
    padding-left: 25px !important;
}

.base-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--secondary);
}

.base-dropdown-divider {
    height: 1px;
    background-color: var(--border);
    margin: 8px 0;
}

/* Add to the existing CSS file */
.theme-pagination {
    --pagination-bg: var(--white);
    --pagination-border: var(--border);
    --pagination-color: var(--dark-gray);
    --pagination-hover-bg: rgba(0, 160, 158, 0.1);
    --pagination-hover-border: var(--primary);
    --pagination-hover-color: var(--primary);
    --pagination-active-bg: linear-gradient(135deg, var(--primary) 0%, var(--light-blue) 100%);
    --pagination-active-border: var(--primary);
    --pagination-active-color: var(--white);
    --pagination-disabled-color: #6c757d;
    --pagination-disabled-bg: var(--light-gray);
    --pagination-disabled-border: var(--border);
    --pagination-radius: var(--border-radius);
    --pagination-transition: var(--transition);
    --pagination-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --pagination-hover-shadow: 0 6px 20px rgba(0, 160, 158, 0.1);
}

.theme-pagination .pagination {
    gap: 8px;
    flex-wrap: wrap;
}

.theme-pagination .page-item {
    margin: 0;
}

.theme-pagination .page-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pagination-color);
    text-decoration: none;
    background: var(--pagination-bg);
    border: 2px solid var(--pagination-border);
    border-radius: var(--pagination-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--pagination-shadow);
    overflow: hidden;
    z-index: 1;
}

.theme-pagination .page-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 160, 158, 0.15), transparent);
    transition: all 0.6s;
    z-index: -1;
}

.theme-pagination .page-link:hover::before {
    left: 100%;
}

.theme-pagination .page-link:hover {
    color: var(--pagination-hover-color);
    background: var(--pagination-hover-bg);
    border-color: var(--pagination-hover-border);
    transform: translateY(-2px);
    box-shadow: var(--pagination-hover-shadow);
}

.theme-pagination .page-item.active .page-link {
    color: var(--pagination-active-color);
    background: var(--pagination-active-bg);
    border-color: var(--pagination-active-border);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 160, 158, 0.2);
}

.theme-pagination .page-item.active .page-link::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.theme-pagination .page-item.disabled .page-link {
    color: var(--pagination-disabled-color);
    background: var(--pagination-disabled-bg);
    border-color: var(--pagination-disabled-border);
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

.theme-pagination .page-item.disabled .page-link:hover {
    color: var(--pagination-disabled-color);
    background: var(--pagination-disabled-bg);
    border-color: var(--pagination-disabled-border);
    transform: none;
    box-shadow: none;
}

.theme-pagination .page-item.disabled .page-link::before {
    display: none;
}

/* First & Last buttons */
.theme-pagination .page-item:first-child .page-link,
.theme-pagination .page-item:last-child .page-link {
    padding: 0 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Previous & Next buttons */
.theme-pagination .page-item:nth-child(2) .page-link,
.theme-pagination .page-item:nth-last-child(2) .page-link {
    padding: 0 18px;
}

/* Ellipsis styling */
.theme-pagination .page-item .page-link[data-page="null"] {
    border: none;
    background: transparent;
    box-shadow: none;
    cursor: default;
}

.theme-pagination .page-item .page-link[data-page="null"]:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}

.theme-pagination .page-item .page-link[data-page="null"]::before {
    display: none;
}

/* RTL Support */
html[dir="rtl"] .theme-pagination .page-link::before {
    left: 100%;
    right: -100%;
}

html[dir="rtl"] .theme-pagination .page-link:hover::before {
    left: -100%;
    right: 100%;
}

/* Circle variant */
.theme-pagination.circle .page-link {
    border-radius: 50%;
    min-width: 45px;
    width: 45px;
    padding: 0;
    margin-left: 2.5px;
    margin-right: 2.5px;
}

.theme-pagination.circle .page-item:first-child .page-link,
.theme-pagination.circle .page-item:last-child .page-link,
.theme-pagination.circle .page-item:nth-child(2) .page-link,
.theme-pagination.circle .page-item:nth-last-child(2) .page-link {
    border-radius: 50%;
    padding: 0;
    min-width: 45px;
    width: 45px;
}

/* Responsive */
@media (max-width: 768px) {
    .theme-pagination .page-link {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 0.9rem;
    }
    
    .theme-pagination .page-item:first-child .page-link,
    .theme-pagination .page-item:last-child .page-link {
        padding: 0 15px;
    }
    
    .theme-pagination .page-item:nth-child(2) .page-link,
    .theme-pagination .page-item:nth-last-child(2) .page-link {
        padding: 0 14px;
    }
    
    .theme-pagination.circle .page-link {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }
    
    .theme-pagination.circle .page-item:first-child .page-link,
    .theme-pagination.circle .page-item:last-child .page-link,
    .theme-pagination.circle .page-item:nth-child(2) .page-link,
    .theme-pagination.circle .page-item:nth-last-child(2) .page-link {
        min-width: 40px;
        width: 40px;
    }
}

@media (max-width: 576px) {
    .theme-pagination .pagination {
        gap: 4px;
    }
    
    .theme-pagination .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.85rem;
    }
    
    .theme-pagination .page-item:first-child .page-link,
    .theme-pagination .page-item:last-child .page-link {
        padding: 0 12px;
        font-size: 0.8rem;
    }
    
    .theme-pagination .page-item:nth-child(2) .page-link,
    .theme-pagination .page-item:nth-last-child(2) .page-link {
        padding: 0 10px;
        font-size: 0.8rem;
    }
    
    .theme-pagination.circle .page-link {
        min-width: 36px;
        width: 36px;
        height: 36px;
    }
    
    .theme-pagination.circle .page-item:first-child .page-link,
    .theme-pagination.circle .page-item:last-child .page-link,
    .theme-pagination.circle .page-item:nth-child(2) .page-link,
    .theme-pagination.circle .page-item:nth-last-child(2) .page-link {
        min-width: 36px;
        width: 36px;
    }
}

/* ---------- Ellipsis: flat (no circle) ---------- */
/* Place this after your existing .theme-pagination rules to override circle styles */

.theme-pagination .page-item.ellipsis .page-link {
  /* flat, transparent, no border/shadow */
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;

  /* don't force circular size */
  min-width: auto;
  width: auto;
  padding: 0 8px;
  height: 45px;                 /* keeps vertical alignment with circle buttons */
  line-height: 1;
  border-radius: 6px;          /* small radius, not fully circular */
  color: var(--pagination-color);
  font-weight: 600;
}

/* Disable the hover sheen used by other page-links */
.theme-pagination .page-item.ellipsis .page-link::before {
  display: none !important;
}
.theme-pagination .page-item.ellipsis .page-link:hover {
  background: transparent;
  border: none;
  transform: none;
  box-shadow: none;
  color: var(--pagination-hover-color);
}

/* If the ellipsis appears inside circle variant, override the circular sizing */
.theme-pagination.circle .page-item.ellipsis .page-link {
  border-radius: 6px;   /* match above small radius */
  width: auto !important;
  min-width: auto !important;
  padding: 0 8px;
}

/* Disabled ellipsis (if you render them as disabled) */
.theme-pagination .page-item.disabled.ellipsis .page-link,
.theme-pagination .page-item.ellipsis .page-link[aria-disabled="true"] {
  cursor: default;
  color: var(--pagination-disabled-color);
  background: transparent;
  box-shadow: none;
}

/* Responsive: keep alignment on smaller heights */
@media (max-width: 768px) {
  .theme-pagination .page-item.ellipsis .page-link {
    height: 40px;
    padding: 0 6px;
  }
}
@media (max-width: 576px) {
  .theme-pagination .page-item.ellipsis .page-link {
    height: 36px;
    padding: 0 6px;
    font-size: 0.9rem;
  }
}

.btn-sm {
    width: 40px;
    height: 40px;
}

.border-bottom-space::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--light-blue));
    pointer-events: none;
}

.border-bottom-space {
    position: relative;
    border-style: hidden;
}

.table>:not(caption)>*>* {
    padding: 1rem 1rem;
}

.basic-btn-primary:focus-visible, .basic-btn-primary:active {
    background: var(--secondary) !important;
    color: white !important;
}


.modern-form-control {
    border: 2px solid rgba(0, 160, 158, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: var(--transition);
    /* width: 100%; */
}

.modern-form-select {
    border: 2px solid rgba(0, 160, 158, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: var(--transition);
    /* width: 100%; */
}

.modern-form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 158, 0.1);
    outline: none;
}

.form-label {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.text-danger {
    color: #dc3545 !important;
}


.basic-btn-primary, .basic-btn-primary:disabled{
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: white;
    border: none;
}

.basic-btn-primary:hover {
    background: var(--secondary);
    transform: scale(1.05);
    color: white;
}

.basic-btn-secondary, .basic-btn-secondary:disabled{
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: white;
}

.basic-btn-secondary:hover {
    background: var(--primary);
    transform: scale(1.05);
    color: white;
}

.basic-btn{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: white;
}

.basic-btn:hover {
    transform: scale(1.05);
    color: white;
}

.basic-btn:disabled, .basic-btn-secondary:disabled, .basic-btn-primary:disabled {
    opacity: 65%;
}

.basic-btn:disabled:hover, .basic-btn-secondary:disabled:hover, .basic-btn-primary:disabled:hover {
    transform: scale(1);
}

.grey-bg {
  background-color: #9E9E9E !important;
  color: #ffffff !important;
}

.grey-bg-subtle {
  background-color: #EEEEEE !important;
  color: #616161 !important;
}


.blue-bg {
  background-color: #2196F3 !important;
  color: #ffffff !important;
}

.blue-bg-subtle {
  background-color: #E3F2FD !important;
  color: #1565C0 !important;
}

.green-bg {
  background-color: #4CAF50 !important;
  color: #ffffff !important;
}

.green-bg-subtle {
  background-color: #E8F5E9 !important;
  color: #2E7D32 !important;
}

.orange-bg {
  background-color: #FFC107 !important;
  color: #000000 !important;
}

.orange-bg-subtle {
  background-color: #FFF8E1 !important;
  color: #FF8F00 !important;
}

.red-bg {
  background-color: #F44336 !important;
  color: #ffffff !important;
}

.red-bg-subtle {
  background-color: #FFEBEE !important;
  color: #C62828 !important;
}

/* Modal Form Styling */
.modal-content {
    border-radius: 1rem; /* adjust as you like */
    overflow: hidden;   /* important */
    border: none !important;
    box-shadow: var(--shadow-lg) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-blue) 100%) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
    position: relative;
    text-decoration: none;
}

.modal-title {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-title::before {
    /* content: ''; */
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    display: inline-block;
}

.modal-header .btn-close {
    border-radius: 6px !important;
    opacity: 0.6 !important;
    transition: var(--transition) !important;
    margin-right: 10px !important;
}

.modal-header .btn-close:hover {
    opacity: 1 !important;
}

.modal-body {
    padding: 30px !important;
    background: white;
}

/* Form Styling */
.modal-form-group {
    margin-bottom: 20px;
}

.modal-form-label {
    color: var(--dark-blue) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-form-label .text-danger {
    color: var(--red-bg) !important;
    font-size: 1.2em;
}

.modal-form-control {
    border: 2px solid rgba(0, 160, 158, 0.15) !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    font-size: 0.95rem !important;
    transition: var(--transition) !important;
    background: rgba(248, 249, 250, 0.5) !important;
    color: var(--dark-gray) !important;
}

.modal-form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 160, 158, 0.1) !important;
    background: white !important;
    outline: none !important;
}

.modal-form-control::placeholder {
    color: rgba(0, 0, 0, 0.4) !important;
}

/* Select Dropdown Styling */
select.modal-form-control {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300a09e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px !important;
    padding-right: 40px !important;
}

/* Textarea Styling */
textarea.modal-form-control {
    min-height: 100px !important;
    resize: vertical !important;
}

.form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input[type=checkbox]:indeterminate{
    background-color: var(--primary) !important;     
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}  

/* Checkbox Styling */
.form-check-input {
    width: 18px !important;
    height: 18px !important;
    border-radius: .25em;
    border: 2px solid rgba(0, 160, 158, 0.3) !important;
    margin-top: 0.3em !important;
    cursor: pointer;
    appearance: none;
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 160, 158, 0.1) !important;
    border-color: var(--primary) !important;
}

.form-check-label {
    color: var(--dark-gray) !important;
    font-size: 0.95rem !important;
    cursor: pointer;
    user-select: none;
}

/* File Input Styling */
input[type="file"].modal-form-control {
    padding: 10px 15px !important;
    cursor: pointer;
}

input[type="file"].modal-form-control::file-selector-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-blue) 100%);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    margin-right: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

input[type="file"].modal-form-control::file-selector-button:hover {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--primary) 100%);
    transform: translateY(-1px);
}

/* Date Input Styling */
input[type="date"].modal-form-control {
    padding: 10px 15px !important;
    color: var(--dark-gray) !important;
}

input[type="date"].modal-form-control::-webkit-calendar-picker-indicator {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300a09e' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E") !important;
    background-size: 16px !important;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
}

/* Button Styling */
.modal-btn-primary {
    background: var(--primary) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modal-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--secondary) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: -1;
}

.modal-btn-primary:hover::before {
    left: 0;
}

.modal-btn-danger{
    background-color: var(--danger) !important;
}
.modal-btn-danger::before{
    background-color: var(--danger-hover) !important;
}

/* If you also want to change the secondary button to transition to primary */
.modal-btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #ffb347 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(242, 153, 12, 0.3) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modal-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-blue) 100%) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: -1;
}

.modal-btn-secondary:hover::before {
    left: 0;
}

.modal-btn-secondary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 160, 158, 0.4) !important;
    color: white !important;
}

/* Outline button with sideways transition */
.modal-btn-outline {
    background: transparent !important;
    border: 2px solid var(--primary) !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    color: var(--primary) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modal-btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-blue) 100%) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: -1;
}

.modal-btn-outline:hover::before {
    left: 0;
}

.modal-btn-outline:hover {
    color: white !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 160, 158, 0.2) !important;
}

.modal-lg { max-width: 900px; }
.muted { color: #6c757d; }
.emp-pill { display:inline-block; margin:2px 4px; padding:4px 8px; border-radius:12px; background:#d1d1d1b6; font-size:0.9rem; }

#calendar { max-width:1100px; margin:0 auto; }

/* Base toolbar button */
.fc .fc-toolbar .fc-button {
    background: var(--primary);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: .35rem .6rem;
    text-transform: capitalize;
    /* remove default focus styles */
    box-shadow: none !important;
    outline: none !important;
}

/* Hover (optional slight change) */
.fc .fc-toolbar .fc-button:hover {
    background: color-mix(in srgb, var(--primary) 90%, #000);
}

/* Active / selected view button */
.fc .fc-toolbar .fc-button.fc-button-active {
    background: var(--secondary) !important;
    color: #fff;
     box-shadow: none !important;
}

/* When clicked (mouse down) */
.fc .fc-toolbar .fc-button:active {
    background: var(--secondary);
    box-shadow: none !important;
}

/* Focus (keyboard or click) */
.fc .fc-toolbar .fc-button:focus,
.fc .fc-toolbar .fc-button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background: var(--secondary);
}

/* Disabled buttons */
.fc .fc-toolbar .fc-button:disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}
/* header title */
.fc .fc-toolbar-title { font-weight:700; font-size:1.25rem; color:#212529; }

/* day cell hover */
.fc .fc-daygrid-day:hover {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
}
/* Today cell (month view) */
.fc .fc-daygrid-day.fc-day-today {
    background: color-mix(in srgb, var(--secondary) 10%, transparent);
}

/* Today column (week/day time grid) */
.fc .fc-timegrid-col.fc-day-today {
    background: color-mix(in srgb, var(--secondary) 10%, transparent);
}

.fc .fc-day-today {
    border: none;
}
.fc .fc-day-today .fc-daygrid-day-number {
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    padding: 2px 4px;
    margin: 3px;
}

/* default event pill */
.fc .fc-event, .fc .fc-daygrid-event {
    border: none;
    border-radius: 6px;
    padding: 4px 6px;
}

.fc .event-pending {
    background-color: #EEEEEE !important;
    color: #616161 !important;  
    border-radius: 6px !important;
}

.fc .event-inprogress {
    background-color: #E3F2FD !important;
    color: #1565C0 !important;  
    border-radius: 6px !important;
}

.fc .event-completed {
    background-color: #E8F5E9 !important;
    color: #2E7D32 !important;
    border-radius: 6px !important;
}

.fc .event-cancelled {
    background-color: #FFEBEE !important;
    color: #C62828 !important;
    border-radius: 6px !important;
}

.event-pending .fc-event-main{
    color: #616161 !important;
}

.event-inprogress .fc-event-main{
    color: #1565C0 !important;
}

.event-completed .fc-event-main{
    color: #2E7D32 !important;
}

.event-cancelled .fc-event-main{
    color: #C62828 !important;
}

.event-pending .fc-daygrid-event-dot{
    border-color: #616161 !important;
}

.event-inprogress .fc-daygrid-event-dot{
    border-color: #1565C0 !important;
}

.event-completed .fc-daygrid-event-dot{
    border-color: #2E7D32 !important;
}

.event-cancelled .fc-daygrid-event-dot{
    border-color: #C62828 !important;
}

dl, ol, ul {
    margin-top: 0;
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: inherit;
}



/* Permissions Tree */
.tree-toggle:focus {
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.3);
}

.permission-list {
    list-style: none;
}

.permission-list li {
    margin-bottom: 0.25rem;
}

.tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tree li {
    margin-bottom: 0.75rem;
}

.tree-toggle {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    outline: none;
}

.tree-toggle:hover {
    background: #e9ecef;
}

[data-bs-theme="dark"] .tree-toggle:hover {
    background: #29293d;
}

.tree-toggle .fa-caret-right {
    transition: transform 0.3s ease;
}

.tree-toggle .fa-caret-left {
    transition: transform 0.3s ease;
}

.active > .tree-toggle .fa-caret-right {
    transform: rotate(90deg);
}

.active > .tree-toggle .fa-caret-left {
    transform: rotate(-90deg);
}

.nested {
    list-style: none;
    display: none;
}

.active > .nested {
    display: block;
}

/* Accounts Tree */
.folder-icon {
    margin: 0 0.3rem;
    color: #ffc107;
    cursor: pointer;
    position: relative;
}
.folder-icon.en::after {
    content: "\25BA";
    display: inline-block;
    margin: 0 0.3rem;
    transition: transform 0.3s ease;
}
.folder-icon.ar::after {
    content: "\25C4";
    display: inline-block;
    margin: 0 0.3rem;
    transition: transform 0.3s ease;
}
.active > .folder-icon.en::after {
    transform: rotate(90deg);
}
.active > .folder-icon.ar::after {
    transform: rotate(-90deg);
}
.file-icon {
    margin: 0 0.3rem;
    color: #6c757d;
}

.nested-tree li {
    margin: 0;
    padding: 0 1.5rem;
    line-height: 1.6rem;
    position: relative;
    transition: background-color 0.3s ease;
}
.nested-tree li:hover {
    background-color: #f9f9f9;
}
.nested-tree li::before {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    border-left: 1px solid #ccc;
}
.nested-tree.en li::before {
    left: 0.4rem;
}
.nested-tree.ar li::before {
    right: 0.4rem;
}
.nested-tree li::after {
    content: "";
    position: absolute;
    top: 1.0rem;
    width: 1rem;
    height: 0;
    border-top: 1px solid #ccc;
}
.nested-tree.en li::after {
    left: 0;
}
.nested-tree.ar li::after {
    right: 0;
}
.nested-tree li:last-child::before {
    height: 1rem;
}
.tree-item-label {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.nested {
    display: none;
    transition: all 0.3s ease;
    padding: 0 1rem;
    margin: 0 0.7rem;
}

.nested.en {
    border-left: 1px dashed #ccc;
}

.nested.ar {
    border-right: 1px dashed #ccc;
}

input[type="radio"] {
    accent-color: var(--bs-primary);
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    width: 1.1rem;
    height: 1.1rem;
}


.formset-add-btn{
    width: 35px;
    height: 35px;
    background: var(--primary);
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-right: 15px; */
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: white;
}

.formset-add-btn:hover {
    background: var(--secondary);
    transform: scale(1.05);
    color: white;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
    border-color: transparent !important;
}

.background-shadow-primary{
    background: rgba(248, 249, 250, 0.8);
    border: 2px solid rgba(0, 160, 158, 0.15);
    border-radius: 8px;
}

.button-wrapper {
  display: inline-block;
}
.button-wrapper button:disabled {
  cursor: not-allowed;
}

/* ================= CUSTOM NOTIFICATION TOASTS ================= */

#notification-toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 390px;
    align-items: center;
}
.notification-toast {
    background: #fefefe;
    color: #212529;
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.3s ease;
}

.notification-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-toast .toast-icon {
    font-size: 25px;
    margin-top: 2px;
    color: var(--primary);
    margin-left: 10px;
    margin-right: 10px;
}

.notification-toast .toast-content {
    flex: 1;
    font-size: 1rem;
    line-height: 1.4;
}

.notification-toast .toast-close {
    background: none;
    border: none;
    color: #828080;
    font-size: 25px;
    cursor: pointer;
}

.notification-toast .toast-close:hover {
    color: #696767;
}

.card-border-primary{
    border: 2px solid rgba(0, 160, 158, 0.25);
    border-radius: 8px;
}

.step-wizard {
    display: flex;
    align-items: baseline;
    width: 600px;
    margin: 0 auto;
}

#step2Panel,
#step3Panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step { display:flex; flex-direction:column; align-items:center; position:relative; }
.step-circle { width:40px; height:40px; border-radius:50%; background:#ddd; color:#666; display:flex; justify-content:center; align-items:center; font-weight:bold; transition:0.3s;}
.label { margin-top:8px; font-size:14px; color:#777; }
.line { flex:1; height:3px; background:#ddd; margin:0 10px; transition:0.3s;}
.step.completed .step-circle { background:var(--primary); color:white; }
.step.completed .label { color:var(--primary); }
.line.completed { background:var(--primary); }
.step.active .step-circle { background:var(--secondary); color:white; box-shadow:0 0 0 4px rgba(192, 112, 0, 0.2); }
.step.active .label { color:var(--secondary); font-weight:600; }
@media (max-width:600px) {
    .step-wizard { width:100%; padding:0 20px; }
    .label { font-size:12px; text-align:center; }
}

.text-wrap {
    white-space: normal !important;
}

.mw-50 {
    max-width: 50%;
}

@media (max-width: 576px) {
    .step-text {
        width: 75% !important;
    }
}


/* File Input Field Styling */
.custom-file-input {
    position: relative;
    display: inline-block;
    width: 100%;
    cursor: pointer;
}

.custom-file-input input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(248, 249, 250, 0.8);
    border: 2px solid rgba(0, 160, 158, 0.15);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 48px;
}

.custom-file-input:hover .file-input-wrapper {
    border-color: var(--primary);
    background: rgba(0, 160, 158, 0.05);
    box-shadow: 0 4px 12px rgba(0, 160, 158, 0.1);
}

.custom-file-input input[type="file"]:focus + .file-input-wrapper {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 158, 0.1);
    background: white;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: 500;
}

.file-input-icon {
    color: var(--primary);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.custom-file-input:hover .file-input-icon {
    color: var(--secondary);
}

.file-input-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--light-blue) 100%);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.file-input-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, #ffb347 100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.custom-file-input:hover .file-input-button::before {
    left: 0;
}

.file-name {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-blue);
    font-weight: 500;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: 100%;
    margin-left: 10px;
}


/* Form Group Specific Styling */
.form-group.boolean-field {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group.boolean-field .form-label {
    margin-bottom: 0;
    order: 1;
}

.form-group.boolean-field .custom-checkbox {
    order: 2;
}

.form-group.file-field {
    margin-bottom: 20px;
}

/* Clearable File Input (for existing files) */
.clearable-file-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .file-input-wrapper {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .file-input-button {
        align-self: flex-end;
    }
    
    .file-name {
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .form-group.boolean-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .file-input-wrapper {
        padding: 10px 12px;
    }
    
    .file-input-button {
        padding: 5px 12px;
        font-size: 0.85rem;
    }
}

.text-break{
    word-wrap: break-word !important;
    word-break: break-word !important;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px auto;
  padding: 6px;
  border-radius: 10px;
  width: fit-content;
  border: 2px solid rgba(0, 160, 158, 0.25);
}

.tabs a {
  text-decoration: none;
  padding: 6px 14px;
  font-size: 14px;
  color: #555;
  border-radius: 6px;
  transition: 0.2s;
}

.tabs a:hover {
  background: var(--primary-light);
}

.tabs a.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-weight: 500;
}

.read-notif {
    opacity: 0.6;
}

.notif-row.selected {
    background: rgba(0, 123, 255, 0.06);
}
    
/* selection toolbar layout */
.selection-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}
