.contact-page {
    padding-top: 80px;
    min-height: 100vh;
    background: linear-gradient(to bottom, #000000, #001a1a);
}

.contact-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 102, 255, 0.1));
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00ffff, #0066ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    color: #ccc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
}

.contact-form h2 {
    color: #00ffff;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.submit-btn {
    background: #00ffff;
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #00cccc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.contact-info {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
}

.contact-info h2 {
    color: #00ffff;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #ccc;
}

.info-item a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #00ffff;
}

.location {
    margin-top: 1rem;
}

.location h4 {
    color: #00ffff;
    margin-bottom: 0.5rem;
}

.map-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.05), rgba(0, 102, 255, 0.05));
}

.map-section h2 {
    margin-bottom: 2rem;
    color: #00ffff;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.map-placeholder {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    padding: 4rem 2rem;
    color: #ccc;
}

/* Social Links Styles */
.social-links {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.social-links h3 {
    color: #00ffff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.social-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.social-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #00ffff;
}

.social-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Social Media Brand Colors */
.social-item:hover i.fa-instagram {
    color: #E1306C;
}

.social-item:hover i.fa-whatsapp {
    color: #25D366;
}

.social-item:hover i.fa-facebook {
    color: #1877F2;
}

.social-item:hover i.fa-linkedin {
    color: #0A66C2;
}

.social-item:hover i.fa-youtube {
    color: #FF0000;
}

/* Instagram Specific Styles */
.social-item.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    border: none;
    position: relative;
    overflow: hidden;
}

.social-item.instagram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-item.instagram:hover::before {
    opacity: 0.2;
}

.social-item.instagram .social-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-item.instagram .social-icon i {
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.social-item.instagram .social-info {
    display: flex;
    flex-direction: column;
}

.social-item.instagram .social-handle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.social-item.instagram .social-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-item.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-item.instagram:hover .social-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.social-item.instagram:hover .social-icon i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .social-item {
        padding: 0.8rem;
    }
    
    .social-item i {
        font-size: 1.2rem;
    }
    
    .social-item span {
        font-size: 0.8rem;
    }
    
    .social-item.instagram .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-item.instagram .social-icon i {
        font-size: 1.4rem;
    }
    
    .social-item.instagram .social-handle {
        font-size: 0.9rem;
    }
    
    .social-item.instagram .social-label {
        font-size: 0.7rem;
    }
} 

.contact-page {
    background: transparent;
}

.contact-hero {
    text-align: left;
    background: linear-gradient(105deg, rgba(145, 230, 61, .1), transparent 65%);
    border-bottom: 1px solid var(--line);
}

.contact-content {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    perspective: 1200px;
}

.contact-form, .contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    overflow: hidden;
    border: 1px solid rgba(145, 230, 61, .25);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(23, 41, 28, .96), rgba(8, 15, 11, .96));
    box-shadow: 0 18px 44px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .035);
    transform-style: preserve-3d;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.contact-form::before, .contact-info::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--lime), transparent);
    opacity: .9;
}

.contact-form::after, .contact-info::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(145, 230, 61, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(145, 230, 61, .035) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, .55), transparent 42%);
}

.contact-form:hover, .contact-info:hover {
    border-color: rgba(145, 230, 61, .55);
    box-shadow: 0 26px 55px rgba(0, 0, 0, .35), 0 0 25px rgba(145, 230, 61, .08);
    transform: translateY(-8px) rotateX(1.5deg) rotateY(-.5deg);
}

.contact-info:hover {
    transform: translateY(-8px) rotateX(1.5deg) rotateY(.5deg);
}

.contact-form h2, .contact-info h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 1.75rem;
    color: var(--lime);
    font-family: var(--font-display);
}

.contact-form h2::after, .contact-info h2::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    margin-top: .65rem;
    border-radius: 3px;
    background: var(--lime);
}

.form-group { position: relative; z-index: 1; margin-bottom: 1.2rem; }

