/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #0f0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0f0;
    text-shadow: 0 0 15px #0f0;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid #0f0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: #0f0;
    text-decoration: none;
    transition: color 0.3s;
    text-shadow: 0 0 5px #0f0;
}

.main-nav a:hover {
    color: #f00;
    text-shadow: 0 0 10px #f00;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 8rem 2rem;
    background: rgba(0, 0, 0, 0.7);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #0f0;
    text-shadow: 0 0 15px #0f0;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #0f0;
    opacity: 0.9;
    text-shadow: 0 0 10px #0f0;
}

.hero-cta {
    background: #f00;
    color: #000;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
    text-shadow: none;
    border-radius: 6px;
}

.hero-cta:hover {
    background: #0f0;
    transform: translateY(-2px);
    box-shadow: 0 0 30px #0f0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Service Cards */
.service-card {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #0f0;
    padding: 2.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.service-card.hovered {
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
}

.service-card.matrix-style {
    border-color: #f00;
    background: rgba(255, 0, 0, 0.05);
}

.service-card.matrix-style.hovered {
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
}

.card-header h3 {
    color: #0f0;
    margin: 0;
    font-size: 1.5rem;
    flex: 1;
    text-shadow: 0 0 5px #0f0;
}

.price {
    color: #f00;
    font-weight: bold;
    font-size: 1.4rem;
    background: rgba(255, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-shadow: 0 0 5px #f00;
}

.service-card p {
    color: #0f0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.service-card ul {
    color: #0f0;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.service-card li {
    margin-bottom: 0.8rem;
    position: relative;
}

.service-card li::before {
    content: '▸';
    color: #f00;
    position: absolute;
    left: -1rem;
}

.cta-button {
    background: transparent;
    border: 2px solid #0f0;
    color: #0f0;
    padding: 1rem 2rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 4px;
    text-shadow: 0 0 5px #0f0;
}

.cta-button:hover {
    background: #0f0;
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 20px #0f0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #0f0;
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.feature h4 {
    color: #f00;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Updated Contact Section Layout */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-right {
    height: 100%;
}

/* Contact Info Styling */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #0f0;
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    color: #f00;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #0f0;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px #0f0;
    font-size: 1.1rem;
}

.contact-item p {
    color: #0f0;
    opacity: 0.8;
    margin: 0.2rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Enhanced Team Photos Section */
.team-photos {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #0f0;
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.photos-title {
    color: #0f0;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px #0f0;
    font-size: 1.4rem;
}

.photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.photo-item {
    text-align: center;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 8px;
}

.photo-item:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-3px);
}

.photo-frame {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border: 2px solid #0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-frame img {
    transform: scale(1.1);
}

.photo-placeholder {
    font-size: 2.5rem;
    opacity: 0.8;
}

.photo-name {
    color: #0f0;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px #0f0;
    font-size: 1.1rem;
}

.photo-role {
    color: #f00;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px #f00;
    font-size: 0.9rem;
}

.photo-bio {
    color: #0f0;
    opacity: 0.7;
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
}

/* If images don't load, show placeholder */
.photo-frame img:not([src]),
.photo-frame img[src=""] {
    display: none;
}

.photo-frame img:not([src]) + .photo-placeholder,
.photo-frame img[src=""] + .photo-placeholder {
    display: flex;
}

.photo-placeholder {
    display: none;
    font-size: 2rem;
    color: #0f0;
    opacity: 0.6;
}

/* Responsive Design for Team Photos */
@media (max-width: 1024px) {
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .team-photos {
        padding: 1.5rem;
    }
    
    .photo-frame {
        width: 100px;
        height: 100px;
    }
    
    .photo-name {
        font-size: 1rem;
    }
    
    .photo-role {
        font-size: 0.85rem;
    }
    
    .photo-bio {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .team-photos {
        padding: 1rem;
    }
    
    .photo-frame {
        width: 80px;
        height: 80px;
    }
    
    .photo-name {
        font-size: 0.9rem;
    }
    
    .photo-role {
        font-size: 0.8rem;
    }
    
    .photo-bio {
        font-size: 0.7rem;
    }
}

/* Contact Options Styling */
.contact-options {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #0f0;
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.options-header {
    text-align: center;
    margin-bottom: 2rem;
}

.options-header h3 {
    color: #0f0;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px #0f0;
    font-size: 1.3rem;
}

.options-header p {
    color: #0f0;
    opacity: 0.8;
    margin: 0;
    font-size: 0.9rem;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.contact-option {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #0f0;
    border-radius: 8px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-option:hover {
    background: rgba(0, 255, 0, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 0, 0.3);
    border-color: #f00;
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.option-title {
    color: #0f0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-shadow: 0 0 5px #0f0;
    text-align: center;
}

.option-description {
    color: #0f0;
    opacity: 0.8;
    line-height: 1.4;
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

.option-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    font-size: 0.9rem;
}

.contact-option:hover .option-hover {
    opacity: 1;
}

.contact-note {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 6px;
    border: 1px solid #0f0;
    margin-top: auto;
}

.contact-note p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Contact Result Styling */
.contact-result {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #0f0;
    border-radius: 12px;
    animation: pulse 2s infinite;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s infinite;
}

.result-title {
    color: #0f0;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #0f0;
    font-size: 1.8rem;
}

.matrix-text-animation {
    color: #0f0;
    font-family: 'Courier New', monospace;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #0f0;
    border-radius: 4px;
    text-shadow: 0 0 5px #0f0;
    animation: typewriter 2s steps(40) 1s 1 normal both;
    white-space: nowrap;
    overflow: hidden;
}

.result-message {
    color: #0f0;
    margin: 1.5rem 0;
    line-height: 1.6;
    font-size: 1.1rem;
    opacity: 0.9;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: #0f0;
    border-radius: 50%;
    animation: loading 1.4s infinite ease-in-out;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.result-note {
    color: #0f0;
    opacity: 0.7;
    font-size: 0.9rem;
    font-style: italic;
}

/* Modal Styles - PROPER CENTERING */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 50px;
    box-sizing: border-box;
}

.modal.matrix-modal .inner {
    background: #000;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #0f0;
    box-shadow: 0 20px 60px rgba(0, 255, 0, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
    margin: auto;
}

/* SIMPLE FIX: Remove any transform that's causing the issue */
.modal.matrix-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 50px;
    box-sizing: border-box;
    transform: none !important;
}

.modal.matrix-modal .inner {
    transform: none !important;
}

/* If the above doesn't work, try this absolute positioning method: */
.modal.matrix-modal.alternative {
    position: fixed;
    top: 50px;
    left: 50px;
    right: 50px;
    bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.matrix-modal.alternative .inner {
    margin: auto;
}

.button.small {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 1px solid #0f0;
    color: #0f0;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 1rem;
}

.button.small:hover {
    background: #0f0;
    color: #000;
}

.modal-content {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Rest of your styles... */
.choice-content {
    text-align: center;
}

.heading {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
}

.subheading {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #0f0;
    font-size: 1rem;
}

.pill-options {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-direction: column;
}

.pill {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
    border-radius: 8px;
    width: 100%;
}

.pill-text {
    font-size: 1.2rem;
    font-weight: bold;
}

.pill-price {
    font-size: 1rem;
    opacity: 0.9;
}

.red-pill {
    background: #f00;
}

.blue-pill {
    background: #0066ff;
}

.pill:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-content {
    text-align: center;
    padding: 1rem 0;
}

.phone-section {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #0f0;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.phone-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 1.6rem;
    font-weight: bold;
    color: #0f0;
    text-shadow: 0 0 15px #0f0;
    letter-spacing: 1px;
}

.contact-description {
    margin: 1.5rem 0;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 1rem;
    color: #0f0;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    min-width: 120px;
}

.action-btn.primary {
    background: #f00;
    color: #000;
}

.action-btn.primary:hover {
    background: #0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

.action-btn.secondary {
    background: transparent;
    border: 2px solid #0f0;
    color: #0f0;
}

.action-btn.secondary:hover {
    background: #0f0;
    color: #000;
}

.call-popup {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.popup-content {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #0f0;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
    animation: pulse 2s infinite;
    width: 100%;
}

.popup-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: ring 1.5s ease-in-out infinite;
}

.popup-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
}

.popup-phone {
    font-size: 1.3rem;
    font-weight: bold;
    color: #f00;
    text-shadow: 0 0 10px #f00;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.popup-message {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
    color: #0f0;
    font-size: 0.9rem;
}

.popup-timer {
    margin-bottom: 1.5rem;
}

.timer-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 255, 0, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.timer-progress {
    height: 100%;
    background: #0f0;
    border-radius: 3px;
    animation: countdown 10s linear forwards;
    box-shadow: 0 0 10px #0f0;
}

.popup-close {
    background: transparent;
    border: 1px solid #f00;
    color: #f00;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
    border-radius: 4px;
    text-shadow: 0 0 5px #f00;
    font-size: 0.9rem;
}

.popup-close:hover {
    background: #f00;
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 15px #f00;
}

/* Hero-specific modal styles */
.hero-modal .inner {
    background: #000;
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid #0f0;
    box-shadow: 0 20px 60px rgba(0, 255, 0, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
    margin: auto;
}

/* Ensure hero content stays visible when modal is open */
.hero {
    position: relative;
    z-index: 1;
}

.modal-overlay {
    z-index: 1000;
}

/* Service Popup Styles - Centered */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.service-popup {
    background: #000;
    border: 2px solid #0f0;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
}

.popup-content {
    padding: 2rem;
    position: relative;
    color: #0f0;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 1px solid #0f0;
    color: #0f0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
}

.popup-close:hover {
    background: #0f0;
    color: #000;
}

.popup-content h2 {
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.popup-description p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.popup-features h3 {
    color: #0f0;
    margin-bottom: 1rem;
    text-shadow: 0 0 5px #0f0;
}

.popup-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.popup-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    position: relative;
    padding-left: 1.5rem;
}

.popup-features li::before {
    content: "▸";
    color: #f00;
    position: absolute;
    left: 0;
}

.popup-actions {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #0f0;
}

.popup-action-btn {
    background: #f00;
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.popup-action-btn:hover {
    background: #0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

.clickable-phone {
    text-decoration: none;
    color: inherit;
    display: block;
}

.clickable-phone:hover {
    text-decoration: none;
    color: inherit;
}

/* Footer */
.main-footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #0f0;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
}

.social-links a {
    color: #0f0;
    text-decoration: none;
    transition: color 0.3s;
    text-shadow: 0 0 5px #0f0;
}

.social-links a:hover {
    color: #f00;
    text-shadow: 0 0 10px #f00;
}

.copyright {
    margin-top: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #0f0;
}

/* Enhanced Modal Styles */
.modal-content {
    transition: all 0.3s ease;
}

.choice-content, .contact-content {
    text-align: center;
}

.subheading {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.pill {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
}

.pill-text {
    font-size: 1.2rem;
    font-weight: bold;
}

.pill-price {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact View Styles */
.contact-content {
    padding: 1rem 0;
}

.phone-section {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #0f0;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.phone-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0f0;
    text-shadow: 0 0 15px #0f0;
    letter-spacing: 2px;
}

.contact-description {
    margin: 1.5rem 0;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.action-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.action-btn.primary {
    background: #f00;
    color: #000;
}

.action-btn.primary:hover {
    background: #0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

.action-btn.secondary {
    background: transparent;
    border: 2px solid #0f0;
    color: #0f0;
}

.action-btn.secondary:hover {
    background: #0f0;
    color: #000;
}

/* Animation for modal content */
.modal-content {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Contact Popup Styles */
.contact-popup {
    text-align: center;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #0f0;
    border-radius: 8px;
}

.phone-icon {
    font-size: 2rem;
}

.number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
}

.contact-message {
    margin: 1.5rem 0;
    line-height: 1.6;
    opacity: 0.9;
}

.close-contact {
    background: transparent;
    border: 1px solid #0f0;
    color: #0f0;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
    border-radius: 4px;
    margin-top: 1rem;
}

.close-contact:hover {
    background: #0f0;
    color: #000;
}

/* Call Popup Styles */
.call-popup {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.popup-content {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #0f0;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
    animation: pulse 2s infinite;
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: ring 1.5s ease-in-out infinite;
}

.popup-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
}

.popup-phone {
    font-size: 2rem;
    font-weight: bold;
    color: #f00;
    text-shadow: 0 0 10px #f00;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.popup-message {
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 400px;
}

.popup-timer {
    margin-bottom: 2rem;
}

.timer-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 255, 0, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.timer-progress {
    height: 100%;
    background: #0f0;
    border-radius: 3px;
    animation: countdown 10s linear forwards;
    box-shadow: 0 0 10px #0f0;
}

.popup-close {
    background: transparent;
    border: 1px solid #f00;
    color: #f00;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Courier New', monospace;
    border-radius: 4px;
    text-shadow: 0 0 5px #f00;
}

.popup-close:hover {
    background: #f00;
    color: #000;
    text-shadow: none;
    box-shadow: 0 0 15px #f00;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 0, 0.6);
    }
    100% {
        box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(15deg);
    }
    20% {
        transform: rotate(-15deg);
    }
    30% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-15deg);
    }
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

@keyframes countdown {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes loading {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Make sure the modal is large enough for the popup */
.modal .inner {
    min-width: 500px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-left {
        order: 2;
    }
    
    .contact-right {
        order: 1;
    }
}

@media (max-width: 768px) {
    .modal .inner {
        min-width: auto;
        width: 95%;
    }
    
    .popup-phone {
        font-size: 1.5rem;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .contact-info,
    .team-photos,
    .contact-options {
        padding: 1.5rem;
    }
    
    .photo-frame {
        width: 80px;
        height: 80px;
    }
    
    .photo-placeholder {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        font-size: 1.5rem;
    }
    
    .hero-modal .inner {
        padding: 1.5rem;
        max-width: 400px;
    }
    
    .modal-overlay {
        padding: 10px;
    }
    
    .service-popup {
        max-width: 90%;
    }
    
    .popup-content {
        padding: 1.5rem;
    }
    
    .popup-content h2 {
        font-size: 1.5rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .result-title {
        font-size: 1.5rem;
    }
    
    .matrix-text-animation {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal .inner {
        min-width: auto;
        width: 350px;
    }
    
    .phone-number {
        font-size: 1.2rem;
    }
    
    .heading {
        font-size: 1.2rem;
    }
    
    .contact-info,
    .team-photos,
    .contact-options {
        padding: 1rem;
    }
    
    .photo-frame {
        width: 60px;
        height: 60px;
    }
    
    .photo-placeholder {
        font-size: 1.5rem;
    }
    
    .contact-option {
        padding: 1rem;
    }
    
    .option-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-modal .inner {
        padding: 1rem;
        max-width: 350px;
    }
    
    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .service-popup {
        max-width: 95%;
    }
    
    .popup-content {
        padding: 1rem;
    }
    
    .popup-content h2 {
        font-size: 1.3rem;
    }
    
    .popup-action-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
