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

:root {
    --primary-color: #8B6B57;
    --secondary-color: #6B4E3D;
    --accent-color: #4A3426;
    --text-dark: #2C3E50;
    --text-light: #ffffff;
    --text-gray: #6C757D;
    --background-light: #ffffff;
    --background-gray: #F5F3F0;
    --border-color: #E9E6E3;
    --shadow-soft: 0 2px 10px rgba(139, 107, 87, 0.1);
    --shadow-strong: 0 4px 20px rgba(139, 107, 87, 0.15);
    --shadow-card: 0 1px 3px rgba(139, 107, 87, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-weight: 400;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: transform 1s ease-in-out;
}

.loading-screen.hidden {
    transform: translateY(-100%);
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo-image {
    height: 80px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    animation: pulse 2s infinite;
}

.loading-profile {
    margin-bottom: 2rem;
}

.loading-profile-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-strong);
    animation: float 3s ease-in-out infinite;
}

.loading-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.loading-profile-image:not([src]), 
.loading-profile-image[src=""] {
    display: none;
}

.loading-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.loading-text p {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 400;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 9999;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: transparent;
}

.nav-container {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 3rem;
    background: #F5F5F0;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(139, 107, 87, 0.2);
    border: 1px solid var(--primary-color);
}

.logo {
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.logo:hover .logo-text {
    opacity: 1;
    transform: translateX(0);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0 auto;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.75rem 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-cta-button {
    background: var(--background-gray);
    color: var(--text-dark);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 107, 87, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.nav-cta-button::after {
    content: '→';
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-left: 0.5rem;
}

.nav-cta-button:hover {
    background: #F0E6D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 107, 87, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    position: relative;
}

.hamburger:hover span {
    background: var(--accent-color);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(0, 0);
    width: 25px;
}

.hamburger.active span:nth-child(2) {
    transform: rotate(-45deg) translate(0, 0);
    width: 25px;
    margin-top: -6px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Swap order: image first (left), then content (right) */
.hero-container > .hero-image {
    order: 1;
}

.hero-container > .hero-content {
    order: 2;
}

.hero-content {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 107, 87, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 107, 87, 0.4);
}

.hero-image {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease-out 0.7s forwards;
}

.hero-image-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 50%;
    opacity: 0;
    display: none; /* Hide the background completely */
}

.hero-image-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: none;
    overflow: hidden;
    min-height: 200px;
}

.hero-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: calc(50% - 70px);
    transform: translateX(-50%);
    text-align: center;
    color: #ffffff;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--background-gray);
    position: relative;
}

/* Eliminate white space by extending background */
.about::before {
    content: '';
    position: absolute;
    top: -100vh;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-gray);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    letter-spacing: -0.5px;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.credential:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.credential i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.credential span {
    font-weight: 500;
    color: var(--text-dark);
}

.about-image-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}

.about-image-bg {
    width: 100%;
    height: 100%;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 6rem;
    box-shadow: var(--shadow-strong);
    animation: float 8s ease-in-out infinite;
    border: 1px solid var(--border-color);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--background-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--accent-color);
    color: var(--text-light);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
    font-weight: 300;
}

/* Approach Section */
.approach {
    padding: 8rem 0;
    background: var(--background-gray);
    position: relative;
    overflow: hidden;
}

.approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 107, 87, 0.05) 0%, rgba(245, 243, 240, 0.1) 100%);
    z-index: 0;
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.approach-text h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;
    position: relative;
}

.approach-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.approach-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: 400;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.approach-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method {
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.method::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.method:hover::before {
    transform: scaleX(1);
}

.method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.method-header h4 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
}

.method-accent {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.method:hover .method-accent {
    width: 60px;
}

.method p {
    color: var(--text-gray);
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    font-size: 1.1rem;
}

/* Video CTA Section */
.video-cta {
    padding: 8rem 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.video-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 52, 38, 0.8) 0%, rgba(107, 78, 61, 0.7) 50%, rgba(74, 52, 38, 0.8) 100%);
    z-index: 1;
}

