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

:root {
    --primary-color: #2d5016;
    --secondary-color: #4a7c59;
    --accent-color: #7cb342;
    --light-green: #e8f5e8;
    --sage-green: #9caf88;
    --earth-tone: #6d4c41;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #666666;
    --background: #fafafa;
    --white: #ffffff;
    --shadow-light: 0 2px 10px rgba(45, 80, 22, 0.08);
    --shadow-medium: 0 4px 20px rgba(45, 80, 22, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Price Banner */
.price-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    z-index: 9999;
    font-weight: 500;
    font-size: 0.95rem;
    transform: translateY(0);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-light);
    padding: 8px 20px;
}

.price-banner.show {
    transform: translateY(0);
}

.price-banner-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 15px;
}

.price-text {
    font-size: 0.9rem;
    display: inline-block;
    animation: fadeInSlide 0.8s ease-out forwards;
}

.price-banner strong {
    font-weight: 700;
    font-size: 1.1rem;
}

.price-banner-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.banner-btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.banner-btn-primary:hover {
    background: var(--light-green);
    transform: translateY(-1px);
}

.banner-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.banner-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .price-banner-content {
        justify-content: center;
        text-align: center;
    }
    
    .price-banner {
        padding: 6px 16px;
    }
    
    .price-text {
        width: 100%;
        margin-bottom: 0;
    }

    .price-banner-buttons {
        display: none;
    }
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    height: 72px;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    z-index: 9998;
    transition: var(--transition);
    transform: translateZ(0);
    will-change: transform;
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
    box-sizing: border-box;
}

.nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    padding-left: 0;
}

.nav-brand a {
    display: flex;
    align-items: baseline;
    text-decoration: none;
}

.nav-brand img {
    height: 32px;
    width: auto;
    display: block;
}

.nav-brand span {
    margin-left: 8px;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    vertical-align: baseline;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 48px;
    list-style: none;
    padding: 0;
}

.nav-menu a {
    font-size: 16px;
    color: var(--text-medium);
    font-weight: 400;
    text-decoration: none;
    padding: 0 2px;
    position: relative;
    transition: color 0.2s;
}

.nav-menu a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-menu a.active {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu a.active::after {
    transform: scaleX(1);
}

/* Special highlight for zodiac nav item */
.nav-menu .nav-item a[href="#zodiac"] {
    background: linear-gradient(135deg, var(--light-green), var(--background));
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.1);
}

.nav-menu .nav-item a[href="#zodiac"]:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.15);
}

.nav-menu .nav-item a[href="#zodiac"]::after {
    display: none;
}

.hamburger {
    margin-left: auto;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 28px;
    background: var(--primary-color);
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.desktop-phone-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-left: 24px;
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.desktop-phone-contact:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-phone-contact {
        display: none;
    }
    .mobile-only {
        display: block;
    }
}

@media (max-width: 1200px) {
    .header-inner {
        max-width: 1000px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        max-width: 95vw;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 72px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .nav {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }
    .nav-menu {
        display: flex;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100vw;
        min-height: 220px;
        max-height: calc(100vh - 72px);
        background: #fff;
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        box-shadow: 0 4px 24px rgba(0,0,0,0.08);
        z-index: 4000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
        overflow-y: auto;
    }
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        z-index: 4001;
    }
    .nav-menu li {
        width: 100%;
        text-align: left;
        padding: 16px 24px;
        border-bottom: 1px solid #eee;
    }
    .nav-menu a {
        font-size: 18px;
        padding: 0;
    }
    .hamburger {
        display: flex;
        z-index: 1001;
        position: relative;
        background: transparent;
    }
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 110%;
    height: 110%;
    object-fit: cover;
    object-position: center;
    animation: heroImageMove 20s ease-in-out infinite;
}

