/* Contact Us Page Styles */

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

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

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.contact-hero::before {
    content: '';
    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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    animation: scaleIn 1s ease-out 0.3s both;
}

.contact-hero-content {
    color: var(--white);
    animation: fadeInLeft 1s ease-out 0.5s both;
}

.contact-hero-title {
    font-family: 'Big', sans-serif;
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out 0.7s both;
}

.contact-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.contact-hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 500px;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.contact-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.7s both;
}

.hero-image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-image-placeholder:hover {
    animation: pulse 1s ease-in-out;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.hero-image-placeholder i {
    font-size: 4rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.hero-image-placeholder:hover i {
    transform: scale(1.1);
}

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

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--light-color);
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white) 0%, transparent 100%);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    animation: scaleIn 1s ease-out 0.3s both;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.contact-form-title {
    font-family: 'Big', sans-serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    animation: fadeInLeft 1s ease-out 0.7s both;
}



.contact-form-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    opacity: 0.8;
    animation: fadeInRight 1s ease-out 0.9s both;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 182, 78, 0.05), transparent);
    transition: left 0.5s ease;
}

.contact-form:hover::before {
    left: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(252, 182, 78, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.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: left 0.5s ease;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(252, 182, 78, 0.4);
}

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

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

.submit-btn:hover i {
    transform: translateX(5px) scale(1.1);
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0;
    background: var(--white);
    animation: fadeInUp 1s ease-out;
}

.contact-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    animation: scaleIn 1s ease-out 0.3s both;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.contact-info-title {
    font-family: 'Big', sans-serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    animation: fadeInLeft 1s ease-out 0.7s both;
}



.contact-info-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    opacity: 0.8;
    animation: fadeInRight 1s ease-out 0.9s both;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.contact-info-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info-card:nth-child(3) { animation-delay: 0.3s; }

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 182, 78, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-info-card:hover::before {
    left: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e67e22 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.contact-info-card:hover .contact-info-icon {
    animation: pulse 1s ease-in-out;
    transform: scale(1.1);
}

.contact-info-icon i {
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-info-icon i {
    transform: scale(1.1);
}

.contact-info-card h3 {
    font-family: 'Big', sans-serif;
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-info-card:hover h3 {
    color: var(--primary-color);
}

.contact-info-card p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    color: var(--secondary-color);
    opacity: 0.8;
    line-height: 1.5;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover p {
    opacity: 1;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    display: none;
    animation: slideInFromBottom 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message */
.error-message {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    display: none;
    animation: slideInFromBottom 0.5s ease;
}

/* Loading State */
.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn.loading span {
    opacity: 0;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive Design */
@media (max-width: 1400px) {
    /* Prevent horizontal overflow on mobile */
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
    .contact-hero-container,
    .contact-form-container,
    .contact-info-container {
        max-width: 100%;
        overflow-x: hidden;
    }
    /* Navigation - match main page exactly */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
    
    .nav-container {
        padding: 0 15px !important;
        height: 70px !important;
        justify-content: space-between !important;
    }
    
    .nav-logo {
        position: static !important;
    }
    
    .nav-logo h2 {
        font-size: 18px !important;
        margin-left: 0 !important;
    }
    
    .hamburger {
        display: flex !important;
    }
    
    .contact-hero {
        padding: 120px 0 100px;
        min-height: 60vh;
    }
    
    .contact-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 15px;
    }
    
    .contact-hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 30px;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 35px;
    }
    
    .hero-image-placeholder {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .hero-image-placeholder i {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 40px 25px;
        border-radius: 15px;
        margin: 0 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .contact-form-title,
    .contact-info-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .submit-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
        border-radius: 20px;
        min-width: 180px;
    }
    
    .contact-info {
        padding: 50px 0;
    }
    
    .contact-info-container {
        padding: 0 15px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-card {
        padding: 35px 25px;
        border-radius: 15px;
        text-align: center;
    }
    
    .contact-info-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .contact-info-card h3 {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }
    
    .contact-info-card p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    /* Guardrail for small phones */
    html, body { overflow-x: hidden; }
    .contact-hero-container,
    .contact-form-container,
    .contact-info-container { max-width: 100%; overflow-x: hidden; }
    /* Navigation - match main page exactly */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
    
    .nav-container {
        padding: 0 10px !important;
        height: 70px !important;
    }
    
    .nav-logo h2 {
        font-size: 18px !important;
    }
    
    .nav-menu {
        width: 260px !important;
        padding-top: 70px !important;
    }
    
    .nav-menu li {
        margin: 15px 0 !important;
    }
    
    .nav-link {
        font-size: 16px !important;
        padding: 12px 25px !important;
        margin: 0 15px !important;
    }
    
    .contact-hero {
        padding: 140px 0 100px;
        min-height: 60vh;
    }
    
    .contact-hero-container {
        padding: 0 15px;
        gap: 40px;
    }
    
    .contact-hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 30px;
    }
    
    .contact-hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 35px;
    }
    
    .hero-image-placeholder {
        width: 180px;
        height: 180px;
    }
    
    .hero-image-placeholder i {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 40px 25px;
        border-radius: 18px;
        margin: 0 10px;
    }
    
    .form-row {
        gap: 25px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .contact-form-title,
    .contact-info-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .submit-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
        border-radius: 20px;
        min-width: 180px;
    }
    
    .contact-info {
        padding: 50px 0;
    }
    
    .contact-info-container {
        padding: 0 15px;
    }
    
    .contact-info-grid {
        gap: 30px;
    }
    
    .contact-info-card {
        padding: 35px 25px;
        border-radius: 16px;
    }
    
    .contact-info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .contact-info-card h3 {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }
    
    .contact-info-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
} 

/* iPhone 12 Pro and similar devices (390px width) */
@media (max-width: 390px) {
    .contact-hero {
        padding: 130px 0 90px;
        min-height: 55vh;
    }
    
    .contact-hero-container {
        padding: 0 12px;
        gap: 35px;
    }
    
    .contact-hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .hero-image-placeholder {
        width: 160px;
        height: 160px;
    }
    
    .hero-image-placeholder i {
        font-size: 2.2rem;
    }
    
    .contact-form {
        padding: 35px 20px;
        border-radius: 16px;
        margin: 0 8px;
    }
    
    .form-row {
        gap: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 12px;
        font-size: 0.9rem;
        border-radius: 10px;
        min-height: 40px;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .contact-form-title,
    .contact-info-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .submit-btn {
        padding: 10px 24px;
        font-size: 0.9rem;
        border-radius: 18px;
        min-width: 160px;
        min-height: 40px;
    }
    
    .contact-info {
        padding: 40px 0;
    }
    
    .contact-info-container {
        padding: 0 12px;
    }
    
    .contact-info-grid {
        gap: 25px;
    }
    
    .contact-info-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .contact-info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .contact-info-card h3 {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }
    
    .contact-info-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Tablet fixes (no desktop impact) */
@media (min-width: 769px) and (max-width: 1180px) {
    .contact-hero {
        padding: 110px 0 70px;
    }
    .contact-hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 0 20px;
        max-width: 100%;
    }
    .contact-form-section,
    .contact-info-section { overflow-x: hidden; }
}

/* iPhone 12 Pro Touch Optimizations */
@media (max-width: 390px) and (hover: none) and (pointer: coarse) {
    .form-group input,
    .form-group textarea {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .submit-btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .submit-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .contact-info-card {
        min-height: 44px;
        touch-action: manipulation;
    }
} 