
/* Import base styles */
@import 'impact.css';

/* Contact Hero Section */
.contact-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.85) 0%, rgba(26, 26, 26, 0.85) 50%, rgba(10, 10, 10, 0.85) 100%), 
                url('images/reality.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 140, 0, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(0, 191, 255, 0.3) 0%, transparent 60%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(2px 2px at 20px 30px, #fff, transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
                radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.6), transparent);
    background-size: 100px 100px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.4;
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg at 30% 30%, rgba(255,255,255,0.1), transparent 50%),
                conic-gradient(from 180deg at 70% 70%, rgba(255,255,255,0.05), transparent 50%);
    animation: meshRotate 15s ease-in-out infinite;
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.orb-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.orb-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes particleFloat {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

@keyframes meshRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(0deg) scale(1); }
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(0) scale(1); }
}

/* Advanced AI Background */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Neural Network Layer */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(210, 105, 30, 0.15) 0%, transparent 50%);
    opacity: 0.8;
    animation: neuralPulse 15s ease-in-out infinite;
}

/* Floating Particles */
.particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 40px 60px, #fff 100%, transparent),
        radial-gradient(2px 2px at 20px 50px, #fff 100%, transparent),
        radial-gradient(2px 2px at 30px 100px, #fff 100%, transparent),
        radial-gradient(2px 2px at 40px 60px, #fff 100%, transparent),
        radial-gradient(2px 2px at 110px 90px, #fff 100%, transparent),
        radial-gradient(2px 2px at 190px 150px, #fff 100%, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particleMove 20s linear infinite;
    opacity: 0.5;
}

/* Digital Circuit Lines */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: center top;
    animation: circuitFlow 20s linear infinite;
}

/* Glowing Orbs */
.glowing-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 165, 0, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(0, 0, 139, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(210, 105, 30, 0.3) 0%, transparent 40%);
    filter: blur(20px);
    animation: orbFloat 15s ease-in-out infinite alternate;
}

/* Data Stream Effect */
.data-stream {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 75%,
        transparent 100%);
    background-size: 200% 200%;
    animation: dataFlow 10s linear infinite;
}

/* Binary Rain Effect */
.binary-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent 0,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 2px
    );
    background-size: 3px 100%;
    animation: binaryRain 20s linear infinite;
    opacity: 0.3;
}

/* Enhanced Content Container */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: badgeGlow 3s ease-in-out infinite;
}

.hero-badge i {
    font-size: 1.2rem;
    color: #fff;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #fff, #f0f8ff, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    margin-top: 40px;
}

.pulse-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: pulseGlow 2s ease-in-out infinite;
}

.pulse-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255,255,255,0.2); }
    50% { box-shadow: 0 0 30px rgba(255,255,255,0.4); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 0 0 rgba(255,255,255,0.3); }
    50% { box-shadow: 0 15px 40px rgba(0,0,0,0.3), 0 0 0 10px rgba(255,255,255,0); }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* AI Assistant */
.ai-assistant {
    background: rgba(255,255,255,0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.ai-assistant:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: var(--chocolate);
}

.ai-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--chocolate);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

.ai-avatar i {
    font-size: 2rem;
    color: var(--chocolate);
    animation: float 3s ease-in-out infinite;
}

.ai-message {
    flex: 1;
    text-align: left;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

.ai-message p {
    margin: 0;
    font-size: 1.1rem;
    transition: opacity 0.5s ease;
}

/* Contact Grid Section */
.contact-grid {
    padding: 80px 0;
    background: var(--bg-color);
    position: relative;
}

.contact-grid .container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Information */
.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--chocolate);
    transition: width 0.3s ease;
}

.contact-info:hover h2::after {
    width: 100px;
}

/* Info Cards Layout */
.info-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.info-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--chocolate);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Icon Styling */
.icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.icon-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--chocolate);
    transition: all 0.3s ease;
}

.icon-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--chocolate);
    border-radius: 50%;
    animation: pulseRing 2s infinite;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--chocolate) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    animation: iconPulse 2s infinite;
}

/* Social Media Links */
.social-links-container {
    margin-top: 40px;
    text-align: center;
}

.social-links-container h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

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

.social-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--chocolate);
}

.social-icon:hover i {
    color: white;
    transform: scale(1.2);
}

/* Contact Form */
.contact-form-container {
    position: relative;
}

