/* Custom CSS for NSCT Website */

/* Root Variables */
:root {
    --primary-color: #031461;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #031461 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-weight: 600;
}

.text-hindi {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* CTA Animated Section Styles */
.cta-animated-section {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%);
    background-size: 400% 400%;
    animation: gradientMove 8s ease infinite;
    min-height: 250px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 40px rgba(116, 185, 255, 0.3);
}

.animated-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Floating Circles Animation */
.floating-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatUpDown 6s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

.circle-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
}

.circle-5 {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 25%;
    animation-delay: 4s;
}

.circle-6 {
    width: 90px;
    height: 90px;
    top: 60%;
    right: 30%;
    animation-delay: 5s;
}

/* Wave Lines Animation */
.wave-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: waveMove 4s linear infinite;
}

.wave-1 {
    width: 200px;
    top: 25%;
    left: -200px;
    animation-delay: 0s;
}

.wave-2 {
    width: 150px;
    top: 50%;
    left: -150px;
    animation-delay: 1.5s;
}

.wave-3 {
    width: 180px;
    top: 75%;
    left: -180px;
    animation-delay: 3s;
}

/* Keyframe Animations */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
        opacity: 0.7;
    }
}

@keyframes waveMove {
    0% {
        left: -200px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Button Hover Effects for CTA Section */
.cta-animated-section .btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.cta-animated-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.cta-animated-section .btn:hover::before {
    left: 100%;
}

.cta-animated-section .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cta-animated-section .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: #0984e3;
}

.cta-animated-section .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design for CTA */
@media (max-width: 768px) {
    .cta-animated-section {
        padding: 3rem 2rem !important;
        min-height: 200px;
    }
    
    .cta-animated-section h5 {
        font-size: 1.5rem;
    }
    
    .cta-animated-section .btn {
        padding: 12px 24px;
        margin: 8px 4px;
    }
    
    .floating-circle {
        display: none;
    }
    
    .wave-line {
        display: none;
    }
}

@media (max-width: 576px) {
    .cta-animated-section .btn {
        display: block;
        width: 90%;
        margin: 10px auto;
    }
    
    .cta-animated-section .d-flex {
        display: block !important;
    }
}

/* Header Styles */
header {
    background: var( --primary-color) !important;
}

/* Header Logo Styles */
.header-logo {
    margin-right: 20px;
}

.logo-img {
  
    border-radius: 15px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    object-fit: cover;
}

.logo-img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.header-content h1,
.header-content h2 {
    margin-bottom: 0.3rem;
}

.header-info {
    min-width: 200px;
}

/* Responsive Header Styles */
@media (max-width: 992px) {
    .logo-img {
        width: 120px;
        height: 120px;
    }
    
    .header-content h1 {
        font-size: 1.1rem;
    }
    
    .header-content h2 {
        font-size: 0.95rem;
    }
    
    .header-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0 !important;
    }
    
    .logo-img {
       
        margin-bottom: 0;
    }
    
    .header-logo {
        margin-right: 15px;
        margin-bottom: 0;
    }
    
    .header-content h1 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .header-content h2 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .header-content p {
        font-size: 0.8rem;
    }
    
    .header-info {
        min-width: auto;
        margin-top: 0.5rem;
    }
    
    .header-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .row {
        --bs-gutter-x: 0.75rem;
    }
    
    .logo-img {
        width: 80px;
        height: 80px;
        border-radius: 10px;
    }
    
    .header-logo {
        margin-right: 10px;
    }
    
    .header-content h1 {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .header-content h2 {
        font-size: 0.8rem;
    }
    
    .header-content p {
        font-size: 0.75rem;
    }
    
    .header-info p {
        font-size: 0.75rem;
        text-align: left !important;
    }
    
    .text-end {
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 70px;
        height: 70px;
        border-radius: 8px;
    }
    
    .header-content h1 {
        font-size: 0.85rem;
    }
    
    .header-content h2 {
        font-size: 0.75rem;
    }
    
    .header-content p,
    .header-info p {
        font-size: 0.7rem;
    }
}

/* Navigation Styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
}

.carousel-slide {
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-attachment: fixed !important;
}

.carousel-item {
    height: 600px;
    transition: transform 1s ease-in-out;
}

.carousel-inner {
    border-radius: 0;
}

/* Carousel Controls Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 0.5rem;
}

/* Carousel Indicators */
.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__delay-1s {
    animation-delay: 0.5s;
}

.animate__delay-2s {
    animation-delay: 1s;
}

/* Carousel Text Styling */
.carousel-slide h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.carousel-slide p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.carousel-slide .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 600;
}

