/* ========== GLOBAL FIX ========== */
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: hidden; }
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 20px; }

/* ========== HELPER CLASSES ========== */
.no-pad-bottom { padding-bottom: 0 !important; }
.what-is-heading {
    font-size: 2.5rem;
    color: var(--text-primary, white);
    margin-bottom: 1rem;
    font-family: 'Cormorant Garamond', serif;
    text-align: center;
}
.what-is-text {
    color: var(--text-secondary, #94a3b8);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

/* ========== HERO (Full Screen Fit with 3D Badge) ========== */
.hero {
    position: relative;
    min-height: 75vh; 
    display: flex;
    align-items: center;
    background: url('https://images.pexels.com/photos/263402/pexels-photo-263402.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
    background-attachment: fixed;
    background-color: #0A0E17; 
    padding: 2rem 0;
}

.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(90deg, rgba(10,14,23,0.9) 40%, rgba(10,14,23,0.4) 100%); 
    z-index: 1; 
    pointer-events: none; 
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 20rem;
    font-size: larger;
}

.hero h1 {
    color: white;
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    white-space: normal; 
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    margin-top: auto;
}

.hero h1 .highlight {
    color: #D4AF37;
    font-style: italic;
}

/* ========== 3D GLOWING LIGHT BADGE ========== */
.badge-wrapper {
    position: relative;
    display: inline-block;
    padding: 2px; 
    border-radius: 50px;
    overflow: hidden;
    z-index: 1;
    animation: floatBox 3s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.5rem; 
}

.badge-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent 0%, 
        transparent 60%, 
        #D4AF37 75%, 
        #FFF8D6 90%, 
        #FFFFFF 100%
    );
    animation: rotateLight 2.5s linear infinite;
    z-index: -1;
}

.badge-inner {
    display: block;
    padding: 0.7rem 2.5rem;
    background: #0A0E17; 
    border-radius: 48px;
    color: #D4AF37;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9), inset 0 0 5px rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

@keyframes rotateLight {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatBox {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2); }
    100% { transform: translateY(0px); }
}

.hero p { 
    color: #94a3b8; 
    max-width: 1800px; 
    margin: 1.5rem auto 2rem auto; 
    font-size: 1.3rem; 
    line-height: 1.6;
    white-space: normal; 
    justify-content: center; 
    margin-left: auto; 
    margin-right: auto; 
    margin-top: 1rem; 
}

.hero-cta { 
    display: flex; 
    gap: 1rem; 
    flex-wrap: wrap; 
    justify-content: center; 
}

.btn-primary { 
    background: transparent; 
    border: 1.5px solid #D4AF37; 
    color: #D4AF37; 
    padding: 0.8rem 2rem; 
    font-weight: 600; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    text-decoration: none; 
    cursor: pointer; 
    transition: all 0.3s; 
}

.btn-primary:hover { 
    background: #D4AF37; 
    color: #0A0E17; 
}

/* ========== WHAT IS BOX ========== */
.what-is-box { 
    background: rgba(212,175,55,0.03); 
    border: 1px solid #1e293b; 
    border-left: 4px solid var(--accent-gold);
    padding: 2.5rem 2rem; 
    margin-bottom: 2rem; 
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
    transition: all 0.3s ease;
}

.what-is-box:hover {
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.1);
}

