/* Contact Page Styles */

/* Hero Section */
.hero {
    height: 70vh; 
    min-height: 500px;
    background: linear-gradient(135deg, #140049 0%, #1E006A 50%, #0E0033 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23eab308" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 20s linear infinite;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    background: var(--primary-gold);
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    background: rgba(234, 179, 8, 0.6);
    top: 60%;
    left: 80%;
    animation: float 8s ease-in-out infinite reverse;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    background: var(--primary-gold);
    top: 40%;
    left: 60%;
    animation: float 7s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: slideInUp 1s ease-out;
}

.hero-content > div {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    color: white; 
    font-size: 3rem; 
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9); 
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Force hero texts to white on contact page */
#page-contact .hero-title,
#page-contact .hero-subtitle,
#page-contact [data-translate="contact.title"],
#page-contact [data-translate="contact.subtitle"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important; /* override gradient clip if any */
}

.hero-buttons {
    display: flex; 
    gap: 1.5rem; 
    justify-content: center; 
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* ลบ translateY(-5px) เพื่อป้องกันการเลื่อนขึ้น */
}

/* Contact Information Section */
#contact-info {
    margin-top: -8rem; 
    position: relative; 
    z-index: 10;
    padding: 2rem 0 6rem;
}

.section {
    padding: 4rem 0;
}

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

.section-header {
    text-align: center; 
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.section-header-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    animation: bounce 2s ease-in-out infinite;
}