.form-wrapper {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(210,105,30,0.05),
        rgba(0,0,139,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-wrapper:hover::before {
    opacity: 1;
}

.form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.form-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--chocolate);
    transition: width 0.3s ease;
}

.form-wrapper:hover h2::after {
    width: 100px;
}

.form-group {
    margin-bottom: 25px;
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 1rem;
    border-bottom: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.input-wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.input-wrapper label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-wrapper .input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--chocolate);
    transition: width 0.3s ease;
}

.input-wrapper.focused label,
.input-wrapper input:focus + label,
.input-wrapper textarea:focus + label {
    transform: translateY(-25px) scale(0.8);
    color: var(--chocolate);
}

.input-wrapper.focused .input-line,
.input-wrapper input:focus ~ .input-line,
.input-wrapper textarea:focus ~ .input-line {
    width: 100%;
}

.submit-btn {
    background: var(--chocolate);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(210,105,30,0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px) rotate(45deg);
}

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

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0,0,139,0.1),
        rgba(210,105,30,0.1));
    pointer-events: none;
    z-index: 2;
}

.map-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: contrast(1.1) saturate(1.2);
}

.location-marker {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.marker-pulse {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(210,105,30,0.3);
    border-radius: 50%;
    animation: markerPulse 2s infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.location-marker i {
    position: relative;
    z-index: 4;
    font-size: 2rem;
    color: var(--chocolate);
    animation: markerBounce 2s infinite;
}

/* Social Connect Section */
.social-connect {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 0, 139, 0.8), rgba(255, 140, 0, 0.8));
    position: relative;
    overflow: hidden;
    display: flex; /* Enables flexbox */
    flex-direction: column; /* Aligns content vertically */
    align-items: center; /* Centers content horizontally */
    justify-content: center; /* Centers content vertically */
}

.social-icons {
    display: flex; /* Enables flexbox for the icons */
    gap: 20px; /* Adds spacing between icons */
    flex-wrap: wrap; /* Allows icons to wrap if needed */
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 140, 0, 0.8);
}

.social-icon i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

.social-connect h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-color);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(210,105,30,0.1),
        rgba(0,0,139,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    border-color: var(--chocolate);
}

.social-card:hover::before {
    opacity: 1;
}

.social-card i {
    font-size: 2rem;
    color: var(--chocolate);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.social-card:hover i {
    transform: scale(1.2) rotate(360deg);
}

.social-card span {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Animations */
@keyframes neuralPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes particleMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 200px;
    }
}

@keyframes circuitFlow {
    0% {
        transform: perspective(1000px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(1000px) rotateX(60deg) translateY(50px);
    }
}

@keyframes orbFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.5;
    }
}

@keyframes dataFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 200%;
    }
}