.carousel-slide .btn-light:hover {
    background-color: transparent;
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.carousel-slide .btn-outline-light:hover {
    background-color: white;
    color: #0d6efd;
    transform: translateY(-2px);
}

/* Responsive Design for Carousel */
@media (max-width: 992px) {
    .carousel-slide {
        height: 500px;
        background-attachment: scroll !important;
    }
    
    .carousel-item {
        height: 500px;
    }
    
    .carousel-slide h1 {
        font-size: 2.8rem;
    }
    
    .carousel-slide p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        height: 450px;
        background-attachment: scroll !important;
    }
    
    .carousel-item {
        height: 450px;
    }
    
    .carousel-slide h1 {
        font-size: 2.2rem;
    }
    
    .carousel-slide p {
        font-size: 1.1rem;
    }
    
    .carousel-slide .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        height: 400px;
        padding: 20px 0;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-slide h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .carousel-slide p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .carousel-slide .btn {
        padding: 10px 25px;
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .carousel-indicators {
        margin-bottom: 1rem;
    }
    
    .carousel-indicators button {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        height: 350px;
        padding: 15px 0;
    }
    
    .carousel-item {
        height: 350px;
    }
    
    .carousel-slide h1 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .carousel-slide p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .carousel-slide .btn {
        padding: 8px 20px;
        font-size: 0.8rem;
        margin: 0 5px 8px 5px;
    }
}

@media (max-width: 380px) {
    .carousel-slide {
        height: 320px;
        padding: 10px 0;
    }
    
    .carousel-item {
        height: 320px;
    }
    
    .carousel-slide h1 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .carousel-slide p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .carousel-slide .btn {
        padding: 6px 16px;
        font-size: 0.75rem;
        display: block;
        width: 80%;
        margin: 0 auto 8px auto;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Button Styles */
.btn {
    border-radius: 50px;
    font-weight: 500;
    padding: 12px 30px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    transition: all 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* Payment Section */
.payment-info {
    border-left: 5px solid var(--primary-color);
}

.bank-details p {
    margin-bottom: 0.5rem;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.bank-details p:last-child {
    border-bottom: none;
}

/* Footer */
footer {
     background: var( --primary-color) !important;
}

.social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Responsive Styles */
@media (max-width: 768px) {
    .cta-section {
        padding: 2rem !important;
        margin: 2rem 0;
    }
    
    .cta-section h5 {
        font-size: 1.3rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-section .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }
    
    .shape {
        display: none;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 1.5rem !important;
    }
    
    .cta-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cta-section .d-flex {
        display: block !important;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .payment-info {
        padding: 2rem !important;
    }
    
    .bank-details {
        margin-bottom: 2rem;
    }
}

/* CTA Section with Animated Background */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #0d6efd 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    z-index: 2;
}

.animated-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
        opacity: 0.7;
    }
    66% {
        transform: translateY(-10px) rotate(240deg);
        opacity: 0.5;
    }
}

.cta-section .btn {
    transition: all 0.3s ease;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-section .btn:hover::before {
    left: 100%;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-section .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.cta-section .btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

/* Custom Utilities */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-secondary {
    background: var(--gradient-secondary) !important;
}

.shadow-soft {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05) !important;
}

.border-radius-lg {
    border-radius: 15px !important;
}

.border-radius-xl {
    border-radius: 25px !important;
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Print Styles */
@media print {
    .btn, .navbar, footer {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card, .category-card {
        border: 2px solid var(--dark-color);
    }
    
    .text-muted {
        color: var(--dark-color) !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/*CTA*/
.CTA {
    background: var( --primary-color) !important;
    border-radius: 10px;
}

.CTA_1 {
    background: var( --primary-color) !important;
}

/* Enhanced CTA Animated Section - Override all previous styles */
.cta-animated-section {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 50%, #6c5ce7 100%) !important;
    background-size: 400% 400% !important;
    animation: gradientMoveNew 8s ease infinite !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 20px 40px rgba(116, 185, 255, 0.3) !important;
    border-radius: 20px !important;
}

.animated-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating Circles Animation */
.floating-circle {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: floatUpDownNew 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

.circle-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 5%;
    animation-delay: 3s;
}

.circle-5 {
    width: 40px;
    height: 40px;
    top: 50%;
    left: 25%;
    animation-delay: 4s;
}

.circle-6 {
    width: 90px;
    height: 90px;
    top: 60%;
    right: 30%;
    animation-delay: 5s;
}

/* Wave Lines Animation */
.wave-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: waveMoveNew 4s linear infinite;
    border-radius: 2px;
}

.wave-1 {
    width: 200px;
    top: 25%;
    left: -200px;
    animation-delay: 0s;
}

.wave-2 {
    width: 150px;
    top: 50%;
    left: -150px;
    animation-delay: 1.5s;
}

.wave-3 {
    width: 180px;
    top: 75%;
    left: -180px;
    animation-delay: 3s;
}

/* Enhanced Keyframe Animations */
@keyframes gradientMoveNew {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatUpDownNew {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-25px) rotate(90deg) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-15px) rotate(180deg) scale(0.9);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.05);
        opacity: 0.8;
    }
}

@keyframes waveMoveNew {
    0% {
        left: -200px;
        opacity: 0;
        transform: scaleX(0);
    }
    10% {
        opacity: 1;
        transform: scaleX(1);
    }
    90% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        left: 100%;
        opacity: 0;
        transform: scaleX(0);
    }
}

/* Enhanced Button Effects for CTA Section */
.cta-animated-section .btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 10 !important;
}

.cta-animated-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.cta-animated-section .btn:hover::before {
    left: 100%;
}

.cta-animated-section .btn:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

.cta-animated-section .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #0984e3 !important;
}

.cta-animated-section .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-5px) scale(1.05) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive Design for Enhanced CTA */
@media (max-width: 768px) {
    .cta-animated-section {
        padding: 3rem 2rem !important;
        min-height: 200px !important;
    }
    
    .cta-animated-section h5 {
        font-size: 1.5rem !important;
    }
    
    .cta-animated-section .btn {
        padding: 12px 24px !important;
        margin: 8px 4px !important;
    }
    
    .floating-circle {
        opacity: 0.3 !important;
    }
    
    .wave-line {
        opacity: 0.5 !important;
    }
}

