/* Home Submenu Styling */
body.home #menu-item-127, body.home #menu-item-510,
body.home #menu-item-596 {
    background-color: #FFCD5A !important;
}

/* Logo - Adjust contrast and bold appearance */
.site-logo-img {
    filter: contrast(1.2) brightness(1.1) !important; /* Increases contrast and brightness */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important; /* Adds depth */
}
@media (max-width: 768px) {
    body.home .site-logo-img {
        display: none !important; /* Hide the logo */
    }
}

/* Ensure the button inside .b-home retains its original styling */
.b-home a {
    display: inline-block !important;
    padding: 10px 20px !important; /* Maintain button padding */
    text-decoration: none !important; /* Remove underline */
    background-color: #143778 !important; /* Default background color */
    color: #FFCD5A !important; /* Default text color (was white) */
    border: 2px solid transparent !important; /* Initially, no visible border */
    border-radius: 50px !important; /* Round button */
    transition: all 0.3s ease-in-out !important;
}

/* Hover effect: Change background, text color, and border */
.b-home a:hover {
    background-color: transparent !important; /* Make background transparent */
    color: #143778 !important; /* Keep text color as #FFCD5A */
    border: 2px solid #143778 !important; /* Add #143778 border */
}
/* Hide Sticky Resume Button by Default */
.sticky-resume-button {
    position: fixed !important;
    bottom: 80px !important; /* Adjusted to be above "Scroll to Top" */
    left: 20px !important; /* Moves to left */
    background-color: #143778 !important; /* Deep Blue */
    color: #FFCD5A !important; /* Gold */
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-family: Verdana, sans-serif !important;
    font-weight: bold !important;
    text-decoration: none !important;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2) !important;
    transition: opacity 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    opacity: 0; /* Hidden initially */
    visibility: hidden;
    pointer-events: none;
}

/* Hover and Active States (Only for Sticky Resume Button) */
.sticky-resume-button:hover,
.sticky-resume-button:active {
    background-color: #FFCD5A !important; /* Gold */
    color: #143778 !important; /* Deep Blue */
    text-decoration: none !important;
}

/* Make Sticky Button Visible After Scrolling */
.sticky-resume-button.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Mobile Optimization - Keep Separate */
@media (max-width: 768px) {
    .sticky-resume-button {
        bottom: 100px !important; /* Ensures space from other buttons */
        left: 10px !important;
        padding: 10px 18px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .sticky-resume-button {
        bottom: 120px !important;
        left: 8px !important;
        padding: 8px 16px !important;
        font-size: 13px !important;
        border-radius: 40px !important;
    }
}

/* Hover effect for desktops (Only for .sticky-resume-button) */
@media (hover: hover) {
    .sticky-resume-button:hover {
        background-color: #FFCD5A !important; /* Gold */
        color: #143778 !important; /* Deep Blue */
    }
}

/* Force color change on mobile tap (Only for .sticky-resume-button) */
.sticky-resume-button.tapped {
    background-color: #FFCD5A !important; /* Gold */
    color: #143778 !important; /* Deep Blue */
}


/* Hover effect: Change background and text color */
.wp-block-button__link:hover {
    background-color: #143778 !important; /* Dark blue background on hover */
    color: #FFCD5A !important; /* Yellow text on hover */
}
.wpcf7-form-control.wpcf7-submit.has-spinner:hover { 
background-color: #143778 !important; /* Dark blue background on hover */
    color: #FFCD5A !important; /* Yellow text on hover */
}

/* Add underline on hover and click */
body #menu-item-127 a:hover, body #menu-item-127 a:active,
body #menu-item-510 a:hover, body #menu-item-510 a:active,
body #menu-item-596 a:hover, body #menu-item-596 a:active {
    text-decoration: underline !important;
}


/* Reset Default Margins and Padding */
body, .site-content, .ast-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero Section Full-Width Styling */
.home-hero {
    width: 100vw !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Ensure Hero Image Responsiveness */
.home-hero img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
}

/* Hide Home Button on Mobile */
@media (max-width: 768px) {
    .b-home {
        display: none !important;
    }
}

/* Button Styling for Contact Page */
.wp-block-button__link {
    width: auto !important;
    max-width: 100% !important;
    font-size: 1rem !important;
    padding: 12px 24px !important;
    text-align: center !important;
    display: inline-block !important;
    box-sizing: border-box !important;
}

/* Adjust Button for Smaller Screens */
@media (max-width: 768px) {
    .wp-block-button__link {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
    }
}

