/* Contact Section Styling */

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

/* Contact Card */
.contact-card-large {
    background: linear-gradient(135deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.15);
    border: 1px solid rgba(255, 105, 180, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

/* Top border effect for contact card - like education cards */
.contact-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff69b4, #db7093);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

/* Glossy effect for contact cards */
.contact-card-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.2) 25%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    pointer-events: none;
    z-index: 1;
}

.contact-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.25);
    border-color: rgba(255, 105, 180, 0.3);
}

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

.contact-card-large:hover::after {
    left: 100%;
}

/* Contact Header */
.contact-header {
    background: linear-gradient(135deg, #ff69b4 0%, #db7093 100%);
    padding: 2.2rem;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    z-index: 1;
}

.contact-avatar {
    font-size: 3.5rem;
    margin-right: 1.5rem;
    background: rgba(255, 255, 255, 0.25);
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.contact-card-large:hover .contact-avatar {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.3);
}

.contact-title h3 {
    font-size: 1.7rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.contact-title p {
    margin: 0.5rem 0 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
}

/* Contact Details */
.contact-details {
    padding: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    color: #ff69b4;
    font-size: 1.3rem;
    margin-right: 1rem;
    background: rgba(255, 105, 180, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.15);
}

.contact-detail-item:hover .contact-icon {
    transform: scale(1.2) rotate(15deg);
    background: rgba(255, 105, 180, 0.25);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

.contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: #db7093;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.contact-value {
    color: #ff69b4;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    transition: color 0.3s ease;
}

.contact-detail-item:hover .contact-value {
    color: #db7093;
    transform: translateX(5px);
}

/* About Me Section */
.about-me-section {
    background: linear-gradient(135deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.15);
    border: 1px solid rgba(255, 105, 180, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

/* Top border effect for about me section - like education cards */
.about-me-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff69b4, #db7093);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

/* Glossy effect for about me section */
.about-me-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.2) 25%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    pointer-events: none;
}

.about-me-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.25);
    border-color: rgba(255, 105, 180, 0.3);
}

.about-me-section:hover::before {
    transform: scaleX(1);
}

.about-me-section:hover::after {
    left: 100%;
}

.about-me-title {
    background: linear-gradient(135deg, #ff69b4 0%, #db7093 100%);
    color: white;
    padding: 1.7rem 2rem;
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.about-me-title::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.about-me-content {
    padding: 2rem;
}

.about-me-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    text-align: justify;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.about-me-section:hover .about-me-content p {
    color: #ff69b4;
}

.about-me-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-card-large,
    .about-me-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-header {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
    
    .about-me-content {
        padding: 1.5rem;
    }
}