@media (max-width: 576px) {
    .cta-animated-section .btn {
        display: block !important;
        width: 90% !important;
        margin: 10px auto !important;
    }
    
    .cta-animated-section .d-flex {
        display: block !important;
    }
}

/* Services Section Animated Background */
.services-animated-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 500% 500%;
    animation: servicesGradientShift 12s ease infinite;
    min-height: auto;
    position: relative;
}

.services-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Animated Particles */
.animated-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle-1 {
    width: 20px;
    height: 20px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle-2 {
    width: 15px;
    height: 15px;
    top: 30%;
    left: 15%;
    animation-delay: 1s;
    animation-duration: 10s;
}

.particle-3 {
    width: 25px;
    height: 25px;
    top: 50%;
    left: 25%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.particle-4 {
    width: 18px;
    height: 18px;
    top: 70%;
    left: 35%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.particle-5 {
    width: 22px;
    height: 22px;
    top: 20%;
    right: 20%;
    animation-delay: 1.5s;
    animation-duration: 7s;
}

.particle-6 {
    width: 16px;
    height: 16px;
    top: 40%;
    right: 10%;
    animation-delay: 2.5s;
    animation-duration: 12s;
}

.particle-7 {
    width: 30px;
    height: 30px;
    top: 60%;
    right: 30%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.particle-8 {
    width: 12px;
    height: 12px;
    top: 80%;
    right: 5%;
    animation-delay: 0.5s;
    animation-duration: 10s;
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    animation: shapeRotate 15s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid rgba(255, 255, 255, 0.1);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    background: none;
}

.shape-triangle-2 {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid rgba(255, 255, 255, 0.08);
    top: 70%;
    right: 15%;
    animation-delay: 3s;
    background: none;
}

.shape-square-1 {
    width: 40px;
    height: 40px;
    top: 25%;
    right: 25%;
    animation-delay: 1s;
    transform-origin: center;
}

.shape-square-2 {
    width: 30px;
    height: 30px;
    top: 65%;
    left: 20%;
    animation-delay: 4s;
    transform-origin: center;
}

/* Floating Dots */
.floating-dots .dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: dotPulse 3s ease-in-out infinite;
}

.dot-1 {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

.dot-2 {
    top: 30%;
    left: 70%;
    animation-delay: 0.6s;
}

.dot-3 {
    top: 50%;
    left: 80%;
    animation-delay: 1.2s;
}

.dot-4 {
    top: 70%;
    left: 60%;
    animation-delay: 1.8s;
}

.dot-5 {
    top: 90%;
    left: 40%;
    animation-delay: 2.4s;
}

/* Services Title Animation */
.services-title {
    animation: titleGlow 4s ease-in-out infinite alternate;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Keyframe Animations for Services */
@keyframes servicesGradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 25%;
    }
    50% {
        background-position: 50% 100%;
    }
    75% {
        background-position: 25% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) translateX(50px) scale(1.2);
        opacity: 0.8;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-200px) translateX(-30px) scale(0.8);
        opacity: 0;
    }
}

@keyframes shapeRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.3;
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.3);
    }
}