.section-title {
    color: var(--white); 
    font-size: 2.5rem; 
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    color: var(--gray-500); 
    font-size: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Light section overrides */
.section--light .section-title,
.section--alt .section-title {
    color: var(--gray-900) !important;
    text-shadow: none !important;
}

.section--light .section-subtitle,
.section--alt .section-subtitle {
    color: var(--gray-800) !important;
    text-shadow: none !important;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.contact-card {
    background: #140049;
    color: #FFFFFF;
    backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.contact-card:hover {
    transform: rotateX(5deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
    background: #1E006A;
    /* ลบ translateY(-15px) เพื่อป้องกันการเลื่อนขึ้น */
}

.contact-card:nth-child(1) { animation: slideInLeft 1s ease-out 0.1s both; }
.contact-card:nth-child(2) { animation: slideInUp 1s ease-out 0.2s both; }
.contact-card:nth-child(3) { animation: slideInRight 1s ease-out 0.3s both; }
.contact-card:nth-child(4) { animation: slideInLeft 1s ease-out 0.4s both; }
.contact-card:nth-child(5) { animation: slideInUp 1s ease-out 0.5s both; }

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
}

.contact-card:nth-child(1)::before {
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.05), transparent);
}

.contact-card:nth-child(2)::before {
    background: linear-gradient(45deg, rgba(234, 179, 8, 0.05), transparent);
}

.contact-card:nth-child(3)::before {
    background: linear-gradient(45deg, rgba(37, 211, 102, 0.05), transparent);
}

.contact-card:nth-child(4)::before {
    background: linear-gradient(45deg, rgba(0, 200, 81, 0.05), transparent);
}

.contact-card:nth-child(5)::before {
    background: linear-gradient(45deg, rgba(7, 193, 96, 0.05), transparent);
}

.contact-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.contact-icon.email {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.contact-icon.phone {
    background: var(--gradient-primary);
    color: var(--gray-900);
    box-shadow: 0 15px 30px rgba(234, 179, 8, 0.3);
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25d366, #20b954);
    color: white;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.contact-icon.line {
    background: linear-gradient(135deg, #00c851, #00b348);
    color: white;
    box-shadow: 0 15px 30px rgba(0, 200, 81, 0.3);
}


.contact-card h3 {
    color: #000000; 
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-link {
    color: inherit;
    text-decoration: none; 
    font-weight: 700; 
    font-size: 1.4rem;
    display: block;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.contact-card > div {
    margin-bottom: 2rem;
}

.contact-link.email {
    color: #3b82f6;
}

.contact-link.phone {
    color: var(--primary-gold);
}

.contact-link.whatsapp {
    color: #25d366;
}

.contact-link.line {
    color: #00c851;
}


.contact-link:hover {
    transform: scale(1.1);
}

.contact-link.email:hover {
    background: rgba(59, 130, 246, 0.1);
}

.contact-link.phone:hover {
    background: rgba(234, 179, 8, 0.1);
}

.contact-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
}

.contact-link.line:hover {
    background: rgba(0, 200, 81, 0.1);
}


.contact-info {
    color: #374151; 
    font-size: 1rem; 
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 1rem;
    border-left: 4px solid;
    margin-bottom: 2rem;
}

.contact-info.email {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: #3b82f6;
}

.contact-info.phone {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10b981;
}

.contact-info.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border-left-color: #25d366;
}

.contact-info.line {
    background: rgba(0, 200, 81, 0.1);
    border-left-color: #00c851;
}

.contact-info.wechat {
    background: rgba(7, 193, 96, 0.1);
    border-left-color: #07c160;
}

.contact-info i {
    margin-right: 0.5rem;
}

.contact-info.email i {
    color: #3b82f6;
}

.contact-info.phone i {
    color: #10b981;
}

.contact-info.whatsapp i {
    color: #25d366;
}

.contact-info.line i {
    color: #00c851;
}


.contact-btn {
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover visual effect handled by shadow only */
.contact-btn:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.2); }

.contact-btn.email {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.contact-btn.email:hover {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.contact-btn.phone {
    background: var(--gradient-primary);
    color: var(--gray-900);
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
}

.contact-btn.phone:hover {
    box-shadow: 0 15px 35px rgba(234, 179, 8, 0.4);
}

.contact-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #20b954);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.contact-btn.whatsapp:hover {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.contact-btn.line {
    background: linear-gradient(135deg, #00c851, #00b348);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 200, 81, 0.3);
}

.contact-btn.line:hover {
    box-shadow: 0 15px 35px rgba(0, 200, 81, 0.4);
}


/* Contact Form & Map Section */
.contact-form-section {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center; 
    margin-bottom: 2.5rem;
}

.form-header-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 2rem;
    color: var(--gray-900);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: var(--gray-900); 
    margin-bottom: 0.5rem; 
    font-size: 1.5rem;
    font-weight: 600;
}

.form-subtitle {
    color: var(--gray-600); 
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
    background: #ffffff;
    /* ลบ transform: translateY(-2px) เพื่อป้องกันการเลื่อนขึ้น */
}

.form-input:valid {
    border-color: #10b981;
    background: #f0fdf4;
}

.form-input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.form-textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
    background: #ffffff;
    /* ลบ transform: translateY(-2px) เพื่อป้องกันการเลื่อนขึ้น */
}

.privacy-consent {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: rgba(var(--primary-gold-rgb), 0.1);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(var(--primary-gold-rgb), 0.2);
    margin-bottom: 2rem;
}

.privacy-checkbox {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-gold);
}

.privacy-text {
    font-size: 0.9rem; 
    color: #000000; 
    line-height: 1.5;
}

.privacy-link {
    color: var(--primary-gold); 
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--gray-900);
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    /* ลบ translateY(-3px) เพื่อป้องกันการเลื่อนขึ้น */
}

.submit-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.submit-btn:disabled {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    margin-right: 0.5rem;
}

.response-time {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.response-time i {
    margin-right: 0.25rem;
}

/* Location & Map Section */
.location-header {
    text-align: center; 
    margin-bottom: 2rem;
}

.location-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.location-title {
    color: var(--white); 
    margin-bottom: 0.5rem; 
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.location-subtitle {
    color: var(--white); 
    font-size: 0.95rem;
}

.office-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.office-info-content {
    color: #374151; 
    line-height: 1.8;
}

.office-info-content span[data-translate="office.address_full"] {
    display: block;
    line-height: 1.6;
    margin-top: 0.25rem;
}

.office-info-content strong {
    color: #000000;
    font-weight: 600;
}

.office-title {
    color: #111827; 
    margin-bottom: 1.5rem; 
    font-size: 1.3rem; 
    text-align: center;
    font-weight: 600;
}

.office-info-item {
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 1rem; 
    padding: 0.75rem; 
    border-radius: 0.5rem;
}

.office-info-item.address {
    background: #f8fafc;
}

.office-info-item.hours {
    background: #f0fdf4;
    align-items: center;
}

.office-info-item.parking {
    background: #eff6ff;
    align-items: center;
    margin-bottom: 0;
}

.office-info-icon {
    width: 25px; 
    margin-top: 0.25rem;
}

.office-info-icon.address {
    color: var(--primary-gold);
}

.office-info-icon.hours {
    color: #10b981;
}

.office-info-icon.parking {
    color: #3b82f6;
}

.office-title i {
    color: var(--primary-gold); 
    margin-right: 0.5rem;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    opacity: 0.5;
}

.map-content {
    text-align: center; 
    color: #374151; 
    z-index: 1; 
    position: relative;
}

.map-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-title {
    margin-bottom: 0.5rem; 
    color: #111827;
    font-weight: 600;
}

.map-description {
    margin-bottom: 1.5rem; 
    color: #6b7280;
}

.map-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.map-btn:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    /* ลบ transform: translateY(-2px) เพื่อป้องกันการเลื่อนขึ้น */
}

.map-btn i {
    margin-right: 0.5rem;
}

.quick-contact {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1rem;
}

.quick-btn {
    text-decoration: none;
    text-align: center;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-btn i {
    color: white;
}

.quick-btn:hover {
    transform: translateY(-2px);
}

.quick-btn.call {
    background: linear-gradient(135deg, #10b981, #059669); 
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.quick-btn.call:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.quick-btn.line {
    background: linear-gradient(135deg, #00c851, #00b348); 
    color: white;
    box-shadow: 0 4px 15px rgba(0, 200, 81, 0.3);
}

.quick-btn.line:hover {
    box-shadow: 0 8px 25px rgba(0, 200, 81, 0.4);
}


.quick-btn i {
    margin-right: 0.5rem;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
}

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

@keyframes slideInLeft {
    from {
        transform: translateX(-60px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    }
}

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

@keyframes gridMove {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-10px) translateY(-10px);
    }
}

@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(234, 179, 8, 0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .contact-card {
        padding: 2rem 1.5rem !important;
    }
    
    /* Keep hover behavior minimal on mobile */
    .contact-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .quick-contact {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1025px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, #ffffff, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.modern-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.modern-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: left 0.5s;
    z-index: -1;
}

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-light);
}

/* CSS Variables */
:root {
    --primary-gold-rgb: 255, 125, 44;
}
