/* --- CSS Variables --- */
:root {
    --header-height: 60px;
    --mobile-header-height: 56px;
}

/* --- Global Body & Theme Styles --- */
body {
    background: radial-gradient(1200px 800px at 10% -10%, #111827 0%, #0b0f14 40%), #0b0f14;
    color: #e5e7eb;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

body.subpage {
    padding-top: var(--header-height);
}

/* Lock body scroll when mobile nav is open */
body.nav-open {
    overflow: hidden;
}

/* --- Fixed Top Navigation Bar --- */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */ /* Removed the line under navigation */
    padding-top: env(safe-area-inset-top);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    position: relative;
}

.nav-logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    z-index: 2002; /* Ensure logo is above mobile menu background */
    margin: 0;
    padding: 0 1rem;
    background: transparent;
    backdrop-filter: none;
    display: flex;
    align-items: center;
}

.nav-logo:hover {
    color: #e5e7eb;
}

/* --- Base styles for the navigation menu (mobile overlay) --- */
.nav-menu {
    display: none; /* Hidden by default */
    list-style: none;
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 20vw;
    min-width: 200px;
    max-width: 280px;
    height: calc(100vh - var(--header-height));
    margin: 0;
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.nav-menu.nav-menu-open {
    display: flex; /* Show the menu */
}

.nav-menu li {
    margin: 0;
    width: 100%;
    text-align: left;
}

.nav-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #e5e7eb;
    text-decoration: none;
    width: 100%;
    min-height: 44px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: none;
    color: #ffffff;
}

/* --- Mobile Navigation Toggle Button --- */
.mobile-nav-toggle {
    display: none; /* Hidden by default, shown on mobile */
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    z-index: 2001; /* Above the nav menu */
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-toggle:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* ===================================================================
   Responsive Overrides
=================================================================== */

/* --- Desktop Navigation (769px and up) --- */
@media (min-width: 769px) {
    .nav-container {
        justify-content: space-between;
    }

    .nav-menu {
        display: flex;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        flex-direction: row;
        background: none;
        backdrop-filter: none;
        width: auto;
        height: auto;
        padding: 0;
        z-index: auto;
        white-space: nowrap;
        right: auto;
    }

    .nav-menu li {
        margin: 0 15px;
        width: auto;
    }

    .nav-menu li a {
        padding: 8px 16px;
        font-size: 1rem;
        display: flex;
        align-items: center;
        height: var(--header-height);
    }

    .nav-menu li a:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-menu li a.active {
        color: #ffffff;
        background: none;
    }
}

/* --- Tablet & Mobile (1024px and down) --- */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 16px;
    }
}