.video-cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.video-cta-text {
    text-align: center;
    color: white;
    max-width: 800px;
}

/* Cursor Following Dot */
.cursor-dot {
    width: 12px;
    height: 12px;
    background: #FFD764;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

.video-cta-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    font-family: 'Georgia', serif;
}

.video-cta-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.5;
}

.video-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #F5F5F0;
    color: #2C3E50;
    padding: 1.5rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.video-cta-button:hover {
    background: #E8E8E0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-gray);
    font-weight: 300;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-gray);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-item span {
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.5;
}

.contact-form {
    background: var(--background-gray);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
    padding: 1rem 1rem 1.5rem 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 107, 87, 0.1);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 300;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--background-gray);
    padding: 0 0.5rem;
    font-weight: 500;
}

/* Always float the label above the select box */
.form-group select + label,
.form-group select ~ label {
    top: -0.5rem !important;
    left: 0.8rem !important;
    font-size: 0.8rem !important;
    color: var(--primary-color) !important;
    background: var(--background-gray) !important;
    padding: 0 0.5rem !important;
    font-weight: 500 !important;
    z-index: 1;
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: 300;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-section ul li a:hover {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes counter-rotate {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* Services Page Specific Styles */
.services-hero {
    padding: 8rem 0 4rem;
    background: #F5F5F0;
    text-align: center;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    font-family: 'Georgia', serif;
}

.services-hero-subtitle {
    font-size: 1.2rem;
    color: #6C757D;
    font-weight: 400;
    line-height: 1.6;
}

.services-detailed {
    padding: 4rem 0 0 0;
    background: #F5F5F0;
}

.services-detailed .container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    border-radius: 0;
    transform-origin: center top;
    transform: scale(1);
}

/* Stacking animation like Q Psychology - Initial state */
.service-section:nth-child(1) { 
    z-index: 6; 
    transform: scale(1);
    margin-top: 4rem;
}
.service-section:nth-child(2) { 
    z-index: 5; 
    transform: scale(1);
    margin-top: 0; 
}
.service-section:nth-child(3) { 
    z-index: 4; 
    transform: scale(1);
    margin-top: 0; 
}
.service-section:nth-child(4) { 
    z-index: 3; 
    transform: scale(1);
    margin-top: 0; 
}
.service-section:nth-child(5) { 
    z-index: 2; 
    transform: scale(1);
    margin-top: 0; 
}
.service-section:nth-child(6) { 
    z-index: 1; 
    transform: scale(1);
    margin-top: 0; 
}

.service-section-light {
    background: #F0E6D2;
    transition: all 0.6s ease;
}

.service-section-light:hover {
    background: #4A3426;
}

.service-section-dark {
    background: #F0E6D2;
    transition: all 0.6s ease;
}

.service-section-dark:hover {
    background: #4A3426;
}

.service-content {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: center;
}

.service-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.service-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-family: 'Georgia', serif;
}

.service-section-light .service-title {
    color: #2C3E50;
    transition: color 0.4s ease;
}

.service-section-light:hover .service-title {
    color: #ffffff;
}

.service-section-dark .service-title {
    color: #2C3E50;
    transition: color 0.4s ease;
}

.service-section-dark:hover .service-title {
    color: #ffffff;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 300;
    transition: color 0.4s ease;
}

.service-section-light .service-description {
    color: #2C3E50;
    transition: color 0.4s ease;
}

.service-section-light:hover .service-description {
    color: #ffffff;
}

.service-section-dark .service-description {
    color: #2C3E50;
    transition: color 0.4s ease;
}

.service-section-dark:hover .service-description {
    color: #ffffff;
}

.service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.75rem 0;
}

.service-section-light .service-learn-more {
    color: #2C3E50;
    transition: color 0.4s ease;
}

.service-section-light:hover .service-learn-more {
    color: #ffffff;
}

.service-section-dark .service-learn-more {
    color: #2C3E50;
    transition: color 0.4s ease;
}

.service-section-dark:hover .service-learn-more {
    color: #ffffff;
}

.service-learn-more:hover {
    transform: translateX(5px);
}

