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

:root {
    --primary-color: #f08a1a;
    --primary-dark: #c65a12;
    --secondary-color: #7a2ca6;
    --accent-color: #f08a1a;
    --text-dark: #000000;
    --text-light: #4b5563;
    --text-lighter: #9ca3af;
    --bg-light: #ffffff;
    --bg-white: #ffffff;
    --bg-black: #2a0d3d;
    --bg-pink-purple: linear-gradient(135deg, #f08a1a 0%, #7a2ca6 100%);
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
}

/* Logo-style serif font helper */
.logo-font {
    font-family: 'Libre Baskerville', 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
    height: auto;
    min-height: 70px;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
}

.logo-image {
    height: clamp(70px, 10vw, 110px);
    width: auto;
    max-width: 420px;
    object-fit: contain;
    transition: var(--transition);
    display: block;
    visibility: visible;
    opacity: 1;
    cursor: default;
    pointer-events: none;
}

/* Brand text and logo layout */
.brand-link .logo-image {
    height: clamp(70px, 10vw, 110px);
    max-width: 420px;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.04));
    cursor: default;
    pointer-events: none;
}

/* Make the logo container relative so overlay can sit on top */
/* Ensure logo scales on small screens */
@media (max-width: 768px) {
    .brand-link .logo-image,
    .logo-image {
        height: clamp(65px, 12vw, 90px);
        max-width: 360px;
    }
}