.form-group input, .form-group textarea {
    border-radius: 10px;
    background: rgba(8, 15, 11, .78);
    border-color: rgba(145, 230, 61, .25);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(145, 230, 61, .1);
    transform: translateZ(4px);
}

.submit-btn { align-self: flex-start; margin-top: .35rem; }

.contact-info .info-item {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border-left: 3px solid rgba(145, 230, 61, .55);
    border-radius: 0 10px 10px 0;
    background: rgba(145, 230, 61, .045);
}
.contact-info .info-item h3 { margin-bottom: .25rem; }
.contact-info .info-item p { margin: 0; }
.contact-info .info-item h3 i {
    width: 1.25rem;
    margin-right: .35rem;
    color: var(--lime);
    font-size: .85rem;
}
.contact-info .info-item a {
    color: var(--cream);
    transition: color .25s ease;
}
.contact-info .info-item a:hover { color: var(--lime); }
.contact-info .location h4 {
    margin-bottom: .15rem;
    color: var(--signal);
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.contact-info footer { margin-top: auto; }

.whatsapp-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: .35rem 0 1rem;
    padding: .85rem 1rem;
    border: 1px solid rgba(145, 230, 61, .42);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(145, 230, 61, .18), rgba(145, 230, 61, .06));
    color: var(--lime);
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.whatsapp-btn span {
    font-size: 1.1rem;
    transition: transform .25s ease;
}

.whatsapp-btn:hover {
    background: var(--lime);
    color: var(--ink);
    box-shadow: 0 10px 22px rgba(145, 230, 61, .16);
    transform: translateY(-3px);
}

.whatsapp-btn:hover span { transform: translateX(3px); }

.contact-info .social-heading {
    position: relative;
    z-index: 1;
    margin: 1.5rem 0 .7rem;
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-info .social-links {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .25rem;
    padding: .85rem;
    border: 1px solid rgba(145, 230, 61, .16);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(145, 230, 61, .07), rgba(8, 15, 11, .42));
}

.contact-info .social-link {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 3.25rem;
    padding: .5rem .6rem;
    border: 1px solid rgba(145, 230, 61, .2);
    border-radius: 11px;
    background: rgba(8, 15, 11, .46);
    color: var(--cream);
    font-size: .8rem;
    font-weight: 600;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.contact-info .social-link i {
    display: grid;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(145, 230, 61, .25);
    border-radius: 8px;
    background: rgba(145, 230, 61, .1);
    color: var(--lime);
    font-size: .95rem;
    transition: color .25s ease, transform .25s ease, background .25s ease;
}

.contact-info .social-link:hover {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink);
    box-shadow: 0 8px 18px rgba(145, 230, 61, .14);
    transform: translateY(-3px);
}

.contact-info .social-link:hover i {
    background: rgba(8, 15, 11, .12);
    color: var(--ink);
    transform: scale(1.1);
}

.contact-info .social-link span { flex: 1; }

.contact-info .social-link::after {
    content: '\2197';
    color: rgba(215, 245, 141, .65);
    font-size: .9rem;
    transition: color .25s ease, transform .25s ease;
}

.contact-info .social-link:hover::after {
    color: var(--ink);
    transform: translate(2px, -2px);
}

.map-section {
    padding: 4rem 0;
    background: rgba(145, 230, 61, .035);
    border-top: 1px solid rgba(145, 230, 61, .12);
}

.map-placeholder {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    border-color: rgba(145, 230, 61, .25);
    background: linear-gradient(145deg, rgba(23, 41, 28, .9), rgba(8, 15, 11, .9));
}

.map-placeholder::before {
    content: 'CYBERGOAT / HQ LOCATOR';
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(145, 230, 61, .5);
    font-size: .65rem;
    letter-spacing: .14em;
}

.map-placeholder p { position: relative; z-index: 1; color: var(--muted); }

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form:hover, .contact-info:hover { transform: translateY(-5px); }
    .contact-info .social-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-form, .contact-info, .form-group input, .form-group textarea { transition: none; }
}