@keyframes heroImageMove {
    0% {
        transform: scale(1.1) translateX(0) translateY(0);
    }
    25% {
        transform: scale(1.12) translateX(-1%) translateY(-0.5%);
    }
    50% {
        transform: scale(1.13) translateX(-1.5%) translateY(1%);
    }
    75% {
        transform: scale(1.12) translateX(1%) translateY(-0.5%);
    }
    100% {
        transform: scale(1.1) translateX(0) translateY(0);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    word-wrap: normal;
    overflow-wrap: normal;
    word-break: keep-all;
    hyphens: none;
    max-width: 100%;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

/* Zodiac Matcher Styles */
/* Zodiac Section Styles */
.zodiac-section {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--background) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.zodiac-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><path d="M45,-51.5C59.2,-42.5,72.2,-29.4,76.1,-13.5C80,2.4,74.8,21.2,64.4,35.6C54,50,38.4,60.1,21.2,65.6C4,71.1,-14.8,72,-31.7,65.9C-48.6,59.8,-63.5,46.7,-71.6,29.4C-79.7,12.1,-81,-9.4,-73.7,-27.2C-66.4,-45,-50.5,-59.1,-33.8,-67C-17.1,-74.9,0.4,-76.6,15.6,-71.1C30.8,-65.6,43.8,-53,45,-51.5Z" fill="%234a7c59" fill-opacity="0.05"/></svg>') center/cover;
    opacity: 0.5;
    z-index: 0;
}

.zodiac-matcher-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.zodiac-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.zodiac-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.zodiac-matcher {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    text-align: center;
}

.zodiac-selector {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.zodiac-select {
    flex: 1;
    max-width: 400px;
    padding: 1rem;
    border: 2px solid var(--light-green);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.zodiac-select:hover {
    border-color: var(--accent-color);
}

.generate-btn {
    position: relative;
    min-width: 120px;
    padding: 1rem 1.5rem;
}

.generate-btn .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.generate-btn .loader i {
    animation: growAndRotate 1.5s infinite ease-in-out;
}

@keyframes growAndRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.flower-result {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.flower-result.show {
    opacity: 1;
    transform: translateY(0);
}

.zodiac-matcher h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.zodiac-matcher h3 i {
    color: var(--accent-color);
}

.zodiac-matcher > p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.zodiac-selector {
    margin-bottom: 1.5rem;
}

.zodiac-select {
    width: 100%;
    max-width: 300px;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-green);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.zodiac-select:hover {
    border-color: var(--accent-color);
}

.zodiac-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.flower-result {
    animation: fadeIn 0.5s ease-out;
}

.flower-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    margin-top: 1rem;
}

.flower-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.flower-name {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.flower-description {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.personality-traits {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.planting-tips {
    background: var(--light-green);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.planting-tips h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.tips-content {
    color: var(--text-medium);
    font-size: 0.85rem;
    line-height: 1.4;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}


/* Sections */
section {
    padding: 6rem 0;
}

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

/* Zodiac Section */
.zodiac-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.zodiac-matcher-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.zodiac-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

.zodiac-selector {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.zodiac-select {
    padding: 12px 20px;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: 300px;
    background-color: white;
    cursor: pointer;
}

.generate-btn {
    position: relative;
    min-width: 120px;
}

.generate-btn .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader i {
    animation: grow-rotate 1.5s infinite;
}

@keyframes grow-rotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.2) rotate(180deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.flower-result {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.flower-result.show {
    opacity: 1;
    transform: translateY(0);
}

.flower-card {
    background-color: white;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.flower-icon {
    margin-bottom: 24px;
    width: 100%;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
}

.flower-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flower-name {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.flower-description {
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 1.15rem;
}

.personality-traits {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 16px 24px;
    background: var(--light-green);
    border-radius: 8px;
}

.planting-tips {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.planting-tips h5 {
    color: #4CAF50;
    margin-bottom: 10px;
}

.tips-content {
    color: #666;
    line-height: 1.6;
}

/* Zodiac Section */
.zodiac-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
}

.zodiac-matcher-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.zodiac-intro {
    margin-bottom: 40px;
}

.zodiac-description {
    font-size: 1.1em;
    color: var(--text-color);
    margin: 0 auto;
    max-width: 600px;
}

.zodiac-selector {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.zodiac-select {
    padding: 12px 20px;
    font-size: 1em;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    width: 300px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.zodiac-select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.generate-btn {
    position: relative;
    min-width: 120px;
    height: 48px;
}

.generate-btn .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader i {
    animation: spinGrow 1.5s infinite;
}

.flower-result {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.flower-result.show {
    opacity: 1;
    transform: translateY(0);
}

.flower-card {
    background-color: white;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.flower-icon {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.flower-icon:hover {
    transform: scale(1.02);
}

.flower-name {
    font-size: 1.5em;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.flower-description {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.personality-traits {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 25px;
}

.planting-tips {
    margin-top: 32px;
    padding: 24px;
    border-radius: 8px;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--light-green);
}

.planting-tips h5 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.tips-content {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.expert-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.expert-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.expert-avatar img {
    width: 24px;
    height: auto;
    filter: brightness(0) invert(1);
}

.expert-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.expert-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85em;
}

.expert-verify {
    color: #4CAF50;
    font-size: 0.9em;
}

.zodiac-cta {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.zodiac-cta h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: white;
}

.zodiac-cta p {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.zodiac-cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.zodiac-cta .btn-primary:hover {
    background-color: var(--light-gray);
}

.zodiac-cta .btn-secondary {
    border: 2px solid white;
    color: white;
}

.zodiac-cta .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

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

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--light-green);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--light-green);
}

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

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

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Academic Projects */
.academic-projects {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--light-green);
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.subsection-description {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.academic-projects .project-item {
    margin-bottom: 3rem;
}

.academic-projects .project-item:last-child {
    margin-bottom: 0;
}

/* Portfolio Section */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--sage-green);
    color: var(--text-medium);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

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

.portfolio-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--light-green);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.portfolio-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.portfolio-image .image-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--sage-green), var(--accent-color));
    color: var(--white);
    font-size: 1.1rem;
    border-radius: 0;
}

.portfolio-info {
    padding: 1.5rem;
    background: var(--white);
}

.portfolio-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.portfolio-info p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Projects Section */
.projects {
    background: var(--white);
    padding: 6rem 0;
}

.projects-gallery {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.project-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--light-green);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.project-image {
    height: 350px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--light-green);
}

.project-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image.loading::before {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.project-image img.loaded {
    opacity: 1;
}

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

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    height: 350px;
    background: var(--light-green);
}

.slideshow-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 1;
}

.slideshow-container.loaded::before {
    display: none;
}

.slideshow-images {
    height: 100%;
    position: relative;
}

.slideshow-images .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.slideshow-images .slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-color);
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
}

.slideshow-container:hover .slideshow-nav {
    opacity: 1;
    pointer-events: auto;
}

.slideshow-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: var(--accent-color);
}

.slideshow-nav.prev {
    left: 15px;
}

.slideshow-nav.next {
    right: 15px;
}

.slideshow-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slideshow-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slideshow-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.15);
}

.slideshow-indicators .indicator.active {
    background: var(--white);
    transform: scale(1.2);
    border-color: var(--accent-color);
}

.slideshow-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10;
}

.project-gallery-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-green);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 1rem;
}

.project-image-slider {
    height: 350px;
    position: relative;
    overflow: hidden;
    background: var(--background);
    border-radius: 12px 12px 0 0;
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 400%;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.slider-images img {
    width: 25%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0,0,0);
    -webkit-transform: translate3d(0,0,0);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.slider-nav button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.slider-nav button:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--white);
    transform: scale(1.2);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-location {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 968px) {
    .project-item {
        grid-template-columns: 1fr;
    }

    .project-image,
    .project-image-slider,
    .slideshow-container {
        height: 300px;
    }
    
    .slideshow-nav {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        opacity: 0.9;
        pointer-events: auto;
    }
    
    .slideshow-nav.prev {
        left: 10px;
    }
    
    .slideshow-nav.next {
        right: 10px;
    }
    
    .slideshow-counter {
        font-size: 0.75rem;
        padding: 4px 10px;
        top: 10px;
        right: 10px;
    }
    
    .slideshow-indicators {
        bottom: 15px;
        gap: 6px;
    }
    
    .slideshow-indicators .indicator {
        width: 8px;
        height: 8px;
    }
}

/* About Section */
.about {
    background: var(--light-green);
    padding: 6rem 0;
}

/* Timeline Styles */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.section-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

/* Education Styles */
.education-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 2px solid var(--light-green);
    height: 100%;
    width: 100%;
}

