/* ==========================================================================
   takaco.U.design Portfolio CSS
   Theme Color: #217b96 (Deep Teal Blue)
   Accent Color: #e2a899 (Soft Rose / Dusty Terracotta)
   Background Color: #fcfbfa / #f5f2ed (Warm Nuance Beige)
   ========================================================================== */

/* --- Custom Properties & Design Tokens --- */
:root {
    /* Color Palette */
    --primary: #217b96;
    --primary-hover: #175d72;
    --primary-light: #e9f2f5;
    --primary-rgb: 33, 123, 150;
    
    --accent: #e2a899;
    --accent-hover: #d09485;
    --accent-light: #fbf5f3;
    
    --bg-main: #fcfbfa;
    --bg-section: #f5f2ed;
    --bg-white: #ffffff;
    
    --text-main: #2c3a3f;
    --text-muted: #5e6f76;
    --text-white: #ffffff;
    
    --border: #e2ded8;
    --border-focus: #217b96;
    
    /* Layout & Shadows */
    --shadow-sm: 0 4px 12px rgba(33, 123, 150, 0.04);
    --shadow-md: 0 12px 32px rgba(33, 123, 150, 0.08);
    --shadow-lg: 0 20px 48px rgba(33, 123, 150, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    
    /* Typography */
    --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    --font-outfit: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

/* --- Base & Reset Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    letter-spacing: 0.04em;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.font-outfit {
    font-family: var(--font-outfit);
}

.sp-only {
    display: none;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
    .section-padding {
        padding: 60px 0;
    }
}

/* --- Section Header --- */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-outfit);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* --- Scroll Animation (Fades) --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-primary .arrow {
    margin-left: 8px;
    transition: var(--transition-fast);
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Header Navigation Style
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 24px 0;
}

.site-header.scrolled {
    background-color: rgba(252, 251, 250, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(226, 222, 216, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo img {
    height: 32px;
    width: auto;
    transition: var(--transition-smooth);
}

.site-header.scrolled .site-logo img {
    height: 28px;
}

.site-nav ul {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-outfit);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Nav Toggle Button (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 1010;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-main);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        padding: 100px 40px;
        transition: var(--transition-smooth);
    }
    
    .site-nav.open {
        right: 0;
    }
    
    .site-nav ul {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    /* Hamburger Active Animation */
    .nav-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: var(--primary);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: var(--primary);
    }
}

/* ==========================================================================
   Hero Section Style
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(226, 168, 153, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(33, 123, 150, 0.08) 0%, transparent 60%);
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    mix-blend-mode: multiply;
    animation: float-shapes 20s infinite alternate ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: rgba(33, 123, 150, 0.15);
    top: 15%;
    right: 15%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background-color: rgba(226, 168, 153, 0.15);
    bottom: 20%;
    left: 15%;
    animation-delay: -5s;
}

@keyframes float-shapes {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    100% {
        transform: translateY(-50px) scale(1.1) rotate(20deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-sub {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 40px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-tagline {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
}

/* Hero Floating Flowers Decoration */
.hero-flowers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-flower {
    position: absolute;
    color: var(--accent);
    opacity: 0;
    transform: scale(0);
    animation: pop-flower 8s infinite ease-in-out;
    pointer-events: none;
}

/* Positions around the screen edges with staggered delay */
.flower-1 {
    top: 15%;
    left: 8%;
    width: 32px;
    height: 32px;
    animation-delay: 0s;
}

.flower-2 {
    top: 25%;
    right: 10%;
    width: 24px;
    height: 24px;
    animation-delay: 2s;
    color: rgba(33, 123, 150, 0.4); /* Use theme color semi-transparent */
}

.flower-3 {
    bottom: 25%;
    left: 12%;
    width: 28px;
    height: 28px;
    animation-delay: 4s;
}

.flower-4 {
    bottom: 18%;
    right: 15%;
    width: 36px;
    height: 36px;
    animation-delay: 6s;
}

.flower-5 {
    top: 45%;
    left: 5%;
    width: 20px;
    height: 20px;
    animation-delay: 1.2s;
    color: rgba(33, 123, 150, 0.3);
}

.flower-6 {
    bottom: 45%;
    right: 6%;
    width: 30px;
    height: 30px;
    animation-delay: 3.5s;
}

@keyframes pop-flower {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    15% {
        opacity: 0.55;
        transform: scale(1) rotate(15deg);
    }
    50% {
        opacity: 0.55;
        transform: scale(1) rotate(25deg) translateY(-10px);
    }
    70% {
        opacity: 0;
        transform: scale(0.7) rotate(40deg) translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(40deg);
    }
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    z-index: 10;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--primary);
    animation: scroll-line 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scroll-line {
    0% {
        top: -20px;
    }
    100% {
        top: 60px;
    }
}

/* ==========================================================================
   About Section Style
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-desc .lead-text {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
}

.about-desc p {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 222, 216, 0.4);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-desc .lead-text {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   For Instance Section Style
   ========================================================================== */
.forinstance-section {
    background-color: var(--bg-section);
}

.service-block {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.service-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    display: inline-block;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
}

.service-desc {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.service-desc-strong {
    font-weight: 500;
    color: var(--text-main);
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 30px 0;
}

.service-checklist-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 222, 216, 0.4);
}

.checklist-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary);
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .service-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Pricing Card Design */
.price-container {
    max-width: 900px;
    margin: 60px auto 0;
}

