/* --- CSS VARIABLES (Easy color management) --- */
:root {
    --bg-cream: #f1ecd9;
    --bg-slate: #36517c;
    --text-dark: #111111;
    --text-light: #ffffff;
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

html {
          scroll-behavior: smooth;
        }
        
 section {
            /* Pushes the scroll stop-point down 100px to account for the PC header */
            scroll-margin-top: 80px; 
        }

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-slate); /* Prevents white flash at the bottom */
}

/* --- NAVBAR --- */
/* --- UPDATED: FLOATING NAVBAR --- */
.navbar {
    position: fixed;      /* This is the magic word that makes it float */
    top: 0;
    left: 0;
    width: 100%;          /* Ensures it spans the whole screen */
    z-index: 1000;        /* Keeps it layered on top of all other content */
    
    /* Modern Glass Effect */
    background-color: rgba(244, 242, 234, 0.90); /* Cream color, but 90% solid */
    backdrop-filter: blur(8px); /* Blurs whatever scrolls underneath it */
    
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* Slightly larger shadow for depth */
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    height: 35px;
    width: auto;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6; /* Soft fade when hovering */
}

/* --- UPDATED: HERO SECTION --- */
.hero {
    /* This creates a soft spotlight effect behind the logo */
    background: radial-gradient(circle at 75% 50%, #4c6d91 0%, var(--bg-slate) 80%);
    padding: 8rem 8% 6rem 8%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh; 
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    color: var(--text-light);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px; /* Tighter letter spacing looks more modern */
}

.hero-content p {
    color: var(--text-light);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Pushes the logo to the right */
    align-items: center;
}

.hero-logo {
    max-width: 60%; /* Reduced size for a smaller hero logo */
    height: auto;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Gives the logo a 3D pop off the page */
}

/* The 'Eyebrow' text above the title */
.kicker {
    display: inline-block;
    color: var(--bg-cream);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Button Layout */
.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease; /* Makes the hover effect smooth */
}

/* The Solid Button */
.btn-primary {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: #ffffff;
    transform: translateY(-3px); /* Button lifts up slightly when hovered */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* The Outline Button */
.btn-outline {
    border: 2px solid var(--bg-cream);
    color: var(--bg-cream);
}

.btn-outline:hover {
    background-color: rgba(244, 242, 234, 0.1); /* Subtle white flash */
    transform: translateY(-3px);
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--bg-cream); /* Bright contrast to the Hero */
    padding: 6rem 8%;
    color: var(--text-dark);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Splits the section 50/50 */
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography for About */
.about-text h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--bg-slate);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #444; /* Slightly softer than pure black for readability */
}

/* The Motto Styling */
.motto {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--bg-slate);
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--bg-slate);
}

.motto-translate {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-style: normal;
    color: #666;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Visuals & Photo */
.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
    
    /* --- THE FIX IS HERE --- */
    /* We style the container, not the image itself */
    background-color: #ffffff; /* Pure white makes the frame pop against the cream */
    padding: 2rem;            /* Gives your PNG breathing room inside the frame */
    border-radius: 20px;     /* A smoother, more premium curve */
    box-shadow: 0 15px 50px rgba(0,0,0,0.07); /* A very soft, modern shadow */
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    /* We remove the old radius and shadow from here! */
    width: 100%; 
    height: auto;
    max-height: 350px; /* Keeps the PNG contained nicely */
    object-fit: contain; /* Crucial for transparent PNGs to fit perfectly */
}

/* The floating tech badge */
.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background-color: var(--bg-slate);
    color: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Container for the row of logos */
.stack-icons {
    display: flex;
    align-items: center;
    gap: 12px; /* Space between each logo */
    border-right: 2px solid rgba(255,255,255,0.2); /* A subtle divider line */
    padding-right: 15px; /* Space before the text */
}

.stack-row {
    display: flex;
    align-items: center; /* Vertically centers the items in the row */
    gap: 1.2rem; /* Space between each item */
    border-right: 2px solid rgba(255,255,255,0.2);
    padding-right: 1.5rem;
}

.stack-item {
    display: flex;
    flex-direction: column; /* This stacks the image and text vertically */
    align-items: center;    /* Horizontally centers the text under the logo */
    gap: 6px;               /* Space between the logo and the label */
}

/* Forces all logos to be exactly the same size */
/* --- Base sizing for all logos --- */
.stack-logo {
    width: 32px;  /* Standard size, leaving room for text */
    height: 32px;
    object-fit: contain;
}

.logo-zoom {
    transform: scale(2); /* This is the magic that makes the R logo larger without needing a separate image */
}

.stack-label {
    font-family: var(--font-sans); /* Use 'Inter' for clean readability */
    color: rgba(255,255,255,0.7); /* Softer white for professional subtlety */
    font-size: 0.7rem;            /* Very small, like a caption */
    font-weight: 600;             /* Bold enough to read at small size */
    text-transform: uppercase;     /* Professional catalog look */
    letter-spacing: 0.5px;         /* Adds breathing room to the letters */
}

/* Update the text slightly to fit the new layout */
.experience-badge .badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* --- SERVICES SECTION --- */
.services {
    background-color: #ffffff; /* Fresh white background for the grid */
    padding: 4rem 8%;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

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

/* --- THE NEO-BRUTALIST CARD --- */
.service-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06); /* Very subtle outline */
    padding: 2.5rem 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Soft, premium drop-shadow instead of hard black */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden; /* Keeps the top border neat */
}

.service-card:hover {
    transform: translateY(-8px); /* Gentle lift */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Shadow deepens slightly */
}

