/* Import modern font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Custom CSS to override theme defaults */

/* Fix Hero section height - remove full viewport height */
#hero {
    min-height: auto !important;
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Ensure proper spacing between sections */
section {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Optimize hero content spacing */
#hero .content {
    margin-bottom: 30px;
}

/* ===== Modern Button Styles ===== */

/* Primary Button (Resume) - Gradient Fill */
#hero a.btn:not(.social-icon) {
    position: relative;
    padding: 14px 32px !important;
    margin-top: 50px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Button hover effect */
#hero a.btn:not(.social-icon):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

/* Button active/click effect */
#hero a.btn:not(.social-icon):active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

/* Shine effect on hover */
#hero a.btn:not(.social-icon)::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s;
}

#hero a.btn:not(.social-icon):hover::before {
    left: 100%;
}

/* Secondary style for alternate buttons (if needed) */
#hero a.btn.btn-outline {
    background: transparent !important;
    border: 2px solid #667eea !important;
    color: #667eea !important;
    box-shadow: none;
}

#hero a.btn.btn-outline:hover {
    background: rgba(102, 126, 234, 0.1) !important;
    border-color: #764ba2 !important;
    color: #764ba2 !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Social icon buttons - keeping them circular and elegant */
#hero a.btn.social-icon {
    width: 48px;
    height: 48px;
    padding: 12px !important;
    margin-top: 50px;
    margin-right: 12px;
    border-radius: 50% !important;
    border: 2px solid rgba(102, 126, 234, 0.3) !important;
    background: rgba(102, 126, 234, 0.05) !important;
    color: #667eea !important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#hero a.btn.social-icon:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

#hero a.btn.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(221deg) brightness(92%) contrast(101%);
}

#hero a.btn.social-icon:hover img {
    filter: brightness(0) invert(1);
}

/* Remove default focus outline, add custom */
#hero a.btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #hero a.btn:not(.social-icon) {
        padding: 12px 24px !important;
        font-size: 14px;
    }

    #hero a.btn.social-icon {
        width: 42px;
        height: 42px;
        padding: 10px !important;
    }
}

/* ===== Contact Section Button Styles ===== */

/* Apply same modern gradient style to Contact section buttons */
#contact a.btn {
    position: relative;
    padding: 14px 32px !important;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

#contact a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

#contact a.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

/* Shine effect on hover */
#contact a.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s;
}

#contact a.btn:hover::before {
    left: 100%;
}

#contact a.btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3) !important;
}

@media (max-width: 768px) {
    #contact a.btn {
        padding: 12px 24px !important;
        font-size: 14px;
    }
}

/* ===== Section Titles Font Style ===== */

/* Apply Poppins font to all section titles for brand consistency */
h3,
#projects h3,
#recent-posts h3,
#contact h3,
#about h3,
#experience h3,
#education h3,
.h3,
section h3,
section .h3 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px;
}

/* Also apply to page titles */
h1,
h2 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 600 !important;
}

/* Hero subtitle styling */
#hero .subtitle,
#hero h2 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-weight: 300 !important;
}