.education-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.education-list li:last-child {
    margin-bottom: 0;
}

.education-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
}

.education-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 20px;
    width: 2px;
    height: calc(100% + 10px);
    background: var(--light-green);
}

.education-list li:last-child::after {
    display: none;
}

.education-date {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.education-details h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.education-details p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.education-list li.completed .fa-check-circle {
    color: var(--accent-color);
    font-size: 1rem;
}

.education-list li.in-progress .fa-clock {
    color: var(--primary-color);
    font-size: 1rem;
    display: inline-block;
    margin-left: 5px;
}

@keyframes rotate-clock {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Experience Styles */
.experience-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    border: 2px solid var(--accent-color);
    height: 100%;
    width: 100%;
}

.experience-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.experience-list li:last-child {
    margin-bottom: 0;
}

.experience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
}

.experience-list li.current::before {
    background: var(--text-dark);
}

.experience-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 20px;
    width: 2px;
    height: calc(100% + 10px);
    background: var(--accent-color);
    opacity: 0.3;
}

.experience-list li:last-child::after {
    display: none;
}

.timeline-item.education .timeline-content {
    border-color: var(--primary-color);
    background: linear-gradient(to right, var(--light-green), var(--white));
}

.timeline-item.experience .timeline-content {
    border-color: var(--accent-color);
    background: linear-gradient(to right, rgba(124, 179, 66, 0.1), var(--white));
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 3px solid;
    background: var(--white);
    box-shadow: 0 0 0 3px var(--white);
}

.timeline-item.education .timeline-content::before {
    border-color: var(--primary-color);
    background: var(--light-green);
}

.timeline-item.experience .timeline-content::before {
    border-color: var(--accent-color);
    background: rgba(124, 179, 66, 0.2);
}

.experience-date {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.experience-details h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.experience-details p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .education-section,
    .experience-section {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

.architect-info {
    text-align: center;
    margin-bottom: 3rem;
}

.architect-name {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.architect-title {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 2rem;
    }
    
    .timeline-content {
        width: calc(100% - 2rem);
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -2.5rem;
    }
}

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

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--white); 
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    min-width: 100px;
}

.stat h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat h3.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat p {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.85rem;
    margin: 0;
}

.about-image .image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Tools Section */
.tools-section {
    background: var(--light-green);
    padding: 4rem 0;
}

.section-description {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.tool-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--light-green);
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.tool-name {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tool-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    width: 100%;
    text-align: center;
}

.contact {
    background: var(--white);
    padding: 6rem 0;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item {
    margin-bottom: 1rem;
    color: var(--text-medium);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-green);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--sage-green);
    color: var(--white);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-item:hover i {
    color: var(--white);
}

.contact-form {
    background: var(--background);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--light-green);
}

.contact-form-container {
    background: var(--background);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--light-green);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-email-btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    min-width: 280px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.contact-email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.contact-email-btn i {
    font-size: 1.2rem;
}

.contact-button-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-green);
    text-align: center;
}

.contact-button-section .contact-email-btn {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    min-width: 320px;
    font-weight: 700;
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    position: relative;
    overflow: hidden;
}

.contact-button-section .contact-email-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.contact-button-section .contact-email-btn:hover::before {
    left: 100%;
}

.contact-button-section .contact-email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(45, 80, 22, 0.4);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-separator {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0.2rem;
    text-align: center;
}

.form-group {
    flex: 1;
}

.phone-group {
    position: relative;
}

.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--sage-green);
    border-radius: 8px;
    transition: var(--transition);
    width: 100%;
}

.phone-input-wrapper:focus-within {
    border-color: var(--accent-color);
}

.phone-prefix {
    padding: 12px 12px 12px 16px;
    color: var(--text-dark);
    font-size: 1rem;
    border-right: 1px solid var(--sage-green);
    background: var(--light-green);
    border-radius: 8px 0 0 8px;
}

.phone-input-wrapper input[type="tel"] {
    border: none;
    border-radius: 0 8px 8px 0;
    padding-left: 12px;
}

.phone-input-wrapper input[type="tel"]:focus {
    outline: none;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--sage-green);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    padding: 0;
    align-items: center;
    justify-content: center;
}

.phone-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    margin: 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.phone-modal-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.phone-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    padding: 2rem;
    margin: 1.5rem -1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--light-green);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.phone-number:hover {
    background: var(--sage-green);
    color: var(--white);
    transform: translateY(-2px);
}

.phone-number i {
    color: var(--accent-color);
    font-size: 2rem;
}

.phone-number:hover i {
    color: var(--white);
}

.phone-note {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-green);
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoom 0.3s ease;
}

