/* Global Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Header Styles */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1020;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-spacer {
    margin-top: 100px;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    position: relative;
    overflow: hidden;
}

.navbar-brand img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.navbar-brand:hover::after {
    transform: translateX(100%);
}

.nav-item {
    position: relative;
    margin: 0 5px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 8px 16px !important;
    color: var(--dark-color) !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border-radius: 25px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), #00c6ff);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: white !important;
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link.active {
    color: white !important;
    background: linear-gradient(45deg, var(--primary-color), #00c6ff);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon::after {
    bottom: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 50%;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 50%;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #fff !important;
    }

    .nav-item {
        margin: 5px 0;
    }

    .nav-link {
        text-align: center;
    }
}

/* Add glow effect for active link */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color),
                0 0 20px var(--primary-color),
                0 0 30px var(--primary-color);
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.2);
    }
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

/* Section Styles */
.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.title-separator {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem 0;
}

/* Card Styles */
.cp-system-card,
.service-card,
.product-card,
.application-card,
.case-study-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cp-system-card:hover,
.service-card:hover,
.product-card:hover,
.application-card:hover,
.case-study-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    color: white;
    font-size: 28px;
}

.contact-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-card p {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.contact-card a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #0056b3;
}

.social-links {
    margin-top: 50px;
    text-align: center;
}

.social-links h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-icon i {
    color: #007bff;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-info-container {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 25px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon i {
        font-size: 20px;
    }
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

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

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

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

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

/* Facebook */
.social-icons a.facebook {
    background-color: #1877f2;
    color: white;
}

.social-icons a.facebook:hover {
    background-color: #0d6efd;
    transform: translateY(-3px);
}

/* Twitter */
.social-icons a.twitter {
    background-color: #1da1f2;
    color: white;
}

.social-icons a.twitter:hover {
    background-color: #0c85d0;
    transform: translateY(-3px);
}

/* LinkedIn */
.social-icons a.linkedin {
    background-color: #0077b5;
    color: white;
}

.social-icons a.linkedin:hover {
    background-color: #005582;
    transform: translateY(-3px);
}

/* Instagram */
.social-icons a.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
}

.social-icons a.instagram:hover {
    background: linear-gradient(45deg, #833ab4, #c13584, #e1306c, #fd1d1d, #405de6, #5851db);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background-color: var(--dark-color);
    color: white;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    display: none;
}

/* WhatsApp Section Styles */
.whatsapp-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.whatsapp-section .btn-light {
    background-color: #fff;
    color: #25D366;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.whatsapp-section .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Quiz Button Styles */
.quiz-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white !important;
    border-radius: 25px;
    padding: 8px 20px !important;
    margin-left: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: quizPulse 2s infinite, quizGlow 3s infinite;
}

.quiz-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #ff5252, #ff7676);
    box-shadow: 0 6px 20px rgba(255, 82, 82, 0.6);
}

.quiz-btn i {
    margin-right: 8px;
    animation: quizIconBounce 1.5s infinite;
}

/* Quiz Button Animations */
@keyframes quizPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes quizGlow {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 107, 0.7);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
}

@keyframes quizIconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Add shine effect */
.quiz-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-map iframe {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Map Section Styles */
.map-section {
    position: relative;
    overflow: hidden;
}

.map-container {
    position: relative;
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.map-container:hover iframe {
    transform: scale(1.01);
}

.btn-primary {
    padding: 12px 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
    
    .btn-primary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.chatbot-container.active {
    display: flex;
}

.chatbot-container.minimized {
    height: 60px;
}

.chatbot-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}

.chatbot-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.chatbot-controls {
    display: flex;
    gap: 10px;
}

.control-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    transition: opacity 0.3s ease;
}

.control-button:hover {
    opacity: 0.8;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.user-message {
    background: #e3f2fd;
    color: #1565c0;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.bot-message {
    background: #f5f5f5;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.chatbot-input-container {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

#user-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

#user-input:focus {
    border-color: var(--primary-color);
}

#send-button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#send-button:hover {
    transform: scale(1.1);
}

.toggle-chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 999;
}

