/* Main Styles for DHANVITTA FINTECH SOLUTIONS PRIVATE LIMITED
 Website */

/* ==========================================================================
   Base Styles
   ========================================================================== */

   :root {
    --primary-color: #0d47a1;
    --primary-light: #5e92f3;
    --primary-dark: #003c8f;
    --secondary-color: #1e88e5;
    --accent-color: #ffc107;
    --text-light: #f5f5f5;
    --text-dark: #212121;
    --background-light: #ffffff;
    --background-dark: #f5f5f5;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #f44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

/* Country-specific theme helpers */
body.india-services {
    --primary-color: #00695c;
    --primary-dark: #004d40;
    --secondary-color: #00897b;
}

body.dubai-services {
    --primary-color: #b71c1c;
    --primary-dark: #7f0000;
    --secondary-color: #e53935;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Accounts for fixed navbar */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-dark);
}

section {
    padding: 5rem 0;
}

/* ==========================================================================
   Preloader
   ========================================================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader {
    text-align: center;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
    padding: 1rem 0;
    background-color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(13, 71, 161, 0.95) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.logo {
    height: 40px;
    transition: all var(--transition-speed) ease;
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
}

.navbar-brand {
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled .navbar-brand {
    transform: scale(0.95);
}

.nav-link-animated {
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.nav-link-animated::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all var(--transition-speed) ease;
    transform: translateX(-50%);
}

.nav-link-animated:hover::after,
.nav-link-animated.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-top: 10px;
}

.dropdown-menu-animated {
    animation: dropdown-fade 0.3s ease-in-out;
}

@keyframes dropdown-fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: all var(--transition-speed) ease;
}

.dropdown-item:hover {
    background-color: rgba(13, 71, 161, 0.1);
    transform: translateX(5px);
}

/* ==========================================================================
   Flash Messages
   ========================================================================== */

.flash-messages-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1050;
    width: 350px;
}

.flash-message {
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
}

.flash-message.alert-success {
    border-left-color: var(--success-color);
}

.flash-message.alert-danger {
    border-left-color: var(--danger-color);
}

.flash-message.alert-warning {
    border-left-color: var(--warning-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--primary-color);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.85) 0%, rgba(21, 101, 192, 0.75) 100%);
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    z-index: 1;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--background-dark) !important;
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    overflow: hidden;
    height: 100%;
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(94, 146, 243, 0.1), transparent);
    transition: all 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    left: 100%;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::after {
    width: 300%;
    height: 300%;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team .card {
    text-align: center;
}

.team .card img {
    transition: transform var(--transition-speed) ease;
}

.team .card:hover img {
    transform: scale(1.05);
}

.team .card-body {
    padding: 1.5rem;
}

.team .social-links {
    margin-top: 1rem;
}

.team .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: white;
    margin: 0 5px;
    transition: all var(--transition-speed) ease;
}

.team .social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial {
    text-align: center;
    padding: 2rem;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-light);
}

.testimonial-quote {
    position: relative;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.3;
    position: absolute;
}

.testimonial-quote::before {
    top: -20px;
    left: -10px;
}

.testimonial-quote::after {
    bottom: -40px;
    right: -10px;
    transform: rotate(180deg);
}

/* Statistics (continued) */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
}

.stat-number::after {
    content: '+';
    position: absolute;
    top: 5px;
    right: -15px;
    font-size: 2rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.stat-title {
    font-size: 1.2rem;
    font-weight: 500;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

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

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-info {
    padding: 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    height: 100%;
}

.contact-info h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--accent-color);
}