/* --- Mobile Only (768px and down) --- */
@media (max-width: 768px) {
    :root {
        --header-height: var(--mobile-header-height);
    }

    /* Responsive homepage header styles */
    body.home header {
        padding-top: calc(var(--header-height) + 30px);
        margin-bottom: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    body.home header h1 {
        font-size: 2em;
    }

    body.home header h2 {
        font-size: 1.2em;
    }

    /* Hero section mobile styles */
    .hero-section-home {
        padding: 60px 20px;
    }

    .hero-content-home h1 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-content-home p {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .cta-button-home {
        padding: 14px 32px;
        font-size: 1.1em;
    }

    /* About section mobile styles */
    .about-section-home {
        padding: 50px 20px;
    }

    .about-section-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
        margin-bottom: 40px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text h3 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 20px;
    }

    .about-text p {
        font-size: clamp(1rem, 3.5vw, 1.15rem);
    }

    /* Contact section mobile styles */
    .contact-section-home {
        padding: 40px 20px;
    }

    .contact-content h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .contact-content p {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

    .contact-info p {
        flex-direction: column;
        gap: 5px;
    }

    .mobile-nav-toggle {
        display: block;
        /* Hamburger is positioned by flexbox, no margin needed */
    }

    /* --- Container and Layout Responsive --- */
    html, body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .container {
        padding: 0 16px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Home page boxes stack vertically */
    .container.vertical {
        flex-direction: column;
        padding: 1rem;
    }
    
    .box {
        margin-bottom: 1rem;
        min-height: 120px;
    }

    /* Ghost button mobile styles */
    .ghost-btn {
        padding: 10px 24px;
        font-size: 0.9em;
    }
    
    /* Hero sections */
    .hero-section-redesign {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .hero-content-redesign h1 {
        font-size: clamp(1.4rem, 4vw, 2.5rem);
        line-height: 1.2;
        word-break: keep-all;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-content-redesign p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 1.5rem;
    }

    /* --- Service Cards Responsive --- */
    .services-grid,
    .re-services-grid {
        grid-template-columns: 1fr;
    }
 
    .service-card,
    .re-service-card {
        margin-bottom: 1rem;
    }
 
    /* Ensure images scale on small screens */
    .service-image {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
    }
 
    .re-service-text h3 {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }
 
    .re-service-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* --- Advantages Section Responsive --- */
    .re-advantages {
        padding: 2rem 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage-item {
        text-align: center;
        padding: 1.5rem;
    }
    
    .advantage-item h3 {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
}

/* --- Contact and Footer Responsive --- */
@media (max-width: 768px) {
    .contact-details {
        padding: 0 1rem;
        text-align: center;
    }
    
    .qr-section {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .qr-item {
        max-width: 200px;
    }
    
    footer {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    footer .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* --- Typography Responsive --- */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.6;
        word-break: keep-all;
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    h1 {
        font-size: clamp(1.4rem, 4vw, 2.5rem);
        line-height: 1.2;
        word-break: keep-all;
        overflow-wrap: break-word;
        hyphens: auto;
        margin: 0 0 1rem 0;
    }
    
    h2 {
        font-size: clamp(1.3rem, 4vw, 2rem);
        line-height: 1.3;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
        line-height: 1.4;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    p {
        max-width: 100%;
        margin-bottom: 1rem;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* --- Reduce animations on mobile for performance --- */
@media (max-width: 768px) {
    [data-aos] {
        animation-duration: 0.6s !important;
        animation-delay: 0.1s !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        animation: none !important;
        transition: none !important;
    }
}

/* --- Mobile Layout Fixes --- */
@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    .hero-section-redesign,
    .real-estate-hero-redesign,
    .wealth-management-hero-redesign,
    .photography-hero-redesign,
    .anime-hero-redesign,
    .medical-beauty-hero-redesign {
        padding: 1.5rem 1rem;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .hero-content-redesign {
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }
    
    /* Fix section widths */
    .section,
    .re-services,
    .re-advantages,
    .cta-section {
        width: 100%;
        padding: 2rem 1rem;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Fix grid layouts */
    .re-services-grid,
    .advantages-grid {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .re-service-item,
    .advantage-item {
        width: 100%;
        margin: 0 0 1.5rem 0;
        padding: 1rem;
        box-sizing: border-box;
    }
}

/* --- Accessibility improvements --- */
@media (max-width: 768px) {
    /* Ensure touch targets are at least 44px */
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Focus states more visible on mobile */
    a:focus, button:focus, input:focus, select:focus, textarea:focus {
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }
}

/* Subpages offset for fixed nav */
body.subpage {
    padding-top: 60px; /* Offset for fixed nav */
}

/* Subpage content styling for dark theme */
body.subpage main {
    background: transparent;
    color: #d1d5db;
}

body.subpage .hero-section {
    background-color: rgba(15, 23, 42, 0.8);
    color: #d1d5db;
}

body.subpage .section {
    background: rgba(17, 24, 39, 0.6);
    color: #d1d5db;
}

body.subpage h1, body.subpage h2, body.subpage h3 {
    color: #1f2937;
}

/* Override for pain-point section - needs white text */
body.subpage .re-pain-points h2,
body.subpage .re-pain-points h3,
body.subpage .re-pain-points p {
    color: #ffffff !important;
}

body.subpage .re-services-grid-section h2,
body.subpage .re-services-grid-section .re-service-card h3 {
    color: #ffffff !important;
}

body.subpage .re-advantages-grid h2,
body.subpage .re-advantages-grid .re-advantage-card h3,
body.subpage .re-advantages-grid .re-advantage-card p {
    color: #ffffff !important;
}

body.subpage .re-case-studies h2 {
    color: #ffffff !important;
}

body.subpage .re-case-card h3,
body.subpage .re-case-card p {
    color: #000000 !important;
}

body.subpage .re-faq h2 {
    color: #ffffff !important;
}

body.subpage .re-faq-item summary,
body.subpage .re-faq-item p {
    color: #0f172a !important;
}

/* Specific styling for wealth management page titles */
body.subpage .re-process-modern h2 {
    color: #000000 !important;
}

body.subpage .re-advantages h2 {
    color: #000000 !important;
}

body.subpage .re-services-alternating h2 {
    color: #000000 !important;
}

/* Lighter text for paragraphs and descriptions */
body.subpage p {
    color: #d1d5db;
}

/* Override for specific text content in wealth management - only for white background sections */
body.subpage .process-content p {
    color: #000000 !important;
}

/* Service text should be white on dark hero sections, black on white advantage sections */
body.subpage .re-advantages .re-service-text p,
body.subpage .re-advantages .re-service-text ul li {
    color: #000000 !important;
}

/* Section titles should be dark for visibility */
body.subpage .usp-section h2,
body.subpage .services-section h2,
body.subpage .journey-section h2,
body.subpage .cta-section h2,
body.subpage .anime-usp-section h2,
body.subpage .anime-services-section h2,
body.subpage .photo-usp-section h2,
body.subpage .photo-services-section h2 {
    color: #1f2937;
}

/* Hero sections should have white text (dark backgrounds) */
body.subpage .hero-section-redesign h1 {
    color: #ffffff !important;
}

/* Service sections with dark backgrounds should have white text */
body.subpage .re-services-alternating h2,
body.subpage .re-services-alternating .re-service-text h3 {
    color: #ffffff !important;
}

/* White background sections should have black text */
body.subpage .re-advantages h2,
body.subpage .re-advantages .re-service-text h3,
body.subpage .re-process-modern h2 {
    color: #000000 !important;
}

/* --- Layered 3D Cards on Home --- */
body.home .container {
    perspective: 1000px;
    gap: 40px;
    max-width: 1100px;
}
body.home .box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.04) inset;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}
body.home .box:hover {
    transform: translateY(-12px) scale(1.02) rotateX(1.2deg) rotateY(-1.2deg);
    box-shadow: 0 16px 45px rgba(0,0,0,0.5);
}
body.home .box .box-content {
    transform: translateZ(30px);
}
body.home .box:nth-child(1) { transform: translateX(-10px); }
body.home .box:nth-child(2) { transform: translateX(10px); }
body.home .box:nth-child(3) { transform: translateX(-6px); }
body.home .box:nth-child(4) { transform: translateX(6px); }
body.home .box:nth-child(5) { transform: translateX(-4px); }

/* --- Real Estate License + QR (Subpage) --- */
.license-section {
    background: linear-gradient(90deg, #0f172a 0%, #111827 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 16px;
    text-align: center;
}
.license-section .license-text {
    font-size: 0.95em;
    color: #e5e7eb;
    margin-bottom: 12px;
}
.license-section .qr-codes {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.license-section .qr-item {
    text-align: center;
    color: #e5e7eb;
    font-size: 0.9em;
}
.license-section .qr-item img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    background: #ffffff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Subpage Header Styles */
.subpage-header {
    display: flex;
    justify-content: space-between; /* Pushes logo to left, title to right */
    align-items: center;
    padding: 1em 2em; /* Adjust padding as needed */
    background: linear-gradient(90deg, #333 0%, #1a1a1a 100%); /* Darker, simpler gradient for subpages */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subpage-header .logo a {
    font-size: 1.5em; /* Slightly smaller logo text for subpages */
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.subpage-header .subpage-title h2 {
    margin: 0;
    font-size: 1.8em; /* Prominent subpage title */
    color: #fff;
    font-weight: 600;
}

/* Homepage header styling */
body.home header {
    padding-top: calc(var(--header-height) + 40px);
    text-align: center;
    margin-bottom: 40px;
}

body.home header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

body.home header h2 {
    font-size: 1.5em;
    font-weight: 400;
    margin: 0;
    color: #b0b0b0;
    letter-spacing: 0.05em;
}

/* --- Homepage Hero Section --- */
.hero-section-home {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 100px 20px;
    text-align: center;
    margin-top: var(--header-height);
}

.hero-content-home {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content-home h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.hero-content-home p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3em;
    color: #ffffff;
    line-height: 1.8;
    margin: 0 0 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-home {
    display: inline-block;
    padding: 16px 40px;
    background-color: #E87A4D;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 122, 77, 0.3);
}

.cta-button-home:hover {
    background-color: #d66a3d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(232, 122, 77, 0.4);
}

/* --- Homepage About Us Section --- */
.about-section-home {
    background: #1A1A1A;
    padding: 80px 20px;
}

.about-section-title {
    text-align: center;
    font-size: 2.8em;
    color: #ffffff;
    margin: 0 0 60px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.about-image .image-caption {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
    letter-spacing: 0.3px;
}

.about-text h3 {
    font-size: 2em;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.about-text p {
    font-size: 1.15em;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
}

/* --- Homepage Contact Section --- */
.contact-section-home {
    background: rgba(15, 23, 42, 0.8);
    padding: 60px 20px;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-content p {
    font-size: 1.2em;
    color: #e5e7eb;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    font-size: 1.1em;
    color: #e5e7eb;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-info i {
    color: #E87A4D;
    font-size: 1.2em;
}

.contact-info a {
    color: #E87A4D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #d66a3d;
    text-decoration: underline;
}

main {
    flex: 1;
    padding: 30px 20px;
    text-align: center;
}

.container {
    display: flex;
    justify-content: center; /* Center boxes */
    align-items: stretch; /* Make boxes same height if content differs */
    flex-wrap: wrap;
    gap: 30px; /* Space between boxes */
    margin-top: 40px;
    max-width: 800px; /* Limit width for larger screens */
    margin-left: auto;
    margin-right: auto;
    flex-direction: column; /* Stack boxes vertically */
}

.container.vertical {
    flex-direction: column;
    align-items: center;
}

.box {
    background-color: rgba(255, 255, 255, 0.1);
    border: none; /* Remove border */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.15); /* Stronger shadow */
    width: 90%; /* Use percentage for responsiveness */
    max-width: 700px; /* Maximum width */
    height: 300px; /* Increased height for larger boxes */
    margin: 10px 0; /* Vertical margin */
    display: flex;
    flex-direction: column; /* Stack icon and text vertically */
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff; /* White text for better contrast */
    position: relative; /* For background overlay */
    overflow: hidden; /* Keep background image within border radius */
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.real-estate {
    background-image: url('https://images.pexels.com/photos/5461586/pexels-photo-5461586.jpeg');
}

.wealth-management {
    background-image: url('https://images.pexels.com/photos/210600/pexels-photo-210600.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
}

.photography {
    background-image: url('https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8amFwYW4lMjBsYW5kc2NhcGV8ZW58MHx8MHx8fDA%3D&auto=format&fit=crop&w=1200&q=80');
}

.medical-beauty {
    background-image: url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8YWVzdGhldGljJTIwY2xpbmljfGVufDB8fDB8fHww&auto=format&fit=crop&w=1200&q=80');
}

.anime {
    background-image: url('Assets/pictures/cosplay.jpg');
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%); /* Bottom-to-top gradient: dark at bottom, transparent at top */
    z-index: 1;
    transition: background 0.3s ease;
}

.box:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%); /* Lighter gradient on hover */
}

.box-content {
    position: relative;
    z-index: 2; /* Place above the overlay */
    text-align: center;
    padding: 20px;
}

.box h3 {
    margin: 0 0 20px 0;
    font-size: 2.5em; /* Larger font size now that icons are removed */
    font-weight: 700;
    color: #fff; /* Ensure text is white */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7); /* Stronger shadow for better readability */
    text-transform: uppercase; /* Optional: makes text more prominent */
    letter-spacing: 1px; /* Slightly spaced letters for better readability */
}

/* Ghost-style CTA button for service cards */
.ghost-btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: auto;
}

.ghost-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

footer {
    background-color: #2c3e50; /* Darker footer */
    color: #ecf0f1; /* Lighter text for footer */
    text-align: center;
    padding: 1.5em 0;
    margin-top: auto;
}

/* --- Modern Process Timeline --- */
.re-process-modern {
    background-color: #f8f9fa;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    padding-left: 100px;
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #4b6cb7;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.process-content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.process-content h3 {
    font-size: 1.5em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
}

.process-content p {
    font-size: 1em;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 0;
}


/* Subpage specific styling */
main p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #000000;
}

main a {
    display: inline-block;
    background-color: #4b6cb7;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

main a:hover {
    background-color: #182848;
    text-decoration: none;
}

/* === Medical Beauty Page Specific Styles === */

/* Hero Section */
.medical-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8YWVzdGhldGljJTIwY2xpbmljfGVufDB8fDB8fHww&auto=format&fit=crop&w=1200&q=80');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* Replace with a relevant high-quality image if needed */
    border-radius: 0 0 20px 20px; /* Rounded bottom corners if desired */
}

.hero-content h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.3em;
    color: #ffffff; /* Ensure pure white */
    font-weight: 400; /* Slightly bolder than normal, adjust if needed */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5); /* Adjusted shadow for clarity */
}

/* General Button Styles (can be enhanced) */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.btn-primary {
    background-color: #e83e8c; /* A vibrant pink, adjust as needed */
    color: white;
    border: 2px solid #e83e8c;
}

.btn-primary:hover {
    background-color: #d13078;
    border-color: #d13078;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #4b6cb7;
    border: 2px solid #4b6cb7;
}

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

/* USP Section */
.usp-section, .services-section, .journey-section, .cta-section {
    padding: 50px 20px;
}

.usp-section h2, .services-section h2, .journey-section h2, .cta-section h2 {
    font-size: 2.2em;
    color: #182848; /* Dark blue */
    margin-bottom: 40px;
    text-align: center;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.usp-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usp-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.usp-item i {
    font-size: 2.5em;
    color: #e83e8c; /* Accent color */
    margin-bottom: 15px;
}

.usp-item h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 10px;
}

.usp-item p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.7;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-card i {
    font-size: 2.2em;
    color: #4b6cb7; /* Primary site color */
    margin-bottom: 15px;
}

.service-card h4 {
    font-size: 1.3em;
    color: #182848;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
}

.services-section .btn-secondary {
    margin-top: 20px;
}

/* === Real Estate Page: Advantages Section === */
.re-advantages {
    background-color: #ffffff; /* White background for a clean look */
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.re-advantages h2 {
    color: #182848;
    margin-bottom: 50px;
}

.re-advantages .re-service-item {
    display: flex;
    flex-direction: row; /* Default layout: image left, text right */
    align-items: center;
    background-color: transparent; /* No background on the item itself */
    box-shadow: none;
    margin-bottom: 60px; /* Increased space between items */
    gap: 40px;
}

.re-advantages .re-service-item:last-child {
    margin-bottom: 0;
}

.re-advantages .re-service-image {
    flex: 1 1 45%; /* Image takes up 45% of the width */
    max-width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.re-advantages .re-service-text {
    flex: 1 1 55%; /* Text takes up 55% */
    max-width: 55%;
    text-align: left;
    padding: 0;
}

.re-advantages .re-service-text h3 {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

.re-advantages .re-service-text p {
    font-size: 1.1em;
    color: #000000;
    margin-bottom: 20px;
}

.re-advantages .re-service-text ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.re-advantages .re-service-text ul li {
    font-size: 1.05em;
    color: #000000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.re-advantages .re-service-text ul li .fa-check-circle {
    color: #28a745; /* Green checkmark */
    margin-right: 10px;
}

.re-advantages .faq-list {
    list-style: none;
    padding-left: 0;
}

.re-advantages .faq-list li {
    margin-bottom: 20px;
    font-size: 1.1em;
}

.re-advantages .faq-container {
    margin-top: 20px;
}

.re-advantages .faq-item {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.re-advantages .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: #333;
}

.re-advantages .faq-question i {
    transition: transform 0.3s ease;
}

.re-advantages .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.re-advantages .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    color: #555;
    font-size: 1em;
}

.re-advantages .faq-answer p {
    padding: 0 0 15px 10px; /* Indent answer slightly */
    margin: 0;
    line-height: 1.7;
}

.re-advantages .faq-list li strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

/* === Real Estate Page: Contact Section === */
.real-estate-cta-section p {
    color: #000000 !important; /* Black text for contact info */
}

.real-estate-cta-section .contact-details {
    margin-top: 30px;
    margin-bottom: 30px;
}

.real-estate-cta-section .contact-details p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.real-estate-cta-section .contact-details a {
    color: #000000; /* Black link text */
    text-decoration: underline;
    background-color: transparent;
    padding: 0;
}

.real-estate-cta-section .contact-details a:hover {
    color: #4b6cb7; /* Link hover color */
    background-color: transparent;
}

/* Journey Section */
.journey-steps {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Optional: Add a timeline bar */
.journey-steps::before {
    content: '';
    position: absolute;
    left: 20px; /* Adjust based on icon size */
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #e0e0e0; /* Light grey for timeline */
    border-radius: 2px;
}

.journey-steps li {
    margin-bottom: 30px;
    padding-left: 60px; /* Space for icon and timeline */
    position: relative;
}

.journey-steps .step-icon {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #4b6cb7; /* Primary site color */
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    box-shadow: 0 0 0 4px #f0f2f5; /* Creates a border effect against the timeline */
}

.journey-steps h4 {
    font-size: 1.3em;
    color: #182848;
    margin-bottom: 8px;
}

.journey-steps p {
    font-size: 1em;
    color: #555;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background-color: #f9f9f9; /* Slightly different background */
    border-radius: 10px;
    padding: 50px 30px;
    max-width: 800px;
    margin: 40px auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cta-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.cta-section .btn-primary {
    padding: 15px 30px;
    font-size: 1.2em;
}

.privacy-note {
    font-size: 0.9em;
    color: #777;
    margin-top: 20px;
}

/* Ensure subpage main content takes precedence over general main 'a' styling for buttons */
.medical-hero .btn, .services-section .btn, .cta-section .btn {
    /* Reset some general 'main a' styles if they conflict */
    background-color: initial; /* Let specific button classes handle this */
    color: initial;
    padding: initial;
    border-radius: initial;
    margin-top: initial;
}

.medical-hero .btn-primary, .cta-section .btn-primary {
    background-color: #e83e8c;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
}
.medical-hero .btn-primary:hover, .cta-section .btn-primary:hover {
    background-color: #d13078;
}

.services-section .btn-secondary {
    background-color: transparent;
    color: #4b6cb7;
    border: 2px solid #4b6cb7;
    padding: 12px 25px;
    border-radius: 8px;
}
.services-section .btn-secondary:hover {
    background-color: #4b6cb7;
    color: white;
}

/* Override general main a for subpage if it was too generic */
main > section a.btn {
    display: inline-block; /* Ensure it behaves like a button */
    /* background-color, color, padding, border-radius are handled by .btn, .btn-primary, .btn-secondary */
}
main > section a.btn:hover {
    text-decoration: none; /* Remove underline from buttons */
    /* hover background-color handled by specific button classes */
}

/* Remove default link styling from homepage boxes if they inherited from 'main a' */
.container a.box {
    color: #333; /* Original box text color */
    background-color: #fff; /* Original box background */
    /* Reset any other inherited 'main a' styles if necessary */
}

.container a.box:hover {
    /* Keep original box hover effects */
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    text-decoration: none;
    background-color: #fff; /* Ensure hover doesn't change bg from 'main a' */
}

/* === Anime/Manga Page Specific Styles === */

/* Anime Hero Section */
.anime-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('Assets/pictures/cosplay.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #EAEAEA;
    text-align: center;
    padding: 120px 20px;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.hero-text-container {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 30px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(106, 13, 173, 0.3);
}

.anime-hero .hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    color: #fff;
    letter-spacing: 1px;
}

.anime-hero .hero-content p {
    font-size: 1.5em;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* Anime USP Section - More playful */
.anime-usp-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #1e1e2f;
    color: #EAEAEA;
}

.anime-usp-section h2 {
    font-size: 2.8em;
    color: #fff;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.anime-usp-section .usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.anime-usp-section .usp-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #6A0DAD;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(106, 13, 173, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.anime-usp-section .usp-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 30px rgba(106, 13, 173, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.anime-usp-section .usp-item i {
    font-size: 3em;
    color: #9B59B6;
    margin-bottom: 20px;
    display: block;
}

.anime-usp-section .usp-item h3 {
    font-size: 1.6em;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.anime-usp-section .usp-item p {
    font-size: 1.05em;
    color: #ccc;
    line-height: 1.7;
}

/* Anime Services Section - Background Images */
.anime-services-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f0f2f5;
}

.anime-services-section h2 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.anime-services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
}

.anime-services-section .service-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* For overlay and text positioning */
    min-height: 350px; /* Ensure space for background image */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Push content to bottom */
    padding: 25px;
    text-align: left;
}

.anime-services-section .service-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 100%);
    z-index: 1;
    border-radius: 15px; /* Match parent's border-radius */
    transition: background 0.3s ease;
}

.anime-services-section .service-item:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
}

.anime-services-section .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.anime-services-section .service-item img {
    display: block !important; /* Show images */
    width: 100%; /* Full width of container */
    max-width: 300px; /* Max width constraint */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto 20px; /* Center horizontally and add bottom margin */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Subtle shadow */
    object-fit: cover; /* Ensure image covers the area nicely */
}

.anime-services-section .service-item h3,
.anime-services-section .service-item p {
    position: relative; /* Ensure text is above overlay */
    z-index: 2;
}

.anime-services-section .service-item h3 {
    font-size: 1.7em;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.anime-services-section .service-item p {
    font-size: 1.05em;
    color: #e0e0e0; /* Lighter text for readability on dark overlay */
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    margin-bottom: 0; /* Remove default bottom margin if any */
}

/* Images for Anime Service Items are now handled by the img tags */


/* Anime CTA Section - Bold and inviting */
.anime-cta-section {
    background: linear-gradient(135deg, #6A0DAD 0%, #9B59B6 100%);
    color: #fff;
    padding: 70px 20px;
    text-align: center;
    border-radius: 0;
}

.anime-cta-section h2 {
    font-size: 2.6em;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.anime-cta-section p {
    font-size: 1.3em;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: #fff; /* Explicitly set to white */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4); /* Add shadow for better contrast */
}

.anime-cta-section .btn-primary {
    background-color: #fff; /* White button on purple bg */
    border: 2px solid #fff;
    color: #6A0DAD; /* Purple text */
    padding: 18px 40px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px; /* Pill shape button */
    transition: all 0.3s ease;
}

.anime-cta-section .btn-primary:hover {
    background-color: transparent; /* Transparent on hover */
    color: #fff; /* White text */
    transform: scale(1.05);
}

/* === Real Estate Page Specific Styles === */

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(420px, 70vh, 680px);
    padding: clamp(120px, 18vh, 180px) 20px clamp(100px, 15vh, 150px);
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 13, 24, 0.6), rgba(15, 23, 42, 0.35));
    z-index: 0;
}

.hero-section .hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: clamp(32px, 6vw, 48px) clamp(24px, 5vw, 40px);
    backdrop-filter: blur(6px);
    background: rgba(15, 23, 42, 0.4);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(8, 13, 24, 0.45);
}

.hero-section .hero-content h1 {
    font-size: clamp(2.6rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #ffffff;
}

.hero-section .hero-content p {
    font-size: clamp(1.15rem, 2.6vw, 1.45rem);
    line-height: 1.8;
    margin-bottom: 35px;
    color: #f4f4f5;
}

.hero-section .hero-cta {
    background: linear-gradient(135deg, #f97316, #fb923c);
    border: none;
    color: #0f172a;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 999px;
    box-shadow: 0 18px 35px rgba(249, 115, 22, 0.35);
}

.hero-section .hero-cta:hover,
.hero-section .hero-cta:focus {
    background: linear-gradient(135deg, #fb923c, #f97316);
    transform: translateY(-2px);
}

.real-estate-hero {
    background: linear-gradient(rgba(6, 11, 20, 0.2), rgba(6, 11, 20, 0.35)), url('Assets/pictures/real estate hero.png');
    background-size: cover;
    background-position: center;
}

.re-pain-points {
    background: radial-gradient(circle at top left, rgba(148, 197, 255, 0.22), transparent 52%),
                radial-gradient(circle at bottom right, rgba(252, 211, 77, 0.22), transparent 60%),
                rgba(11, 16, 27, 0.58);
    padding: clamp(60px, 12vw, 100px) 20px;
}

.re-pain-points h2 {
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.9rem);
    margin-bottom: clamp(40px, 6vw, 64px);
    color: #ffffff;
    position: relative;
    text-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

.re-pain-points h2::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, #fb923c, #f97316);
    border-radius: 999px;
}

.re-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 36px);
}

.re-pain-card {
    background: rgba(24, 33, 54, 0.56);
    border-radius: 20px;
    padding: clamp(28px, 4vw, 36px) clamp(22px, 3vw, 28px);
    box-shadow: 0 26px 55px rgba(8, 13, 24, 0.32);
    border: 1px solid rgba(186, 230, 253, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.re-pain-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.re-pain-card::before {
    content: '';
    position: absolute;
    inset: -120px 40% auto -20%;
    height: 240px;
    background: radial-gradient(circle at center, rgba(165, 243, 252, 0.3), transparent 68%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.re-pain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 80px rgba(13, 23, 42, 0.46);
    border-color: rgba(248, 250, 252, 0.7);
}

.re-pain-card:hover::before {
    opacity: 1;
}

.re-pain-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(232, 251, 255, 0.7), rgba(59, 130, 246, 0.45));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 12px 26px rgba(14, 165, 233, 0.2);
}

.re-pain-icon i {
    font-size: 1.6rem;
    color: #0b1120;
}

.re-pain-card h3 {
    font-size: 1.35rem;
    margin: 0;
    color: #ffffff;
    position: relative;
    z-index: 1;
    text-shadow: 0 6px 18px rgba(8, 13, 24, 0.4);
}

.re-pain-card p {
    margin: 0;
    color: #ffffff;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.re-services-grid-section {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 48, 88, 0.75) 45%, rgba(17, 24, 39, 0.9) 100%);
    padding: clamp(70px, 12vw, 110px) 0;
}

.re-services-grid-section h2 {
    color: #ffffff;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.9rem);
    margin-bottom: clamp(40px, 6vw, 70px);
    text-shadow: 0 10px 30px rgba(10, 15, 30, 0.4);
}

.re-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 36px);
}

.re-service-card {
    background: rgba(15, 23, 42, 0.65);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 28px 65px rgba(8, 13, 24, 0.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    backdrop-filter: blur(4px);
}

.re-service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 36px 90px rgba(8, 13, 24, 0.5);
    border-color: rgba(59, 130, 246, 0.55);
}

.re-service-card .re-service-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(165, 243, 252, 0.35));
    color: #e0f2fe;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px auto 18px;
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.35);
    font-size: 1.8rem;
}

.re-service-card .re-service-image {
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 18px;
    margin: 0 auto;
    padding: 0 clamp(18px, 3vw, 24px);
}

.re-service-card .re-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

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

.re-service-card h3 {
    font-size: 1.35rem;
    color: #ffffff;
    text-align: center;
    margin: 20px clamp(18px, 3vw, 24px) 12px;
    text-shadow: 0 8px 24px rgba(8, 13, 24, 0.45);
}

.re-service-card p {
    color: #e2e8f0;
    text-align: center;
    margin: 0 clamp(18px, 3vw, 24px) clamp(26px, 4vw, 34px);
    line-height: 1.7;
}

.re-advantages-grid {
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 55%),
                radial-gradient(circle at bottom right, rgba(251, 191, 36, 0.18), transparent 65%),
                rgba(10, 17, 31, 0.7);
    padding: clamp(70px, 12vw, 110px) 0;
}

.re-advantages-grid h2 {
    color: #ffffff;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    margin-bottom: clamp(40px, 6vw, 70px);
    text-shadow: 0 10px 32px rgba(6, 12, 24, 0.45);
}

.re-advantages-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 36px);
}

.re-advantage-card {
    background: rgba(17, 24, 39, 0.68);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 28px 70px rgba(6, 12, 24, 0.4);
    padding: clamp(28px, 4vw, 36px) clamp(24px, 3.5vw, 32px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(4px);
}

.re-advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 90px rgba(8, 14, 28, 0.54);
    border-color: rgba(96, 165, 250, 0.5);
}

.re-advantage-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(165, 243, 252, 0.36));
    color: #e0f2fe;
    font-size: 1.8rem;
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.35);
}

.re-advantage-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 14px;
    text-shadow: 0 8px 24px rgba(8, 13, 24, 0.45);
}