/* Center Hero Section and Button */
.wp-block-cover {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

/* Right Align Button on Larger Screens */
@media (min-width: 769px) {
    .wp-block-cover {
        justify-content: flex-end !important;
        align-items: center !important;
        padding-right: 5vw !important;
        text-align: right !important;
    }
}

/* Footer Styling */
.site-below-footer-wrap {
    background-color: #FAF6FE !important;
}

.ast-footer-copyright .footer-custom-text {
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    color: #143778 !important;
    text-align: center !important;
    display: block !important;
}

/* Contact Form 7 Styling */
.wpcf7 {
    background-color: #f5f5f5 !important;
    padding: 20px !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

@media (min-width: 1024px) {
    .wpcf7-form {
        max-width: 600px !important;
        margin: 0 auto !important;
        padding: 20px !important;
        background-color: #F9F9F9 !important;
        border-radius: 8px !important;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .wpcf7-text, .wpcf7-textarea, .wpcf7-select {
        width: 100% !important;
        padding: 10px !important;
        font-family: 'Montserrat', sans-serif !important;
        font-weight: 500 !important;
        font-size: 18px !important;
        border: 1px solid #143778 !important;
        border-radius: 3px !important;
        color: #143778 !important;
        background-color: #F9F9F9 !important;
    }
}

/* Ensure Image in Transform Block is Centered and Responsive */
.transform img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important; /* Centers the image */
    object-fit: contain !important; /* Ensures the image scales properly */
}

/* Fix alignment and width issues on mobile */
@media (max-width: 768px) {
    .transform {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Center all content */
        justify-content: center !important;
        text-align: center !important; /* Ensure text is centered */
        padding: 20px !important; /* Adjust padding for better spacing */
    }

    .transform img {
        max-width: 90% !important; /* Adjust width so it doesn’t stretch */
    }
}
/*transform button*/
/* Default Button Styling for .transform */
.transform .wp-block-button__link {
    background-color: #FFCD5A !important; /* Gold */
    color: #143778 !important; /* Deep Blue */
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-family: Verdana, sans-serif !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out !important;
}

/* Hover Effect (Reversed Colors) */
.transform .wp-block-button__link:hover {
    background-color: #143778 !important; /* Deep Blue */
    color: #FFCD5A !important; /* Gold */
}


/* Ensure full width and background span */
.site-content .intro {
    width: 100vw !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: fit-content !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 60px 5vw !important; 
}

/* Ensure content inside the intro is wider */
.site-content .intro .resume {
    max-width: 1200px !important;
    width: 90% !important;
    margin: 0 auto !important;
    padding: 40px 0 !important; 
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .site-content .intro {
        padding: 40px 5vw !important; 
    }
    .site-content .intro .resume {
        width: 95% !important;
        padding: 20px 0 !important;
    }
}

/* Adjust heading spacing without cutting off descenders */
.wp-block-heading.intro {
    margin-top: 0 !important; /* Remove unnecessary top space */
    margin-bottom: 15px !important; /* Allow normal spacing below */
    padding: 0 !important; /* Ensure no padding inflating height */
    line-height: 1.3 !important; /* Slightly relaxed line height to fix descender clipping */
    display: block !important; /* Maintain block-level formatting */
    width: 100% !important; /* Ensure full width */
    height: auto !important; /* Prevent excessive height */
    overflow: visible !important; /* Prevent cutting off text */
}

/* Reduce space between subheader (h2) and paragraph */
.site-content .intro p {
    margin-top: 0 !important;  /* Remove extra space above */
    margin-bottom: 10px !important; /* Allow normal spacing after */
    line-height: 1.5 !important; /* Set standard readability */
}

/* Adjustments for larger screens */
@media (min-width: 1024px) {
    .resume .subtitle {
        margin-top: 20px !important;
    }
}

/* Reduce top margin for .site-content on all pages except home */
body:not(.home) .site-content {
    margin-top: -40px !important; /* Adjust this value as needed */
}
/* Center align icons when stacked on mobile */
@media (max-width: 768px) {
    .icons {
        display: flex !important;
        flex-direction: column !important; /* Stack icons */
        align-items: center !important; /* Center horizontally */
        justify-content: center !important; /* Center vertically */
        text-align: center !important; /* Ensure text aligns properly */
    }
    
    .icons .wp-block-column {
        width: 100% !important; /* Ensure full width */
        max-width: 300px !important; /* Adjust width if needed */
        margin: 0 auto !important; /* Center within container */
    }
    
    .icons img, 
    .icons svg {
        display: block !important;
        margin: 0 auto !important; /* Ensure icons are centered */
    }
}
.contact-bg {
	background-color: #F5F5F5;
}
/* Hide Button by Default */
.sticky-resume-button {
    position: fixed !important;
    bottom: 80px !important; /* Adjusted to be above "Scroll to Top" */
    left: 20px !important; /* Moves to left */
    background-color: #143778 !important; /* Deep Blue */
    color: #FFCD5A !important; /* Gold */
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-family: Verdana, sans-serif !important;
    font-weight: bold !important;
    text-decoration: none !important;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2) !important;
    transition: opacity 0.3s ease-in-out, background 0.3s ease-in-out, color 0.3s ease-in-out !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    opacity: 0; /* Hidden initially */
    visibility: hidden;
    pointer-events: none;
}

/* Hover and Active States */
.sticky-resume-button:hover,
.sticky-resume-button:active {
    background-color: #FFCD5A !important; /* Gold */
    color: #143778 !important; /* Deep Blue */
    text-decoration: none !important;
}

/* Make Button Visible After Scrolling */
.sticky-resume-button.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .sticky-resume-button {
        bottom: 100px !important; /* Ensures space from other buttons */
        left: 10px !important;
        padding: 10px 18px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .sticky-resume-button {
        bottom: 120px !important;
        left: 8px !important;
        padding: 8px 16px !important;
        font-size: 13px !important;
        border-radius: 40px !important;
    }
}
/* Default button styling */
.sticky-resume-button
 { /* Add more classes if needed */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out !important;
}

/* Hover effect for desktops */
@media (hover: hover) {
    .sticky-resume-button:hover {
        background-color: #FFCD5A !important; /* Gold */
        color: #143778 !important; /* Deep Blue */
    }
}