@media (max-width: 600px) {
    .brand-link .logo-image,
    .logo-image {
        height: clamp(60px, 14vw, 85px);
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .brand-link .logo-image,
    .logo-image {
        height: clamp(55px, 16vw, 80px);
        max-width: 280px;
    }
}

/* Pretty ProDesk page typographic adjustments */
.pretty-page .hero-title .name,
.pretty-page .section-title,
.pretty-page .service-title {
    font-family: 'Libre Baskerville', 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pretty-page .hero-title .name {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 0.75rem;
}

/* Pretty ProDesk logo - preserve white background */
.pretty-page .logo-image {
    filter: none !important;
    -webkit-filter: none !important;
    background: transparent !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
    height: clamp(70px, 10vw, 110px) !important;
    width: auto !important;
    max-width: 420px !important;
    min-width: 100px !important;
    min-height: 70px !important;
    object-fit: contain !important;
    position: relative !important;
}

/* Pretty ProDesk hero image - match homepage circular frame */
.pretty-page .hero-photo {
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: 50% 30% !important;
    border: clamp(3px, 0.5vw, 5px) solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    width: clamp(180px, 25vw, 320px) !important;
    height: clamp(180px, 25vw, 320px) !important;
    max-width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.pretty-page .hero-photo:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Pretty ProDesk footer logo - preserve white background */
.pretty-page .footer-brand .logo-image {
    filter: none !important;
    -webkit-filter: none !important;
    background: transparent !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: clamp(70px, 10vw, 110px) !important;
    width: auto !important;
    max-width: 420px !important;
    min-width: 100px !important;
    object-fit: contain !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Ensure navbar doesn't hide logo on Pretty ProDesk page */
.pretty-page .navbar .logo,
.pretty-page .navbar .logo-wrap {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1001 !important;
}

.pretty-page .navbar .logo-image {
    position: relative !important;
    z-index: 1002 !important;
}

/* Ensure logo containers are visible on Pretty ProDesk page */
.pretty-page .logo-wrap,
.pretty-page .logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    width: auto !important;
    height: auto !important;
    min-width: 100px !important;
    min-height: 70px !important;
}

.pretty-page .hero-image {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    min-width: 180px !important;
    min-height: 180px !important;
}

/* Ensure hero content is visible on Pretty ProDesk page */
.pretty-page .hero-content {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10;
}

.pretty-page .hero-text,
.pretty-page .hero-title,
.pretty-page .hero-title .name,
.pretty-page .hero-title .title,
.pretty-page .hero-description {
    visibility: visible !important;
    opacity: 1 !important;
}

.pretty-page .hero-title {
    display: flex !important;
}

/* Scoped image rules for Pretty ProDesk page */
.pretty-page .about-photo {
    width: 100%;
    max-width: 600px;
    height: auto; /* allow natural height */
    border-radius: 16px;
    object-fit: cover;
}

.pretty-page .image-wrapper {
    display: block;
}

/* Force visibility in case of overrides */
.pretty-page .about-image,
.pretty-page .image-wrapper,
.pretty-page .about-photo {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.pretty-page .about-photo {
    z-index: 2;
}

.pretty-page .force-visible {
    display: block !important;
    margin: 0 auto !important;
    opacity: 1 !important;
}

/* Stronger fallback rules for Pretty ProDesk about image to ensure visibility and proper fit */
.pretty-page .about-image img,
.pretty-page .about-image .about-photo,
.pretty-page .image-wrapper img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: 700px !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 16px !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f08a1a;
    transition: var(--transition);
}

.nav-link:hover {
    color: #f08a1a;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: clamp(120px, 15vh, 150px);
    padding-bottom: 2rem;
    overflow: hidden;
}

.service-packages-page .services {
    padding-top: clamp(170px, 20vh, 210px);
}


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

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    opacity: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    filter: none;
    opacity: 0;
    z-index: 0;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 2rem;
    margin-top: 1rem;
}

.hero-text {
    color: #2F3E46;
    animation: fadeInUp 1s ease;
    max-width: 100%;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    display: flex;
    flex-direction: column;
    color: #2F3E46;
}

.hero-title .greeting {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-title .name {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: none;
    -webkit-text-fill-color: #2F3E46;
    color: #2F3E46;
}

.hero-title .title {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    color: #2F3E46;
}

.hero-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: clamp(1rem, 2.5vw, 2rem);
    line-height: 1.8;
    opacity: 0.95;
    max-width: 100%;
    color: #2F3E46;
}

.hero .hero-title,
.hero .hero-title span,
.hero .hero-description {
    color: #2F3E46;
}

.hero .hero-title .name {
    -webkit-text-fill-color: #2F3E46;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #f08a1a;
}

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

.hero-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.hero-social .social-linkedin {
    background: #0077b5;
}

.hero-social .social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.hero-social .social-twitter {
    background: #1DA1F2;
}

.hero-social .social-facebook {
    background: #1877F2;
}

.hero-social .social-email {
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
}

.hero-social a:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.image-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-photo {
    /* responsive circular frame */
    width: clamp(180px, 25vw, 320px);
    height: clamp(180px, 25vw, 320px);
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 30%;
    border: clamp(3px, 0.5vw, 5px) solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    max-width: 100%;
    display: block;
    background: rgba(255, 255, 255, 0.1);
}

.hero-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

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

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(236, 72, 153, 0.1);
    color: #f08a1a;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Scoped override: white background tag for Pretty ProDesk about section */
.pretty-page .about-tag {
    background: #ffffff !important;
    color: var(--text-dark) !important;
    padding: 0.6rem 1.6rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}

/* Services summary icons and alignment (scoped to Pretty ProDesk page) */
.pretty-page .services-summary ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    text-align: left; /* ensure left alignment */
}

.pretty-page .services-summary li {
    display: grid;
    grid-template-columns: 48px 1fr; /* fixed icon column + flexible text */
    gap: 0.5rem; /* tighten gap between icon and text */
    align-items: center; /* vertically center icon and text */
    padding: 0.4rem 0;
}

.pretty-page .services-summary .service-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
    color: white;
    border-radius: 10px;
    font-size: 1rem;
    flex: 0 0 48px;
    min-height: 48px;
}

.pretty-page .services-summary li span {
    display: inline-block;
    line-height: 1.4;
    margin-top: 0; /* remove negative nudge */
    text-align: left; /* left-align text within the span */
}

@media (max-width: 768px) {
    .pretty-page .services-summary ul {
        grid-template-columns: 1fr;
    }

    .pretty-page .services-summary li {
        grid-template-columns: 36px 1fr;
        gap: 1rem; /* increased gap between icon and text on mobile */
        padding: 0.6rem 0; /* increased vertical padding for better spacing */
    }

    .pretty-page .services-summary .service-icon {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        min-height: 36px;
        font-size: 0.95rem;
    }
}

/* Services description under the list */
.pretty-page .services-desc {
    text-align: center;
    max-width: 800px;
    margin: 1.5rem auto 0 auto;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
}