.re-advantage-card p {
    color: #ffffff;
    margin: 0;
    line-height: 1.75;
}

@media (max-width: 1100px) {
    .re-advantages-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .re-advantage-card {
        border-radius: 20px;
    }
}

@media (max-width: 640px) {
    .re-advantages-list {
        grid-template-columns: 1fr;
    }
}

.re-case-studies {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 48, 88, 0.75) 45%, rgba(17, 24, 39, 0.9) 100%);
    padding: clamp(70px, 12vw, 110px) 0;
}

.re-case-studies h2 {
    color: #ffffff;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    margin-bottom: clamp(40px, 6vw, 70px);
    text-shadow: 0 10px 30px rgba(10, 15, 30, 0.4);
}

.re-case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4.5vw, 40px);
}

.re-case-card {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    padding: clamp(28px, 4vw, 36px) clamp(26px, 3.5vw, 34px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.re-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
    border-color: rgba(59, 130, 246, 0.35);
}

.re-case-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(165, 243, 252, 0.85), rgba(186, 230, 253, 0.9));
    color: #000000;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    border: 1px solid rgba(165, 243, 252, 0.5);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.re-case-card h3 {
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.re-case-card p {
    color: #000000;
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .re-case-grid {
        grid-template-columns: 1fr;
    }

    .re-case-card {
        border-radius: 16px;
    }
}

