/* ==========================================================================
   CONTACT SECTION STYLES
   ========================================================================== */

/* ==========================================================================
   CONTACT HEADER
   ========================================================================== */

/* Primary Color Elements */
.accent-divider,
.headline-primary,
.network-card:hover .network-name {
    color: var(--color-primary, #ffdb70)
}

/* Common Shadow for Main Containers */
.form-wrapper,
.social-connections-container {
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
    overflow: hidden
}

/* Common Pseudo Elements */
.accent-separator::after,
.action-button::before,
.availability-details::before,
.input-container::after,
.network-url::after,
.section-separator::before {
    content: '';
    position: absolute;
    left: 0
}

/* Main Contact Headline */
.headline-primary {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px var(--color-primary-medium, hsla(45, 100%, 72%, .2))
}

/* Text Shadow for Titles */
.form-title,
.section-subtitle {
    text-shadow: 0 2px 4px rgba(0, 0, 0, .3)
}

/* Accent Divider Line */
.accent-divider {
    width: 80px;
    height: 3px;
    margin: 15px 0
}

/* Introduction Text */
.intro-text {
    color: var(--color-text-medium, #bfbfbf);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 16px;
    margin-bottom: 30px
}

/* ==========================================================================
   SOCIAL CONNECTIONS SECTION
   ========================================================================== */

/* Social Connections Column */
.social-connections-column {
    flex: 1;
    min-width: 300px
}

/* Social Connections Container */
.social-connections-container {
    background: linear-gradient(145deg, hsla(240, 2%, 15%, .95), hsla(240, 2%, 12%, .9));
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--color-border-light, hsla(0, 0%, 22%, .3));
    height: 100%;
    position: relative;
    transition: transform .3s, box-shadow .3s
}

/* Network Card & Icon Base Styles */
.network-card,
.network-icon {
    transition: .3s;
    display: flex
}

/* Social Connections Container Hover Effect */
.social-connections-container:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
    border-color: hsla(45, 100%, 72%, .3)
}

/* Social Connections Header */
.social-connections-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
    position: relative;
    z-index: 1
}

/* Header Icons */
.form-header i,
.social-connections-header i {
    font-size: 24px;
    color: var(--color-primary, #ffdb70);
    margin-bottom: 15px;
    background: var(--color-primary-light, hsla(45, 100%, 72%, .1));
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: .3s
}

/* Section Subtitle */
.section-subtitle {
    color: var(--color-text-white, #fff);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px
}

/* Accent Separator Line */
.accent-separator {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary, #ffdb70), hsla(45, 100%, 72%, .3));
    margin-bottom: 20px;
    position: relative;
    overflow: hidden
}

/* Accent Separator Animation Effect */
.accent-separator::after {
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, transparent, hsla(45, 100%, 72%, .8), transparent)
}

/* Professional Networks List */
.professional-networks-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px
}

/* Individual Network Card */
.network-card {
    gap: 20px;
    background: linear-gradient(145deg, hsla(240, 2%, 18%, .5), hsla(240, 2%, 15%, .5));
    border-radius: 15px;
    padding: 20px;
    border: 1px solid hsla(0, 0%, 22%, .2);
    position: relative;
    overflow: hidden
}

/* Network Card Hover Effect */
.network-card:hover {
    background: linear-gradient(145deg, hsla(240, 2%, 20%, .6), hsla(240, 2%, 18%, .6));
    border-color: var(--color-primary-medium, hsla(45, 100%, 72%, .2))
}

/* Network Icon Container */
.network-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: hsla(0, 0%, 100%, .05)
}

/* GitHub Icon Color */
.github-icon {
    color: #f0f6fc
}

/* LinkedIn Icon Color */
.linkedin-icon {
    color: var(--color-linkedin, #0a66c2)
}

/* Dev.to Icon Color */
.devto-icon {
    color: #f5f5f5
}

/* Network Icon Hover Effect */
.network-card:hover .network-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1)
}

/* Network Content Container */
.network-content {
    flex: 1
}