.pretty-page .services-desc p {
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about .section-title,
.about .section-tag,
.about .section-description,
.testimonials .section-title,
.testimonials .section-tag {
    color: white;
}

.about .section-tag {
    background: #ffffff;
    color: var(--text-dark);
}

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

/* About Section */
.about {
    background: var(--bg-black);
    color: white;
}

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

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
}

.image-placeholder-large {
    width: 100%;
    max-width: 400px;
    height: 500px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.image-placeholder-large i {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.about-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.pretty-page .about-text h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.pretty-page .about-text h4:first-of-type {
    margin-top: 0;
}

.pretty-page .about-text ul {
    margin-bottom: 2rem;
}

.about-intro {
    font-size: 1.2rem;
    color: white;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem 0;
    visibility: visible;
    opacity: 1;
}

.stat-item {
    text-align: center;
    display: block;
    visibility: visible;
    opacity: 1;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #f08a1a;
    margin-bottom: 0.5rem;
    display: block;
    visibility: visible;
    opacity: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    visibility: visible;
    opacity: 1;
}

/* Services Section */
.services {
    background: #fff2e3;
}

/* Services tag styling for "What I Offer" */
.services .section-tag {
    background: #f08a1a;
    color: #0b1f3a;
}

/* Use logo-style serif font for services section text */
.services .section-title,
.services .section-tag,
.services .service-title,
.services .service-description,
.services .section-description,
.pretty-page .services-summary li span,
.pretty-page .services-desc,
.pretty-page .services-desc p,
.pretty-page .ea-intro,
.pretty-page .ea-details p,
.pretty-page .ea-includes li span {
    font-family: 'Libre Baskerville', 'Playfair Display', serif;
}

.services .section-title,
.services .section-description {
    color: #0b1f3a;
}

.services .section-title {
    white-space: nowrap;
}

@media (max-width: 1366px) {
    .services .section-title {
        white-space: normal;
        font-size: clamp(1.9rem, 2.8vw, 2.3rem);
        line-height: 1.25;
    }
}

@media (max-width: 1024px) {
    .services .section-title {
        white-space: normal;
        font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    }
}

.services .service-card ul.service-description {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: left;
}

.services .service-card ul.service-description li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services .section-title {
        white-space: normal;
        font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    }
}

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

.services .service-card {
    background: #f08a1a;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    color: #0b1f3a;
}

.services .service-title,
.services .service-description,
.services .service-card p,
.services .service-card h3 {
    color: #0b1f3a;
}

.services .service-card .service-icon i {
    color: #0b1f3a;
}

/* Left-align content inside Executive Assistant card only */
.pretty-page .service-card {
    margin-bottom: 2rem;
}

.pretty-page .service-card:last-child {
    margin-bottom: 0;
}

.pretty-page .service-card.ea-card {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem; /* larger paragraph gap */
}

.pretty-page .service-card.ea-card .ea-details {
    margin-top: 0.5rem;
    color: var(--text-dark);
    margin-top: 1.25rem; /* larger breathing room to create paragraph spacing */
}
/* Keep the EA card's main title and short tagline centered */
.pretty-page .service-card.ea-card .service-title,
.pretty-page .service-card.ea-card .service-description {
    text-align: center;
}

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

/* Executive Assistant includes list with icons */
.pretty-page .ea-includes ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr; /* match services-summary two-column layout */
    gap: 1rem 2rem; /* match services-summary gaps */
    text-align: left; /* ensure the EA list text aligns like services */
}

.pretty-page .service-card h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.pretty-page .ea-intro {
    max-width: 760px;
    margin: 1rem 0 0 0;
    color: var(--text-dark);
    font-size: 1rem;
}

/* Ensure EA paragraphs visually show a small three-space indent. We allow HTML NBSPs but also provide a CSS fallback. */
.pretty-page .ea-details p {
    text-indent: 0; /* reset any previous indent */
    padding-left: 0; 
    text-align: center; /* center the EA detail sentences */
    margin: 0.5rem auto; /* keep vertical spacing and center within card */
    max-width: 80ch; /* limit line length for readability */
}

.pretty-page .ea-intro {
    text-indent: 0;
    padding-left: 0;
    text-align: center; /* center the intro sentence */
    margin: 0 auto 1.25rem auto; /* add space below intro before the list */
}

