:root {
    --primary-dark: #0a2e1f;
    --primary-medium: #124734;
    --primary-light: #1a6349;
    --accent: #4ade80;
    --accent-glow: #4ade8066;
    --text-light: #e2e8f0;
    --gold: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f172a 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
}

/* Enhanced Header Action Buttons */
.action-btn-container {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0 8px;
}

.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.action-btn:hover::before {
    transform: translateY(0);
}

.action-btn svg {
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn:hover svg {
    transform: scale(1.3) rotate(10deg);
}

.action-btn-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    opacity: 0;
}

.action-btn-container:hover .action-btn-pulse {
    opacity: 1;
}

.action-btn-container:nth-child(1) .action-btn {
    background: linear-gradient(135deg, #0084ff, #0057b3);
}

.action-btn-container:nth-child(1) .action-btn-pulse {
    border: 2px solid #0084ff;
    animation-delay: 0s;
}

.action-btn-container:nth-child(2) .action-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.action-btn-container:nth-child(2) .action-btn-pulse {
    border: 2px solid #25D366;
    animation-delay: 0.5s;
}

.action-btn-container:nth-child(3) .action-btn {
    background: linear-gradient(135deg, #EA4335, #C5221F);
}

.action-btn-container:nth-child(3) .action-btn-pulse {
    border: 2px solid #EA4335;
    animation-delay: 1s;
}

.action-btn-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    white-space: nowrap;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn-tooltip::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
}

.action-btn-container:hover .action-btn-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    bottom: -35px;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.typewriter {
    overflow: hidden;
    border-right: .15em solid var(--accent);
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent) }
}

.service-bubble {
    background: rgba(26, 99, 73, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 30px;
    padding: 10px 20px;
    display: inline-block;
    margin: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
    animation: float 3s infinite ease-in-out;
}

.service-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
    background: rgba(26, 99, 73, 0.8);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}
.service-card, .custom-service-card {
    backdrop-filter: blur(10px);
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.07), rgba(34, 197, 94, 0.04));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 0 8px rgba(34, 197, 94, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    animation: fadeInUp 0.8s ease-in-out;
  }

  .service-card:hover, .custom-service-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.3), inset 0 0 12px rgba(34, 197, 94, 0.2);
  }

  @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  .see-details-btn {
    background: linear-gradient(to right, #22c55e, #15803d);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .see-details-btn:hover {
    background: linear-gradient(to right, #16a34a, #166534);
    transform: scale(1.05);
  }

  .service-card h3 {
    text-align: center;
  }

/* Custom service card */
.custom-service-card {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.3) 0%, rgba(26, 99, 73, 0.3) 100%);
    backdrop-filter: blur(8px);
    border: 2px dashed rgba(74, 222, 128, 0.5);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.custom-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(74, 222, 128, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 1.5s ease;
}

.custom-service-card:hover::before {
    transform: translateX(100%);
}

.custom-service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(74, 222, 128, 0.3);
    border: 2px dashed rgba(74, 222, 128, 0.8);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal.active .modal-content {
    transform: scale(1);
    animation: modal-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.project-card {
    background: linear-gradient(135deg, rgba(26, 99, 73, 0.6) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 16px;
    padding: 20px;
    min-width: 260px;
    margin-right: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(74, 222, 128, 0.25);
}

.project-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    position: relative;
}

.project-slider::-webkit-scrollbar {
    display: none;
}

.project-slider-inner {
    display: flex;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 5));
    }
}

.star-container {
    display: flex;
    align-items: center;
}

.star {
    color: var(--gold);
    display: inline-block;
    animation: star-pulse 2s infinite;
}

.star:nth-child(1) { animation-delay: 0s; }
.star:nth-child(2) { animation-delay: 0.2s; }
.star:nth-child(3) { animation-delay: 0.4s; }
.star:nth-child(4) { animation-delay: 0.6s; }
.star:nth-child(5) { animation-delay: 0.8s; }

.rating-text {
    color: var(--gold);
    font-weight: 600;
    margin-left: 5px;
    font-size: 0.85rem;
}

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

.payment-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
}

.accordion {
    background: rgba(26, 99, 73, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 99, 73, 0.4);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(26, 99, 73, 0.6);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 16px;
}

.accordion-content.active {
    max-height: 300px;
    padding: 16px;
    overflow-y: auto;
}

.cta-button {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #0a2e1f;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
    animation: bounce 2s infinite;
}

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

.cta-button:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 6px 16px rgba(74, 222, 128, 0.5);
    transform: translateY(-2px);
}

.copy-button {
    background: rgba(74, 222, 128, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Custom scrollbar for accordion content */
.accordion-content::-webkit-scrollbar {
    width: 6px;
}

.accordion-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.accordion-content::-webkit-scrollbar-thumb {
    background: rgba(74, 222, 128, 0.3);
    border-radius: 10px;
}

.accordion-content::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 222, 128, 0.5);
}

/* Status badge */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

/* Project card level badge */
.level-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
    margin-right: 6px;
}

/* Service details list styling */
.service-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.service-details-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-color: rgba(74, 222, 128, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-details-list li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 0px;
    color: #4ade80;
    font-size: 12px;
    font-weight: bold;
}

/* Modal animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.modal-header {
    border-bottom: 1px solid rgba(74, 222, 128, 0.2);
    padding-bottom: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.modal-header svg {
    margin-right: 12px;
    color: var(--accent);
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}
.animate-wiggle {
    animation: wiggle 0.4s infinite;
}
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
}
@keyframes fadeIn {
    to { opacity: 1; }
}
.animate-spin-slow {
    animation: spin 15s linear infinite;
}

.glass-button {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.6s ease forwards;
}

.glass-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25), 0 0 14px rgba(74, 222, 128, 0.5);
}

.glass-icon {
    width: 22px;
    height: 22px;
    animation: pulse 2s infinite ease-in-out;
    transition: transform 0.3s ease;
}

.glass-button:hover .glass-icon {
    transform: rotate(8deg) scale(1.1);
    animation: bounce 0.6s;
}

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

@keyframes bounce {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.1); }
    100% { transform: translateY(0) scale(1.05); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.glass-card {
    backdrop-filter: blur(12px);
    background-color: rgba(34, 197, 94, 0.08); /* Greenish transparent */
    border: 1px solid rgba(34, 197, 94, 0.25); /* Greenish border */
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15), 0 0 10px rgba(34, 197, 94, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .glass-card:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25), 0 0 20px rgba(34, 197, 94, 0.3);
  }

  .glass-image {
    width: 48px;
    height: 30px;
    object-fit: contain;
    animation: fadeIn 0.8s ease, pulseGlow 2.5s infinite ease-in-out;
  }

  @keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
  }