/* --- Contact Section Layout --- */
.contact-section {
    position: relative;
    padding: 120px 0 80px 0; /* Pushes content below the fixed navbar */
    width: 100%;
    min-height: 100vh; /* Ensures it fills the screen height */
    z-index: 3;
}

.contact-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Light Blue Theme Gradient */
.text-gradient {
    background: linear-gradient(135deg, #00A8FB 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Contact Grid --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* --- Contact Cards (Box Container) --- */
.contact-card {
    background: rgba(10, 12, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Light Blue Hover Glow for the Box */
.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 168, 251, 0.3);
    box-shadow: 0 20px 40px rgba(0, 168, 251, 0.1);
}

/* Card Icons */
.contact-card i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.1);
}

/* Card Text */
.contact-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.contact-card p {
    color: #a1a1aa;
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 25px; /* Pushes the button down */
}

/* --- New Dedicated Action Buttons --- */
.btn-contact {
    background: rgba(0, 168, 251, 0.1);
    border: 1px solid rgba(0, 168, 251, 0.4);
    color: #00A8FB;
    padding: 10px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    width: 80%; /* Makes the buttons uniform in width */
}

/* Solid Blue Fill on Hover */
.btn-contact:hover {
    background: #00A8FB;
    color: #ffffff;
    border-color: #00A8FB;
    box-shadow: 0 5px 15px rgba(0, 168, 251, 0.3);
}

/* --- Responsiveness --- */
@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 35px 20px 25px 20px;
    }
}
.section-subtitle {
    color: #a1a1aa;
    font-size: 1.05rem;
}