.pretty-page .ea-includes li {
    display: grid;
    grid-template-columns: 48px 1fr; /* icon column then text to match services list */
    gap: 0.5rem; /* match services-summary gap between icon and text */
    align-items: center; /* vertically center icon and text */
    padding: 0.4rem 0; /* match services-summary vertical padding */
    color: var(--text-dark);
}

.pretty-page .ea-includes li span {
    display: inline-block;
    line-height: 1.4;
    margin-left: 0; /* ensure no left margin */
    text-align: left; /* left-align the text block */
}

.pretty-page .ea-li-icon {
    /* match the size and visual style of the services-summary icons (48x48, rounded rectangle) */
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
    color: white;
    border-radius: 10px;
    font-size: 1rem;
    flex: 0 0 48px;
    min-height: 48px;
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    /* Mirror the services-summary responsive behavior for EA includes */
    .pretty-page .ea-includes ul {
        grid-template-columns: 1fr;
    }

    .pretty-page .ea-includes li {
        grid-template-columns: 36px 1fr;
        padding: 0.4rem 0;
        gap: 0.5rem;
    }

    .pretty-page .ea-li-icon {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        min-height: 36px;
        font-size: 0.95rem;
        visibility: visible;
        opacity: 1;
    }
}
.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .pretty-page .ea-includes ul {
        grid-template-columns: 1fr 1fr; /* ensure two columns on medium+ screens */
    }
    .pretty-page .ea-includes li {
        padding: 0.6rem 0; /* slightly more vertical spacing */
    }
}

@media (max-width: 767px) {
    .pretty-page .ea-includes ul {
        grid-template-columns: 1fr; /* single column on small screens */
        gap: 0.6rem;
    }
}

/* Skills Section */
.skills {
    background: var(--bg-black);
    color: white;
}

.skills .section-title,
.skills .section-tag,
.skills .section-description,
.skills .category-title {
    color: white;
}

.skills .progress-label {
    color: white;
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skills-category p,
.skills-summary p {
    margin: 0 0 1rem 0;
}

.skills-category p:last-child,
.skills-summary p:last-child {
    margin-bottom: 0;
}

.skills-summary .pillar-icon {
    display: block;
    width: 40px;
    height: 2px;
    background: #c9a06a;
    margin: 1.25rem 0 0.75rem;
    border-radius: 2px;
}

.skills-summary h4 {
    margin: 0 0 0.75rem;
}

.skill-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
    color: white;
}

.skill-item span {
    flex: 1;
    line-height: 1.6;
}