.re-certifications {
    background: #f5f7fa;
    padding: clamp(70px, 12vw, 110px) 0;
}

.re-certifications h2 {
    color: #0f172a;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    margin-bottom: clamp(40px, 6vw, 70px);
    font-weight: 600;
}

.re-cert-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.re-cert-image {
    text-align: center;
}

.re-cert-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.re-cert-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
}

.re-cert-caption {
    margin-top: 16px;
    font-size: 1rem;
    color: #000000;
    font-weight: 500;
    line-height: 1.6;
}

.re-cert-text h3 {
    color: #0f172a;
    font-size: 1.8rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.re-cert-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.re-cert-text ul li {
    color: #334155;
    font-size: 1.1rem;
    line-height: 2;
    padding-left: 32px;
    position: relative;
    margin-bottom: 16px;
}

.re-cert-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .re-cert-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .re-cert-image img {
        max-width: 100%;
    }

    .re-cert-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .re-cert-text ul {
        text-align: left;
    }
}

.re-faq {
    background: radial-gradient(circle at top left, rgba(148, 197, 255, 0.12), transparent 55%),
                radial-gradient(circle at bottom right, rgba(252, 211, 77, 0.15), transparent 65%),
                rgba(10, 17, 31, 0.7);
    padding: clamp(70px, 12vw, 110px) 0;
}

