/* ============================== 
   CSS Variables & Theme Colors
   ============================== */
:root {
    /* Primary color palette */
    --primary-blue: #134BF2;
    --secondary-blue: #0C87F2;
    --accent-blue: #1BA0F2;
    --gray: #B8BBBF;
    --light-gray: #F2F2F2;
    /* Text colors */
    --text-dark: #222;
    --text-light: #fff;
    /* Focus effect colors */
    --focus-inner: #fff;
    --focus-outer: #258cfb;
    /* Spacing */
    --footer-height: 60px;
    --Text-Background: #F1F1F4;
}

/* ============================== 
   Base Styles
   ============================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: var(--Text-Background);
    color: var(--text-dark);
    /*margin-bottom: var(--footer-height);*/
    height: 100%;
    width: 100%;
}
@media (min-width: 768px) {
    .container-fluid {
        max-width: 1680px;
        padding-left: 50px;
        padding-right: 50px;
    }
}

.container-fluid {
    margin-left: auto;
    margin-right: auto;
}

/* ============================== 
   Button Styles
   ============================== */
.btn-theme-primary {
    background: var(--accent-blue);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.btn-theme-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-theme-outline {
    border: 1px solid var(--gray);
    color: var(--primary-blue);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-theme-outline:hover {
    background-color: var(--primary-blue) !important;
    color: var(--text-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Focus states for accessibility */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--focus-inner), 0 0 0 0.25rem var(--focus-outer);
    outline: none;
}

/* ============================== 
   Form Styling
   ============================== */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
    transition: text-align 0.2s ease;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.modern-form-card {
    max-width: 400px;
    border-radius: 0rem;
    border: none;
    box-shadow:;
    background: inherit;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}

/* ============================== 
   Hero Section Styling
   ============================== */
.hero-section {
    min-height: 85vh;
    overflow: hidden;
    color: var(--text-light);
    position: relative;
}

.hero-overlay {
    background: rgba(19, 75, 242, 0.55);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-btn {
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.metrics-container {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    backdrop-filter: blur(8px);
}

.metric-item {
    padding: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-item-hover {
    transform: translateY(-5px) scale(1.05);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.scroll-indicator a {
    color: white;
    font-size: 2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.scroll-indicator a:hover {
    opacity: 1;
    transform: translateY(5px);
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ============================== 
   About Section Styling
   ============================== */
.about-section {
    position: relative;
    overflow: hidden;
    background-color: var(--light-gray);
}

.section-header .divider {
    height: 4px;
    width: 60px;
    background: var(--primary-blue);
    margin-top: 15px;
}

.section-subtitle {
    color: #6c757d;
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-image-container {
    position: relative;
}

.about-main-image {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease-in-out;
    max-height: 350px;
}

.about-main-image:hover {
    transform: translateY(-5px);
}

.about-shape-1, .about-shape-2 {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.about-shape-1 {
    width: 120px;
    height: 120px;
    background-color: rgba(19, 75, 242, 0.1);
    top: -20px;
    left: 10%;
}

.about-shape-2 {
    width: 80px;
    height: 80px;
    background-color: rgba(27, 160, 242, 0.1);
    bottom: 5%;
    right: 15%;
}

.about-stats-card {
    position: absolute;
    background: white;
    bottom: 30px;
    right: 0;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    z-index: 3;
}

.card-icon {
    padding: 15px;
    font-size: 1.5rem;
}

.card-content {
    padding: 12px 20px;
}

.about-highlight {
    background-color: rgba(19, 75, 242, 0.05);
    border-left: 4px solid var(--primary-blue);
}

.feature-item {
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.feature-item-hover {
    background-color: rgba(19, 75, 242, 0.05);
    transform: translateY(-5px);
}

.partner-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: none;
}

.trust-indicators {
    opacity: 0.9;
}

/* ============================== 
   Features Section Styling
   ============================== */
.features-section {
    position: relative;
    overflow: hidden;
    background-color: var(--light-gray);
}

.features-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(19, 75, 242, 0.03);
    top: -300px;
    right: -200px;
    z-index: 0;
}

.feature-tabs .nav-pills {
    background-color: rgba(19, 75, 242, 0.05);
    padding: 0.5rem;
    border-radius: 2rem;
}

.feature-tabs .nav-link {
    border-radius: 1.5rem;
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.feature-tabs .nav-link:hover:not(.active) {
    background-color: rgba(19, 75, 242, 0.1);
}

.feature-tabs .nav-link.active {
    background-color: var(--primary-blue);
    color: white;
}

.feature-card {
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(19, 75, 242, 0.2);
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
}

.feature-icon-bg {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(19, 75, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-bg {
    background-color: var(--primary-blue);
}

.feature-icon {
    font-size: 28px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .feature-icon {
    color: white;
}

.feature-badge {
    position: absolute;
    top: -5px;
    right: -15px;
    background-color: #FF6B6B;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-desc {
    color: #6c757d;
    font-size: 0.95rem;
}

.feature-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.75rem;
    margin-top: auto;
}

.feature-learn-more {
    text-decoration: none;
    padding-left: 0;
}

.feature-learn-more:hover {
    text-decoration: underline;
}

.feature-detail-content img {
    max-height: 300px;
    object-fit: cover;
    width: 100%;
}

.feature-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: '\F26A'; /* Bootstrap icons check circle */
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.mini-feature-card {
    background-color: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mini-feature-card:hover {
    background-color: var(--primary-blue);
    transform: translateY(-5px);
}

.mini-feature-card:hover i,
.mini-feature-card:hover h6 {
    color: white !important;
}

.mini-feature-card i {
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.mini-feature-card h6 {
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

/* ============================== 
   Testimonials Section Styling
   ============================== */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

.testimonials-bg-shape {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(19, 75, 242, 0.05);
    z-index: 0;
}

.testimonials-bg-shape-2 {
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(19, 75, 242, 0.05);
    z-index: 0;
}

.department-badge {
    background-color: rgba(19, 75, 242, 0.1);
    color: var(--primary-blue);
    padding: 0.35rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.testimonial-quote-mark {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 5rem;
    opacity: 0.1;
    color: var(--primary-blue);
    line-height: 1;
    z-index: 0;
}

.testimonial-card {
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.testimonial-img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 4px 10px rgba(19, 75, 242, 0.15);
}

.testimonial-content {
    position: relative;
    z-index: 1;
    min-height: 120px;
    display: flex;
    align-items: center;
}

.testimonial-footer {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.testimonial-carousel {
    padding-bottom: 10px;
}

.carousel-control-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-control-btn:hover, 
.carousel-control-btn:focus {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(19, 75, 242, 0.2);
}

.carousel-indicators {
    margin: 0;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #dee2e6;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.carousel-indicators [data-bs-target].active {
    opacity: 1;
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

.stats-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stats-card {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.stats-card-hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(19, 75, 242, 0.2);
}

.stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(19, 75, 242, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.stats-card-hover .stats-icon {
    background-color: var(--primary-blue);
    color: white;
}

.stats-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stats-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.citation-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(19, 75, 242, 0.1);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.survey-citation {
    position: relative;
    z-index: 2;
}

/* ============================== 
   CTA Section Styling
   ============================== */
.cta-section {
    /*background: linear-gradient(135deg, var(--primary-blue) 60%, var(--secondary-blue) 100%);*/
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-bg-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -250px;
    right: -100px;
    z-index: 1;
}

.cta-shape-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -100px;
    left: 5%;
    z-index: 1;
}

.cta-shape-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: 20%;
    left: -75px;
    z-index: 1;
}

.cta-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.cta-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-icon i {
    font-size: 32px;
    color: var(--primary-blue);
}

.cta-option-card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.option-top {
    flex-grow: 1;
}

.cta-card-hover {
    transform: translateY(-7px);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cta-option-card.highlighted {
    background-color: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.cta-option-card.highlighted-hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(50%);
    background: #FF6B6B;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.cta-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-icon, .verify-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.cta-info .btn-link {
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cta-info .btn-link:hover {
    text-decoration: underline;
}

.cta-info .card {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-option-card .btn {
    transition: all 0.3s ease;
}

.cta-option-card:hover .btn {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.text-highlight {
    color: var(--accent-blue);
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.text-highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-blue);
    opacity: 0.4;
    z-index: -1;
}

.option-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.option-icon i {
    font-size: 28px;
    color: white;
}

/* ============================== 
   Dark Theme Adjustments
   ============================== */
[data-bs-theme="dark"] {
    --bs-body-bg: #212529;
    --bs-body-color: #f8f9fa;
}

[data-bs-theme="dark"] .about-section {
    background-color: var(--gray);
}

[data-bs-theme="dark"] .about-stats-card {
    background-color: var(--gray);
}

[data-bs-theme="dark"] .about-highlight {
    background-color: rgba(19, 75, 242, 0.15);
}

[data-bs-theme="dark"] .bg-primary-subtle {
    background-color: rgba(19, 75, 242, 0.2) !important;
}

[data-bs-theme="dark"] .feature-item-hover {
    background-color: rgba(19, 75, 242, 0.15);
}

[data-bs-theme="dark"] .partner-logo {
    filter: grayscale(100%) brightness(0.8) invert(0.8);
}

[data-bs-theme="dark"] .partner-logo:hover {
    filter: brightness(0.8) invert(0.8);
}

[data-bs-theme="dark"] .features-section {
    background-color: #212529;
}

[data-bs-theme="dark"] .feature-tabs .nav-pills {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .feature-tabs .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] .feature-tabs .nav-link:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.15);
}

[data-bs-theme="dark"] .feature-card {
    background-color: #2b3035;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .feature-card:hover {
    border-color: rgba(19, 75, 242, 0.5);
}

[data-bs-theme="dark"] .feature-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .feature-desc {
    color: #adb5bd;
}

[data-bs-theme="dark"] .mini-feature-card {
    background-color: #2b3035;
}

[data-bs-theme="dark"] .mini-feature-card:hover {
    background-color: var(--primary-blue);
}

[data-bs-theme="dark"] .testimonials-section {
    background-color: #2b3035;
}

[data-bs-theme="dark"] .testimonial-card {
    background-color: #343a40;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .testimonial-footer {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .stats-card {
    background-color: #343a40;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .stats-card-hover {
    border-color: rgba(19, 75, 242, 0.5);
}

[data-bs-theme="dark"] .stats-label {
    color: #adb5bd;
}

[data-bs-theme="dark"] .department-badge {
    background-color: rgba(19, 75, 242, 0.2);
}

[data-bs-theme="dark"] .citation-badge {
    background-color: rgba(19, 75, 242, 0.2);
}

[data-bs-theme="dark"] .carousel-indicators [data-bs-target] {
    background-color: #495057;
}

[data-bs-theme="dark"] .carousel-control-btn {
    background-color: #343a40;
    border-color: #495057;
    color: #f8f9fa;
}

[data-bs-theme="dark"] .cta-option-card {
    background-color: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .cta-card-hover {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .cta-option-card.highlighted {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .cta-icon {
    background: var(--gray);
}

[data-bs-theme="dark"] .cta-info .card {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] .badge.bg-light {
    background-color: #2b3035 !important;
}

/* ============================== 
   Utilities & Helper Classes
   ============================== */
.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.fallback-background {
    background-image: url('/images/hero-bg-fallback.jpg');
    background-size: cover;
    background-position: center;
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}

.slide-up {
    animation: slideUp 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================== 
   Print Styles
   ============================== */
@media print {
    .hero-section, .cta-section, .testimonials-section {
        background: none !important;
        color: black !important;
    }
    
    .btn, .metrics-container, .scroll-indicator, .feature-card:hover {
        box-shadow: none !important;
        transform: none !important;
    }
    
    .hero-overlay, .hero-background {
        display: none !important;
    }
}

/* ============================== 
   Media Queries
   ============================== */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .hero-section {
        min-height: 85vh;
    }
    
    .metric-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 991.98px) {
    .about-stats-card {
        bottom: 10px;
        right: 10px;
        transform: scale(0.9);
    }
    
    .about-shape-1 {
        width: 80px;
        height: 80px;
    }
    
    .about-shape-2 {
        width: 60px;
        height: 60px;
    }
    
    .stats-container {
        margin-bottom: 2rem;
    }
    
    .stats-card {
        margin-bottom: 1rem !important;
    }
    
    .feature-tabs .nav-pills {
        flex-wrap: wrap;
    }
    
    .testimonial-content {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 75vh;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .feature-tabs .nav-link {
        margin-bottom: 0.5rem;
    }
    
    .feature-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
    
    .testimonial-img img {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-content p {
        font-size: 1rem !important;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
    
    .testimonial-quote-mark {
        display: none;
    }
    
    .option-icon {
        width: 50px;
        height: 50px;
    }
    
    .option-icon i {
        font-size: 24px;
    }
    
    .cta-option-card {
        margin-bottom: 1rem;
        padding: 1.5rem !important;
    }
    
    .security-icon, .verify-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .cta-footer p {
        font-size: 0.85rem;
    }
    
    .recommended-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Enhanced styling for dashboard summary */
.dashboard-summary-section {
    background-color: #f8fafd;
    border-radius: 0.75rem;
    box-shadow: inset 0 0.5rem 1.5rem rgba(0, 0, 0, 0.03);
}

.welcome-container {
    animation: fadeInUp 0.5s ease-out;
}

.stat-card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.25s ease;
    animation: fadeIn 0.4s ease-out;
}

    .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
    }

.icon-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 1.25rem;
}

.stat-card[data-type="total"] .icon-container {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.stat-card[data-type="completed"] .icon-container {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stat-card[data-type="overdue"] .icon-container {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.stat-card[data-type="milestones"] .icon-container {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.stat-card[data-type="completed-m"] .icon-container {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.stat-card[data-type="overdue-m"] .icon-container {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.card-title i {
    vertical-align: middle;
    opacity: 0.8;
}

.list-item-task, .list-item-milestone {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.15s;
}

    .list-item-task:last-child, .list-item-milestone:last-child {
        border-bottom: none;
    }

    .list-item-task:hover, .list-item-milestone:hover {
        background-color: rgba(0, 0, 0, 0.01);
    }

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.notification-badge {
    color: #495057;
    transition: color 0.15s;
}

    .notification-badge:hover {
        color: #0d6efd;
    }

.progress {
    border-radius: 4px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-link {
    color: #0d6efd;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

    .btn-link:hover {
        background-color: rgba(13, 110, 253, 0.05);
        border-radius: 0.25rem;
    }

.empty-state {
    opacity: 0.7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .icon-container {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .dashboard-summary-section {
        border-radius: 0.5rem;
    }
}

/*Login form custom css*/
/* Custom focus styles */
.form-control:focus {
    /*box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);*/
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
@keyframes pulse-opacity {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.dashboard-refreshing {
    animation: pulse-opacity 1.5s infinite ease-in-out;
    pointer-events: none;
}