@media (max-width: 768px) {
    .modal {
        padding: 0;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
    }
    
    .modal[style*="display: block"] {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    #imageModal {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #imageModal .modal-content {
        position: relative;
        margin: 0;
        width: 90%;
        height: auto;
        max-height: 80vh;
        object-fit: contain;
    }

    #modalCaption {
        position: fixed;
        bottom: 20px;
        left: 0;
        width: 100%;
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.7);
        margin: 0;
    }
}

@keyframes zoom {
    from {transform:scale(0.95); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

.modal-close {
    position: fixed;
    right: 20px;
    top: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    line-height: 1;
}

@media (max-width: 768px) {
    .modal-close {
        right: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.7);
        padding-bottom: 4px;
    }

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #imageModal {
        touch-action: none;
        -webkit-overflow-scrolling: touch;
    }

    #imageModal .modal-content {
        touch-action: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

@media (max-width: 768px) {
    .modal-close {
        right: 10px;
        top: 10px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }
}

.modal-close:hover,
.modal-close:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    margin-top: 20px;
}

.project-image {
    cursor: pointer;
}

.project-image img:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    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;
    color: var(--white);
    font-weight: 600;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

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

.social-links a {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 10000;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 24px rgba(0,0,0,0.08);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-top: 3px solid var(--accent-color);
        z-index: 9998;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        margin: 0.5rem 0;
        padding: 1rem 2rem;
        border-radius: 15px;
        text-align: center;
    }

    .nav-menu .mobile-phone-contact {
        background: var(--primary-color);
        color: var(--white);
        margin-top: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-menu .mobile-phone-contact i {
        font-size: 1.1rem;
    }
    
    .hero {
        min-height: 80vh;
    }

    .hero-container {
        padding: 0 1rem;
        justify-content: center;
        text-align: center;
    }

    .hero-content-card {
        padding: 1.5rem;
        max-width: 90%;
        margin-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -ms-word-break: break-word;
        word-break: break-word;
        hyphens: auto;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 250px;
        text-align: center;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat {
        min-width: 150px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 1300px) {
  .header-inner {
    max-width: 1000px;
    padding: 1rem 1rem;
  }
}

@media (max-width: 900px) {
  .header-inner {
    max-width: 95vw;
    padding: 1rem 0.5rem;
  }
}

@media (max-width: 600px) {
  .header-inner {
    max-width: 100vw;
    padding: 1rem 0.2rem;
  }
}

/* Questionnaire Styles */
.questionnaire-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background) 0%, var(--light-green) 100%);
    padding: 120px 2rem 4rem;
}

.progress-container {
    max-width: 700px;
    margin: 0 auto 1rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(45, 80, 22, 0.15);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 4px;
    width: 12.5%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .questionnaire-container {
        padding-top: 100px;
        padding-bottom: calc(4rem + 160px);
    }
    .question-container {
        margin-top: 2rem !important;
        padding: 0 0.5rem;
    }
    .progress-bar, .progress-container {
        display: none;
    }
    .question-card {
        position: relative;
        padding: 2.5rem 1.25rem 1.5rem;
        border-radius: 16px;
    }
    .question-card .progress-text {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 0.95rem;
        color: var(--primary-color);
        font-weight: 700;
        background: var(--white);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        display: inline-block;
        white-space: nowrap;
        border: 1px solid var(--light-green);
        box-shadow: var(--shadow-light);
    }
    
    .question-header h2 {
        font-size: 1.5rem;
        line-height: 1.25;
        margin-bottom: 0.5rem;
        padding: 0 5px;
    }
    
    .question-header p {
        font-size: 0.9rem;
        line-height: 1.4;
        padding: 0 5px;
    }
}

.progress-encouragement {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.progress-encouragement.show {
    opacity: 1;
    transform: translateY(0);
}

.question-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Allow results page to be wider for package options */
.question-container:has(#results-page.active) {
    max-width: 1400px;
}

@supports not (selector(:has(*))) {
    /* Fallback for browsers that don't support :has() */
    .question-container {
        max-width: 1400px;
    }
    
    .question-card:not(#results-page) {
        max-width: 800px;
        margin: 0 auto;
    }
}

.question-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--light-green);
    display: none;
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .question-card {
        padding-top: 3.5rem;
    }
}

.question-card.active {
    display: block;
}

/* Results page specific styling for wider layout */
#results-page {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

#results-page .price-estimate {
    max-width: none;
    width: 100%;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.question-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.question-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

.question-header h2 {
    color: var(--primary-color);
    font-size: 2.0rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    padding: 0 10px;
    white-space: normal;
}

.question-header p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 550px;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    /* Keep style options in single column */
    .style-options {
        grid-template-columns: 1fr;
    }
    
    .option-card {
        border-width: 1.5px;
    }
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
}

.option-card {
    background: var(--background);
    border: 2px solid var(--light-green);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .option-card {
        min-height: 85px;
        padding: 0.65rem 0.4rem;
        font-size: 0.85rem;
    }

    .option-card i {
        font-size: 1.2rem;
        margin-bottom: 0.35rem;
    }

    .option-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.15rem;
        line-height: 1.2;
    }

    .option-card p {
        font-size: 0.7rem;
        line-height: 1.15;
    }
    
    .option-card::before {
        width: 20px;
        height: 20px;
        font-size: 1rem;
        top: 8px;
        left: 8px;
    }
}

@media (max-width: 768px) {
    .option-card {
        min-height: 90px;
        padding: 0.75rem 0.5rem;
    }
}

/* Base styles for option cards */
.option-card::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--sage-green);
    font-size: 1.2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    background: var(--white);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* Multi-select checkboxes */
