/* CSS Variables for Color Palette */
:root {
    /* Primary Colors */
    --gold-primary: #B8941F;
    --black-deep: #1A1A1A;
    --white-clean: #FFFFFF;
    
    /* Secondary/Accent Colors */
    --gray-warm: #6B6B6B;
    --gold-light: #D4B946;
    --white-off: #F8F8F8;
    
    /* Supporting Neutrals */
    --charcoal: #333333;
    --gray-light: #E5E5E5;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    --element-spacing: 2rem;
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white-clean);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--black-deep);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-warm);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--white-clean);
    border-color: var(--gold-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(184, 148, 31, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white-clean);
    border-color: var(--white-clean);
}

.btn-secondary:hover {
    background: var(--white-clean);
    color: var(--black-deep);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--white-clean);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Hero Navigation */
.hero-nav {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.hero-logo .logo {
    height: 91px;
    width: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 8px;
}

.hamburger-menu {
    position: relative;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--gold-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gold-primary);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.dropdown-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.dropdown-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--white-clean);
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(184, 148, 31, 0.2);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    background: rgba(184, 148, 31, 0.1);
    color: var(--gold-primary);
    padding-left: 25px;
}

/* Hero Section */
.hero {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--white-off) 0%, var(--white-clean) 100%);
    position: relative;
}

/* Fullscreen Hero Styles */
.hero-fullscreen {
    position: relative;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(26, 26, 26, 0.5) 40%,
        rgba(26, 26, 26, 0.2) 70%,
        rgba(26, 26, 26, 0.1) 100%
    );
    z-index: 2;
}

.hero-fullscreen .hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 100vh;
}

.hero-fullscreen .hero-text {
    max-width: 600px;
    color: var(--white-clean);
}

.hero-fullscreen .hero-text h1 {
    color: var(--white-clean);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-fullscreen .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-fullscreen .highlight {
    color: var(--gold-primary);
}

.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--gold-primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-warm);
    line-height: 1.6;
}

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white-clean);
}

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

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    transform: translateZ(0);
}

.about-intro {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 2rem;
    font-weight: 500;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white-off);
    border-radius: 12px;
    border-left: 4px solid var(--gold-primary);
}

.credential-item i {
    font-size: 2rem;
    color: var(--gold-primary);
    width: 50px;
    text-align: center;
}

.credential-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--black-deep);
}

.credential-item p {
    color: var(--gray-warm);
    margin: 0;
    font-size: 1rem;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white-off);
}

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

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-warm);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--white-clean);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid var(--gray-light);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border: 2px solid var(--gold-primary);
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--white-clean);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white-clean);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--black-deep);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--gray-warm);
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray-warm);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
}

/* All Plans Features Box */
.all-plans-features {
    background: var(--white-clean);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--gold-primary);
    margin-top: 3rem;
    text-align: center;
}

.all-plans-features h3 {
    color: var(--black-deep);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.features-list {
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--gray-warm);
    position: relative;
    padding-left: 2rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--gray-light);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Programs Section */
.programs {
    padding: var(--section-padding);
    background: var(--white-clean);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.program-card {
    background: var(--white-clean);
    border: 2px solid var(--gray-light);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.program-card.featured {
    border-color: var(--gold-primary);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--white-clean) 0%, var(--white-off) 100%);
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--white-clean);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.program-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-light);
}

.program-card.featured .program-header {
    border-bottom-color: var(--gold-primary);
}

.program-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.program-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold-primary);
}

.period {
    font-size: 1.2rem;
    color: var(--gray-warm);
}

.program-features ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.program-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray-warm);
}

.program-features i {
    color: var(--gold-primary);
    font-size: 1.1rem;
}

/* Results Section */
.results {
    padding: var(--section-padding);
    background: var(--white-off);
}

.transformation-showcase {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white-clean);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.transformation-images {
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, var(--black-deep), var(--gray-warm));
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Dafany's 3-image horizontal layout */
.dafany-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.dafany-image-grid .transformation-image {
    aspect-ratio: 3/4;
    height: auto;
}

.transformation-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.transformation-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.dafany-image-grid .transformation-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: var(--charcoal);
}

/* Uploaded image positioning - before/after progress comparison */
.dafany-image-grid .transformation-image:nth-child(3) img {
    object-fit: contain;
    object-position: center center;
}

/* Empty frame styles for placeholder images */
.transformation-image.empty-frame {
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gold-primary);
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-light);
}