/* Responsive Design for Services Section */
@media (max-width: 768px) {
    .services-animated-section {
        padding: 4rem 0;
    }
    
    .animated-particle {
        display: none;
    }
    
    .geometric-shape {
        opacity: 0.3;
    }
    
    .floating-dots .dot {
        opacity: 0.4;
    }
    
    .services-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .geometric-shape {
        display: none;
    }
    
    .services-title {
        font-size: 1.5rem;
    }
}

/* Enhanced Mobile-First Navigation Styles */
.navbar {
    background: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Navbar Brand for Mobile */
.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.navbar-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* Custom Mobile Toggle Button */
.mobile-nav-toggle {
    border: none;
    padding: 8px;
    background: var(--primary-color);
    border-radius: 8px;
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-nav-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.navbar-toggler-line {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-nav-toggle[aria-expanded="true"] .navbar-toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle[aria-expanded="true"] .navbar-toggler-line:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .navbar-toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop Navigation Links */
.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px !important;
    border-radius: 6px;
    margin: 0 2px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Mobile Navigation Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
        padding: 25px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .mobile-nav-menu {
        width: 100%;
    }
    
    .mobile-nav-link {
        margin: 6px 0 !important;
        padding: 16px 20px !important;
        border-radius: 12px;
        background: rgba(13, 110, 253, 0.02);
        border: 1px solid rgba(13, 110, 253, 0.1);
        font-size: 1.05rem;
        font-weight: 600;
        transition: all 0.3s ease;
        display: block !important;
        text-align: left;
    }
    
    .mobile-nav-link:hover,
    .mobile-nav-link:focus {
        background: rgba(13, 110, 253, 0.1);
        color: var(--primary-color) !important;
        transform: translateX(8px);
        border-color: rgba(13, 110, 253, 0.3);
        text-decoration: none;
    }
    
    .mobile-nav-link::after {
        display: none;
    }
    
    /* Enhanced Mobile Dropdown */
    .mobile-dropdown-toggle {
        position: relative;
        cursor: pointer;
    }
    
    .mobile-dropdown-toggle::after {
        font-family: "Bootstrap Icons";
        content: "\\F282"; /* chevron-down */
        border: none;
        font-size: 1rem;
        margin-left: auto;
        transition: transform 0.3s ease;
    }
    
    .mobile-dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
        content: "\\F27E"; /* chevron-up */
    }
    
    .mobile-dropdown-toggle.show::after {
        transform: rotate(180deg);
    }
}

/* Enhanced Flyout Navigation Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    min-width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 1050;
}

.dropdown.show .dropdown-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.dropdown-item {
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
}

.dropdown-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left 0.6s ease;
}

.dropdown-item:hover:before {
    left: 100%;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.08);
    color: var(--primary-color) !important;
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
}

.dropdown-item i {
    width: 28px;
    font-size: 1.3rem;
    margin-right: 12px !important;
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.dropdown-item div {
    position: relative;
    z-index: 2;
}

.dropdown-item .fw-semibold {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.dropdown-item small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.dropdown-toggle::after {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: "Bootstrap Icons";
    content: "\F282";
    border: none;
    font-size: 0.9rem;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
    content: "\F27E";
}

/* Hover effect for dropdown toggle */
.dropdown-toggle:hover {
    background-color: rgba(13, 110, 253, 0.05) !important;
    transform: translateY(-1px);
}

/* Desktop specific styles */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }
    
    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
        content: "\F27E";
    }
}