.multi-select .option-card::before {
    content: '\f0c8';  /* Checkbox outline */
    border-radius: 4px;
}

.multi-select .option-card.selected::before {
    content: '\f14a';  /* Checked checkbox */
    font-weight: 900;
    color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.15);
}

/* Single-select radio buttons */
.options-grid:not(.multi-select) .option-card::before,
.style-card::before {
    content: '\f111';  /* Radio button outline */
    border-radius: 50%;
}

.options-grid:not(.multi-select) .option-card.selected::before,
.style-card.selected::before {
    content: '\f192';  /* Checked radio button */
    font-weight: 900;
    color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.15);
}

.option-card:hover::before {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(45, 80, 22, 0.1);
}

.option-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.2);
    background: var(--white);
}

.option-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--light-green), rgba(124, 179, 66, 0.1));
    transform: translateY(-2px);
}

.option-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: block;
    transition: all 0.3s ease;
}

.option-card:hover i {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.option-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.option-card p {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
}

.multi-select .option-card {
    background: var(--white);
}

.multi-select .option-card.selected {
    background: linear-gradient(135deg, var(--light-green), rgba(124, 179, 66, 0.2));
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.multi-select .option-card.selected h3,
.multi-select .option-card.selected p {
    color: var(--primary-color);
}

.multi-select .option-card.selected i {
    color: var(--secondary-color);
}

/* Compact Options for More Cards */
.compact-options {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .compact-options {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
    }
    
    .compact-options .option-card {
        padding: 0.5rem 0.3rem;
        min-height: 75px;
    }

    .compact-options .option-card i {
        font-size: 1.15rem;
        margin-bottom: 0.3rem;
    }

    .compact-options .option-card h3 {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .compact-options .option-card p {
        font-size: 0.7rem;
        display: none;
    }
}

.compact-options .option-card {
    padding: 0.75rem 0.5rem;
    min-height: 80px;
}

.compact-options .option-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.compact-options .option-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.compact-options .option-card p {
    display: none; /* Hide descriptions in compact mode */
}

/* Text input for 'other' options */
.other-input {
    margin-top: 0.5rem !important;
    padding: 0.5rem !important;
    border: 1px solid var(--light-green) !important;
    border-radius: 4px !important;
    width: 100% !important;
    font-size: 0.85rem !important;
    color: var(--text-dark) !important;
    background: var(--white) !important;
    transition: border-color 0.3s ease !important;
}

.other-input:focus {
    outline: none !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 2px rgba(124, 179, 66, 0.2) !important;
}

.other-input::placeholder {
    color: var(--text-light) !important;
}

/* Style Selection Cards with Images */
.style-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.style-card {
    background: var(--white);
    border: 2px solid var(--light-green);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: auto;
    display: block;
    padding: 0;
}

.style-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(124, 179, 66, 0.2);
}

.style-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
    transform: translateY(-2px);
}

.style-card.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

/* Removed circle animation */

.style-image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.style-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.style-card:hover .style-image img {
    transform: scale(1.05);
}

.style-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-green), rgba(124, 179, 66, 0.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
}

.style-image .image-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

.style-content {
    padding: 1.25rem;
    text-align: center;
}

