/*
Theme Name: Small Actions Studio
Theme URI: 
Author: James Lau
Author URI: 
Description: Small Actions Studio is a child theme of Twenty Twenty-Five
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: small-actions-studio
Tags: 
*/


/*
#ffffff, white
#F7EF05, yellow
#fa8900, orange (NO)
#f15a29, orange
#162273, navy blue (NO)
#0f3d6c, navy blue 
#FFFFE9, tan
#000000, black
*/


.clipped-section {
    /* height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; */
}

/* Section 1 - Diagonal cut */
.section-1 {
    /* background: #fbd445; */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    /* clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); */
    /* clip-path: polygon(0% 0, 89% 0, 100% 67%, 0 100%); */
    /* clip-path: polygon(0% 0, 100% 0, 100% 100%, 0 82%); */
}

.section-footer-angle {
    background: #0f3d6c;
    /* background: #fbd445; */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    /* clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); */
    clip-path: polygon(0% 15%, 100% 33%, 100% 100%, 0% 100%);
}

.section-slope-right {
    /* background: #6eb981; */
    /* background: #fbd445; */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    /* clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); */
    clip-path: polygon(0% 35%, 100% 0%, 100% 67%, 0% 100%);
}

/* Section 2 - Wave cut */
.section-2 {
    /* background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%); */
}

/* Section 3 - Arrow/chevron cut */
.section-3 {
    /* background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%); */
}


.single-work-header {
    color: #fff;
    padding: 3rem 0 15rem !important;
    margin-bottom: 100px;
    position: relative;
    z-index: -0;
    /* clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 70%); */
}

.single-work-body {
    z-index: 1;
    position: relative;
    /* 
     */
}

.single-work-header::after {
    bottom: -80px;
    left: -20px;
    position: absolute;
    width: calc(100% + 40px);
    z-index: 1;
    content: "";
    height: 130px;
    transform: skew(5deg, 3deg);
    background-color: #fff;
}

.single-post-header {
    background: #0f3d6c;
    /* background: #fbd445; */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    /* clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); */
    /* clip-path: polygon(0% 0, 100% 33%, 100% 100%, 0% 100%); */
    left: -20px;
    position: absolute;
    width: calc(100% + 40px);
    z-index: 1;
    content: "";
    height: 130px;
    transform: skew(-5deg, -3deg);
}











/* Spacer content to demonstrate scrolling */
/* .spacer {
    height: 100vh;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
} */

/* Container for the three columns */
.columns-container {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

/* Individual column styling */
.column-element {
    flex: 1;
    /* min-width: 280px; */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white; */
    /* padding: 30px;
    border-radius: 10px;
    text-align: center; */
    font-size: 16px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
    
    /* Initial state - hidden and positioned below */
    opacity: 0;
    transform: translateY(50px);
    
    /* Transition properties */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Active state when element is visible */
.column-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* The element that will fade in from bottom */
.fade-in-element {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white; */
    /* padding: 40px;
    border-radius: 10px; */
    text-align: center;
    font-size: 20px;
    /* margin: 40px 0; */
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */
    
    /* Initial state - hidden and positioned below */
    opacity: 0;
    transform: translateY(50px);
    
    /* Transition properties */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Active state when element is visible */
.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Additional demo elements */
.demo-card {
    /* background: #fff;
    border: 2px solid #ddd; */
    /* border-radius: 8px;
    padding: 30px;
    margin: 30px 0; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
    /* Initial state */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.demo-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the animations with delays */
.demo-card:nth-child(2) { transition-delay: 0.1s; }
.demo-card:nth-child(3) { transition-delay: 0.2s; }
.demo-card:nth-child(4) { transition-delay: 0.3s; }

/* h1 {
    text-align: center;
    color: #333;
} */




.service-container{
    position: relative;
}

.service-container figure {
    position: relative;
    z-index: 10;
}

.service-container p.floating-number {
    position: absolute;
    top: -69px;
    left: 75px;
    z-index: 5;
}









/* HOVER CARD EFFECT */

.card-section {
    margin: 0 auto;
    clip-path: polygon(0% 0%, 100% 11%, 100% 91%, 0% 99%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background: #EBE9DB;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.card:hover::before {
    opacity: 1;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.card:hover .member-photo {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .member-photo img {
    transform: scale(1.1);
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.card:hover .member-name {
    transform: translateY(-2px);
}

.member-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.member-bio {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.card:hover .member-bio {
    opacity: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .card-section {
        margin: 0 auto;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%) !important;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .card-section {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}






.btn-contact-nav {
    display: inline-block;
    background-color: #902867 !important;
    color: white;
    text-decoration: none;
    padding: 13px !important;
    border-radius: 30px!important;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-contact-nav:hover {
    background-color: #000000 !important;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-contact-navn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