.placeholder-content i {
    font-size: 2rem;
    color: var(--gold-primary);
}

.placeholder-content span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-light);
}

/* Uploaded image positioning - before/after progress comparison */
.dafany-image-grid .transformation-image:nth-child(2) img {
    object-fit: contain;
    object-position: center center;
}

.image-label-before {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gold-primary);
    color: var(--white-clean);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.image-label-after {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--gold-primary);
    color: var(--white-clean);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.transformation-content {
    padding: 3rem;
}

.transformation-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--black-deep);
}

.result-stats {
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.testimonial-text {
    margin-bottom: 2rem;
}

.testimonial-text p {
    color: var(--gray-warm);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.transformation-highlights {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0 2rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.highlight-item span {
    color: var(--black-deep);
    font-weight: 600;
}

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

.result-card {
    background: var(--white-clean);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-image {
    height: 250px;
    overflow: hidden;
}

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

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

.result-content {
    padding: 2rem;
}

.result-content h3 {
    margin-bottom: 0.5rem;
    color: var(--black-deep);
}

.result-stats {
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.result-content p:last-child {
    color: var(--gray-warm);
    font-style: italic;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--black-deep);
    color: var(--white-clean);
}

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

.contact-info h2 {
    color: var(--white-clean);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--gray-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--gold-primary);
    width: 30px;
    text-align: center;
}

.contact-method h3 {
    color: var(--white-clean);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--gray-light);
    margin: 0;
    font-size: 1rem;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-clean);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--charcoal);
    padding: 2.5rem;
    border-radius: 15px;
}

.contact-form h3 {
    color: var(--white-clean);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-warm);
    border-radius: 8px;
    background: var(--white-clean);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}

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

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

/* Footer */
.footer {
    background: var(--black-deep);
    color: var(--white-clean);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 8px;
}

.footer-logo p {
    color: var(--gray-light);
    font-size: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white-clean);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-column ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--charcoal);
}

.footer-bottom p {
    color: var(--gray-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-fullscreen .hero-content {
        grid-template-columns: 1fr;
        justify-content: center;
        text-align: center;
    }
    
    .hero-fullscreen .hero-text {
        max-width: 800px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 400px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .transformation-highlights {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .dafany-image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dafany-image-grid .transformation-image {
        aspect-ratio: 3/4;
        height: auto;
        background: var(--charcoal);
        border: 1px solid var(--gray-light);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-nav {
        padding: 0 15px;
    }
    
    .hero-logo .logo {
        height: 60px;
    }
    
    .hamburger {
        padding: 8px;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .hero {
        padding: 0;
        min-height: 100vh;
    }
    
    .hero-fullscreen .hero-content {
        padding: 120px 20px 60px;
        min-height: 100vh;
    }
    
    .hero-bg-image {
        object-position: 30% center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .services-grid,
    .programs-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .before-after-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .dafany-image-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dafany-image-grid .transformation-image {
        aspect-ratio: 3/4;
        height: auto;
        background: var(--charcoal);
        border: 1px solid var(--gray-light);
    }
    
    /* Mobile positioning for uploaded image - show full photos */
    .dafany-image-grid .transformation-image:nth-child(2) img {
        object-fit: contain;
        object-position: center center;
    }
    
    .dafany-image-grid .transformation-image:nth-child(3) img {
        object-fit: contain;
        object-position: center center;
    }
    
    .transformation-image img {
        height: 300px;
    }
    
    .transformation-images {
        padding: 2rem 1rem;
    }
    
    .transformation-content {
        padding: 2rem 1.5rem;
    }
    
    .transformation-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .program-card.featured {
        transform: none;
    }
    
    .program-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .credentials {
        gap: 1rem;
    }
    
    .credential-item {
        padding: 1rem;
    }
    
    .service-card,
    .program-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-fullscreen .hero-content {
        padding: 120px 15px 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .service-card,
    .program-card,
    .result-content,
    .contact-form {
        padding: 1.25rem;
    }
    
    .popular-badge,
    .featured-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .transformation-highlights {
        gap: 1rem;
    }
    
    .highlight-item {
        font-size: 0.9rem;
    }
    
    .highlight-item i {
        font-size: 1.2rem;
    }
    
    .dafany-image-grid .transformation-image {
        aspect-ratio: 3/4;
        height: auto;
        background: var(--charcoal);
        border: 1px solid var(--gray-light);
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Prevent loading effect on images */
.loading img {
    opacity: 1;
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-nav,
    .hero-buttons,
    .contact-form,
    .social-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}