.toggle-chat-button:hover {
    transform: scale(1.1);
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 15px;
    align-self: flex-start;
    margin-bottom: 10px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typingAnimation 1s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
    transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .chatbot-container {
        width: 95vw;
        max-width: 360px;
        height: 70vh;
        max-height: 500px;
        bottom: 20px;
        right: 2.5vw;
        border-radius: 15px;
    }
    .toggle-chat-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Adjust positions when chatbot is open */
.chatbot-container.active ~ .whatsapp-float {
    bottom: 160px;
}

/* Privacy Policy Styles */
.privacy-policy {
    background-color: #ffffff;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-5px);
}

.policy-section h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.policy-section h3 {
    color: #444;
    font-size: 1.2rem;
    margin: 1rem 0;
}

.policy-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.policy-section ul {
    list-style-type: none;
    padding-left: 0;
}

.policy-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.policy-section ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .policy-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .policy-section h2 {
        font-size: 1.3rem;
    }

    .policy-section h3 {
        font-size: 1.1rem;
    }
}

/* Loading Animation Styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.cp-loader {
    position: relative;
    width: 120px;
    height: 120px;
}

.cp-loader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #1a73e8;
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

.cp-loader::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: linear-gradient(45deg, #1a73e8, #34a853);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 2s linear infinite;
}

.cp-circuit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%);
}

.cp-circuit span {
    position: absolute;
    width: 4px;
    height: 20px;
    background: #1a73e8;
    border-radius: 2px;
}

.cp-circuit span:nth-child(1) { transform: rotate(0deg) translateY(-80px); }
.cp-circuit span:nth-child(2) { transform: rotate(45deg) translateY(-80px); }
.cp-circuit span:nth-child(3) { transform: rotate(90deg) translateY(-80px); }
.cp-circuit span:nth-child(4) { transform: rotate(135deg) translateY(-80px); }
.cp-circuit span:nth-child(5) { transform: rotate(180deg) translateY(-80px); }
.cp-circuit span:nth-child(6) { transform: rotate(225deg) translateY(-80px); }
.cp-circuit span:nth-child(7) { transform: rotate(270deg) translateY(-80px); }
.cp-circuit span:nth-child(8) { transform: rotate(315deg) translateY(-80px); }

.loader-text {
    margin-top: 2rem;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    text-align: center;
}

.loader-text span {
    display: inline-block;
    animation: fadeInOut 2s ease-in-out infinite;
}

.loader-text span:nth-child(2) { animation-delay: 0.2s; }
.loader-text span:nth-child(3) { animation-delay: 0.4s; }
.loader-text span:nth-child(4) { animation-delay: 0.6s; }

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive styles for loader */
@media (max-width: 768px) {
    .cp-loader {
        width: 90px;
        height: 90px;
    }
    
    .loader-text {
        font-size: 1rem;
    }
}

/* WhatsApp Spacer for fixed WhatsApp section */
.whatsapp-spacer {
    height: 48px; /* Adjust to match the WhatsApp section height */
}

@media (max-width: 576px) {
    .whatsapp-section {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }
    .whatsapp-spacer {
        height: 44px; /* Slightly smaller for mobile */
    }
    .whatsapp-section .btn-light {
        font-size: 0.95rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Catalog Download Button */
.nav-link.btn.btn-primary {
    margin-top: 0.2rem;
    transition: all 0.3s ease;
}

.nav-link.btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media (max-width: 991px) {
    .nav-link.btn.btn-primary {
        margin: 0.5rem 1rem;
        text-align: center;
    }
}

.navbar-collapse.show .nav-link {
    color: #212529 !important;
    text-shadow: 0 1px 4px rgba(255,255,255,0.7);
}