/* Mobile Dropdown Enhancements */
@media (max-width: 991px) {
    .dropdown {
        position: static !important;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(13, 110, 253, 0.03) !important;
        margin: 8px 0 0 0 !important;
        border-radius: 12px !important;
        border: 1px solid rgba(13, 110, 253, 0.1) !important;
        width: 100% !important;
        padding: 16px !important;
        display: none !important;
        float: none !important;
        min-width: auto !important;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .mobile-dropdown {
        box-shadow: none !important;
        background: rgba(13, 110, 253, 0.03) !important;
        margin: 8px 0 0 0 !important;
        border-radius: 12px !important;
        border: 1px solid rgba(13, 110, 253, 0.1) !important;
        position: static !important;
        width: 100% !important;
        padding: 16px !important;
        transform: translateY(-10px) !important;
        display: none !important;
        float: none !important;
        min-width: auto !important;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .dropdown.show .mobile-dropdown,
    .dropdown.show .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .mobile-dropdown-item {
        padding: 16px 20px !important;
        background: white !important;
        border-radius: 10px !important;
        margin-bottom: 8px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-dropdown-item:hover,
    .mobile-dropdown-item:focus {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        background: rgba(13, 110, 253, 0.05) !important;
        text-decoration: none;
    }
    
    .mobile-dropdown-item:last-child {
        margin-bottom: 0 !important;
    }
    
    .mobile-dropdown-item i {
        font-size: 1.4rem !important;
        width: 32px !important;
    }
    
    .mobile-dropdown-item div {
        flex: 1;
    }
    
    .mobile-dropdown-item .fw-semibold {
        color: #333 !important;
        font-size: 1rem !important;
    }
    
    .mobile-dropdown-item small {
        font-size: 0.85rem !important;
        opacity: 0.7 !important;
    }
}

/* Quick Actions for Mobile */
.mobile-quick-actions {
    border-top: 2px solid rgba(13, 110, 253, 0.1) !important;
}

.mobile-quick-actions .btn {
    padding: 12px 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-quick-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Smooth Scrolling for Anchor Links */
html {
    scroll-behavior: smooth;
}

/* Touch Improvements */
@media (hover: none) and (pointer: coarse) {
    .mobile-nav-link:hover {
        transform: none;
    }
    
    .mobile-nav-link:active {
        background: rgba(13, 110, 253, 0.2) !important;
        transform: scale(0.98);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .mobile-nav-link,
    .dropdown-item,
    .mobile-nav-toggle,
    .navbar-toggler-line {
        transition: none;
    }
}

/* Focus States for Better Accessibility */
.mobile-nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive Navigation Text */
@media (max-width: 576px) {
    .mobile-nav-link {
        font-size: 1rem;
        padding: 14px 18px !important;
    }
    
    .navbar-collapse {
        padding: 20px;
    }
    
    .mobile-dropdown-item {
        padding: 14px 16px;
    }
}
