* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #000;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.background-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    padding: 50px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: url('img/landing-1.jpg');
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
}

.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    /* Below the content (z-index 10) but above the background */
    pointer-events: none;
}

/* Grid Lines */
.grid-lines {
    position: absolute;
    top: 0;
    left: 80px;
    right: 80px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
}

.grid-lines .line {
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 1001;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 85px;
    width: auto;
    object-fit: contain;
    transform: scale(2.3);
}

nav {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 15px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ccc;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 16px;
    cursor: pointer;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 22px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.hamburger .bar:last-child {
    width: 16px;
    align-self: flex-end;
}

/* Main Content */
main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    position: relative;
    padding: 0 0px;
    flex-grow: 1;
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

.dot {
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    opacity: 1;
    transform: scale(1.5);
}

.hero-content {
    max-width: 800px;
    text-align: left;
    margin-left: 60px;
    /* Slight offset to align with grid */
    flex-grow: 1;
}

.hero-content .number,
.hero-content h1,
.hero-content p {
    transition: opacity 0.5s ease;
}

.number {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

h1 {
    font-size: 72px;
    font-weight: 400;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

/* Hero New Content */
.hero-content-new {
    max-width: 1000px;
    margin-top: 50px;
}

.hero-content-new h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 0;
}

.hero-content-new h2 {
    font-size: 22px;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 25px;
    font-family: 'Outfit', sans-serif;
}

.hero-content-new p {
    font-size: 16px;
    font-weight: 300;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 800px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.explore-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.explore-line {
    width: 80px;
    height: 1px;
    background-color: #4a90e2;
    /* Blue line */
}

.explore-btn a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.explore-btn a:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
    position: relative;
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 42px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    margin-bottom: 10px;
    color: #fff;
}

.stat-text {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    cursor: pointer;
}

.scroll-down p {
    font-size: 13px;
    font-weight: 300;
    color: #e0e0e0;
    letter-spacing: 0.5px;
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -4px;
    /* Pull them closer */
    color: #fff;
    font-size: 11px;
}

@keyframes cascadeArrows {
    0% {
        opacity: 0.2;
        transform: translateY(-3px);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0.2;
        transform: translateY(3px);
    }
}

.arrows i {
    margin-bottom: -4px;
    animation: cascadeArrows 1.5s infinite;
}

.arrows i:nth-child(1) {
    animation-delay: 0s;
}

.arrows i:nth-child(2) {
    animation-delay: 0.2s;
}

.arrows i:nth-child(3) {
    animation-delay: 0.4s;
}

/* Animations */
@keyframes blurFadeIn {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes lineReveal {
    0% {
        height: 0;
        opacity: 0;
    }

    100% {
        height: 100%;
        opacity: 1;
    }
}

/* Scroll Reveal Animations */
.reveal-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 1s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, filter, transform;
}

.reveal-blur.is-revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

header,
.hero-content,
.background-container footer,
.slider-nav {
    opacity: 0;
    animation: blurFadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

header {
    animation-delay: 0.2s;
}

.hero-content {
    animation-delay: 0.6s;
}

footer {
    animation-delay: 1.0s;
}

.slider-nav.left {
    animation-delay: 0.8s;
}

.slider-nav.right {
    animation-delay: 0.9s;
}

.grid-lines .line {
    opacity: 0;
    animation: lineReveal 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}

/* Glassmorphism Panel */
.glass-panel {
    position: absolute;
    top: 0;
    left: 160px;
    width: 30%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    animation: slideInGlass 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* About Us Section Redesign */
.about-section {
    width: 100vw;
    height: 180vh;
    /* Even shorter for faster scroll effect */
    background-color: #000;
    position: relative;
    z-index: 20;
    color: #fff;
}

.about-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    background-image: url('about-me/bg-about.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Grid Lines Overlay */
.grid-lines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.grid-lines-overlay .v-line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
}

.grid-lines-overlay .h-line {
    position: absolute;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.15);
}

.v1 {
    left: 4%;
}

.v2 {
    left: 11%;
}

.v3 {
    right: 12%;
}

.h1 {
    top: 10%;
}

.h2 {
    top: 22%;
}

.h3 {
    bottom: 8%;
}

/* Left Dots */
.about-dots {
    position: absolute;
    left: 7.5%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 5;
}

.about-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.5;
}

.about-dot.active {
    opacity: 1;
}

/* Right Tiny Text */
.about-side-text {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: 8%;
    font-size: 7px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    z-index: 5;
    transition: opacity 0.3s ease;
}

/* Header */
.about-header-centered {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 12%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 5;
}

.about-header-centered .about-circle {
    width: 80px; /* Changed from 10vh to ensure perfect circle */
    height: 80px;
    flex-shrink: 0; /* Prevents squishing */
    background-color: #fff;
    background-image: url('profile picture /profile-pic.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
}

.about-header-centered .about-title h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 1px;
}

.about-header-centered .about-title p {
    font-size: 14px;
    font-weight: 400;
    color: #e0e0e0;
}

/* East Gallery */
.east-gallery-redesign {
    position: absolute;
    top: 25%;
    left: 11%;
    width: 77%;
    height: 60vh;
    display: flex;
    justify-content: center;
    gap: 3%;
    z-index: 5;
    padding-top: 5vh;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 18%;
}

.image-placeholder {
    width: 100%;
    height: 25vh;
    /* Scaled down again to prevent overlapping text */
    background-color: rgba(255, 255, 255, 0.15);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.image-placeholder.blur-out {
    opacity: 0;
    filter: blur(12px);
}

.item-e {
    margin-top: 0;
}

.item-a {
    margin-top: 8vh;
}

.item-s {
    margin-top: 16vh;
}

.item-t {
    margin-top: 4vh;
}

.gallery-item h3 {
    font-size: 36px;
    font-weight: 700;
}

/* Description */
.about-desc-container {
    position: absolute;
    bottom: 11%;
    left: 11%;
    width: 77%;
    display: flex;
    justify-content: center;
    z-index: 5;
}

.about-description {
    max-width: 800px;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: #e0e0e0;
    font-weight: 300;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.text-fade-out {
    opacity: 0;
    filter: blur(4px);
}

/* Get Ready */
.get-ready-redesign {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1px;
    z-index: 5;
}

/* Africa 3D Scroll Section */
.africa-section {
    width: 100vw;
    height: 500vh;
    /* Taller to allow 3D scrolling through 282 frames */
    background-color: #000;
    position: relative;
    z-index: 20;
    color: #fff;
}

.africa-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#africa-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

/* Lines */
.africa-v-line {
    position: absolute;
    right: 22%;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.africa-h-line {
    position: absolute;
    bottom: 15%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

/* Text Overlays */
.africa-number {
    position: absolute;
    top: 5%;
    left: 6%;
    font-size: 100px;
    font-weight: 800;
    line-height: 1;
    z-index: 5;
    letter-spacing: -2px;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.africa-title {
    position: absolute;
    bottom: 15%;
    /* Right above the horizontal line */
    left: 6%;
    font-size: 140px;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: 2px;
    z-index: 5;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.africa-left-text {
    position: absolute;
    bottom: 4%;
    left: 6%;
    display: flex;
    gap: 40px;
    z-index: 5;
}

.africa-left-text .text-col {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    color: #e0e0e0;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.africa-right-text {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    width: 15%;
    /* Fits perfectly in the right 22% column */
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    color: #e0e0e0;
    text-align: left;
    z-index: 5;
}

.africa-socials {
    position: absolute;
    right: 5%;
    bottom: 5%;
    display: flex;
    gap: 15px;
    z-index: 5;
}

.africa-socials a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.africa-socials a:hover {
    opacity: 1;
}

/* Photo Frames Section */
.photo-frames-section {
    width: 100vw;
    height: 50vh;
    /* Reduced height */
    background-image: url('img/photo_frame_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 20;
    color: #fff;
    display: flex;
    align-items: center;
}

.photo-frames-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
    z-index: 1;
}

.pf-h-line {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.pf-v-line {
    position: absolute;
    right: 7%;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.pf-content {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 12%;
    margin-top: 0;
}

.pf-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 500px;
    /* Constrain width to keep it on the right */
}

.pf-title {
    font-family: 'Outfit', sans-serif;
    font-size: 50px;
    /* Smaller font size */
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.pf-subtitle {
    font-size: 16px;
    /* Smaller subtitle */
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.pf-buttons {
    display: flex;
    gap: 15px;
}

.pf-btn {
    background-color: #fff;
    color: #000;
    text-decoration: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pf-btn:hover {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
}

.pf-right-accent {
    position: absolute;
    right: 5.5%;
    top: 65%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
}

.pf-dot {
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
}

/* Winter Picks Section */
.winter-picks-section {
    width: 100vw;
    min-height: 100vh;
    background-color: #ffffff;
    color: #000000;
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 20;
}

.wp-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 40px;
}

.wp-subtitle {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.wp-title {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #333;
}

.wp-gallery-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
}

.wp-gallery {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.wp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 23%;
}

.wp-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.wp-item-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.wp-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #8ab7b9;
    letter-spacing: 0.5px;
}

.wp-arrow {
    position: absolute;
    right: -40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #888;
    transition: background-color 0.3s ease;
}

.wp-arrow:hover {
    background-color: #eee;
}

.wp-footer {
    margin-top: 80px;
}

.wp-btn {
    background-color: #8ab7b9;
    color: #fff;
    padding: 15px 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.wp-btn:hover {
    background-color: #72a3a5;
}

/* Main Footer */
.main-footer {
    width: 100vw;
    min-height: 500px;
    background-color: #ffffff;
    /* Sets the base to white so black doesn't show through the transparent sky */
    background-image: url('footer image.jpg');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 20;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Push content to bottom over mountains */
}

.footer-content-overlay {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 5%;
    /* Slightly smaller padding to allow more space for the 4 columns */
    margin-bottom: 40px;
    position: relative;
    z-index: 5;
    gap: 30px;
    width: 100%;
}

.footer-brand {
    flex: 1.5;
}

.footer-contact,
.footer-links,
.footer-socials-col {
    flex: 1;
}

.footer-logo-text {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
    color: #000;
    text-transform: uppercase;
    background: linear-gradient(90deg, #000, #8ab7b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
}

.footer-contact h4,
.footer-links h4,
.footer-socials-col h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    position: relative;
    display: inline-block;
}

/* Modern small accent line under headings */
.footer-contact h4::after,
.footer-links h4::after,
.footer-socials-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 20px;
    height: 2px;
    background-color: #8ab7b9;
}

.footer-contact p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    /* Center align with icons */
    gap: 12px;
    transition: color 0.3s ease;
}

.footer-contact p:hover {
    color: #000;
}

.footer-contact p i {
    font-size: 16px;
    color: #8ab7b9;
    width: 20px;
    text-align: center;
}

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

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #8ab7b9;
}

.footer-links ul li a:hover {
    color: #000;
    padding-left: 8px;
    /* Slight indent on hover */
}

.footer-links ul li a:hover::before {
    opacity: 1;
    left: -15px;
}

.social-icons-row {
    display: flex;
    gap: 15px;
}

.social-icons-row a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    /* Very subtle background */
    color: #000;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-icons-row a:hover {
    background-color: #8ab7b9;
    border-color: #8ab7b9;
    transform: translateY(-5px);
    /* Lift effect */
    box-shadow: 0 5px 15px rgba(138, 183, 185, 0.4);
}

.footer-bottom-bar {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background-color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    position: relative;
    z-index: 5;
    letter-spacing: 1px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* About Me New Section */
.about-me-section {
    width: 100vw;
    min-height: 100vh;
    background-color: #ffffff;
    color: #000000;
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
    cursor: pointer;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent; /* Removes translucent tap highlight on mobile browsers */
    user-select: none; /* Prevents blue selection boxes when tapping rapidly to advance slides */
    -webkit-user-select: none; /* Safari text selection prevention */
}

.about-me-container {
    display: flex;
    max-width: 1400px;
    width: 100%;
    align-items: center;
    gap: 80px;
}

.about-me-left {
    flex: 1.2;
    display: flex;
    justify-content: center;
    position: relative;
}

.about-me-image-wrapper {
    position: relative;
    width: 550px;
    height: 600px;
    overflow: hidden;
    margin-right: 50px;
}

.about-me-collage {
    display: flex;
    gap: 15px;
    width: 100%;
    height: 100%;
}

.collage-col-1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.collage-col-2 {
    flex: 1.2;
}

.about-me-img-1,
.about-me-img-2 {
    width: 100%;
    flex: 1;
    object-fit: contain;
    background-color: transparent;
}

.about-me-img-3 {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: transparent;
}

.about-me-right {
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.about-me-text-content {
    max-width: 500px;
}

.about-me-title {
    font-family: 'Outfit', sans-serif;
    font-size: 80px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 10px;
}

.red-dot {
    color: #cc0000;
}

.about-me-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

#about-me-desc-container {
    height: 240px; /* FIXED DESKTOP HEIGHT: Permanently locks the right column height, ensuring the parent's flex-centering calculations never cause the "About Me." title to shift */
}

.about-me-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #000;
    margin-bottom: 20px;
}

.about-me-socials {
    display: flex;
    gap: 12px;
    margin-top: 40px;
}

.about-me-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.about-me-socials a:hover {
    background-color: #333;
    transform: translateY(-3px);
}

.about-me-pagination {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
    margin-left: 20px;
    margin-top: 150px;
}

.pagination-dot {
    width: 24px;
    height: 24px;
    background-color: #888;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    padding: 8px;
    background-clip: content-box;
    box-sizing: border-box;
}

.pagination-dot:hover {
    background-color: #ffffff;
    transform: scale(1.3);
}

.pagination-dot.active {
    background-color: #cc0000;
    transform: scale(1.4);
}

/* Educational Background Section */
.education-section {
    width: 100vw;
    background-color: #ffffff;
    color: #000;
    padding: 100px 5%;
    position: relative;
    z-index: 20;
    margin-bottom: -1px;
    /* Prevents sub-pixel black gap */
}

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

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-transform: uppercase;
}

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

.edu-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.edu-card {
    background: #f9f9f9;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    border-radius: 12px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.edu-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.edu-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2b6769;
    line-height: 1.4;
}

.edu-card p {
    font-size: 14px;
    color: #555;
    font-weight: 400;
    line-height: 1.6;
}

.blur-transition {
    transition: filter 0.5s ease, opacity 0.5s ease;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.blur-active {
    filter: blur(15px);
    opacity: 0;
}

/* SEARCH OVERLAY STYLES */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 100px 80px 40px 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.05);
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.search-close {
    position: absolute;
    top: 40px;
    right: 80px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10002;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.search-content {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.search-heading {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.search-bar-container {
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0;
    position: relative;
    transition: border-color 0.3s ease;
}

.search-bar-container:focus-within {
    border-color: #fff;
}

.search-bar-icon {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 20px;
}

.search-overlay input[type="text"] {
    flex-grow: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    font-family: 'Outfit', sans-serif;
    outline: none;
    padding: 0;
    width: 100%;
}

.search-overlay input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-clear {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
}

.search-clear:hover {
    color: #fff;
}

.search-results-container {
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 10px;
    margin-top: 10px;
}

.search-results-container::-webkit-scrollbar {
    width: 6px;
}
.search-results-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}
.search-results-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
.search-results-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    color: #fff;
    display: block;
    text-align: left;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.search-result-category {
    font-size: 11px;
    font-weight: 600;
    color: #4a90e2;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.search-result-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.search-result-snippet {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.search-no-results {
    text-align: center;
    padding: 60px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    font-weight: 300;
}

/* RESPONSIVE MEDIA QUERIES */

/* Tablet Screens (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .background-container {
        padding: 40px 40px;
    }

    .hero-content-new {
        margin-left: 20px;
    }

    .hero-content-new h1 {
        font-size: 48px;
    }

    .hero-stats {
        gap: 30px;
    }

    .about-header-centered .about-title h2 {
        font-size: 26px;
    }

    .about-header-centered .about-title p {
        font-size: 13px;
    }

    .east-gallery-redesign {
        width: 90%;
        left: 5%;
    }

    .gallery-item h3 {
        font-size: 28px;
    }

    .about-me-container {
        gap: 40px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-me-right {
        position: static; /* OVERRIDE TO STATIC: Allows the absolute social icons and dots to anchor to the entire white section instead of this container, permanently resolving overlaps */
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto; /* Let right column size naturally based on text */
    }

    .about-me-text-content {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .about-me-image-wrapper {
        width: 100%;
        max-width: 400px;
        height: 450px;
        margin-right: 0;
    }

    .about-me-title {
        font-size: 60px;
    }

    .about-me-socials {
        position: absolute; /* ABSOLUTE SECTION FOOTER PINNING: Nailed directly to the absolute bottom of the entire section to avoid any shifts */
        bottom: calc(50px + env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        margin-top: 0 !important;
        width: auto;
        z-index: 10;
    }

    .about-me-pagination {
        position: absolute; /* ABSOLUTE DOTS PINNING: Anchored directly at the very bottom edge of the entire section container */
        bottom: calc(15px + env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-top: 0 !important;
        margin-left: 0;
        width: auto;
        z-index: 10;
    }

    .wp-gallery {
        flex-wrap: wrap;
    }

    .wp-item {
        width: 45%;
        margin-bottom: 20px;
    }

    .footer-content-overlay {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-brand {
        flex: 1 1 100%;
        text-align: center;
    }
}

.search-highlight {
    background: rgba(74, 144, 226, 0.3);
    color: #fff;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 600;
}

/* Mobile and Tablet Screens (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    html {
        scroll-padding-top: calc(90px + env(safe-area-inset-top));
    }

    .background-container {
        padding: calc(95px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left)) !important;
        height: 100dvh;
        min-height: -webkit-fill-available;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1001;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: calc(12px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) 12px calc(24px + env(safe-area-inset-left)) !important;
        align-items: center !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-sizing: border-box;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    header.menu-open {
        opacity: 1 !important;
        z-index: 99999 !important;
        background: transparent !important;
        border-bottom-color: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }

    .logo {
        position: relative;
        z-index: 99999;
    }

    nav {
        margin-top: 0 !important;
        display: flex;
        align-items: center;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #000000;
        gap: 25px;
        z-index: 99998;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    nav ul.show {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    nav ul li {
        width: 100%;
        display: flex;
        justify-content: center;
        list-style: none;
    }

    nav ul li a {
        font-size: 22px;
        font-weight: 500;
        letter-spacing: 2px;
        display: block;
        padding: 14px 40px;
        width: 80%;
        max-width: 320px;
        text-align: center;
        border-radius: 30px;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        border: 1px solid transparent;
        text-decoration: none;
        color: #fff;
        box-sizing: border-box;
    }

    nav ul li a:active {
        transform: scale(0.95);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.1);
        color: #8ab7b9;
    }

    .header-icons {
        position: relative;
        z-index: 99999;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .header-icons .fa-search {
        padding: 10px;
        font-size: 18px;
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        box-sizing: border-box;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        cursor: pointer;
        padding: 12px;
        box-sizing: border-box;
        gap: 5px;
    }

    .hamburger .bar {
        width: 24px;
        height: 2px;
        background-color: #fff;
        border-radius: 2px;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Search Layout Adjustments */
    .search-overlay {
        height: 100dvh;
        height: -webkit-fill-available;
        padding: calc(90px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right)) calc(30px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));
    }

    .search-close {
        top: calc(20px + env(safe-area-inset-top));
        right: calc(24px + env(safe-area-inset-right));
        font-size: 28px;
    }

    .search-content {
        margin-top: 10px;
        gap: 20px;
    }

    .search-overlay input[type="text"] {
        font-size: 18px;
    }

    .search-results-container {
        max-height: 60vh;
    }

    .search-result-item {
        padding: 15px;
    }

    .search-result-title {
        font-size: 16px;
    }

    .search-result-snippet {
        font-size: 12px;
    }

    /* Curved Screen & General Safe Area Support for sections */
    .about-me-section,
    .photo-frames-section,
    .winter-picks-section,
    .education-section,
    .main-footer {
        padding-left: calc(24px + env(safe-area-inset-left)) !important;
        padding-right: calc(24px + env(safe-area-inset-right)) !important;
    }

    .whatsapp-float {
        bottom: calc(20px + env(safe-area-inset-bottom)) !important;
        right: calc(20px + env(safe-area-inset-right)) !important;
    }

    .about-section {
        height: auto; /* Hugs the content perfectly! */
        cursor: pointer; /* Indicated visually that tapping anywhere triggers a slide transition */
        -webkit-tap-highlight-color: transparent; /* PERMANENT FLASH SOLUTION: Removes the translucent blue/grey tap overlay on mobile tap */
        user-select: none; /* PERMANENT SELECTION SOLUTION: Prevents browser text highlight during rapid taps */
        -webkit-user-select: none; /* Safari-specific text selection prevention */
    }

    .about-sticky {
        height: auto; /* Let the height adapt to children naturally instead of locking to viewport */
        position: relative; /* Disable sticky pinning on mobile screen to flow normally */
        overflow: visible;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: calc(40px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom)) 16px; /* Consistent top/bottom padding */
        box-sizing: border-box;
    }

    .grid-lines-overlay {
        display: none; /* Hide background grid lines on mobile for cleaner premium look */
    }

    .about-dots {
        position: absolute;
        left: calc(8px + env(safe-area-inset-left));
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 10;
    }

    .about-dot {
        width: 6px;
        height: 6px;
        background-color: #fff;
        border-radius: 50%;
        opacity: 0.4;
        transition: opacity 0.3s ease, transform 0.3s ease;
        position: relative;
        cursor: pointer;
    }

    /* Expand touch tap target hitbox on mobile for ease of use */
    .about-dot::before {
        content: '';
        position: absolute;
        top: -12px;
        bottom: -12px;
        left: -12px;
        right: -12px;
    }

    .about-dot.active {
        opacity: 1;
        transform: scale(1.3);
    }

    .logo img {
        height: 60px;
        transform: scale(1.5);
    }

    .hero-content-new {
        margin-left: 0;
        margin-top: 30px;
    }

    .hero-content-new h1 {
        font-size: 36px;
    }

    .hero-content-new h2 {
        font-size: 18px;
    }

    .hero-badges .badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    .hero-stats {
        flex-direction: row; /* Horizontal bar layout to save 140px of vertical space and prevent layout clipping */
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 12px;
        margin-top: 15px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider to anchor the stats beautifully at the bottom */
    }

    .stat-item {
        flex: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .stat-num {
        font-size: 22px; /* Perfectly scaled down on mobile */
        font-weight: 800;
        line-height: 1;
        margin-bottom: 4px;
        color: #fff;
    }

    .stat-text {
        font-size: 9px; /* Neat micro-typography for horizontal columns */
        font-weight: 500;
        color: rgba(255, 255, 255, 0.6);
        letter-spacing: 0.5px;
        line-height: 1.2;
        text-align: center;
    }

    .slider-nav {
        display: none;
    }

    .scroll-down {
        display: none;
    }

    .about-header-centered {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        z-index: 5;
        text-align: center;
        margin: 0 auto 10px auto; /* 10px spacing below header */
        padding-top: 0;
    }

    .about-header-centered .about-title {
        text-align: center;
    }

    .about-header-centered .about-title h2 {
        font-size: 19px;
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 2px;
    }

    .about-header-centered .about-title p {
        font-size: 10px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.3;
        margin: 0 auto;
        max-width: 280px;
    }

    .about-header-centered .about-circle {
        width: 55px; /* Sized perfectly to keep layout compact and elegant */
        height: 55px;
        flex-shrink: 0; /* Prevents squishing on mobile */
        border: 2px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    }

    .east-gallery-redesign {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 320px; /* PERMANENT GAP SOLUTION: Prevents images from stretching too wide/tall and crowding the text */
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        justify-content: center;
        align-items: center;
        z-index: 5;
        padding: 0;
        margin: 0 auto 12px auto; /* 12px exact gap below the images */
    }

    .gallery-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .item-a,
    .item-s,
    .item-t {
        margin-top: 0;
    }

    .image-placeholder {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .gallery-item h3 {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 1px;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
    }

    .about-desc-container {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        height: 75px; /* PERMANENT SHIFT FIX: Fixed height prevents any layout shifts/movements in header or gallery when text changes */
        display: flex;
        align-items: center; /* Vertically center the text inside the fixed height box */
        justify-content: center;
        z-index: 5;
        margin: 0 auto;
        padding: 0;
    }

    .about-description {
        font-size: 12px;
        line-height: 1.5;
        text-align: center;
        color: rgba(255, 255, 255, 0.85);
        max-width: 300px;
        margin: 0 auto;
    }

    .about-side-text {
        display: none;
    }

    .get-ready-redesign {
        position: relative; /* Flow statically beneath the description instead of floating absolute */
        bottom: auto;
        left: auto;
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.6); /* Slightly dimmed for high-end aesthetic */
        z-index: 5;
        margin-top: 15px; /* Perfect, tight 15px distance below description box */
    }

    .about-me-section {
        padding: calc(60px + env(safe-area-inset-top)) 20px calc(115px + env(safe-area-inset-bottom)) 20px; /* Safe bottom padding to prevent any overlapping with the pinned socials/dots footer */
        display: flex;
        align-items: flex-start; /* PERMANENT SHIFT FIX: Anchors container to top of section so that height calculations never cause vertical centering jumps */
        justify-content: center;
        position: relative; /* relative for absolute bottom-anchored socials and pagination dots */
    }

    .about-me-image-wrapper {
        width: 100%;
        max-width: 320px;
        height: 350px;
    }

    .about-me-title {
        font-size: 40px;
    }

    #about-me-desc-container {
        height: 220px; /* FIXED MOBILE HEIGHT: Compacted to 220px to ensure plenty of spacing and 100% overlap-free alignment */
        margin-bottom: 20px;
    }

    .about-me-desc {
        font-size: 13px; /* Compact mobile biography typography for premium legibility and fit */
        line-height: 1.45;
        margin-bottom: 10px;
    }

    .pf-content {
        justify-content: center;
        padding-right: 0;
        padding: 0 20px;
        text-align: center;
    }

    .pf-text-container {
        align-items: center;
    }

    .pf-title {
        font-size: 32px;
    }

    .pf-right-accent {
        display: none;
    }

    .wp-item {
        width: 100%;
    }

    .wp-arrow {
        display: none;
    }

    .edu-card {
        max-width: 100%;
    }

    .footer-content-overlay {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-icons-row {
        justify-content: center;
    }

    .footer-contact h4::after,
    .footer-links h4::after,
    .footer-socials-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* Premium Slide-Fade Transition for About Me Slider */
.about-me-img-1,
.about-me-img-2,
.about-me-img-3,
#about-me-subtitle,
#about-me-desc-container {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease, opacity 0.4s ease !important;
}

.slide-out-left {
    transform: translateX(-50px) !important;
    filter: blur(10px) !important;
    opacity: 0 !important;
}

.slide-out-right {
    transform: translateX(50px) !important;
    filter: blur(10px) !important;
    opacity: 0 !important;
}

.slide-in-left {
    transform: translateX(-50px) !important;
    filter: blur(10px) !important;
    opacity: 0 !important;
    transition: none !important;
}

.slide-in-right {
    transform: translateX(50px) !important;
    filter: blur(10px) !important;
    opacity: 0 !important;
    transition: none !important;
}