/* Network Name */
.network-name {
    color: var(--color-text-white, #fff);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color .3s
}

/* Network Description */
.network-description {
    color: var(--color-text-medium, #bfbfbf);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px
}

/* Network Link & URL Color */
.network-link,
.network-url::after {
    color: var(--color-primary, #ffdb70)
}

/* Network Link */
.network-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: .3s
}

/* Network URL Container */
.network-url {
    position: relative
}

/* Network URL Underline Effect */
.network-url::after {
    bottom: -2px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s
}

/* Network URL Underline Hover Effect */
.network-link:hover .network-url::after {
    transform: scaleX(1);
    transform-origin: left
}

/* Network Link Icon */
.network-link i {
    font-size: 12px;
    transition: transform .3s
}

/* Network Link Icon Hover Effect */
.network-link:hover i {
    transform: translateX(3px)
}

/* ==========================================================================
   PROJECT AVAILABILITY STATUS
   ========================================================================== */

/* Project Availability Container */
.project-availability {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-lighter, hsla(0, 0%, 30%, .3));
    position: relative;
    z-index: 1
}

/* Availability Indicator */
.availability-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 12px
}

/* Availability Status Dot */
.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 12px;
    position: relative
}

/* Active Status Dot */
.indicator-dot.active {
    background: var(--color-success, #4caf50);
    box-shadow: 0 0 10px rgba(76, 175, 80, .5)
}

/* Active Status Dot Pulse Effect */
.indicator-dot.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: 2s infinite pulse-ring
}

/* Pulse Ring Animation */
@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(.7);
        opacity: 1
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0
    }
}