.style-content h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.style-content p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive adjustments for style cards */
@media (max-width: 768px) {
    .style-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .option-card::before {
        font-size: 1.2rem;
        top: 10px;
        left: 10px;
        width: 24px;
        height: 24px;
    }
    
    .style-image {
        height: 160px;
    }
    
    .style-image .image-placeholder {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .style-image .image-placeholder i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .style-content {
        padding: 1rem;
    }

    .style-content h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .style-content p {
        font-size: 0.85rem;
        line-height: 1.35;
    }
}

@media (max-width: 480px) {
    .style-options {
        grid-template-columns: 1fr;
    }
    
    .style-image {
        height: 140px;
    }
}

.navigation-buttons {
    position: sticky;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    max-width: 900px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1.2rem;
    z-index: 100;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Style for navigation buttons except on results page */
.question-card:not(#results-page) ~ .navigation-buttons {
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(232, 245, 232, 0.4);
}

.navigation-buttons.has-back {
    justify-content: space-between;
}

.navigation-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: auto;
    min-width: 120px;
    justify-content: center;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.btn-skip {
    background: transparent !important;
    color: var(--text-medium) !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem;
    font-weight: normal;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.btn-skip:hover {
    opacity: 1;
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .navigation-buttons {
        flex-direction: column-reverse;
        gap: 0.75rem;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid var(--light-green);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        padding: 0.85rem 1rem;
        border-radius: 16px 16px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        z-index: 1000;
    }
    
    .options-grid {
        margin-bottom: 1rem;
        padding-bottom: 6rem;
    }
    
    .question-card {
        margin-bottom: 0;
    }
    
    .btn-skip {
        order: -1;
        font-size: 0.9rem;
        padding: 0.65rem !important;
    }
    
    .navigation-buttons .btn {
        width: 100%;
        padding: 0.95rem 1rem;
        margin: 0;
        font-size: 1rem;
        font-weight: 600;
    }
    
    .navigation-buttons .btn i {
        font-size: 1.1rem;
    }
}

/* Results Page */
.results-container {
    text-align: center;
}

.results-header {
    margin-bottom: 3rem;
}

.results-header i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.results-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}



/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.modal-subheading {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.modal-message {
    background: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.response-time {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.response-time i {
    color: var(--accent-color);
}

.value-prop {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-note {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #000;
}

.contact-modal-form {
    margin-top: 1rem;
}

.contact-modal-form .form-group {
    margin-bottom: 1rem;
}

.contact-modal-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-modal-form button {
    width: 100%;
    margin-top: 1rem;
}

/* Success Message Styles */
.contact-success {
    text-align: center;
    padding: 2rem;
}

.contact-success i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.contact-success h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-success p {
    color: #666;
}

/* Price Estimate Styling */
.price-estimate {
    background: linear-gradient(135deg, var(--light-green), rgba(124, 179, 66, 0.1)) !important;
    border: none;
    border-radius: 24px !important;
    padding: 4rem 2rem !important;
    margin: 4rem auto !important;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}

.price-estimate h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
    font-weight: 700;
}

@media (max-width: 768px) {
    .price-estimate {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

.price-icon {
    background: var(--accent-color);
    color: var(--white) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.price-estimate h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-estimate h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.packages-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    align-items: stretch;
}

@media (max-width: 1400px) {
    .packages-container {
        max-width: 1140px;
        padding: 0 24px;
    }
}

@media (max-width: 1200px) {
    .packages-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
        padding: 0 20px;
    }
    
    .package-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .packages-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        overflow-x: visible;
        scroll-snap-type: none;
        -webkit-overflow-scrolling: auto;
        margin: 0;
        align-items: center;
        height: auto;
        max-height: none;
    }

    .package-features {
        min-height: auto;
        padding: 16px 20px;
    }

    .package-features .feature {
        font-size: 0.9rem;
        margin: 6px 0;
    }
    
    .package-card {
        min-height: auto;
        height: auto;
        margin: 0;
        flex: none;
        scroll-snap-align: none;
        width: 100%;
        max-width: 400px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        overflow: visible;
        max-height: none;
    }

    .package-card:first-child {
        margin-left: 0;
    }

    .package-card:last-child {
        margin-right: 0;
    }

    .package-header {
        padding: 20px 20px 16px 20px;
        flex-shrink: 0;
        text-align: center;
    }

    .package-header h3,
    .package-header h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .package-header .price,
    .package-price {
        font-size: 1.6rem;
        margin-top: 8px;
    }

    .package-features {
        flex: none;
        padding: 12px 20px;
        display: block;
        overflow: visible;
        max-height: none;
        min-height: auto;
    }

    .package-features .feature {
        font-size: 0.9rem;
        padding-left: 20px;
        margin: 5px 0;
        line-height: 1.4;
        display: block;
    }

    .package-features .feature::before {
        font-size: 0.9rem;
    }

    .package-extra-info {
        padding: 12px 20px;
        font-size: 0.85rem;
        color: var(--text-light);
        flex-shrink: 0;
    }

    .package-action {
        padding: 16px 20px 20px 20px;
        flex-shrink: 0;
        background: var(--white);
        border-radius: 0 0 12px 12px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        margin-top: auto;
    }
    
    .package-select-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        font-weight: 600;
        width: 100%;
    }

    /* Make price tag more compact */
    .package-header .price-tag {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    /* Remove pagination dots since we're now vertical */
    .packages-pagination {
        display: none;
    }
}
}

.package-card {
    background: white;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 0;
    margin: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* All packages will use the same base styling */
.package-card[data-package] {
    min-height: 500px;
    height: auto;
}

.package-header,
.package-features,
.package-extra-info {
    padding: 0 32px;
}

.package-header {
    padding-top: 32px;
    padding-bottom: 24px;
    flex-shrink: 0;
    position: relative;
    text-align: center;
}

.classic-package .package-header {
    padding-top: 40px;
}

.package-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 280px;
    padding: 24px 32px;
    background: var(--background);
    margin: 0;
    border-radius: 8px;
}

.package-features .feature {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    letter-spacing: 0.01em;
    position: relative;
    padding-left: 28px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.package-features .feature::before {
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.package-extra-info {
    padding-top: 24px;
    padding-bottom: 24px;
    flex-shrink: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.package-action {
    padding: 24px 32px 32px 32px;
    flex-shrink: 0;
    margin-top: auto;
    background: var(--background);
    border-radius: 0 0 12px 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.package-select-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    border-radius: 8px;
    text-transform: uppercase;
}

.package-select-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.15);
}

.package-card.selected .package-select-btn {
    background: var(--accent-color);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.15);
}

@media (max-width: 768px) {
    .package-card {
        max-width: none;
        max-height: 85vh;
        overflow-y: auto;
    }
    
    .package-image {
        height: 120px;
    }
    
    .package-header {
        padding: 12px 16px;
    }

    .package-header h3 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .package-header .price {
        font-size: 1.3rem;
        margin-top: 4px;
    }
    
    .package-action {
        padding: 12px 16px;
        position: sticky;
        bottom: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(8px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .package-select-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .package-features {
        padding: 12px 16px;
        gap: 6px;
    }

    .package-features .feature {
        font-size: 0.9rem;
        padding-left: 20px;
        margin: 4px 0;
        line-height: 1.3;
    }

    .package-features .feature::before {
        font-size: 0.9rem;
    }

    .package-extra-info {
        padding: 12px 16px;
        font-size: 0.85rem;
        color: var(--text-light);
    }

    /* Make price tag more compact */
    .package-header .price-tag {
        padding: 4px 8px;
        font-size: 0.85rem;
    }

    /* Add smooth scrolling for package content */
    .package-card {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .package-card::-webkit-scrollbar {
        display: none;
    }

    /* Make sure important elements are visible */
    .package-header, 
    .package-action {
        background: var(--white);
        position: relative;
        z-index: 2;
    }
}

    /* Add pagination dots for visual feedback */
    .packages-pagination {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    .packages-pagination .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--light-green);
        opacity: 0.5;
        transition: opacity 0.3s ease;
    }

    .packages-pagination .dot.active {
        opacity: 1;
        background: var(--primary-color);
    }
}

.package-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 85, 48, 0.2);
}

.package-card.selected {
    border-color: var(--accent-color);
    background: rgba(124, 179, 66, 0.1);
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
    transform: translateY(-3px);
}

.package-card.selected::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--accent-color);
    border-radius: 12px;
    pointer-events: none;
}

.classic-package {
    border: 2px solid var(--accent-color);
    background: var(--white);
    position: relative;
}

.classic-package::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 12px 12px 0 0;
}

