/* CSS Reset & Variables */
:root {
    /* Brand Colors based on Manual */
    --color-bg: #1a1a1a;
    /* Pantone Black / Dark Neutral */
    --color-bg-darker: #121212;
    --color-bg-lighter: #252525;

    --color-primary: #b27a36;
    /* Gold / Ackent */
    --color-primary-dark: #8c5e26;
    --color-secondary: #e3c685;
    /* Light Gold */

    --color-text: #ffffff;
    --color-text-muted: #cccccc;

    /* Fonts */
    --font-heading: 'Libre Baskerville', serif;
    /* Replacement for Minion */
    --font-body: 'Poppins', sans-serif;

    --spacer: 1rem;
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-gold {
    color: var(--color-primary);
}

.bg-darker {
    background-color: var(--color-bg-darker);
}

.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--color-bg);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-house {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--color-primary);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.btn-contact {
    padding: 8px 20px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.nav-link.btn-contact:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Background image only - overlay will be handled by .hero-overlay */
    background-image: url('../Multimedia/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Much lighter gradient: ~60% opacity max, fading to 40% */
    background: radial-gradient(circle at top right, rgba(178, 122, 54, 0.1), transparent 80%),
        linear-gradient(to right, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-tagline {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 2px solid var(--color-primary);
    padding-left: 15px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(to right, #b27a36, #e3c685);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 50px;
    max-width: 650px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Trust Banner - Premium Redesign */
.trust-banner {
    background-color: var(--color-bg-darker);
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.trust-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centers items horizontally in column layout */
    text-align: center;
    /* Centers text inside items */
    gap: 30px;
}

.trust-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    opacity: 0.8;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}



.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.trust-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.trust-item span {
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}



/* Feed Section */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-lead {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.feed-grid {
    display: grid;
    /* Ensure 4 columns on desktop by using a smaller min-width or explicit repeat */
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    /* Slightly reduced gap to help fit */
}

.feed-card {
    background: linear-gradient(180deg, rgba(37, 37, 37, 0.5) 0%, rgba(26, 26, 26, 0.5) 100%);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Sharper border */
    transition: var(--transition);
    position: relative;
}

.feed-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feed-card::before {
    display: none;
    /* Removing previous side bar */
}

/* New top border gradient effect */
.feed-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.5;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(178, 122, 54, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--color-primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.feed-card:hover .card-icon-wrapper {
    background-color: var(--color-primary);
    color: #fff;
}

.feed-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 0.5px;
}

.feed-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 25px;
}

.card-list li {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-list li i {
    color: var(--color-secondary);
    font-size: 0.8rem;
}

/* Why Us Section */
.why-us-section {
    background-color: var(--color-bg-darker);
    position: relative;
    overflow: hidden;
}

/* Background ornament */
.why-us-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(178, 122, 54, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.why-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.why-features {
    display: grid;
    gap: 30px;
}

.feature {
    display: flex;
    gap: 20px;
}

.feature i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 5px;
}

.feature h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
}

.feature p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Visual Cards (Why Us) */
/* Visual Cards / Multimedia (Why Us) */
.why-visual {
    position: relative;
    /* Removed fixed height to allow video to dictate size, but added min-height for valid placement */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.multimedia-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(30, 30, 30, 0.5);
}

.multimedia-asset {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    /* Limit height so vertical videos don't take up too much screen */
    object-fit: contain;
    /* Ensure full video is visible within bounds */
    background-color: #000;
    /* Letterbox background */
}

.visual-card {
    position: absolute;
    padding: 30px;
    background-color: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.xp-card {
    top: 50px;
    left: 20px;
    width: 250px;
    border-top: 3px solid var(--color-primary);
}

.client-card {
    bottom: 50px;
    right: 20px;
    width: 220px;
    background-color: var(--color-primary);
    border: none;
    color: #fff;
}

.client-card .big-number,
.client-card span {
    color: #fff;
}

.big-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.visual-card span:last-child {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-visual {
        display: none;
        /* Simplify for mobile, focus on content */
    }

    .trust-banner .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .trust-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.contact-form-wrapper {
    background-color: var(--color-bg-lighter);
    padding: 40px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.8rem;
    line-height: 1.4;
    display: inline;
}

/* Footer */
.footer {
    padding: 60px 0;
    background-color: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Darker footer background */
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Reduced gap */
}

.contact-block {
    margin-bottom: 0;
    /* Removing extra margin */
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-value {
    color: #ccc;
    font-size: 0.95rem;
    padding-left: 24px;
    /* Align with text start of label (icon width + gap) roughly */
}

.map-link {
    display: inline-block;
    margin-top: 8px;
    margin-left: 24px;
    font-size: 0.85rem;
    color: var(--color-primary);
    text-decoration: underline;
    transition: var(--transition);
}

.map-link:hover {
    color: #fff;
}

.copyright {
    font-size: 0.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
        order: 2;
        /* Move logo to bottom on mobile if preferred, or keep 1 */
        margin-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        /* Separator */
        padding-top: 40px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-label {
        justify-content: center;
    }

    .contact-value,
    .map-link {
        padding-left: 0;
        margin-left: 0;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stats-grid {
        flex-direction: column;
        gap: 40px;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebc57;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* Redesigned Footer */
/* Redesigned Footer - Corporate Dark Theme */
.footer-redesign {
    background-color: var(--color-bg-darker);
    color: var(--color-text-body);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    padding: 0 30px;
    position: relative;
    flex: 1;
}

/* Vertical Divider Lines */
.footer-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: var(--color-primary);
    /* Gold divider */
    opacity: 0.2;
}

/* Logo Column */
.footer-brand-new {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.house-text {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff;
    /* White Logo Text */
    line-height: 1;
}

.group-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--color-primary);
    /* Gold Subtext */
    letter-spacing: 1px;
}

/* Location Column */
.city-title {
    color: var(--color-primary);
    /* Gold city title */
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.loc-details p {
    font-size: 0.9rem;
    color: #ccc;
    /* Light gray text */
    margin-bottom: 5px;
    line-height: 1.4;
}

.loc-details strong {
    color: #fff;
    /* White strong text */
    font-weight: 600;
}

/* Social Column */
.social-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.social-icons-new {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-box:hover {
    background-color: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
}

.email-link-new {
    color: var(--color-primary);
    /* Gold email link */
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-link-new:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-bottom-new {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.hifix-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.hifix-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Map Column */
/* Map Column */
.col-map {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    /* Don't grow */
    padding-right: 15px;
    /* Reduce padding between map and city text */
    padding-left: 0;
}

/* Ensure location column is closer to map */
.col-location {
    padding-left: 15px;
    /* Reduce padding between map and city text */
}

.map-container {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    display: block;
}

/* Specific styling to merge Location and Map columns visually */
.col-map::after {
    display: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }

    .footer-col {
        padding: 0;
        text-align: center;
    }

    .footer-col:not(:last-child)::after {
        display: none;
    }

    .footer-brand-new {
        align-items: center;
    }

    .social-icons-new {
        justify-content: center;
    }

    .email-link-new {
        justify-content: center;
    }
}

/* Services Page (B2C) Premium Design */
.page-header {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(30, 30, 30, 0.8)), url('../Multimedia/CoverVideo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    padding: 180px 0 100px;
    position: relative;
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--color-bg-body), transparent);
    pointer-events: none;
}

.services-b2c {
    background-color: var(--color-bg-body);
    padding: 80px 0;
}

.b2c-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.b2c-card {
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.b2c-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.b2c-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.15);
    background: rgba(40, 40, 40, 0.7);
    border-color: rgba(212, 175, 55, 0.3);
}

.b2c-card:hover::before {
    transform: scaleX(1);
}

.b2c-card .card-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.b2c-card:hover .card-icon {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    transform: rotateY(180deg);
}

.b2c-card h3 {
    margin-bottom: 25px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.b2c-card .card-list {
    margin-top: auto;
}

.b2c-card .card-list li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--color-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.b2c-card .card-list li i {
    color: var(--color-primary);
    margin-top: 4px;
    font-size: 0.8rem;
}

/* =========================================
   Team Page / Catalog Styles (Redesign: Dark & Horizontal)
   ========================================= */
.team-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-section {
    padding: 80px 0;
    /* Dark background matching site theme */
    background-color: #0a0a0a;
    background-image: radial-gradient(circle at top right, #1a1a1a 0%, #000000 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    /* Grid 2-cols */
    gap: 40px;
    justify-content: center;
    max-width: 1400px;
    /* Wider container */
    margin: 0 auto;
    padding: 0 20px;
}

.team-card {
    background: #141414;
    /* Dark card background */
    border-radius: 20px;
    /* Softer rounded corners */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    /* Deeper shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    /* Horizontal Layout */
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.15);
    /* Subtle gold border */
}

/* Gold accent on the left or top */
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    /* Vertical strip on the left */
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), #8a7008);
    z-index: 2;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border-color: rgba(212, 175, 55, 0.4);
}

.card-image-wrapper {
    width: 35%;
    /* Image slightly smaller for 2-col */
    min-width: 250px;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

/* Diagonal cut effect for image separator */
.card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 50px;
    height: 100%;
    background: #141414;
    /* Match card bg */
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 1;
}

.lawyer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.team-card:hover .lawyer-img {
    transform: scale(1.08);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--color-primary);
    background: linear-gradient(45deg, #1a1a1a, #222);
}

.card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 60%;
    /* Content takes remaining width */
    color: #f0f0f0;
}

.lawyer-header {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.lawyer-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    color: var(--color-primary);
    /* Gold name */
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lawyer-role {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.1);
    /* Transparent gold bg */
    color: var(--color-primary);
    padding: 6px 16px;
    font-size: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.lawyer-bio {
    font-size: 1rem;
    color: #ccc;
    /* Light gray text */
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.lawyer-bio strong {
    color: #fff;
}

.lawyer-specialties {
    background-color: rgba(255, 255, 255, 0.03);
    /* Subtle backdrop */
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 3px solid var(--color-primary);
}

.specialties-title {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specialties-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.specialties-list li {
    font-size: 0.9rem;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 12px;
    border-radius: 4px;
}

.specialties-list li i {
    color: var(--color-primary);
    font-size: 0.85rem;
}

.lawyer-social {
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.social-link {
    color: #aaa;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.social-link:hover {
    color: var(--color-primary);
    transform: translateX(-3px);
}

/* New Responsive Logic for Horizontal Cards */
@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: 1fr;
        /* Stack to 1 col earlier */
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .team-card {
        flex-direction: column;
        /* Revert to stack on smaller screens */
        max-width: 500px;
        margin: 0 auto;
    }

    .team-card::before {
        width: 100%;
        height: 4px;
        /* Strip moves to top */
        background: var(--color-primary);
    }

    .card-image-wrapper {
        width: 100%;
        height: 350px;
        min-width: auto;
    }

    .card-image-wrapper::after {
        display: none;
        /* Hide diagonal cut on mobile */
    }

    .card-content {
        width: 100%;
    }

    .lawyer-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .lawyer-role {
        align-self: flex-start;
    }
}

/* Form Tabs */
.form-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-button {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.form-button:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.02);
}

.form-button.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    font-weight: 600;
}

/* Hidden Field Utility */
.hidden-field {
    display: none !important;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        color: #fff;
        z-index: 1002;
        /* Ensure clickability */
        position: relative;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        /* Start off-screen */
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        padding-top: 60px;
        backdrop-filter: blur(10px);
        z-index: 1001;
    }

    .nav.active .nav-list {
        right: 0;
    }

    .nav-list li {
        margin: 20px 0;
        transform: translateX(50px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav.active .nav-list li {
        transform: translateX(0);
        opacity: 1;
    }

    /* Stagger animation for items */
    .nav.active .nav-list li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav.active .nav-list li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav.active .nav-list li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav.active .nav-list li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav.active .nav-list li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-link.btn-contact {
        font-size: 1.2rem;
        padding: 12px 30px;
    }
}