/* Availability Status Label */
.indicator-label {
    color: var(--color-text-white, #fff);
    font-weight: 600;
    font-size: 16px
}

/* Availability Details Text */
.availability-details {
    color: var(--color-text-medium, #bfbfbf);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    padding-left: 24px
}

/* Availability Details Accent Line */
.availability-details::before {
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-success, #4caf50), transparent);
    border-radius: 2px
}

/* X (Twitter) Icon Styling */
.x-icon {
    color: var(--color-text-white, #fff);
    background: linear-gradient(145deg, hsla(0, 0%, 15%, .8), hsla(0, 0%, 10%, .8))
}

/* X Icon Hover Effect */
.network-card:hover .x-icon {
    color: #000;
    background: hsla(0, 0%, 15%, .9)
}

/* WhatsApp Icon Styling */
.whatsapp-icon {
    color: var(--color-whatsapp, #25d366);
    background: linear-gradient(145deg, hsla(142, 70%, 15%, .3), hsla(142, 70%, 10%, .3))
}

/* WhatsApp Icon Hover Effect */
.network-card:hover .whatsapp-icon {
    color: var(--color-whatsapp, #25d366);
    background: hsla(142, 70%, 15%, .4)
}

/* ==========================================================================
   SECTION SEPARATOR
   ========================================================================== */

/* Section Separator Container */
.section-separator {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0
}

/* Form Elements Base Styles */
.form-header,
.message-form {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1
}

/* Section Separator Line */
.section-separator::before {
    top: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, hsla(0, 0%, 50%, .3), transparent)
}

/* Separator Text */
.separator-text {
    background: var(--color-bg-dark, #1d1d1f);
    color: #b2b2b2;
    padding: 0 20px;
    font-size: 16px;
    position: relative;
    z-index: 1;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: lowercase
}

/* ==========================================================================
   CONTACT FORM SECTION
   ========================================================================== */

/* Form Section Container */
.form-section {
    width: 100%;
    margin-bottom: 30px
}

/* Form Wrapper Container */
.form-wrapper {
    background: linear-gradient(145deg, hsla(240, 2%, 15%, .95), hsla(240, 2%, 12%, .9));
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--color-border-light, hsla(0, 0%, 22%, .3));
    position: relative;
    transition: transform .3s, box-shadow .3s
}

/* Form Wrapper Hover Effect */
.form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
    border-color: hsla(45, 100%, 72%, .3)
}

/* Background Pattern for Form & Social Containers */
.form-wrapper::before,
.social-connections-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, hsla(45, 100%, 72%, .03) 25%, transparent 25%), linear-gradient(-45deg, hsla(45, 100%, 72%, .03) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, hsla(45, 100%, 72%, .03) 75%), linear-gradient(-45deg, transparent 75%, hsla(45, 100%, 72%, .03) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    opacity: .5;
    z-index: 0
}

/* Form Header */
.form-header {
    margin-bottom: 15px
}

/* Form Header Icon Hover Effect */
.form-wrapper:hover .form-header-icon {
    background: hsla(45, 100%, 72%, .15)
}

/* Form Title */
.form-title {
    color: var(--color-text-white, #fff);
    font-size: 22px;
    font-weight: 600;
    position: relative
}

/* Message Form Container */
.message-form {
    gap: 25px
}

/* Dual Input Row (Name & Email) */
.dual-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

/* Input Group Container */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px
}

/* Input Container & Action Button Base Styles */
.action-button,
.input-container {
    align-items: center;
    transition: .3s;
    overflow: hidden;
    position: relative
}

/* Input Labels */
.input-group label {
    color: var(--color-text-light, #d8d8d8);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .5px;
    transition: color .3s
}

/* Input Container */
.input-container {
    display: flex;
    background: hsla(0, 0%, 100%, .05);
    border: 1px solid var(--color-border-lighter, hsla(0, 0%, 30%, .3));
    border-radius: 12px;
    padding: 0 15px
}

/* Input Container Focus Underline */
.input-container::after {
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary, #ffdb70);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s
}

/* Input Container Focus State */
.input-container:focus-within {
    border-color: hsla(45, 100%, 72%, .5);
    background: hsla(0, 0%, 100%, .07);
    box-shadow: 0 0 0 3px var(--color-primary-light, hsla(45, 100%, 72%, .1))
}

/* Input Container Focus Underline Animation */
.input-container:focus-within::after {
    transform: scaleX(1);
    transform-origin: left
}

/* Input Label Focus Color */
.input-container:focus-within label {
    color: var(--color-primary, #ffdb70)
}

/* Input Container Icons */
.input-container i {
    color: var(--color-text-darker, #7f7f7f);
    font-size: 16px;
    margin-right: 10px;
    transition: color .3s
}

/* Input Container Icon Focus Color */
.input-container:focus-within i {
    color: var(--color-primary, #ffdb70)
}

/* Input Fields & Textarea */
.input-container input,
.input-container textarea {
    width: 100%;
    background: 0 0;
    border: none;
    padding: 15px 0;
    color: var(--color-text-white, #fff);
    font-size: 14px;
    font-family: Poppins, sans-serif
}

/* Remove Default Focus Outline */
.input-container input:focus,
.input-container textarea:focus {
    outline: 0
}

/* Input Placeholder Styling */
.input-container input::placeholder,
.input-container textarea::placeholder {
    color: var(--color-text-darker, #7f7f7f);
    transition: color .3s
}

/* Input Placeholder Focus Color */
.input-container:focus-within input::placeholder,
.input-container:focus-within textarea::placeholder {
    color: var(--color-text-dark, #999)
}

/* Textarea Container */
.textarea-container {
    align-items: flex-start;
    padding-top: 15px
}

/* Textarea Icon Positioning */
.textarea-container i {
    margin-top: 2px
}

/* Submit Button */
.action-button {
    display: inline-flex;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to right, var(--color-primary, #ffdb70), var(--color-primary-dark, #f6cd55));
    color: var(--color-bg-medium, #252527);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    padding: 16px 32px;
    cursor: pointer;
    box-shadow: 0 10px 20px var(--color-primary-medium, hsla(45, 100%, 72%, .2));
    align-self: flex-end;
    margin-top: 10px
}

/* Submit Button Shine Effect */
.action-button::before {
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, .2), transparent);
    transform: translateX(-100%);
    transition: transform .6s
}

/* Submit Button Hover Effect */
.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px hsla(45, 100%, 72%, .3)
}

/* Submit Button Hover Shine Animation */
.action-button:hover::before {
    transform: translateX(100%)
}

/* Submit Button Label */
.button-label {
    position: relative;
    z-index: 1
}

/* Submit Button Icon Container */
.button-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1
}

/* Submit Button Icon */
.button-graphic i {
    font-size: 18px;
    transition: transform .3s
}

/* Submit Button Icon Hover Effect */
.action-button:hover .button-graphic i {
    transform: translateX(5px)
}
/* ==========================================================================
   RESPONSIVE DESIGN - CONTACT SECTION
   ========================================================================== */

/* Tablet Styles (768px and below) */
@media screen and (max-width: 768px) {
    .headline-primary {
        font-size: 28px;
    }
    
    .intro-text {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .social-connections-container,
    .form-wrapper {
        padding: 30px;
        margin-bottom: 20px;
    }
    
    
    
    .section-subtitle {
        font-size: 20px;
    }
    
    
    
    .form-title {
        font-size: 20px;
    }
    
    .network-card {
        padding: 18px;
    }
    
    .network-icon {
        margin-bottom: 0;
    }
    
    .network-name {
        font-size: 17px;
    }
    
    .network-description {
        font-size: 15px;
    }
    .network-link{
        font-size: 15px;
    }
    
    .dual-input-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .action-button {
        width: 100%;
        justify-content: center;
        align-self: stretch;
    }
    
    .indicator-label {
        font-size: 15px;
    }
    
    .availability-details {
        font-size: 15px;
        padding-left: 20px;
    }
}

/* Mobile Large (576px and below) */
@media screen and (max-width: 576px) {
    .headline-primary {
        font-size: 24px;
    }
    
    .intro-text {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .social-connections-container,
    .form-wrapper {
        padding: 25px;
        border-radius: 15px;
    }
    
    .form-header i,
    .social-connections-header i {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .form-title {
        font-size: 18px;
    }
    
    .network-card {
        padding: 15px;
        gap: 12px;
    }
    
    .network-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .network-name {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .network-description {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .network-link {
        font-size: 14px;
    }
    
    .input-group label {
        font-size: 13px;
    }
    
    .input-container {
        padding: 0 12px;
    }
    
    .input-container input,
    .input-container textarea {
        padding: 12px 0;
        font-size: 13px;
    }
    
    .action-button {
        font-size: 15px;
        padding: 14px 28px;
    }
    
    .indicator-label {
        font-size: 14px;
    }
    
    .availability-details {
        font-size: 14px;
    }
    
    .separator-text {
        font-size: 14px;
        padding: 0 15px;
    }
}

/* Mobile Medium (480px and below) */
@media screen and (max-width: 480px) {
    .headline-primary {
        font-size: 22px;
    }
    
    .intro-text {
        font-size: 14px;
    }
    
    .social-connections-container,
    .form-wrapper {
        padding: 20px;
    }
    
    .form-header i,
    .social-connections-header i {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .form-title {
        font-size: 16px;
    }
    
    .professional-networks-list {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .network-card {
        padding: 12px;
        gap: 10px;
    }
    
    .network-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .network-name {
        font-size: 15px;
    }
    
    .network-description {
        font-size: 14px;
    }
    
    .network-link {
        font-size: 14px;
    }
    
    .message-form {
        gap: 20px;
    }
    
    .input-group label {
        font-size: 12px;
    }
    
    .input-container {
        padding: 0 10px;
    }
    
    .input-container i {
        font-size: 14px;
        margin-right: 8px;
    }
    
    .input-container input,
    .input-container textarea {
        padding: 10px 0;
        font-size: 12px;
    }
    
    .action-button {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .button-graphic i {
        font-size: 16px;
    }
    
    .project-availability {
        margin-top: 25px;
        padding-top: 15px;
    }
    
    .indicator-label {
        font-size: 13px;
    }
    
    .availability-details {
        font-size: 14px;
        padding-left: 18px;
    }
    
    .section-separator {
        height: 35px;
        margin: 15px 0;
    }
    
    .separator-text {
        font-size: 13px;
    }
}

/* Mobile Small (400px and below) */
@media screen and (max-width: 400px) {
    .headline-primary {
        font-size: 20px;
    }
    
   
    
    .social-connections-container,
    .form-wrapper {
        padding: 15px;
        border-radius: 12px;
    }
    
    .form-header i,
    .social-connections-header i {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .section-subtitle {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .form-title {
        font-size: 15px;
    }
    
    .accent-separator {
        width: 50px;
        height: 2px;
        margin-bottom: 15px;
    }
    
    .professional-networks-list {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .network-card {
        padding: 10px;
        gap: 8px;
        border-radius: 12px;
    }
    
    .network-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .network-name {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .network-description {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .network-link {
        font-size: 13px;
        gap: 6px;
    }
    
    .network-link i {
        font-size: 10px;
    }
    
    .message-form {
        gap: 15px;
    }
    
    .input-group {
        gap: 8px;
    }
    
    .input-group label {
        font-size: 11px;
    }
    
    .input-container {
        padding: 0 8px;
        border-radius: 8px;
    }
    
    .input-container i {
        font-size: 12px;
        margin-right: 6px;
    }
    
    .input-container input,
    .input-container textarea {
        padding: 8px 0;
        font-size: 11px;
    }
    
    .textarea-container {
        padding-top: 10px;
    }
    
    .action-button {
        font-size: 13px;
        padding: 10px 20px;
        border-radius: 25px;
    }
    
    .button-graphic i {
        font-size: 14px;
    }
    
    .project-availability {
        margin-top: 20px;
        padding-top: 12px;
    }
    
    .indicator-dot {
        width: 10px;
        height: 10px;
        margin-right: 10px;
    }
    
    .indicator-label {
        font-size: 12px;
    }
    
    .availability-details {
        font-size: 10px;
        padding-left: 15px;
    }
    
    .section-separator {
        height: 30px;
        margin: 12px 0;
    }
    
    .separator-text {
        font-size: 12px;
        padding: 0 12px;
    }
}