/* ========================================
   CONTACT PAGE STYLES
   Modern Design with Card Layout - No Background Version
   ======================================== */

/* ----------- ROOT VARIABLES ----------- */
:root {
    --primary-color: #2196F3;
    --secondary-color: #1976D2;
    --accent-color: #03DAC6;
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #888888;
    --background-card: rgba(255, 255, 255, 0.9);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --transition-speed: 0.3s;
}

/* ----------- GENERAL STYLES ----------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    background: transparent;
}

/* ----------- CONTAINER ----------- */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ----------- HEADER ----------- */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--background-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

/* ----------- CONTACT GRID ----------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* ----------- CONTACT CARDS ----------- */
.contact-card {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(33, 150, 243, 0.3);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
    transform-origin: left;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

/* ----------- CARD ICON ----------- */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-color);
}

/* ----------- CARD TITLE ----------- */
.contact-card h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(33, 150, 243, 0.2);
}

/* ----------- CONTACT INFO ----------- */
.contact-info p {
    margin: 12px 0;
    color: var(--text-light);
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-info p:first-child {
    margin-top: 0;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* ----------- LINKS ----------- */
.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    word-break: break-word;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    transform: translateX(3px);
}

/* ----------- RESPONSIVE ----------- */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .contact-container {
        padding: 15px;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-header .subtitle {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px;
    }
    
    .contact-card h2 {
        font-size: 1.3rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .contact-container {
        padding: 10px;
    }
    
    .contact-header {
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .contact-header h1 {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }
    
    .contact-header .subtitle {
        font-size: 0.9rem;
    }
    
    .contact-grid {
        gap: 15px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .card-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .contact-card h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin: 10px 0;
    }
}

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

.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

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