/* Card Colors */
.card-green { border-top: 5px solid #10b981; } /* Emerald Green */
.card-orange { border-top: 5px solid #f59e0b; } /* Amber */
.card-pink { border-top: 5px solid #db2777; } /* Deep Pink */

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937; /* Dark gray, much softer on the eyes than pure black */
    line-height: 1.3;
    margin: 0;
    max-width: 60%;
}

.price-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px; 
    white-space: nowrap;
}

.service-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
    padding: 0;
}

.service-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
}

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

.service-btn {
    display: block;
    text-align: center;
    background: #111; /* Keeps the high-conversion contrast */
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.service-btn:hover {
    background: #374151; /* Fades to dark gray instead of becoming transparent */
}

/* --- CONTACT SECTION --- */
.contact {
    background-color: var(--bg-slate);
    padding: 8rem 8%;
    display: flex;
    justify-content: center;
}

.contact-card {
    background-color: var(--bg-cream);
    border: 4px solid #111;
    border-radius: 20px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    box-shadow: 15px 15px 0px #111; /* Extra large hard shadow */
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--bg-slate);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #444;
}

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

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--bg-slate);
}

/* WhatsApp Button Styling */
.contact-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}

.wa-btn, .ig-btn {
    width: 100%; /* Makes them the same width for a clean look */
    max-width: 280px;
    text-decoration: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 3px solid #111;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px #111;
    text-decoration: none !important; /* Forces the underline to disappear */
    color: inherit;
}

.ig-btn {
    background-color: #fbcfe8; /* The pink from your IG post */
    color: #111;
}

.wa-btn {
    background-color: #25D366;
    color: white;
}

.wa-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0px #111;
}

.ig-btn:hover {
    background-color: #f9a8d4; /* Slightly darker pink on hover */
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0px #111;
}

.response-time {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
}

/* --- PSB FOOTER --- */
.psb-footer {
    background-color: var(--bg-cream);
    border-top: 4px solid #111; /* Thick border ties into the card aesthetic */
    padding: 2.5rem 8%;
    font-family: var(--font-sans);
    color: #111;
}

.psb-footer .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info p {
    margin: 0;
    line-height: 1.5;
}

.copyright {
    font-size: 1.1rem;
    font-weight: 800;
}

.managed-by {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

/* The 'Back to Main Site' Button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border: 2px solid #111;
    border-radius: 8px;
    background-color: #a7f3d0; /* Uses that same fresh green from your services grid */
    transition: all 0.2s ease;
    box-shadow: 3px 3px 0px #111; /* Hard shadow */
}

.back-link:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #111;
    background-color: #86efac; /* Slightly brighter green on hover */
}

/* --- REVIEWS SECTION (Professional Minimalist) --- */
.reviews {
    background-color: var(--bg-cream); /* Keeps the flow bright and clean */
    padding: 6rem 8%;
}

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

.reviews .section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--bg-slate);
}

/* --- INFINITE SCROLLING REVIEWS --- */

/* 1. The Container hides anything outside of its width */
.reviews-marquee {
    width: 100%;
    overflow-x: auto; /* Enables native scrolling/swiping */
    overflow-y: hidden;
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    cursor: grab; /* Shows the 'hand' icon so users know they can drag */
}

.reviews-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-cream) 0%, transparent 100%);
}
.reviews-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-cream) 0%, transparent 100%);
}

.reviews-marquee::-webkit-scrollbar {
    display: none;
}
.reviews-marquee {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* When the user clicks and drags */
.reviews-marquee:active {
    cursor: grabbing;
}

.reviews-track {
    display: flex;
    gap: 2.5rem;
    width: max-content; 
    /* NOTICE: We completely removed the 'animation' rule from here! */
}

/* 4. Ensure cards don't shrink or stretch horizontally */
.review-card {
    width: 350px; /* Fixed width is required for horizontal carousels */
    flex-shrink: 0; /* Prevents flexbox from squeezing them */
    
    /* Keep all your previous premium styling below: */
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

/* 5-Star Rating */
.stars {
    color: #f59e0b; /* A professional, muted gold/amber */
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 4px;
}

/* The Quote */
.review-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1; /* This ensures the names align at the bottom even if quotes are different lengths */
}

/* Client Info Separator */
.client-info {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 1.2rem;
}

.client-name {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.client-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}   

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #444;
    border: 1px solid rgba(0,0,0,0.05);
}

.rating-badge strong {
    color: var(--text-dark);
    font-size: 1.05rem;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    body {
        padding-top: 120px; /* More vertical space for taller mobile header */
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 5%;
        gap: 4rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-image-container {
        justify-content: center;
    }

    .hero-logo {
        max-width: 90%;
    }
        .about-container {
        grid-template-columns: 1fr; /* Stacks the text on top of the image */
        gap: 3rem;
    }
    
    .experience-badge {
        left: 50%;
        transform: translateX(-50%); /* Centers the badge on mobile */
        bottom: -30px;
    }

    /* --- CONTACT SECTION --- */
.contact {
    background-color: var(--bg-slate);
    padding: 8rem 8%;
    display: flex;
    justify-content: center;
}

.contact-card {
    background-color: var(--bg-cream);
    border: 4px solid #111;
    border-radius: 20px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    box-shadow: 15px 15px 0px #111; /* Extra large hard shadow */
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--bg-slate);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #444;
}

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

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--bg-slate);
}

/* WhatsApp Button Styling */
.contact-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
}
.contact-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    text-align: center;
}

.contact-info h2 { font-size: 2.2rem; }

.contact-details { align-items: center; }
}