.best-value-badge {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    width: fit-content;
    position: relative;
}

.best-value-badge::before {
    content: '★';
    margin-right: 8px;
    color: var(--accent-color);
    font-size: 1.1em;
}

.results-container {
    text-align: center;
    padding: 2rem 0;
}

.results-header {
    margin-bottom: 5rem;
}

.results-header i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.results-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.results-header p {
    color: var(--text-medium);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 3px 10px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.6);
    }
}

.package-header h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.package-price {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    line-height: 1;
}

.package-features {
    margin: 15px 0;
}

.package-features .feature {
    color: #333;
    font-size: 0.9rem;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.package-extra-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.package-extra-info p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.price-range {
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-details {
    background: rgba(44, 85, 48, 0.05);
    border-radius: 8px;
    padding: 12px;
    margin: 15px 0;
    border-left: 4px solid var(--accent-color);
}

.from-text {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 0.9em;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(44, 85, 48, 0.3);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 2px 4px;
    border-radius: 4px;
    display: inline-block;
}

.price-note {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.85rem;
}

.custom-pricing {
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin: 15px 0;
}

.custom-pricing h4 {
    margin-bottom: 10px;
}

.custom-pricing p {
    margin: 10px 0;
}

.contact-form-container {
    background: var(--background);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form-container h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-success {
    text-align: center;
    padding: 2rem;
}

.contact-success i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-success h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-success p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

.questionnaire-contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.questionnaire-contact-form .form-group {
    margin-bottom: 1rem;
}

.questionnaire-contact-form input,
.questionnaire-contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--sage-green);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
}

.questionnaire-contact-form input:focus,
.questionnaire-contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.questionnaire-contact-form .btn {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
}

/* Responsive Questionnaire */
@media (max-width: 768px) {
    .questionnaire-container {
        padding: 6rem 1rem 5rem;
    }
    
    .question-card {
        padding: 2rem 1.5rem;
    }
    
    .question-header h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.2rem;
        padding: 0 15px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        -ms-word-break: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }

    .options-grid .option-card h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem;
        font-weight: 600;
        padding: 0 10px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        -ms-word-break: break-word !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }

    
    .options-grid .option-card i {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }

    .options-grid .option-card p {
        font-size: 1rem !important;
        line-height: 1.4;
    }

    .question-header p {
        font-size: 1.4rem;
        line-height: 1.5;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .option-card {
        padding: 1.5rem 1rem;
    }
    
    .option-card i {
        font-size: 2.4rem !important;
        margin-bottom: 1rem;
    }

    .option-card h3 {
        font-size: 2rem !important;
        margin-bottom: 0.8rem;
        line-height: 1.2;
        font-weight: 600;
    }

    .option-card p {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .navigation-buttons {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    
    .navigation-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-green);
}

.nav-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.2);
}

.nav-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
}

.nav-button:disabled {
    background: var(--text-light) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6 !important;
}

.nav-button.secondary {
    background: var(--background);
    color: var(--primary-color);
    border: 2px solid var(--light-green);
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.1);
}

.nav-button.secondary:hover {
    background: var(--light-green);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.2);
}

/* Additional mobile optimizations for questionnaire */
@media (max-width: 480px) {
    .questionnaire-container {
        padding: 5rem 0.75rem 2rem;
    }
    
    .question-card {
        padding: 1.5rem 1rem;
        margin: 0 0.25rem;
    }
    
    .question-header h2 {
        font-size: 1.5rem;
    }
    
    .question-header p {
        font-size: 0.9rem;
    }
    
    .option-card {
        min-height: 100px;
        padding: 1rem 0.75rem;
    }
    
    .option-card i {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .option-card h3 {
        font-size: 0.9rem;
    }
    
    .option-card p {
        font-size: 0.75rem;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .nav-button {
        width: 100%;
        padding: 1rem;
    }
    
    .progress-bar {
        height: 6px;
    }
    
    .progress-text {
        font-size: 0.85rem;
    }
    
    .progress-encouragement {
        font-size: 0.8rem;
    }
}

/* Contact Button Mobile Responsive */
@media (max-width: 768px) {
    .contact-content {
        max-width: 100%;
    }
    
    .contact-form-container {
        padding: 2rem 1rem;
    }
    
    .contact-email-btn {
        min-width: auto;
        width: 100%;
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .contact-button-section .contact-email-btn {
        min-width: auto;
        width: 100%;
        font-size: 1.1rem;
        padding: 1.2rem 2rem;
    }
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--background);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.testimonial-stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.testimonial-author strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.social-proof-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.social-proof-stats .stat h3 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.social-proof-stats .stat p {
    color: var(--text-medium);
    font-size: 1rem;
    font-weight: 500;
}

/* Mobile Responsive for Testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .social-proof-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .social-proof-stats .stat h3 {
        font-size: 2.5rem;
    }
}

/* Contact Optimized */
.contact-optimized {
    padding: 6rem 0;
    color: var(--white);
}

.contact-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-value-prop h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.contact-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-benefits i {
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-actions {
    text-align: center;
}

.contact-divider {
    margin: 1.5rem 0;
    position: relative;
    text-align: center;
}

.contact-divider span {
    padding: 0 1rem;
    border-radius: 1px;
    color: var(--primary-color);
    font-style: italic;
    position: relative;
    z-index: 2;
}

.contact-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.3);
    z-index: 1;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.direct-contact-form {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 500px;
    align-items: stretch;
}

.direct-contact-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--light-green);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.direct-contact-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
}

.direct-contact-form input[type="email"]::placeholder {
    color: var(--text-light);
}

.direct-contact-form button {
    white-space: nowrap;
    padding: 1rem 1.5rem;
}

.phone-contact {
    margin-top: 1rem;
    text-align: center;
}

.phone-contact span {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.phone-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.phone-link:hover {
    text-decoration: underline;
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 280px;
}

/* Mobile Responsive for Contact Optimized */
@media (max-width: 768px) {
    .contact-optimized {
        padding: 4rem 0;
    }
    
    .contact-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .contact-value-prop h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-benefits .benefit {
        font-size: 1rem;
        justify-content: center;
    }
    
    .btn-large {
        width: 100%;
        margin-bottom: 1rem;
        min-width: auto;
    }
    
    .contact-direct {
        width: 100%;
    }
    
    .contact-direct .btn {
        width: 100%;
    }
    
    .direct-contact-form {
        flex-direction: column;
        max-width: 100%;
    }
    
    .direct-contact-form input[type="email"] {
        padding: 0.95rem 1rem;
    }
    
    .direct-contact-form button {
        width: 100%;
        padding: 0.95rem 1rem;
    }
}

/* Packages Preview */
.packages-preview {
    padding: 6rem 0;
    background: var(--light-green);
}

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

.package-preview-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--light-green);
}