.contact-form {
    padding: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-control {
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid #e0e0e0;
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.newsletter {
    padding: 4rem 0;
    background-color: var(--primary-light);
    color: white;
    text-align: center;
}

.newsletter-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.newsletter-input {
    height: 60px;
    border-radius: 30px;
    padding-left: 1.5rem;
    padding-right: 150px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 50px;
    border-radius: 25px;
    padding: 0 1.5rem;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
}

.newsletter-btn:hover {
    background-color: #e6a800;
    border-color: #e6a800;
    color: var(--text-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--primary-dark);
    color: white;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 50px;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed) ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.75rem;
    color: var(--accent-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed) ease;
}

.footer-contact a:hover {
    color: white;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-speed) ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: var(--text-dark);
    transform: translateY(-5px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top i {
    font-size: 1.5rem;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1199.98px) {
    .hero {
        min-height: 80vh;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .nav-link-animated::after {
        bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .flash-messages-container {
        width: 90%;
        right: 5%;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top i {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Dark Theme Adjustments
   ========================================================================== */

body.dark-theme {
    --text-light: #ffffff;
    --text-dark: #e0e0e0;
    --background-light: #121212;
    --background-dark: #1e1e1e;
}

body.dark-theme .navbar {
    background-color: #121212;
}

body.dark-theme .navbar.scrolled {
    background-color: rgba(13, 13, 13, 0.95) !important;
}

body.dark-theme .card {
    background-color: #1e1e1e;
    border-color: #333;
}

body.dark-theme .bg-light {
    background-color: #1e1e1e !important;
}

body.dark-theme .text-dark {
    color: var(--text-light) !important;
}

body.dark-theme .form-control {
    background-color: #2d2d2d;
    border-color: #333;
    color: var(--text-light);
}

body.dark-theme .footer {
    background-color: #0a0a0a;
}

body.dark-theme h1, 
body.dark-theme h2, 
body.dark-theme h3, 
body.dark-theme h4, 
body.dark-theme h5, 
body.dark-theme h6 {
    color: var(--primary-light);
}

body.dark-theme .section-title h2 {
    color: var(--primary-light);
}
/* Country Switcher Styles */
.country-selector {
    margin-left: 20px;
}

.country-selector .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: white;
}

.country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.country-dropdown {
    min-width: 180px;
    padding: 8px 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.country-option {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    transition: background-color 0.3s ease;
}

.country-option .flag {
    margin-right: 10px;
}

.country-option:hover {
    background-color: rgba(13, 71, 161, 0.1);
}

/* Country-specific styling classes */
body.india-services {
    /* Keep brand consistent (match logo/header/footer) */
    --primary-color: #0d47a1;
    --primary-light: #5e92f3;
    --primary-dark: #003c8f;
    --secondary-color: #1e88e5;
    --accent-color: #ffc107;
}

body.india-services .navbar {
    background-color: var(--primary-color);
}

body.india-services .navbar.scrolled {
    background-color: rgba(13, 71, 161, 0.95) !important;
}

body.india-services .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

body.india-services .footer {
    background-color: var(--primary-dark);
}

/* Transition effect when switching */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

.transition-fade * {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.features {
    position: relative;
    overflow: hidden;
}

.features-bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: var(--success-color);
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background-color: var(--danger-color);
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.section-header .divider {
    height: 4px;
    width: 70px;
    background: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 4px;
}

.feature-card {
    background-color: var(--background-light);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-light);
}

.feature-image {
    overflow: hidden;
    transition: all 0.4s ease;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    transition: all 0.8s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.icon-wrapper {
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    position: relative;
    z-index: 1;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--success-color), var(--danger-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .icon-wrapper::before {
    opacity: 0.3;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-list li {
    transform: translateX(5px);
}

.trust-indicators {
    position: relative;
    z-index: 2;
}

.trust-indicator-card {
    background-color: var(--background-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

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

.counter-wrapper {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.reveal-text {
    position: relative;
    display: inline-block;
    color: transparent;
    animation: reveal-text 1.2s ease forwards;
}

@keyframes reveal-text {
    0% { color: transparent; }
    100% { color: inherit; }
}

.client-logo {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.logo-carousel {
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(var(--bs-primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0); }
}

/* Dark theme adjustments */
body.dark-theme .feature-card {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

body.dark-theme .feature-card:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: var(--primary-light);
}

body.dark-theme .trust-indicator-card {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

body.dark-theme .features-bg-elements .floating-shape {
    opacity: 0.1;
}

body.dark-theme .client-logo {
    filter: brightness(0.8) invert(1);
}
.typewriter {
    position: relative;
}

.typewriter .typing-text {
    color: var(--primary-color) !important;
    font-weight: 700;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.typewriter .typing-cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Dark theme support */
body.dark-theme .typewriter .typing-text {
    color: #5e92f3 !important;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}
.services {
    position: relative;
    overflow: hidden;
}

/* Background Elements */
.services-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    opacity: 0.05;
}

.shape-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary-color);
    top: -150px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
    background-size: 15px 15px;
    bottom: 5%;
    left: 5%;
    animation: float 20s ease-in-out infinite alternate;
}

.shape-line {
    width: 150px;
    height: 5px;
    background: var(--accent-color);
    top: 50%;
    left: -75px;
    transform: rotate(45deg);
    animation: float 12s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, 15px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Section Header */
.section-header .text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

/* Service Cards */
.service-card {
    background-color: var(--background-light);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.shadow-hover {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.shadow-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Service Images */
.service-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.service-card:hover .service-overlay {
    opacity: 0.9;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.service-overlay .service-icon {
    font-size: 3rem;
    color: white;
    opacity: 0.9;
}

/* Service Content */
.service-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-icon-wrapper {
    height: 70px;
    width: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-title {
    margin: 1rem 0;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-divider {
    height: 3px;
    width: 40px;
    background: var(--primary-color);
    margin: 0.8rem auto;
    transition: all 0.3s ease;
}

.service-card:hover .service-divider {
    width: 60px;
}

.service-description {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.service-features {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-features li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-features li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.service-card:hover .service-features li {
    transform: translateX(5px);
}

.service-btn {
    transition: all 0.3s ease;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* View All Button */
.view-all-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.view-all-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--bs-primary-rgb), 0.2);
}

/* Animation for service icons */
.service-icon-wrapper i {
    animation: pulse 2s infinite;
}

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

/* Dark Theme Support */
body.dark-theme .service-card {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .service-content {
    background-color: rgba(30, 30, 30, 0.8);
}

body.dark-theme .service-title,
body.dark-theme .service-description {
    color: var(--text-light);
}

body.dark-theme .service-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .service-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .service-img-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .service-img-container {
        height: 160px;
    }
    
    .service-features li {
        font-size: 0.85rem;
    }
}
.team-section {
    position: relative;
    overflow: hidden;
    background-color: rgba(var(--bs-light-rgb), 0.5);
}

/* Section Header */
.section-header .text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

/* Team Cards */
.team-card {
    background-color: var(--background-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Team Member Image */
.team-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.team-card:hover .team-img {
    transform: scale(1.05);
}

/* Team Overlay with Social Icons */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.team-card:hover .social-icon {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover .social-icon:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:hover .social-icon:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card:hover .social-icon:nth-child(3) {
    transition-delay: 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Team Content */
.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 5px;
    font-size: 1rem;
}

.team-divider {
    height: 3px;
    width: 40px;
    background: var(--primary-color);
    margin: 0.8rem auto;
}

.team-bio {
    color: var(--text-dark);
    opacity: 0.8;
    margin: 1rem 0;
    font-size: 0.95rem;
}

/* Expertise Tags */
.team-expertise {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.expertise-tag {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.team-card:hover .expertise-tag {
    background-color: rgba(var(--bs-primary-rgb), 0.2);
}

/* View All Button */
.view-all-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.view-all-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--bs-primary-rgb), 0.2);
}

/* Dark Theme Support */
body.dark-theme .team-card {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .team-name,
body.dark-theme .team-bio {
    color: var(--text-light);
}

body.dark-theme .expertise-tag {
    background-color: rgba(var(--bs-primary-rgb), 0.3);
}

body.dark-theme .social-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

body.dark-theme .social-icon:hover {
    background-color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .team-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .team-img-wrapper {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .team-img-wrapper {
        height: 300px;
    }
    
    .team-expertise {
        flex-direction: column;
        align-items: center;
    }
}
.blog-section {
    position: relative;
    overflow: hidden;
    background-color: var(--background-light);
}

/* Section Header */
.section-header .text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.section-divider {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

/* Featured Post */
.featured-post-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.featured-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.featured-post-img {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.featured-img {
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.featured-post-card:hover .featured-img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.featured-badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Blog Cards */
.blog-card {
    background-color: var(--background-light);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    color: var(--text-dark);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-width: 60px;
}

.date-day {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-date, .blog-read-time {
    color: var(--text-dark);
    opacity: 0.7;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-footer {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
}

.blog-author {
    font-size: 0.9rem;
}

.author-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    color: var(--text-dark);
    font-weight: 600;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.read-more-btn {
    border-radius: 30px;
}

/* View All Button */
.view-all-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.view-all-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--bs-primary-rgb), 0.2);
}

/* Dark Theme Support */
body.dark-theme .blog-card,
body.dark-theme .featured-post-card {
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .blog-date-badge {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

body.dark-theme .blog-title,
body.dark-theme .blog-excerpt,
body.dark-theme .author-name {
    color: var(--text-light);
}

body.dark-theme .blog-date,
body.dark-theme .blog-read-time {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .blog-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .featured-post-img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .blog-card {
        margin-bottom: 30px;
    }
}
/* Add these styles to your CSS file or in a <style> tag in the head section */

/* Ensure dropdown menu has proper z-index to appear above other elements */
.dropdown-menu {
    z-index: 1030;
}

/* Make sure dropdown items are visible */
.dropdown-item {
    color: #212529;
    padding: 0.5rem 1rem;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    display: block;
    width: 100%;
}

/* Style for dropdown items on hover */
.dropdown-item:hover, .dropdown-item:focus {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

/* Style for dropdown menu */
.dropdown-menu-animated {
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

/* Fix for dropdown animation */
.dropdown-menu.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Video Resources Section Enhanced Styling */
.video-resources {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* Background elements */
.video-resources::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(13, 71, 161, 0.05);
    z-index: 0;
}

.video-resources::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.05);
    z-index: 0;
}

/* Video cards styling */
.video-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--background-light);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.video-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Video wrapper with improved thumbnail preview */
.video-wrapper {
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background-color: #000;
}

.thumbnail-container {
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.video-card:hover .thumbnail-container::before {
    opacity: 0.9;
}

.play-button-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-button-overlay i {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.video-card:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1) !important;
    background-color: rgba(var(--primary-rgb, 13, 71, 161), 0.3);
    box-shadow: 0 0 30px rgba(var(--primary-rgb, 13, 71, 161), 0.4);
}

/* Video content area */
.video-content {
    padding: 1.5rem;
    position: relative;
}

.video-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    background: rgba(var(--primary-rgb), 0.1);
    transition: all 0.3s ease;
}

.video-card:hover .video-icon-wrapper {
    transform: scale(1.1);
}

.video-title {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-divider {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 1rem;
    transition: width 0.3s ease;
}

.video-card:hover .video-divider {
    width: 80px;
}

.video-description {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    min-height: 80px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video tags */
.video-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.video-tags .badge {
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.video-tags .badge:hover {
    transform: translateY(-2px);
}

/* Watch button */
.watch-video-btn {
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.watch-video-btn:hover {
    transform: translateX(5px);
}

.watch-video-btn i {
    transition: transform 0.3s ease;
}

.watch-video-btn:hover i {
    transform: scale(1.2);
}

/* Video modal customization */
#videoModal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

#videoModal .modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 1rem 1.5rem;
}

#videoModal .modal-body {
    padding: 0;
}

#videoModal .btn-close {
    color: white;
    filter: invert(1) brightness(200%);
    opacity: 0.8;
}

#videoModal .btn-close:hover {
    opacity: 1;
}

/* Dark theme support */
body.dark-theme .video-card {
    background-color: var(--background-dark);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .video-description {
    color: var(--text-light);
}

body.dark-theme .video-icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-theme #videoModal .modal-content {
    background-color: var(--background-dark);
}

body.dark-theme #videoModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-title, .video-description {
        min-height: auto;
    }
    
    .video-card {
        margin-bottom: 1.5rem;
    }
}

/* Special animation for featured video tag */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.featured-video-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    animation: pulse 2s infinite;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.footer {
    margin-bottom: 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Improve footer link styling */
.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    transform: translateX(5px);
}

/* Fix for dropdown link in footer */
.footer-links a.dropdown-item {
    padding-left: 0;
    background-color: transparent;
}

/* Contact address formatting */
.footer-contact p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Fix mobile display */
@media (max-width: 768px) {
    .footer {
        padding-bottom: 10px;
    }
    
    .row.align-items-center {
        margin-bottom: 0;
    }
}
/* Productivity Tools Section Styling */
.productivity-tools {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
}

/* Background elements */
.productivity-tools::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.1) 0%, rgba(13, 71, 161, 0.02) 100%);
    border-radius: 50%;
    z-index: 0;
}

.productivity-tools::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.02) 100%);
    border-radius: 50%;
    z-index: 0;
}

/* Tool cards styling */
.tool-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Image container */
.tool-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #f0f0f0;  /* Placeholder background */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.tool-card:hover .tool-img {
    transform: scale(1.05);
}

/* Tool badge */
.tool-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px;
    transition: all 0.3s ease;
}

.tool-badge {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tool-card:hover .tool-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
}

.tool-card:hover .tool-badge {
    transform: translateY(3px);
}

/* Tool content area */
.tool-content {
    padding: 25px;
}

.tool-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.tool-card:hover .tool-title {
    color: var(--primary-color);
}

.tool-divider {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 15px;
    transition: width 0.3s ease;
}

.tool-card:hover .tool-divider {
    width: 80px;
}

.tool-description {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Tool features */
.tool-features {
    margin-bottom: 15px;
}

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

.feature-item i {
    font-size: 1rem;
    margin-right: 10px;
}

.feature-item span {
    font-size: 0.95rem;
}

/* Tool button */
.tool-btn {
    border-radius: 30px;
    padding: 8px 24px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.tool-btn i {
    transition: transform 0.3s ease;
}

.tool-btn:hover i {
    transform: translateX(5px);
}

/* Placeholder image styling */
.placeholder-img {
    width: 100px;
    height: 100px;
    opacity: 0.7;
}

/* Dark theme support */
body.dark-theme .tool-card {
    background-color: var(--background-dark);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .tool-title,
body.dark-theme .tool-description,
body.dark-theme .feature-item span {
    color: var(--text-light);
}

body.dark-theme .tool-img-wrapper {
    background-color: #2a2a2a;
}