/* Base Styles */
:root {
    --primary: #00ff00;
    --primary-dark: #00cc00;
    --secondary: #000000;
    --secondary-light: #111111;
    --text: #ffffff;
    --text-secondary: #cccccc;
    --accent: #00aa00;
    --error: #ff3333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    background-color: var(--secondary);
    overflow-x: hidden;
    position: relative;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

.logo-text {
    color: var(--text);
}

.logo-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 12rem 5% 6rem;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-title span {
    color: var(--primary);
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #00ff00;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 5rem 5%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    perspective: 1000px;
    height: 400px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s, box-shadow 0.3s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Remove automatic flip on hover */
.team-card .card-inner {
    transform: rotateY(0deg);
}

/* Add hover effects instead */
.card-inner:hover {
    box-shadow: 0 15px 30px rgba(0, 255, 0, 0.2);
    transform: translateY(-10px);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--secondary-light);
    transition: opacity 0.5s;
}

/* Show front by default, hide back */
.card-front {
    opacity: 1;
}

.card-back {
    transform: rotateY(0deg); /* No rotation */
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* No interaction when hidden */
}

/* Add info button to toggle front/back */
.info-toggle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    z-index: 5;
}

.info-toggle:hover {
    transform: rotate(180deg);
    background-color: var(--secondary);
    color: var(--primary);
}

/* Class to be toggled with JavaScript */
.show-back .card-front {
    opacity: 0;
    pointer-events: none;
}

.show-back .card-back {
    opacity: 1;
    pointer-events: auto;
}

.team-img-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    transition: transform 0.5s;
}

.team-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), transparent);
    z-index: 1;
    transition: opacity 0.3s;
}

.card-inner:hover .team-img-container {
    transform: scale(1.05);
}

.card-inner:hover .team-img-container::before {
    opacity: 0.8;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-inner:hover .team-img {
    transform: scale(1.1);
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.card-inner:hover .team-name {
    color: var(--primary);
}

.team-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    transition: letter-spacing 0.3s;
}

.card-inner:hover .team-role {
    letter-spacing: 2px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s;
}

.card-inner:hover .social-icons {
    transform: translateY(-5px);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-5px) rotate(360deg);
}

.card-back h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-back p {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.contact-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    transition: left 0.3s;
    z-index: -1;
}

.contact-btn:hover {
    color: var(--secondary);
}

.contact-btn:hover::before {
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 3rem 3%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .team-card {
        height: 380px;
    }
    
    .team-img-container {
        width: 130px;
        height: 130px;
    }
    
    .team-name {
        font-size: 1.3rem;
    }
    
    .card-back p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 2rem 2%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .team-card {
        height: 350px;
    }
    
    .team-img-container {
        width: 120px;
        height: 120px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}


/* Glowing border effects for team cards */
.team-card {
    position: relative;
    overflow: visible;
}

.team-card::before,
.team-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    z-index: -1;
}

.team-card::before {
    background: linear-gradient(45deg, 
        transparent 25%, 
        rgba(0, 255, 0, 0.15) 50%, 
        transparent 75%);
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card::after {
    background: linear-gradient(45deg, 
        transparent, 
        transparent, 
        rgba(0, 255, 0, 0.5), 
        transparent, 
        transparent);
    background-size: 200% 200%;
    animation: borderGlow 8s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
}

.team-card:hover::before,
.team-card:hover::after {
    opacity: 1;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Pulse effect for team image */
.team-card:hover .team-img-container {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

/* Trace effect for team cards */
.card-inner {
    position: relative;
    overflow: hidden;
}

.card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: traceLine 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-inner:hover::before {
    opacity: 1;
}

@keyframes traceLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-card::before,
    .team-card::after {
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
    }
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-container {
    background-color: var(--secondary-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: var(--text);
    font-size: 1rem;
    outline: none;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--primary);
}

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.form-group input:focus ~ .underline,
.form-group textarea:focus ~ .underline,
.form-group select:focus ~ .underline {
    width: 100%;
}

.submit-btn {
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.contact-info {
    background-color: var(--secondary-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.reveal-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
}

.reveal-btn:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--secondary);
    transform: translateY(-5px);
}

/* Feedback */
.feedback-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.feedback-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
    transition: all 0.3s;
}

.feedback-toggle:hover {
    transform: scale(1.1) rotate(10deg);
}

.feedback-form {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background-color: var(--secondary-light);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.feedback-container.active .feedback-form {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.feedback-form h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feedback-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    color: var(--text);
    border-radius: 5px;
    margin-bottom: 1rem;
    resize: vertical;
}

.submit-feedback {
    padding: 0.5rem 1.5rem;
    background-color: var(--primary);
    color: var(--secondary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-feedback:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.footer {
    background-color: var(--secondary-light);
    padding: 3rem 5%;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--secondary-light);
    padding: 2rem;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary);
}

.modal h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.modal p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    word-break: break-all;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}

.modal-btn:hover {
    transform: translateY(-3px);
}

#copyNumber {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

#copyNumber:hover {
    background-color: rgba(0, 255, 0, 0.1);
}

.call-btn {
    background-color: var(--primary);
    color: var(--secondary);
}

.call-btn:hover {
    background-color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-form-section {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 80px);
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: right 0.5s ease;
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .burger {
        display: block;
    }
    
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.active .line2 {
        opacity: 0;
    }
    
    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding: 10rem 5% 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feedback-form {
        width: 280px;
    }
}   

/* Custom styles for the select dropdown */
.form-group select {
    background-color: var(--secondary) !important;
    color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    border-radius: 5px;
    padding: 1rem !important;
    cursor: pointer;
    transition: all 0.3s;
}

.form-group select:focus {
    box-shadow: 0 0 0 2px rgba(0, 255, 0, 0.3) !important;
    border-color: var(--primary) !important;
}

.form-group select option {
    background-color: var(--secondary) !important;
    color: var(--primary) !important;
    padding: 1rem !important;
}

/* Green line live effect for team cards */
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    background-size: 200% 100%;
    animation: liveLine 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    border-radius: 10px 10px 0 0;
}

.team-card:hover::after {
    opacity: 1;
}
/* Thin green border animation for team cards */
.team-card {
    position: relative;
    border-radius: 10px;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 11px; /* Slightly larger than card radius */
    border: 1px solid transparent;
    z-index: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.team-card:hover::before {
    border-color: var(--primary);
    box-shadow: 
        0 0 5px rgba(0, 255, 0, 0.3),
        0 0 10px rgba(0, 255, 0, 0.2),
        0 0 15px rgba(0, 255, 0, 0.1);
    animation: borderPulse 2s infinite linear;
}

@keyframes borderPulse {
    0% {
        border-color: var(--primary);
        opacity: 1;
    }
    50% {
        border-color: rgba(0, 255, 0, 0.5);
    }
    100% {
        border-color: var(--primary);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-card::before {
        top: -0.5px;
        left: -0.5px;
        right: -0.5px;
        bottom: -0.5px;
    }
}
@keyframes liveLine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

/* Responsive adjustments for the select dropdown */
@media (max-width: 768px) {
    .form-group select {
        padding: 0.8rem !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .form-group select {
        padding: 0.7rem !important;
    }
}