/* ========== SECTIONS ========== */
.section { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header h2 { font-size: 2.2rem; color: white; font-family: 'Cormorant Garamond', serif; }
.gold-border { width: 80px; height: 3px; background: #D4AF37; margin: 0.5rem auto 1rem; }
.section-subtitle { color: #D4AF37; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; }

/* ========== TRUST CARDS ========== */
.trust-section { padding: 2rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1300px; margin: 0 auto; }
.trust-card { 
    background: rgba(255,255,255,0.02); 
    backdrop-filter: blur(10px); 
    border: 1px solid #1e293b; 
    border-left: 4px solid #D4AF37; 
    padding: 2rem; 
    text-align: center; 
    transition: all 0.3s; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.trust-card:hover { transform: translateY(-5px); border-color: #D4AF37; border-left-width: 8px; box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15); }
.trust-card-header { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.trust-icon { font-size: 1.5rem; color: #D4AF37; }
.trust-card-header h3 { font-size: 1.3rem; color: white; }
.trust-card p { color: #94a3b8; font-size: 0.95rem; }

/* ========== TABS ========== */
.tab-buttons { display: flex; justify-content: center; gap: 0.4rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn { background: transparent; border: 1px solid #1e293b; color: #94a3b8; padding: 0.6rem 1rem; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; transition: all 0.3s; white-space: nowrap; }
.tab-btn:hover, .tab-btn.active { background: #D4AF37; color: #0A0E17; border-color: #D4AF37; }
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ========== TABLE (Desktop View) ========== */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.profile-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.profile-table th { background: rgba(212,175,55,0.1); color: #D4AF37; padding: 0.9rem 0.8rem; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1.5px; text-align: left; white-space: nowrap; }
.profile-table td { padding: 0.8rem; border-bottom: 1px solid #1e293b; color: #94a3b8; font-size: 0.85rem; vertical-align: middle; }
.profile-table tr:hover td { background: rgba(212,175,55,0.03); }
.profile-name { color: white; font-weight: 500; }
.availability { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 40px; font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; white-space: nowrap; }
.availability[data-status="immediate"] { background: rgba(76,175,80,0.15); border: 1px solid #4caf50; color: #4caf50; }
.availability[data-status="week"] { background: rgba(255,193,7,0.15); border: 1px solid #ffc107; color: #ffc107; }
.availability[data-status="bulk"] { background: rgba(33,150,243,0.15); border: 1px solid #2196f3; color: #2196f3; }
.enquire-btn { background: transparent; border: 1px solid #D4AF37; color: #D4AF37; padding: 0.5rem 1rem; text-transform: uppercase; letter-spacing: 1px; font-size: 0.7rem; text-decoration: none; white-space: nowrap; display: inline-block; transition: all 0.3s; }
.enquire-btn:hover { background: #D4AF37; color: #0A0E17; }

.back-services-box { text-align: center; margin-bottom: 1.5rem; }
.back-services-btn { display: inline-block; border: 1px solid #D4AF37; color: #D4AF37; padding: 0.7rem 1.8rem; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; transition: all 0.3s; }
.back-services-btn:hover { background: #D4AF37; color: #0A0E17; }

/* Footer */
.footer-logo-link { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; margin-bottom: 1rem; }
.footer-logo-link img { width: 50px; height: 50px; object-fit: contain; }

/* ========== RESPONSIVE (Mobile View) ========== */
@media (max-width: 768px) {
    .hero { min-height: 60vh; background-attachment: scroll; text-align: center; }
    .hero-content { padding: 3rem 1rem; margin: 0 auto; margin-top: 10rem; }
    .hero-cta { justify-content: center; }
    .hero h1 { font-size: 2rem; white-space: normal; overflow-wrap: break-word; }
    .hero p { font-size: 1rem; }
    
    /* Mobile adjust for the new 3D Badge */
    .badge-inner {
        font-size: 0.7rem;
        padding: 0.6rem 1.5rem;
        letter-spacing: 2px;
    }
    
    .trust-grid { grid-template-columns: 1fr; }
    
    .tab-btn { padding: 0.5rem 0.8rem; font-size: 0.7rem; }
    .what-is-box { padding: 1.5rem 1rem; }

    /* ========== 🚀 MOBILE TABLE CARD LAYOUT ========== */
    .table-wrapper {
        overflow-x: hidden; 
    }
    
    .profile-table { 
        min-width: 100%; 
        display: block; 
    }
    
    /* Hide table headers on mobile */
    .profile-table tr:first-child {
        display: none; 
    }

    /* Convert each row into a card */
    .profile-table tr {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid #1e293b;
        padding: 1rem 0;
        gap: 0.5rem;
        align-items: flex-start;
    }

    /* Reset td styles */
    .profile-table td {
        display: block;
        padding: 0.2rem 0;
        border: none;
        font-size: 0.8rem;
    }

    /* Profile Name (Full width at top) */
    .profile-table td.profile-name {
        width: 100%;
        font-size: 1.1rem;
        color: #D4AF37;
        font-weight: bold;
        margin-bottom: 0.2rem;
    }

    /* Skills (Full width) */
    .profile-table td.col-skills {
        width: 100%;
        color: #cbd5e1;
        margin-bottom: 0.5rem;
    }

    /* Qualification & Experience (Half width each) */
    .profile-table td.col-qualification,
    .profile-table td.col-experience {
        width: 50%;
        color: #94a3b8;
    }

    /* Availability & Action (Half width each side by side) */
    .profile-table td:nth-child(5),
    .profile-table td:nth-child(6) {
        width: 50%;
        display: flex;
        align-items: center;
        margin-top: 0.5rem;
    }

    .enquire-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}