.price-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-light);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 100% 0%, rgba(226, 168, 153, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.price-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--accent);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.15em;
    box-shadow: 0 4px 10px rgba(226, 168, 153, 0.3);
}

.price-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.price-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
}

.price-val {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.3rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 300;
}

.arrow-price {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.current-price {
    font-family: var(--font-outfit);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.current-price .currency {
    font-size: 2rem;
    font-weight: 600;
    margin-right: 2px;
}

.price-val .unit {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .price-card {
        padding: 30px;
    }
    .price-badge {
        position: static;
        display: inline-block;
        margin-bottom: 20px;
    }
    .price-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .current-price {
        font-size: 2.5rem;
    }
    .current-price .currency {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   Works Section Style
   ========================================================================== */
.works-wrapper {
    margin-bottom: 80px;
}

.works-wrapper:last-child {
    margin-bottom: 0;
}

.works-sub-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-main);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.works-sub-title::before, .works-sub-title::after {
    content: '';
    width: 50px;
    height: 1px;
    background-color: var(--border);
}

/* Masonry Layout System */
.masonry-grid {
    column-count: 3;
    column-gap: 30px;
    width: 100%;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
    display: inline-block;
    width: 100%;
}

@media (max-width: 992px) {
    .masonry-grid {
        column-count: 2;
        column-gap: 20px;
    }
    .masonry-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Work Card Design */
.work-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 222, 216, 0.4);
    transition: var(--transition-smooth);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.work-img-wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-section);
}

.work-img-wrapper img {
    width: 100%;
    height: auto;
    transition: var(--transition-smooth);
}

.work-card:hover .work-img-wrapper img {
    transform: scale(1.05);
}

.work-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(252, 251, 250, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.08em;
    border: 1px solid rgba(33, 123, 150, 0.15);
}

.work-info {
    padding: 24px;
}

.work-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Sub-works (3 items Grid) */
.sub-works {
    border-top: 1px solid var(--border);
    padding-top: 60px;
}

.sub-works-intro {
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent);
    margin-top: -30px;
    margin-bottom: 40px;
    font-weight: 500;
}

.sub-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sub-work-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 222, 216, 0.4);
    transition: var(--transition-smooth);
}

.sub-work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.sub-work-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background-color: var(--bg-section);
}

.sub-work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.sub-work-card:hover .sub-work-img img {
    transform: scale(1.05);
}

.sub-work-card .sub-work-info {
    padding: 20px;
}

@media (max-width: 900px) {
    .sub-works-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .sub-work-img {
        aspect-ratio: 16/9;
    }
}

/* ==========================================================================
   Contact Section Style
   ========================================================================== */
.contact-section {
    background-color: var(--bg-main);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
}

.contact-info .lead-text {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.mail-address-box {
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px dashed var(--primary);
    display: inline-block;
    max-width: 100%;
}

.mail-address-box .label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.mail-address-box .email {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-hover);
    word-break: break-all;
}

/* Form Styling */
.contact-form-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 222, 216, 0.4);
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.form-group label .required {
    background-color: var(--accent);
    color: var(--text-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    transition: var(--transition-fast);
    background-color: var(--bg-main);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--border-focus);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(33, 123, 150, 0.1);
}

/* Checkbox Style */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    user-select: none;
    padding: 10px 14px;
    background-color: var(--bg-main);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.checkbox-label:hover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    min-width: 20px;
    min-height: 20px;
    background-color: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 4px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.checkbox-label:hover .checkbox-custom {
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Modern styling: Highlight parent label on check */
.checkbox-label:has(input[type="checkbox"]:checked) {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--text-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkbox-custom::after {
    display: block;
}

/* Submit Button Style */
.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--text-white);
    border: 1px solid var(--primary);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.btn-submit:hover {
    background-color: transparent;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-arrow {
    transition: var(--transition-fast);
}

.btn-submit:hover .btn-arrow {
    transform: translate(3px, -3px);
}

/* Form loading/disabled state */
.btn-submit:disabled {
    background-color: var(--border);
    border-color: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

.recaptcha-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

.recaptcha-disclaimer a {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-form-box {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Footer Style
   ========================================================================== */
.site-footer {
    background-color: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Thanks Page Specific Styling
   ========================================================================== */
.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background: radial-gradient(circle at 10% 20%, rgba(33, 123, 150, 0.04) 0%, transparent 40%);
}

.thanks-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(226, 222, 216, 0.4);
}

.thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    margin-bottom: 30px;
}

.thanks-box h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.thanks-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .thanks-box {
        padding: 40px 20px;
    }
    .thanks-box h1 {
        font-size: 1.8rem;
    }
}

/* Spinner Loader for Contact Form Submission Button */
.spinner {
    animation: rotate-spinner 2s linear infinite;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    flex-shrink: 0;
    display: inline-block;
}
.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash-spinner 1.5s ease-in-out infinite;
}
@keyframes rotate-spinner {
    100% {
        transform: rotate(360deg);
    }
}
@keyframes dash-spinner {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