.re-faq h2 {
    color: #ffffff;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    margin-bottom: clamp(40px, 6vw, 70px);
    text-shadow: 0 10px 32px rgba(6, 12, 24, 0.45);
}

.re-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.re-faq-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    margin-bottom: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.re-faq-item:hover {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
}

.re-faq-item summary {
    padding: clamp(20px, 3vw, 26px) clamp(24px, 4vw, 32px);
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.re-faq-item summary::-webkit-details-marker {
    display: none;
}

.re-faq-item summary::after {
    content: '+';
    position: absolute;
    right: clamp(24px, 4vw, 32px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 400;
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.re-faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.re-faq-item[open] summary {
    background: rgba(59, 130, 246, 0.08);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.re-faq-item p {
    padding: clamp(18px, 3vw, 24px) clamp(24px, 4vw, 32px) clamp(22px, 3.5vw, 28px);
    margin: 0;
    color: #1e293b;
    line-height: 1.8;
    font-size: 1.05rem;
}

@media (max-width: 1100px) {
    .re-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .re-services-grid {
        grid-template-columns: 1fr;
    }

    .re-service-card {
        border-radius: 20px;
    }
}

@media (max-width: 992px) {
    .re-pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .re-pain-grid {
        grid-template-columns: 1fr;
    }

    .re-pain-card {
        text-align: center;
    }

    .re-pain-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 420px;
        padding: 120px 18px 80px;
    }

    .hero-section .hero-content {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .hero-section .hero-cta {
        width: 100%;
        max-width: 320px;
    }
}

.real-estate-usp-section {
    background-color: #f8f9fa; /* A very light grey for a clean, professional look */
}

.real-estate-usp-section h2 {
    color: #0a2342; /* Navy Blue */
}

.real-estate-usp-section .usp-item i {
    color: #c5b358; /* Muted Gold */
}

.real-estate-services-section {
    background-color: #ffffff;
}

.real-estate-services-section h2 {
    color: #0a2342; /* Navy Blue */
}

.real-estate-services-section .service-item img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: 200px; /* Fixed height for consistency */
    margin: 0 auto 20px;
    border: 2px solid #eef2f5;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    object-fit: cover; /* Ensures images cover the area without distortion */
}

.real-estate-services-section .service-item:hover img {
    border-color: #c5b358;
}

.real-estate-cta-section {
    background-color: #0a2342; /* Navy Blue background */
    color: #ffffff;
}

.real-estate-cta-section h2,
.real-estate-cta-section p {
    color: #ffffff;
}

.real-estate-cta-section .btn-primary {
    background-color: #c5b358; /* Muted Gold */
    color: #0a2342; /* Navy Blue text */
    border-color: #c5b358;
    font-weight: bold;
}

.real-estate-cta-section .btn-primary:hover {
    background-color: #b3a24c;
    border-color: #b3a24c;
}


/* === Photography Page Specific Styles === */

/* Photography Hero Section */
.photo-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8amFwYW4lMjBsYW5kc2NhcGV8ZW58MHx8MHx8fDA%3D&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #EAEAEA;
    text-align: center;
    padding: 120px 20px;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.photo-hero .hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    color: #fff;
    letter-spacing: 1px;
}

.photo-hero .hero-content p {
    font-size: 1.5em;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    color: #fff; /* Match the title color */
}

/* Photography USP Section */
.photo-usp-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #1a2a36; /* Dark blue-gray background */
    color: #EAEAEA;
}

.photo-usp-section h2 {
    font-size: 2.8em;
    color: #fff;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.photo-usp-section .usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-usp-section .usp-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #3498db; /* Blue border */
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3); /* Blue glow shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.photo-usp-section .usp-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.photo-usp-section .usp-item i {
    font-size: 3em;
    color: #3498db; /* Blue accent for icons */
    margin-bottom: 20px;
    display: block;
}

.photo-usp-section .usp-item h3 {
    font-size: 1.6em;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.photo-usp-section .usp-item p {
    font-size: 1.05em;
    color: #ccc;
    line-height: 1.7;
}

/* Photography Services Section */
.photo-services-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f0f2f5;
}

.photo-services-section h2 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.photo-services-section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
}

.photo-services-section .service-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    padding: 25px;
    text-align: center;
    background-color: #ffffff;
}

.photo-services-section .service-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0) 100%);
    z-index: 1;
    border-radius: 15px;
    transition: background 0.3s ease;
}

.photo-services-section .service-item:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
}

.photo-services-section .service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.photo-services-section .service-item img {
    display: block !important; /* Show images */
    width: 100%; /* Full width of container */
    max-width: 300px; /* Max width constraint */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto 20px; /* Center horizontally and add bottom margin */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Subtle shadow */
    object-fit: cover; /* Ensure image covers the area nicely */
}

.photo-services-section .service-item h3,
.photo-services-section .service-item p {
    position: relative;
    z-index: 2;
}

.photo-services-section .service-item h3 {
    font-size: 1.7em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

.photo-services-section .service-item p {
    font-size: 1.05em;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
}

/* Images for Photography Service Items are now handled by the img tags */

/* Photography CTA Section */
.photo-cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); /* Blue gradient */
    color: #fff;
    padding: 70px 20px;
    text-align: center;
    border-radius: 0;
}

