/* Contact Page Modern Styles */

/* Contact Section */
.contact-main {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.contact-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 26, 46, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(83, 52, 131, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-header-content {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a1a2e, #533483, #7209b7, #3b82f6);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

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

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #533483 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(26, 26, 46, 0.3);
}

.contact-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 10px;
}

.contact-address {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

.contact-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1a1a2e;
    text-decoration: none;
}

/* Company Info Section */
.company-info {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.company-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.company-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
}

.company-label {
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-value {
    color: #7f8c8d;
    font-weight: 500;
}

/* Schools Section */
.schools-section {
    padding: 80px 0;
    background: white;
}

.schools-header {
    margin-bottom: 60px;
}

.schools-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.school-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.school-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a1a2e, #533483, #533483);
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.school-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.school-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a1a2e 0%, #533483 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.school-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.school-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.school-title a:hover {
    color: #3b82f6;
    text-decoration: none;
}

.school-location {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.school-location i {
    margin-right: 8px;
    color: #3b82f6;
    margin-top: 2px;
    flex-shrink: 0;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.location-item {
    display: block;
    line-height: 1.4;
}

.school-trainer {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

.trainer-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.trainer-info i {
    margin-right: 8px;
    color: #3b82f6;
    width: 16px;
}

.trainer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    border: 2px solid #3b82f6;
    flex-shrink: 0;
}

.trainer-info a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.trainer-info a:hover {
    color: #3b82f6;
    text-decoration: none;
}

.trainer-phone {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.trainer-phone:hover {
    color: #1a1a2e;
    text-decoration: none;
}

.trainer-phone i {
    margin-right: 5px;
}

/* Training Groups Section */
.training-groups-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.training-header {
    margin-bottom: 60px;
}

.training-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.training-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #533483, #7209b7);
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.training-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.training-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #533483 0%, #7209b7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.training-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.training-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.training-title a:hover {
    color: #3b82f6;
    text-decoration: none;
}

.training-location {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.training-location i {
    margin-right: 8px;
    color: #3b82f6;
    margin-top: 2px;
    flex-shrink: 0;
}

.training-trainer {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .contact-header {
        padding: 60px 0 40px;
    }
    
    .contact-main,
    .schools-section,
    .training-groups-section {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .schools-grid,
    .training-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card,
    .school-card,
    .training-card {
        padding: 20px;
    }
    
    .school-header,
    .training-header {
        flex-direction: column;
        text-align: center;
    }
    
    .school-icon,
    .training-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .contact-subtitle,
    .schools-subtitle,
    .training-subtitle {
        font-size: 1rem;
    }
    
    .contact-title,
    .school-title,
    .training-title {
        font-size: 1.1rem;
    }
    
    .company-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