@keyframes binaryRain {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100%;
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

@keyframes iconPulse {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-grid .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .ai-assistant {
        flex-direction: column;
        text-align: center;
    }
    
    .ai-message {
        text-align: center;
    }
    
    .map-section {
        height: 400px;
    }
    
    .location-marker i {
        font-size: 1.5rem;
    }
    
    .marker-pulse {
        width: 40px;
        height: 40px;
    }

    .contact-hero {
        min-height: 60vh;
        padding: 60px 20px;
    }

    .hero-content {
        padding: 30px;
    }

    .circuit-lines {
        background-size: 30px 30px;
    }

    .info-cards {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        width: 100%;
        max-width: 100%;
    }

    .social-icons {
        gap: 15px;
    }

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

    .icon-wrapper i {
        font-size: 1.5rem;
    }
}

/* Dark Theme Adjustments */
[data-theme="dark"] .contact-hero {
    background: linear-gradient(135deg,
        rgba(0, 0, 20, 0.95) 0%,
        rgba(50, 0, 60, 0.95) 100%);
}

[data-theme="dark"] .form-wrapper {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .info-card,
[data-theme="dark"] .social-card {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .input-wrapper input,
[data-theme="dark"] .input-wrapper textarea {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .input-wrapper label {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .map-container iframe {
    filter: contrast(1.1) saturate(1.2) invert(0.9) hue-rotate(180deg);
}

/* Neural Network Separator */
.neural-separator {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--chocolate) 100%);
    overflow: hidden;
  }
  
.neural-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neural-particles::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: particleFlow 10s ease-in-out infinite;
}

.separator-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
}

.glow-text {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glowPulse 2s ease-in-out infinite;
}

.neural-icons {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.pulse-icon {
    font-size: 2rem;
    color: white;
    animation: iconPulse 2s infinite;
}

/* Enhanced Footer Styles */
.footer {
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--chocolate) 100%);
    padding: 60px 0 20px;
    color: white;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neural-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: overlayPulse 4s ease-in-out infinite;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glassmorphism:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.glass-input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.submit-btn {
    background: linear-gradient(45deg, var(--dark-blue), var(--chocolate));
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
        margin-bottom: 15px;
    }

.contact-item p {
    text-decoration: none;
}

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

.social-link {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulseRing 2s infinite;
}

.hover-effect {
    position: relative;
    color: white;
    text-decoration: none;
    padding: 5px 0;
}

.hover-effect::after {
    content: '';
        position: absolute;
    bottom: 0;
        left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.hover-effect:hover::after {
    width: 100%;
}

.footer-bottom {
        text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes gridFlow {
    0% { transform: perspective(500px) rotateX(45deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(45deg) translateY(50px); }
}

@keyframes particleFlow {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-20px); opacity: 0.8; }
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.5); }
    50% { text-shadow: 0 0 40px rgba(255,255,255,0.8); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes overlayPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .neural-separator {
        height: 150px;
    }

    .glow-text {
        font-size: 1.8rem;
    }

    .neural-icons {
        gap: 20px;
    }

    .pulse-icon {
        font-size: 1.5rem;
}

.footer-content {
        grid-template-columns: 1fr;
    }

    .footer-section {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}

@keyframes zigzagMove {
    0% {
        background-position: -50px 0, -50px 0, -50px 0, -50px 0;
    }
    100% {
        background-position: 50px 100px, 50px 100px, 50px 100px, 50px 100px;
    }
}

@keyframes pulseBackground {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-phrases {
    position: relative;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.phrase-container {
    text-align: center;
}

.loader-logo.main-logo {
    font-size: 4rem;
    color: white;
    font-weight: bold;
    letter-spacing: 0.5em;
    margin-bottom: 20px;
    animation: pulseLogo 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(64, 164, 244, 0.5);
}

.loader-phrase {
    font-size: 2rem;
    color: white;
    opacity: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    text-shadow: 0 0 15px rgba(64, 164, 244, 0.3);
}

.loader-phrase:nth-child(2) {
    animation: phraseAnimation 12s infinite 0s;
}

.loader-phrase:nth-child(3) {
    animation: phraseAnimation 12s infinite 4s;
}

.loader-phrase:nth-child(4) {
    animation: phraseAnimation 12s infinite 8s;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--chocolate), #fff);
    animation: loadProgress 3s ease-in-out infinite;
}

@keyframes phraseAnimation {
    0%, 5% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    10%, 25% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    30%, 100% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

@keyframes loadProgress {
    0% {
        width: 0;
        opacity: 1;
    }
    50% {
        width: 100%;
        opacity: 0.7;
    }
    100% {
        width: 100%;
        opacity: 0;
    }
}

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

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

/* Responsive Loading Animation */
@media (max-width: 768px) {
    .loader-logo.main-logo {
        font-size: 3rem;
        letter-spacing: 0.3em;
        margin-bottom: 15px;
    }

    .loader-phrase {
        font-size: 1.5rem;
    }

    .loading-phrases {
        height: 150px;
        margin-bottom: 20px;
    }

    .loading-progress {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .loader-logo.main-logo {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
        margin-bottom: 12px;
    }

    .loader-phrase {
        font-size: 1.2rem;
    }

    .loading-phrases {
        height: 120px;
        margin-bottom: 15px;
    }

    .loading-progress {
        width: 150px;
        height: 3px;
    }
}

@media (max-width: 375px) {
    .loader-logo.main-logo {
        font-size: 2rem;
        letter-spacing: 0.15em;
        margin-bottom: 10px;
    }

    .loader-phrase {
        font-size: 1rem;
    }

    .loading-phrases {
        height: 100px;
        margin-bottom: 12px;
    }

    .loading-progress {
        width: 120px;
        height: 2px;
    }
}

@media (max-width: 320px) {
    .loader-logo.main-logo {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
    }

    .loader-phrase {
        font-size: 0.9rem;
    }

    .loading-phrases {
        height: 80px;
    }

    .loading-progress {
        width: 100px;
    }
}
/* Comprehensive Responsive Styles for Contact Page */

/* Hero Section Responsive */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 80vh;
        padding: 80px 15px 60px;
    }

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }

    .hero-badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .grid-lines {
        background-size: 30px 30px, 30px 30px, 50px 50px, 50px 50px;
    }

    /* Contact Grid */
    .contact-grid .container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }

    .contact-info h2,
    .form-wrapper h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .info-cards {
        gap: 20px;
    }

    .info-card {
        min-width: 100%;
        padding: 25px;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    /* Neural Separator */
    .neural-separator {
        height: 150px;
    }

    .glow-text {
        font-size: 2rem;
    }

    .neural-icons {
        gap: 20px;
    }

    .pulse-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 70vh;
        padding: 60px 10px 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
        margin-bottom: 20px;
    }

    .hero-badge i {
        font-size: 1rem;
    }

    .grid-lines {
        background-size: 25px 25px, 25px 25px, 40px 40px, 40px 40px;
    }

    /* Contact Grid */
    .contact-grid {
        padding: 60px 0;
    }

    .contact-grid .container {
        gap: 30px;
        padding: 0 10px;
    }

    .contact-info h2,
    .form-wrapper h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .info-cards {
        gap: 15px;
    }

    .info-card {
        padding: 20px;
        border-radius: 15px;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .info-card p {
        font-size: 0.9rem;
        text-decoration: none;
    }

    .card-icon i {
        font-size: 1.5rem;
    }

    .form-wrapper {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .input-wrapper textarea {
        min-height: 100px;
    }

    .submit-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Neural Separator */
    .neural-separator {
        height: 130px;
    }

    .glow-text {
        font-size: 1.6rem;
        padding: 0 15px;
    }

    .neural-icons {
        gap: 15px;
        margin-top: 15px;
    }

    .pulse-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 375px) {
    .contact-hero {
        min-height: 65vh;
        padding: 50px 10px 30px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .hero-badge {
        padding: 6px 14px;
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .hero-badge i {
        font-size: 0.9rem;
    }

    /* Contact Grid */
    .contact-grid {
        padding: 50px 0;
    }

    .contact-grid .container {
        gap: 25px;
    }

    .contact-info h2,
    .form-wrapper h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .info-card {
        padding: 18px;
    }

    .info-card h3 {
        font-size: 1rem;
    }

    .info-card p {
        font-size: 0.85rem;
        text-decoration: none;
    }

    .card-icon i {
        font-size: 1.3rem;
    }

    .form-wrapper {
        padding: 20px 12px;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .input-wrapper textarea {
        min-height: 90px;
    }

    .submit-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    /* Neural Separator */
    .neural-separator {
        height: 110px;
    }

    .glow-text {
        font-size: 1.4rem;
        padding: 0 10px;
    }

    .neural-icons {
        gap: 12px;
        margin-top: 12px;
    }

    .pulse-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 320px) {
    .contact-hero {
        min-height: 60vh;
        padding: 40px 8px 25px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-badge {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .hero-badge i {
        font-size: 0.8rem;
    }

    .grid-lines {
        background-size: 20px 20px, 20px 20px, 35px 35px, 35px 35px;
    }

    /* Contact Grid */
    .contact-grid {
        padding: 40px 0;
    }

    .contact-grid .container {
        gap: 20px;
        padding: 0 8px;
    }

    .contact-info h2,
    .form-wrapper h2 {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .info-card {
        padding: 15px;
    }

    .info-card h3 {
        font-size: 0.95rem;
    }

    .info-card p {
        font-size: 0.8rem;
        text-decoration: none;
    }

    .card-icon i {
        font-size: 1.2rem;
    }

    .form-wrapper {
        padding: 18px 10px;
    }

    .input-wrapper input,
    .input-wrapper textarea {
        padding: 8px;
        font-size: 0.85rem;
    }

    .input-wrapper textarea {
        min-height: 80px;
    }

    .submit-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    /* Neural Separator */
    .neural-separator {
        height: 100px;
    }

    .glow-text {
        font-size: 1.2rem;
        padding: 0 8px;
    }

    .neural-icons {
        gap: 10px;
        margin-top: 10px;
    }

    .pulse-icon {
        font-size: 1rem;
    }
}