.package-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.package-preview-card.featured {
    border: 3px solid var(--accent-color);
    transform: scale(1.05);
}

.package-preview-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

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

.package-preview-card .price {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.package-preview-card .price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.package-preview-card .package-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    padding: 0;
}

.package-preview-card .package-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-preview-card .package-features i {
    color: var(--accent-color);
    width: 16px;
    flex-shrink: 0;
}

.packages-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.packages-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* .btn-secondary {
    background: var(--sage-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
} */

/* Mobile Responsive for Packages Preview */
@media (max-width: 768px) {
    .packages-preview {
        padding: 4rem 0;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .package-preview-card {
        padding: 1.5rem;
    }
    
    .package-preview-card.featured {
        transform: none;
    }
    
    .package-preview-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .package-preview-card .price .amount {
        font-size: 1.8rem;
    }
    
    .packages-cta {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .btn-secondary,
    .btn-outline {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Responsive Package Ordering */
/* Desktop: Natural order (Bazinis, Standartinis, Premium) */
@media (min-width: 769px) {
    .packages-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px;
        align-items: start;
    }
    
    .desktop-order-1 { order: 1; }  /* Bazinis - Left */
    .desktop-order-2 { order: 2; }  /* Standartinis - Middle (Featured) */
    .desktop-order-3 { order: 3; }  /* Premium - Right */
}

/* Mobile: Standartinis first, then others */
@media (max-width: 768px) {
    .packages-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }
    
    .mobile-order-1 { order: 1; }   /* Standartinis - First */
    .mobile-order-2 { order: 2; }   /* Bazinis - Second */
    .mobile-order-3 { order: 3; }   /* Premium - Third */
}

/* Ensure the featured package styling works in both layouts */
.classic-package {
    position: relative;
}

/* On desktop, center highlight for featured package */
@media (min-width: 769px) {
    .classic-package {
        transform: scale(1.05);
        z-index: 2;
    }
    
    .classic-package:hover {
        transform: scale(1.05) translateY(-5px);
    }
}

/* On mobile, no scaling for featured package (just keep highlighted) */
@media (max-width: 768px) {
    .classic-package {
        transform: none !important;
        margin-bottom: 1rem;
    }
    
    .classic-package:hover {
        transform: translateY(-5px) !important;
    }
    
    /* Make sure the "Rekomenduojamas" badge is visible on mobile */
    .best-value-badge {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    /* Disable package card selection animations on mobile */
    .package-card {
        cursor: default !important;
    }
    
    .package-card:hover {
        transform: none !important;
        box-shadow: var(--shadow-light) !important;
        border-color: initial !important;
    }
    
    .package-card.selected {
        border-color: initial !important;
        box-shadow: var(--shadow-light) !important;
        transform: none !important;
    }
    
    .package-card.selected::after {
        display: none !important;
    }
    
    /* Keep button interactions working */
    .package-select-btn {
        cursor: pointer !important;
    }
    
    .package-select-btn:hover {
        transform: translateY(-2px) !important;
    }
}

/* Ensure proper spacing and alignment */
.package-card[class*="order"] {
    width: 100%;
    max-width: none;
}

@media (min-width: 769px) {
    .package-card[class*="order"] {
        max-width: 420px;
        margin: 0 auto;
    }
}

/* Loading Animation */
.loading-container {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.loading-animation {
    margin-bottom: 2rem;
    position: relative;
}

.loading-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    animation: pulse-grow 2s ease-in-out infinite;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.loading-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: inline-block;
    animation: loading-bounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

.loading-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.loading-messages {
    margin: 2rem 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loading-text {
    font-size: 1.1rem;
    color: var(--text-medium);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease-in-out;
    position: absolute;
    width: 100%;
}

.loading-text.active {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-color);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 2rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s ease-out;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progress-shine 2s infinite;
}

@keyframes pulse-grow {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes loading-bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Mobile responsive for loading */
@media (max-width: 768px) {
    .loading-container {
        padding: 2rem 1rem;
    }
    
    .loading-icon {
        font-size: 3rem;
    }
    
    .loading-title {
        font-size: 1.5rem;
    }
    
    .loading-text {
        font-size: 1rem;
    }
}