.photo-cta-section h2 {
    font-size: 2.6em;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.photo-cta-section p {
    font-size: 1.3em;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.photo-cta-section .btn-primary {
    background-color: #fff;
    border: 2px solid #fff;
    color: #2c3e50; /* Dark blue text */
    padding: 18px 40px;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.photo-cta-section .btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: scale(1.1);
}

/* === New Real Estate Page Styles === */

/* General Section Styling */
.real-estate-custom-section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.real-estate-custom-section h2,
.real-estate-services-section h2 {
    font-size: 2.2em;
    color: #182848;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.real-estate-custom-section h2 i,
.real-estate-services-section h2 i,
.real-estate-hero .hero-text-container h1 i {
    margin-right: 15px;
    color: #4b6cb7;
}

/* New Service Grid */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item-new {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-item-new i {
    font-size: 2.8em;
    color: #4b6cb7;
    margin-bottom: 20px;
}

.service-item-new h3 {
    font-size: 1.5em;
    color: #182848;
    margin-bottom: 15px;
}

.service-item-new p {
    font-size: 1em;
    color: #555;
    line-height: 1.8;
}

/* Advantages & Case Studies Table */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

thead th {
    background-color: #4b6cb7;
    color: white;
    font-size: 1.1em;
}

tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

tbody tr:hover {
    background-color: #e9ecef;
}

td i {
    margin-right: 10px;
    color: #182848;
    font-size: 1.2em;
}

/* Pain Points Section */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.pain-point-item {
    background: #fdfdfd;
    border-left: 5px solid #e83e8c;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.pain-point-item .problem {
    font-weight: 600;
    color: #c23373;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.pain-point-item .solution {
    color: #333;
    line-height: 1.7;
}

/* FAQ Section */
.faq-container details {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
}

.faq-container summary {
    padding: 18px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    outline: none;
    color: #182848;
}

.faq-container details[open] summary {
    background-color: #e9ecef;
}

.faq-container details p {
    padding: 0 20px 20px;
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* Qualifications Section */
.qualifications-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 20px auto 0;
}

.qualifications-list li {
    background-color: #f8f9fa;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
}

.qualifications-list li i {
    color: #28a745;
    font-size: 1.3em;
    margin-right: 15px;
}

/* Updated CTA/Contact Section */
.real-estate-cta-section {
    background-color: #182848;
    color: #fff;
    border-radius: 12px;
}

.real-estate-cta-section h2 {
    color: #fff;
}

.real-estate-cta-section p {
    color: #e9ecef;
    font-size: 1.1em;
}

.real-estate-cta-section .btn-primary {
    background-color: #e83e8c;
    border-color: #e83e8c;
}

.real-estate-cta-section .btn-primary:hover {
    background-color: #d13078;
    border-color: #d13078;
}

.contact-details {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

.contact-details p {
    font-size: 1.1em;
    margin-bottom: 12px;
}

.contact-details i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.contact-details a {
    color: #fff;
    text-decoration: underline;
}

/* --- Real Estate Page Redesign --- */

.wealth-management-hero-redesign {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.pexels.com/photos/8369764/pexels-photo-8369764.jpeg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 150px 20px;
    position: relative;
}

.real-estate-hero-redesign {
    background-image: url('https://images.pexels.com/photos/31485863/pexels-photo-31485863.jpeg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 150px 20px;
    position: relative;
}

.real-estate-hero-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content-redesign {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content-redesign h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content-redesign p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    color: #ffffff;
}

.real-estate-services-section-redesign {
    padding: 80px 20px;
    background-color: #ffffff;
}

.real-estate-services-section-redesign h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 600;
    color: #1a1a1a;
}

.services-grid-redesign {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item-redesign {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-item-redesign img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-text-redesign {
    padding: 25px;
}

.service-text-redesign h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 600;
}

.service-text-redesign p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* --- Real Estate Page - Dynamic Layout --- */

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

.re-section {
    padding: 80px 0;
}

.re-services-alternating .re-container h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 80px;
    font-weight: 600;
    color: #222;
}

.re-service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.re-service-item:last-child {
    margin-bottom: 0;
}

.re-service-item.reverse {
    flex-direction: row-reverse;
}

.re-service-image {
    flex: 1 1 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.re-service-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

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

.re-service-text {
    flex: 1 1 45%;
}

.re-service-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff; /* White for dark theme */
}

.re-service-text h3 i {
    margin-right: 15px;
}

.re-service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
}

.re-service-text ul {
    margin-top: 20px;
    padding-left: 20px;
}

.re-service-text ul li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #000000;
    position: relative;
    padding-left: 5px;
}

/* Contact Section Styling */
.cta-section.real-estate-cta-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.cta-section.real-estate-cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #222;
}

.contact-details {
    max-width: 600px;
    margin: 30px auto;
    text-align: left;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .re-service-item,
    .re-service-item.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }

    .re-service-text h3 {
        font-size: 1.8rem;
    }

    .re-services-alternating .re-container h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
}

/* === TikTok Commerce Page Specific Styles === */

/* TikTok Hero Section */
.tiktok-hero {
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* Market Potential Section */
.tiktok-market-potential {
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(251, 146, 60, 0.18), transparent 60%),
                rgba(11, 16, 27, 0.65);
    padding: clamp(70px, 12vw, 110px) 0;
}

.tiktok-market-potential h2 {
    color: #ffffff !important;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.9rem);
    margin-bottom: clamp(40px, 6vw, 70px);
    text-shadow: 0 10px 30px rgba(10, 15, 30, 0.4);
}

.tiktok-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(20px, 3vw, 28px);
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(17, 24, 39, 0.7);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 28px 65px rgba(8, 13, 24, 0.35);
    padding: clamp(28px, 4vw, 40px) clamp(22px, 3vw, 28px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(4px);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 90px rgba(8, 13, 24, 0.5);
    border-color: rgba(59, 130, 246, 0.55);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(165, 243, 252, 0.36));
    color: #e0f2fe;
    font-size: 1.8rem;
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.35);
}

.stat-card h3 {
    color: #ffffff !important;
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.stat-number {
    color: #fbbf24;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

/* Official Partner Section */
.tiktok-partner-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 48, 88, 0.85) 100%);
    padding: clamp(60px, 10vw, 90px) 0;
}

.partner-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 60px) clamp(30px, 4vw, 50px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 30px 70px rgba(8, 13, 24, 0.4);
}

.partner-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(74, 222, 128, 0.4));
    color: #86efac;
    font-size: 3rem;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.4);
}

.partner-content h2 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 20px;
    text-shadow: 0 8px 24px rgba(8, 13, 24, 0.45);
}

.partner-content p {
    color: #ffffff !important;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
}

/* Strengths Section */
.tiktok-strengths-section {
    background: radial-gradient(circle at top right, rgba(251, 146, 60, 0.15), transparent 55%),
                radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.18), transparent 60%),
                rgba(10, 17, 31, 0.7);
    padding: clamp(70px, 12vw, 110px) 0;
}

.tiktok-strengths-section h2 {
    color: #ffffff !important;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    margin-bottom: clamp(40px, 6vw, 70px);
    text-shadow: 0 10px 32px rgba(6, 12, 24, 0.45);
}

.tiktok-strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(28px, 4vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
}

.strength-card {
    background: rgba(17, 24, 39, 0.68);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 28px 70px rgba(6, 12, 24, 0.4);
    padding: clamp(32px, 4vw, 40px) clamp(28px, 3.5vw, 36px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(4px);
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 90px rgba(8, 14, 28, 0.54);
    border-color: rgba(96, 165, 250, 0.5);
}

.strength-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.3), rgba(251, 191, 36, 0.4));
    color: #fde68a;
    font-size: 2rem;
    box-shadow: 0 16px 32px rgba(251, 146, 60, 0.35);
}

.strength-card h3 {
    color: #ffffff !important;
    font-size: 1.35rem;
    margin-bottom: 16px;
    text-shadow: 0 8px 24px rgba(8, 13, 24, 0.45);
}

.strength-card p {
    color: #ffffff !important;
    margin: 0;
    line-height: 1.75;
    font-size: 1.05rem;
}

/* Services Section with Tabs */
.tiktok-services-section {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 48, 88, 0.75) 45%, rgba(17, 24, 39, 0.9) 100%);
    padding: clamp(70px, 12vw, 110px) 0;
}

.tiktok-services-section h2 {
    color: #ffffff !important;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.9rem);
    margin-bottom: clamp(40px, 6vw, 60px);
    text-shadow: 0 10px 30px rgba(10, 15, 30, 0.4);
}

.tiktok-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-button {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
    padding: 14px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.tab-button:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(96, 165, 250, 0.5));
    border-color: rgba(96, 165, 250, 0.7);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.tab-content-container {
    background: rgba(17, 24, 39, 0.7);
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 28px 65px rgba(8, 13, 24, 0.35);
    padding: clamp(40px, 6vw, 60px) clamp(32px, 4vw, 48px);
    min-height: 280px;
    backdrop-filter: blur(4px);
}

.tab-content {
    display: none;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

.tab-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(165, 243, 252, 0.36));
    color: #e0f2fe;
    font-size: 2.2rem;
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.35);
}

