:root {
    /* Modern color scheme */
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #00ad79;
    --light: #ffffff;
    --dark: #222831;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #D4E8FA   , #011A35   );
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Dark mode variables */
[data-theme="dark"] {
    --primary: #4cc9f0;
    --primary-dark: #4895ef;
    --secondary: #f72585;
    --light: #1f1f1f;
    --dark: #f8f9fa;
    --text-dark: #f0f0f0;
    --text-muted: #adb5bd;
    --bg-light: #121212;
    --bg-gradient: linear-gradient(135deg, #4895ef, #3a0ca3);
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--light);
    color: var(--light);
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: var(--light);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    transition: var(--transition);
    padding: 8px 0; /* Reduced from 15px to 8px */
}

.navbar-brand {
    padding: 0; /* Remove default padding */
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px; /* Adjust based on desired logo size */
    width: auto; /* This ensures the width will scale proportionally */
    display: block;
}

.navbar-glass {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled {
    padding: 5px 0; /* Reduced from 10px to 5px */
    background-color: var(--light);
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 2px !important;
    position: relative;
    color: var(--text-dark);
}
.nav-link.active {
    color: var(--primary) !important;
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.action-btn {
    background-color: var(--primary); /* #058ccc */
    border-radius: 30px;
    padding: 10px 22px !important;
    margin-left: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    border: 2px solid transparent;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: subtle-pulse 3s infinite ease-in-out;
}

/* Continuous subtle pulse animation */
@keyframes subtle-pulse {
    0% { transform: scale(1); box-shadow: 0 5px 15px rgba(5, 140, 204, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 8px 20px rgba(5, 140, 204, 0.4); }
    100% { transform: scale(1); box-shadow: 0 5px 15px rgba(5, 140, 204, 0.2); }
}

/* Diamond-inspired hover effect */
.action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: #022251; /* Dark blue from logo */
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: -1;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.action-btn::after {
    display: none !important;
}

/* Shimmer effect inspired by the light blue color */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.action-btn:hover {
    color: white !important;
    animation: none; /* Pause the pulse animation on hover */
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(5, 140, 204, 0.5);
    border-color: rgba(142, 208, 240, 0.5); /* Light blue border (#8ed0f0) */
    background-image: linear-gradient(
        120deg, 
        #058ccc 0%, 
        #058ccc 40%, 
        #022251 60%, 
        #022251 100%
    );
    background-size: 200% auto;
    animation: shimmer 2s infinite;
}

.action-btn:hover::before {
    width: 200%;
    height: 200%;
    opacity: 0.1;
}

.action-btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 8px rgba(2, 34, 81, 0.5);
    background-image: none;
    background-color: #022251;
    animation: none;
    transition: all 0.2s ease;
}

/* Diamond-inspired focus state */
.action-btn:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(5, 140, 204, 0.3),
        0 0 0 6px rgba(142, 208, 240, 0.2);
    animation: subtle-pulse 3s infinite ease-in-out; /* Keep pulsing on focus */
}

/* Return to pulsing after hover */
.action-btn:not(:hover) {
    transition: all 0.5s ease;
}

/* Hero Section */
.hero-section {
    background: var(--bg-gradient);
    color: var(--light);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-text {
    animation: fadeIn 1s ease-out;
}

.hero-image {
    animation: slideIn 1s ease-out;
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

/* Services Section */
.services-section {
    background-color: var(--light);
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Featured Services Section */
.featured-services-section {
    background: var(--bg-gradient);
    color: var(--light);
    padding: 80px 0;
}

.content-wrapper {
    padding-right: 30px;
}

.mini-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 25px;
    transition: var(--transition);
}

.mini-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.mini-card .icon {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.mini-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.rating i {
    color: #ffc107;
    font-size: 1rem;
}

.avatar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-card {
    background: var(--bg-gradient);
    color: var(--light);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Footer */
.footer-section {
    background-color: var(--light);
    color: var(--text-dark);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-dark);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-text {
        padding-top: 60px;
        text-align: center;
    }
    
    .service-item {
        margin-bottom: 30px;
    }
    
    .cta-card {
        padding: 40px 30px;
        text-align: center;
    }
    
    .navbar-glass {
        background-color: var(--light);
    }
    
    .action-btn {
        margin: 10px 0 0 0;
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .navbar-brand img {
        max-height: 35px; /* Slightly smaller on mobile devices */
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .service-card, .mini-card, .testimonial-card {
        margin-bottom: 20px;
    }
    
    .hero-section {
        text-align: center;
        padding: 120px 0 100px;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .featured-services-section .content-wrapper {
        text-align: center;
        padding-right: 0;
    }
}

/* Dark mode toggle button */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--dark);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: var(--transition);
}

.dark-mode-toggle:hover {
    transform: rotate(30deg);
}

/* Navigation scrolling effect */
.navbar-scrolled {
    background-color: var(--light) !important;
    box-shadow: var(--shadow);
}