.service-learn-more i {
    transition: transform 0.3s ease;
}

.service-learn-more:hover i {
    transform: translateX(3px);
}

.service-image {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image.animate {
    opacity: 1;
    transform: translateX(0);
}

/* JavaScript will handle all animations dynamically */

.service-image-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image-blue {
    background: linear-gradient(135deg, #87CEEB, #B0E0E6, #E0F6FF, #F0F8FF);
    position: relative;
}

.service-image-blue::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.service-image-gold {
    background: linear-gradient(135deg, #DAA520, #F4A460, #FFD700, #FFF8DC);
    position: relative;
}

.service-image-gold::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    right: 15%;
    bottom: 15%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.service-image-purple {
    background: linear-gradient(135deg, #9370DB, #BA55D3, #DDA0DD, #E6E6FA);
    position: relative;
}

.service-image-purple::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.service-image-teal {
    background: linear-gradient(135deg, #20B2AA, #48D1CC, #7FFFD4, #F0FFFF);
    position: relative;
}

.service-image-teal::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 12%;
    right: 12%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.service-image-green {
    background: linear-gradient(135deg, #32CD32, #90EE90, #98FB98, #F0FFF0);
    position: relative;
}

.service-image-green::before {
    content: '';
    position: absolute;
    top: 18%;
    left: 18%;
    right: 18%;
    bottom: 18%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.service-image-orange {
    background: linear-gradient(135deg, #FF8C00, #FFA500, #FFB84D, #FFF8DC);
    position: relative;
}

.service-image-orange::before {
    content: '';
    position: absolute;
    top: 14%;
    left: 14%;
    right: 14%;
    bottom: 14%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.service-circle-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999 !important;
    opacity: 1 !important;
    display: block !important;
}

/* Contact Page Styles */
.contact-page {
    min-height: 100vh;
    background: #F5F5F0;
    padding: 8rem 0 4rem;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 2rem;
}

/* Left Section - Contact Information */
.contact-info-section {
    background: #F5F5F0;
    padding: 3rem 2rem;
    position: relative;
}

.contact-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #4A3426;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.contact-decorative-dot {
    width: 12px;
    height: 12px;
    background: #FFA500;
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.contact-divider {
    height: 2px;
    background: #4A3426;
    margin: 2rem 0;
    width: 100%;
}

.contact-intro-text {
    font-size: 1.1rem;
    color: #2C3E50;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.contact-details {
    margin: 2rem 0;
}

.contact-detail-item {
    font-size: 1rem;
    color: #2C3E50;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-detail-item strong {
    font-weight: 600;
    color: #2C3E50;
}

/* Right Section - Contact Form */
.contact-form-section {
    background: #FFF8DC;
    padding: 3rem 2rem;
    border-radius: 8px;
}

.contact-form-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.contact-form-intro {
    font-size: 1rem;
    color: #2C3E50;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 400;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field {
    position: relative;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid #2C3E50;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #2C3E50;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-bottom-color: #4A3426;
    border-bottom-width: 2px;
}

.form-field label {
    position: absolute;
    top: 0.75rem;
    left: 0;
    color: #2C3E50;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}

.form-field input:focus + label,
.form-field input:valid + label,
.form-field textarea:focus + label,
.form-field textarea:valid + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: #4A3426;
    font-weight: 500;
}

.contact-submit-btn {
    background: #FFF8DC;
    color: #2C3E50;
    border: 1px solid #4A3426;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-submit-btn:hover {
    background: #4A3426;
    color: #FFF8DC;
    transform: translateY(-2px);
}

.required-fields-note {
    font-size: 0.8rem;
    color: #2C3E50;
    text-align: right;
    margin-top: 1rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

.services-cta {
    padding: 6rem 0;
    background: var(--background-gray);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 400;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1.25rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(139, 107, 87, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button-large:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 107, 87, 0.4);
}

/* Active navigation link */
.nav-links li a.active {
    color: var(--primary-color);
}

.nav-links li a.active::after {
    width: 100%;
}

/* Small Desktop Screens (MacBook Pro 13.3" and similar) */
@media (min-width: 769px) and (max-width: 1440px) {
    .nav-container {
        padding: 0.75rem 3rem;
        border-radius: 40px;
        margin: 0 4rem;
        max-width: calc(100vw - 8rem);
    }
    
    .logo-image {
        height: 45px;
        max-width: 180px;
    }
    
    .nav-links {
        gap: 1.8rem;
    }
    
    .nav-links li a {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .nav-cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-cta-button::after {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        opacity: 0;
        visibility: hidden;
        z-index: 999;
        min-height: 100vh;
        box-sizing: border-box;
        width: 100vw;
        overflow-x: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    .nav-links li a {
        font-size: 1.3rem;
        font-weight: 500;
        padding: 0.75rem 0;
        border-bottom: 2px solid transparent;
        transition: all 0.3s ease;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-align: center;
        width: 100%;
        display: block;
    }

    .nav-links li a:hover {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        transform: scale(1.02);
    }
    
    .nav-links ul {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 300px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-scroll {
        left: 0%;
        text-align: center;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-image-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-image-content {
        width: 300px;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Instagram Embed Tablet/Mobile Optimization */
    .instagram-embed iframe {
        width: 100% !important;
        max-width: 350px;
        height: 420px;
        margin: 0 auto;
    }
    
    .instagram-embed {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
    }

    .about-image-container {
        width: 250px;
        height: 250px;
    }

    .about-image-bg {
        font-size: 4rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .approach-text h3 {
        font-size: 2rem;
    }

    .approach-intro {
        font-size: 1.1rem;
    }

    .circle-item {
        width: 60px;
        height: 60px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Video CTA Mobile Styles */
    .video-cta {
        padding: 4rem 0;
        min-height: 100vh;
    }

    .video-cta-content {
        text-align: center;
    }

    .video-cta-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .video-cta-subtitle {
        font-size: 1.1rem;
    }

    .video-cta-button {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .container {
        padding: 0 1rem;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .nav-container {
        padding: 1.5rem 1rem;
        border-radius: 30px;
        margin: 0 0.5rem;
        max-width: calc(100vw - 1rem);
        box-sizing: border-box;
    }
    
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    .logo-text {
        display: none;
    }
    
    .nav-cta-button {
        display: none;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
        width: 100vw;
    }
    
    .nav-links {
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-links li a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-image-container {
        width: 250px;
        height: 250px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-image-content {
        width: 200px;
        height: 200px;
    }

    .about-image-container {
        width: 200px;
        height: 200px;
    }

    .about-image-bg {
        font-size: 3rem;
    }
    
    /* Instagram Embed Mobile Optimization */
    .instagram-embed iframe {
        width: 100% !important;
        max-width: 320px;
        height: 380px;
        margin: 0 auto;
    }
    
    .instagram-embed {
        margin-top: 1.5rem;
        padding: 0 1rem;
    }

    .approach-circle {
        width: 200px;
        height: 200px;
    }

    .circle-item {
        width: 50px;
        height: 50px;
    }

    .circle-item i {
        font-size: 1.2rem;
    }

    .circle-item span {
        font-size: 0.7rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
    
    .nav-container {
        padding: 0.75rem 0.75rem;
        border-radius: 25px;
        margin: 0 0.5rem;
    }
    
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    .logo-text {
        display: none;
    }

    /* Services Page Mobile Styles */
    .services-hero-title {
        font-size: 2.5rem;
    }

    .services-hero-subtitle {
        font-size: 1rem;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        max-width: 100%;
        padding: 0 1rem;
    }

    .service-title {
        font-size: 2rem;
    }

    .service-image-circle {
        width: 300px;
        height: 300px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-button-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Contact Page Mobile Styles */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-info-section,
    .contact-form-section {
        padding: 2rem 1rem;
    }

    .contact-main-title {
        font-size: 2.5rem;
    }

    .contact-form-title {
        font-size: 1.5rem;
    }

    /* Services mobile container override */
    .services-detailed .container {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* iPhone 12 Pro specific styles */
@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
    .hero-scroll {
        bottom: 0.5rem;
    }
}