.tab-content h3 {
    color: #ffffff !important;
    font-size: 1.8rem;
    margin-bottom: 16px;
    text-shadow: 0 8px 24px rgba(8, 13, 24, 0.45);
}

.tab-content p {
    color: #ffffff !important;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
}

.service-note {
    margin-top: 30px;
    text-align: center;
}

.service-note p {
    color: #fbbf24;
    font-size: 1.05rem;
    font-weight: 500;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    display: inline-block;
}

.service-note i {
    margin-right: 8px;
}

/* Process Timeline Section */
.tiktok-process-section {
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 55%),
                radial-gradient(circle at bottom right, rgba(251, 146, 60, 0.15), transparent 60%),
                rgba(10, 17, 31, 0.7);
    padding: clamp(70px, 12vw, 110px) 0;
}

.tiktok-process-section h2 {
    color: #ffffff !important;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.8rem);
    margin-bottom: clamp(50px, 8vw, 80px);
    text-shadow: 0 10px 32px rgba(6, 12, 24, 0.45);
}

.tiktok-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.tiktok-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.5), rgba(251, 146, 60, 0.5));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(96, 165, 250, 0.5));
    border: 4px solid rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.4);
    z-index: 2;
}

.timeline-number {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(8, 13, 24, 0.5);
}

.timeline-content {
    background: rgba(17, 24, 39, 0.7);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 50px rgba(8, 13, 24, 0.35);
    padding: clamp(28px, 4vw, 36px) clamp(26px, 3.5vw, 34px);
    width: calc(50% - 60px);
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 65px rgba(8, 13, 24, 0.45);
}

.timeline-content h3 {
    color: #ffffff !important;
    font-size: 1.4rem;
    margin-bottom: 12px;
    text-shadow: 0 6px 18px rgba(8, 13, 24, 0.4);
}

.timeline-content p {
    color: #ffffff !important;
    margin: 0;
    line-height: 1.75;
    font-size: 1.05rem;
}

/* Pricing Section */
.tiktok-pricing-section {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 48, 88, 0.75) 45%, rgba(17, 24, 39, 0.9) 100%);
    padding: clamp(70px, 12vw, 110px) 0;
}

.tiktok-pricing-section h2 {
    color: #ffffff !important;
    text-align: center;
    font-size: clamp(2.2rem, 4.5vw, 2.9rem);
    margin-bottom: clamp(50px, 8vw, 70px);
    text-shadow: 0 10px 30px rgba(10, 15, 30, 0.4);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(28px, 4vw, 40px);
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(17, 24, 39, 0.7);
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 28px 65px rgba(8, 13, 24, 0.35);
    padding: clamp(36px, 5vw, 48px) clamp(32px, 4vw, 40px);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(4px);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 36px 90px rgba(8, 13, 24, 0.5);
    border-color: rgba(59, 130, 246, 0.55);
}

.pricing-card.featured {
    border: 2px solid rgba(251, 191, 36, 0.6);
    background: rgba(17, 24, 39, 0.85);
    box-shadow: 0 32px 75px rgba(251, 191, 36, 0.25);
}

.pricing-card.featured:hover {
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 40px 100px rgba(251, 191, 36, 0.35);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000000;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4);
}

.pricing-card h3 {
    color: #ffffff !important;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 8px 24px rgba(8, 13, 24, 0.45);
}

.price {
    color: #fbbf24;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.target {
    color: #ffffff !important;
    font-size: 1rem;
    margin-bottom: 28px;
    line-height: 1.6;
    min-height: 60px;
}

.features {
    text-align: left;
    margin-top: 24px;
}

.features p {
    color: #ffffff !important;
    font-size: 1.05rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    line-height: 1.6;
}

.features i {
    color: #34d399;
    margin-right: 12px;
    font-size: 1.1rem;
}

.pricing-note {
    margin-top: 40px;
    text-align: center;
}

.pricing-note p {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-style: italic;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 16px 24px;
    display: inline-block;
}

/* TikTok CTA Section */
.tiktok-cta-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(96, 165, 250, 0.85) 100%);
    padding: clamp(70px, 12vw, 100px) 20px;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.tiktok-cta-section h2 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    margin-bottom: 24px;
    text-shadow: 0 8px 24px rgba(8, 13, 24, 0.4);
}

.tiktok-cta-section p {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 0 4px 12px rgba(8, 13, 24, 0.3);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.4);
}

.tiktok-cta-section .btn-primary {
    background: #ffffff;
    color: #1e40af;
    border: 2px solid #ffffff;
}

.tiktok-cta-section .btn-primary:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.5);
}

/* Responsive adjustments for TikTok page */
@media (max-width: 1200px) {
    .tiktok-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    /* TikTok Page Mobile Optimization */
    .tiktok-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .stat-card {
        padding: 24px 20px;
    }

    .stat-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .stat-card h3 {
        font-size: 1rem;
    }

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

    .tiktok-strengths-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .strength-card {
        padding: 28px 24px;
    }

    .strength-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .tab-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 16px;
    }

    .tab-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .tab-content-container {
        padding: 32px 24px;
        margin: 0 16px;
    }

    .tab-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .tab-content h3 {
        font-size: 1.5rem;
    }

    .tab-content p {
        font-size: 1rem;
    }

    .tiktok-timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
        transform: none;
        width: 60px;
        height: 60px;
    }

    .timeline-number {
        font-size: 1.5rem;
    }

    .timeline-content {
        width: calc(100% - 100px);
        margin-left: auto !important;
        padding: 24px 20px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-card h3 {
        font-size: 1.5rem;
    }

    .price {
        font-size: 1.8rem;
    }

    .target {
        font-size: 0.95rem;
        min-height: auto;
    }

    .features p {
        font-size: 0.95rem;
    }

    .partner-content {
        padding: 32px 24px;
        margin: 0 16px;
    }

    .partner-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .partner-content h2 {
        font-size: 1.5rem;
    }

    .partner-content p {
        font-size: 1rem;
    }

    /* Real Estate Page Mobile Optimization */
    .re-pain-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .re-pain-card {
        padding: 24px 20px;
    }

    .re-pain-icon {
        width: 50px;
        height: 50px;
    }

    .re-pain-icon i {
        font-size: 1.4rem;
    }

    .re-pain-card h3 {
        font-size: 1.2rem;
    }

    .re-pain-card p {
        font-size: 0.95rem;
    }

    .re-services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .re-service-card {
        padding: 24px 20px;
    }

    .re-service-card .re-service-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
        margin: 20px auto 16px;
    }

    .re-service-card h3 {
        font-size: 1.2rem;
        margin: 16px 16px 10px;
    }

    .re-service-card p {
        font-size: 0.95rem;
        margin: 0 16px 24px;
    }

    .re-advantages-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .re-advantage-card {
        padding: 28px 24px;
    }

    .re-advantage-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }

    .re-advantage-card h3 {
        font-size: 1.2rem;
    }

    .re-advantage-card p {
        font-size: 0.95rem;
    }

    .re-case-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .re-case-card {
        padding: 24px 20px;
    }

    .re-case-card h3 {
        font-size: 1.2rem;
    }

    .re-case-card p {
        font-size: 0.95rem;
    }

    .re-case-tag {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    /* Hero sections mobile */
    .hero-section {
        min-height: 400px;
        padding: 80px 16px 60px;
    }

    .hero-section .hero-content {
        padding: 24px 20px;
    }

    .hero-section .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .hero-section .hero-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .hero-cta {
        padding: 12px 28px;
        font-size: 1rem;
    }

    /* Container padding for all sections */
    .re-container {
        padding: 0 16px;
    }

    .re-section {
        padding: 50px 0;
    }

    /* FAQ section mobile */
    .re-faq-list {
        padding: 0 16px;
    }

    .re-faq-item summary {
        font-size: 1rem;
        padding: 14px 0;
    }

    .re-faq-item p {
        font-size: 0.95rem;
    }

    /* CTA section mobile */
    .cta-section {
        padding: 40px 20px;
        margin: 20px 16px;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 1.1rem;
    }
}

/* === JoJo Sports Study Abroad Page Specific Styles === */