.skill-item i {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.skill-item:hover {
    background: rgba(236, 72, 153, 0.2);
    transform: translateX(5px);
}

.skill-item i {
    font-size: 1.5rem;
    color: #f08a1a;
}

.progress-skills {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.progress-item {
    margin-bottom: 0.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.progress-label {
    font-weight: 600;
    color: var(--text-dark);
}

.progress-value {
    color: #f08a1a;
    font-weight: 600;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f08a1a, #7a2ca6);
    border-radius: 10px;
    width: 0;
    transition: width 1s ease;
}

/* Portfolio Section */
.portfolio {
    background: var(--bg-white);
}

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

.portfolio-item {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

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

.image-placeholder-portfolio {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder-portfolio i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(236, 72, 153, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f08a1a;
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-link:hover {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.portfolio-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(236, 72, 153, 0.1);
    color: #f08a1a;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-black);
    color: white;
}

.testimonials .testimonial-text {
    color: rgba(255, 255, 255, 0.9);
}

.testimonials .author-name {
    color: white;
}

.testimonials .author-role {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.testimonial-quote {
    font-size: 3rem;
    color: #f08a1a;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-name {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #f08a1a;
    background: transparent;
    color: #f08a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-btn:hover {
    background: #f08a1a;
    color: white;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: #f08a1a;
}

/* Contact Section */
.contact {
    background: var(--bg-white);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

/* Social media brand colors */
.contact-social .social-linkedin {
    background: #0077b5;
}

.contact-social .social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-social .social-twitter {
    background: #1DA1F2;
}

.contact-social .social-facebook {
    background: #1877F2;
}

.contact-social .social-email {
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
}

.contact-social a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f08a1a;
}

.form-group textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
}

/* Footer */
.footer {
    background: white;
    color: var(--text-dark);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.footer-brand p {
    color: rgba(0, 0, 0, 0.7);
}

.footer-brand .logo-image {
    height: clamp(70px, 10vw, 110px);
    max-width: 420px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.04));
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.footer-links span {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: var(--transition);
    cursor: default;
    pointer-events: none;
}

.footer-links a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: block;
    padding: 0.25rem 0;
}

.footer-links h4 {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    padding: 0;
    cursor: default;
    pointer-events: none;
}

.footer-links a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

/* Social media brand colors for footer */
.footer-social .social-linkedin {
    background: #0077b5;
}

.footer-social .social-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social .social-twitter {
    background: #1DA1F2;
}

.footer-social .social-facebook {
    background: #1877F2;
}

.footer-social .social-email {
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    margin: 2rem 0;
    border-top: 1px solid rgba(122, 44, 166, 0.15);
    border-bottom: 1px solid rgba(122, 44, 166, 0.15);
}

.footer-logos .logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: rgba(122, 44, 166, 0.06);
    border-radius: 8px;
    transition: var(--transition);
}

.footer-logos .logo-item:hover {
    background: rgba(122, 44, 166, 0.12);
    transform: translateY(-3px);
}

.footer-logos .footer-logo {
    max-width: 80px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(122, 44, 166, 0.15);
    color: rgba(0, 0, 0, 0.7);
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Modal: Brand Story */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.modal[aria-hidden="false"] {
    display: flex;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(42, 13, 61, 0.65);
}
.modal-content {
    position: relative;
    background: var(--bg-white);
    max-width: 820px;
    width: calc(100% - 2rem);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 2100;
    max-height: 80vh;
    overflow: auto;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
    background: linear-gradient(90deg, #f08a1a 0%, #7a2ca6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.modal-content h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.modal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.modal-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.brand-story-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-style: italic;
    display: block;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
}

#brand-story-modal .modal-content p:not(.brand-story-tagline) {
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Brand Story modal logo styling */
.brand-story-logo {
    display: block;
    margin: 0 0 0.75rem 0;
    width: 140px;
    height: auto;
    max-width: 35%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand-story-logo {
        width: 120px;
        max-width: 45%;
        margin-bottom: 0.5rem;
    }
}

/* Book icon in Brand Story modal */
.brand-story-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f08a1a, #7a2ca6);
    color: #ffffff;
    margin-right: 0.6rem;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .brand-story-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    @media (max-width: 767px) {
        .pretty-page .ea-includes ul {
            grid-template-columns: 1fr; /* single column on small screens */
            gap: 0.6rem;
        }
    }
    .about-content {
        grid-template-columns: 1fr;
    }

    .skills-content {
        grid-template-columns: 1fr;
    }

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

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

    .footer-brand h3 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .footer-brand p {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 768px) {
    .hero-background {
        background-position: center top;
        background-attachment: scroll;
        background-size: cover;
    }

    .hero-overlay {
        background: transparent;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 1rem;
    }

    .hero-photo {
        width: clamp(200px, 40vw, 280px);
        height: clamp(200px, 40vw, 280px);
    }

    .hero-title {
        text-align: center;
    }

    .hero-description {
        text-align: left;
        max-width: 100%;
    }

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

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

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

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

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

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

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Responsive: keep services description centered on narrow screens for readability */
@media (max-width: 768px) {
    .pretty-page .services-desc {
        text-align: center;
        margin: 1.5rem auto 0 auto;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-background {
        background-position: center top;
        background-attachment: scroll;
        background-size: cover;
    }

    .hero-overlay {
        background: transparent;
    }

    .hero-content {
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-image {
        margin-bottom: 1.5rem;
    }

    .hero-photo {
        width: clamp(180px, 50vw, 240px);
        height: clamp(180px, 50vw, 240px);
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-title .name {
        font-size: 2rem;
    }

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

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .about-stats {
        gap: 1rem;
        padding: 1rem 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    section {
        padding: 4rem 0;
    }

    .testimonial-card {
        padding: 2rem;
    }
}

/* Portfolio Image Styles */
.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Modal Styles */
.gallery-modal {
    max-width: 90vw;
    max-height: 90vh;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-modal {
        max-width: 95vw;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .pretty-page .about-content {
        grid-template-columns: 1fr !important;
        grid-auto-flow: row;
    }

    .pretty-page .about-image {
        order: -1;
    }

    .pretty-page .about-text {
        order: 1;
    }
}