/* JoJo Hero Section */
.jojo-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('Assets/pictures/jojohero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.jojo-hero .hero-content h1 {
    font-size: 3.5em;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.jojo-hero .hero-content p {
    font-size: 1.4em;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 35px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* JoJo Comparison Section */
.jojo-comparison {
    background: linear-gradient(135deg, #0b152c 0%, #152444 100%);
    padding: 70px 20px;
}

.jojo-comparison h2 {
    text-align: center;
    font-size: 2.5em;
    color: #ffffff !important;
    margin-bottom: 50px;
    font-weight: 700;
}

.jojo-comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(9, 17, 40, 0.35);
}


.comparison-header {
    display: grid;
    grid-template-columns: 220px 1fr 1fr;
    gap: 0;
    background: none;
    padding: 0;
}

.header-placeholder {
    background: linear-gradient(180deg, #f5f7ff 0%, #eef1ff 100%);
    border-right: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    border-top-left-radius: 15px;
}

.comparison-header .comparison-column {
    padding: 28px 30px;
    text-align: center;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.comparison-header .comparison-column.traditional {
    background: linear-gradient(180deg, #e37b6f 0%, #d56a5d 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    border-top-right-radius: 0;
}

.comparison-header .comparison-column.jojo {
    background: linear-gradient(180deg, #30b479 0%, #289f69 100%);
    border-top-right-radius: 15px;
}

.comparison-header i {
    font-size: 2.5em;
    margin-bottom: 10px;
    display: block;
}

.comparison-header h3 {
    font-size: 1.5em;
    margin: 0;
    font-weight: 600;
}

.comparison-row {
    display: grid;
    grid-template-columns: 220px 1fr 1fr;
    gap: 0;
    align-items: center;
    background: #ffffff;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-label {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 26px;
    background: linear-gradient(180deg, rgba(244, 247, 255, 0.95) 0%, rgba(235, 240, 255, 0.9) 100%);
    font-weight: 600;
    color: #1a1f2f;
    border-right: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    font-size: 1.05em;
}

.comparison-row .comparison-column {
    padding: 24px 30px;
    text-align: left;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.comparison-row .comparison-column.traditional {
    background: linear-gradient(180deg, rgba(227, 123, 111, 0.08) 0%, rgba(227, 123, 111, 0.03) 100%);
    border-right: 1px solid rgba(226, 232, 240, 0.8);
}

.comparison-row .comparison-column.jojo {
    background: linear-gradient(180deg, rgba(48, 180, 121, 0.08) 0%, rgba(48, 180, 121, 0.03) 100%);
}

.comparison-row .comparison-column p {
    margin: 0;
    color: #2d3646;
    font-size: 1.05em;
    line-height: 1.65;
}

.comparison-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5f7aea 0%, #7f9bff 100%);
    box-shadow: 0 8px 18px rgba(95, 122, 234, 0.35);
    color: #ffffff;
    font-size: 1.2em;
}

.comparison-label span:last-child {
    display: inline-block;
}

.comparison-row:last-child .comparison-label {
    border-bottom: none;
    border-radius: 0 0 0 15px;
}


.comparison-row:last-child .comparison-column.traditional {
    border-bottom: none;
    border-radius: 0 0 0 0;
}

.comparison-row:last-child .comparison-column.jojo {
    border-bottom: none;
    border-radius: 0 0 15px 0;
}

/* JoJo Services Section */
.jojo-services {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 70px 20px;
}

.jojo-services h2 {
    text-align: center;
    font-size: 2.5em;
    color: #ffffff !important;
    margin-bottom: 50px;
    font-weight: 700;
}

.jojo-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.jojo-service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.jojo-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.jojo-service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.jojo-service-icon i {
    font-size: 2em;
    color: #ffffff;
}

.jojo-service-card h3 {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.jojo-services .jojo-service-card h3 {
    color: #ffffff !important;
}

.jojo-service-card p {
    font-size: 1.05em;
    color: #d1d5db;
    line-height: 1.7;
    margin: 0;
}

/* JoJo Instructors Section */
.jojo-instructors {
    background: #ffffff;
    padding: 70px 20px;
}

.jojo-instructors h2 {
    text-align: center;
    font-size: 2.5em;
    color: #1f2937;
    margin-bottom: 50px;
    font-weight: 700;
}

.jojo-instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.jojo-instructor-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.jojo-instructor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.instructor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.instructor-avatar i {
    font-size: 3em;
    color: #ffffff;
}

.jojo-instructor-card h3 {
    font-size: 1.6em;
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 700;
}

.instructor-title {
    font-size: 1.1em;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
}

.instructor-university {
    font-size: 1.05em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 500;
}

.jojo-instructor-card p {
    font-size: 1em;
    color: #000000;
    line-height: 1.7;
    margin: 0;
}

.jojo-instructors .jojo-instructor-card p {
    color: #000000 !important;
}

/* JoJo Resources Section */
.jojo-resources {
    background: #f8f9fa;
    padding: 70px 20px;
}

.jojo-resource-item {
    margin-bottom: 60px;
}

.jojo-resource-item:last-child {
    margin-bottom: 0;
}

.resource-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.jojo-resource-reverse .resource-content {
    direction: rtl;
}

.jojo-resource-reverse .resource-content > * {
    direction: ltr;
}

.resource-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.resource-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.resource-text h2 {
    font-size: 2em;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 700;
}

.resource-text h3 {
    font-size: 1.5em;
    color: #667eea;
    margin-bottom: 20px;
    font-weight: 600;
}

.resource-text p {
    font-size: 1.1em;
    color: #000000;
    line-height: 1.8;
    margin: 0;
}

.jojo-resources .resource-text p {
    color: #000000 !important;
    position: relative;
    z-index: 1;
}

.experience-highlights {
    margin-top: 25px;
}

.experience-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.experience-item i {
    font-size: 2em;
    color: #667eea;
    margin-right: 20px;
    min-width: 40px;
}

.experience-item p {
    font-size: 1.05em;
    color: #000000;
    margin: 0;
    font-weight: 500;
}

.jojo-resources .experience-item p {
    color: #000000 !important;
    position: relative;
    z-index: 1;
}

/* JoJo CTA Section */
.jojo-cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    text-align: center;
}

.jojo-cta-section .cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.jojo-cta-section h2 {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.jojo-cta-section p {
    font-size: 1.3em;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.cta-btn-large {
    display: inline-block;
    padding: 18px 45px;
    background-color: #ffffff;
    color: #667eea;
    font-size: 1.3em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-btn-large:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.jojo-cta-section .contact-details {
    margin-top: 40px;
}

.jojo-cta-section .contact-details p {
    font-size: 1.1em;
    color: #ffffff;
    margin: 10px 0;
}

.jojo-cta-section .contact-details a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.jojo-cta-section .contact-details a:hover {
    color: #f8f9fa;
}

/* Mobile Responsive Styles for JoJo Page */
@media (max-width: 768px) {
    .jojo-hero .hero-content h1 {
        font-size: 2em;
    }

    .jojo-hero .hero-content p {
        font-size: 1.1em;
    }

    .jojo-comparison h2 {
        font-size: 1.8em;
    }

    .comparison-header {
        grid-template-columns: 1fr 1fr;
    }

    .header-placeholder {
        display: none;
    }

    .comparison-header .comparison-column {
        padding: 22px 16px;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .comparison-label {
        border-right: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        border-radius: 0;
        background: linear-gradient(180deg, rgba(244, 247, 255, 0.95) 0%, rgba(235, 240, 255, 0.9) 100%);
        color: #1a1f2f;
        padding: 20px 18px;
        gap: 12px;
    }

    .comparison-icon {
        width: 38px;
        height: 38px;
        font-size: 1.05em;
    }

    .comparison-row .comparison-column {
        border-right: none;
        text-align: left;
        padding: 18px;
    }

    .comparison-row .comparison-column.traditional {
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    }

    .comparison-row:last-child .comparison-label {
        border-radius: 0 0 0 15px;
    }

    .comparison-row:last-child .comparison-column.jojo {
        border-radius: 0 0 15px 15px;
    }

    .jojo-services h2,
    .jojo-instructors h2 {
        font-size: 1.8em;
    }

    .jojo-services-grid,
    .jojo-instructors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .resource-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .jojo-resource-reverse .resource-content {
        direction: ltr;
    }

    .resource-text h2 {
        font-size: 1.6em;
    }

    .resource-text h3 {
        font-size: 1.3em;
    }

    .experience-item {
        flex-direction: column;
        text-align: center;
    }

    .experience-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .jojo-cta-section h2 {
        font-size: 1.8em;
    }

    .jojo-cta-section p {
        font-size: 1.1em;
    }

    .cta-btn-large {
        padding: 14px 32px;
        font-size: 1.1em;
    }
}
