

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
:root {
    --law-mark-xt-gold: #b59449;
    --law-mark-xt-dark: #002329;
    --law-mark-xt-light-bg: rgba(245, 245, 245, 0.9); /* Semi-transparent */
    --law-mark-xt-white: #ffffff;
}

/* Hero Section with Image */
.law-mark-xt-hero-bg {
    width: 100%;
    height: 600px;
    background-image: url('../img/about/eleonore.jpg'); /* Apni image ka path yahan dalein */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.law-mark-xt-hero-overlay {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.law-mark-xt-intro-box {
    background-color: var(--law-mark-xt-light-bg);
    padding: 50px;
    max-width: 500px; /* Floating box width */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.law-mark-xt-container {
    max-width: 1200px;
    margin: 10px auto 0; /* Pulls content up to overlap slightly */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 20px 80px;
    position: relative;
    z-index: 2;
}

/* Buttons Styling */
.law-mark-xt-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 80px;
}

.law-mark-xt-btn-dark, .law-mark-xt-btn-gold {
    text-decoration: none;
    padding: 35px 25px;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.law-mark-xt-btn-dark {
    background-color: var(--law-mark-xt-dark);
    color: var(--law-mark-xt-gold);
}

.law-mark-xt-btn-gold {
    background-color: var(--law-mark-xt-gold);
    color: var(--law-mark-xt-white);
}

/* Education Header (MY EDUCATION) */
.law-mark-xt-edu-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin-bottom: 10px;
}



.law-mark-xt-edu-text {
    font-size: 45px;
    color: var(--law-mark-xt-gold);
    line-height: 1;
}

.law-mark-xt-edu-heading {
    font-size: 55px;
    color: var(--law-mark-xt-gold);
    letter-spacing: 2px;
    margin: 0;
}


/* --- RESPONSIVE FIXES --- */

@media (max-width: 786px) {
    .law-mark-xt-hero-bg { height: auto; padding: 60px 0; }
    .law-mark-xt-container { grid-template-columns: 1fr; margin-top: 20px; }
    .law-mark-xt-intro-box { max-width: 100%; }
    .law-mark-xt-buttons-wrapper { margin-top: 0; order: 2; }

}

@media (max-width: 425px) {
    .law-mark-xt-edu-heading { font-size: 35px; }
    .law-mark-xt-edu-text { font-size: 30px; }
    .law-mark-xt-main-title { font-size: 30px; }
}
:root {
    --law-about-tx-gold: #c69533;
    --law-about-tx-dark: #002e2c;
    --law-about-tx-light: #f4f4f4;
}
.law-about-tx-edu-sub {
    color: var(--law-about-tx-gold);
    font-size: 14px;
    margin-bottom: 30px;
    text-align: center;
}
.law-about-tx-edu-img{
    width: 400px;
    margin-bottom: 30px;
}

/* Accordion Styling */
.law-about-tx-acc-item {
    background-color: var(--law-about-tx-dark);
    color: white;
    padding: 20px 20px;
    margin-bottom: 8px;
    text-align: left;
    cursor: pointer;
}
.law-plus-sign{
    font-size: 24px;
    font-weight: bold;
}

.law-about-tx-acc-item.law-about-tx-active {
    background-color: var(--law-about-tx-light);
    color: #333;
}

.law-about-tx-acc-head {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.law-about-tx-acc-content {
    padding: 15px;
    font-size: 14px;
    background: #fafafa;
    border: 1px solid #eee;
    margin-bottom: 10px;
}
.law-about-tx-acc-content-p{
    text-align: left;
    font-size: 1rem;
    line-height: 2;
}
/* Default hidden state */
.law-about-tx-acc-content {
    display: none;
    padding: 15px 20px;
    background-color: #fafafa;
    border: 1px solid #eee;
    border-top: none;
    animation: lawFadeDown 0.3s ease-in-out;
}

/* Active header state */
.law-about-tx-acc-item.law-about-tx-active {
    background-color: #f4f4f4 !important; /* Light background from screenshot */
    color: #002e2c !important;
}

/* Change icon from + to - when active */
.law-about-tx-acc-item.law-about-tx-active span {
    transform: rotate(45deg);
    display: inline-block;
    transition: 0.3s;
}

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

/* --- RESPONSIVE 786px --- */
@media (max-width: 786px) {
    .law-about-tx-main-grid { grid-template-columns: 1fr; }
    .law-about-tx-main-heading { font-size: 32px; }
    .law-about-tx-edu-title { font-size: 45px; }
}

/* --- RESPONSIVE 425px --- */
@media (max-width: 425px) {
    .law-about-tx-heading-box { padding: 20px; }
    .law-about-tx-btn { font-size: 16px; padding: 15px; }
    .law-about-tx-edu-title { font-size: 35px; }
    .law-about-tx-stretch-t::after { height: 100px; }
}


/* Container styling */
.law-down-ft-container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f4f4f4;
    font-family: Arial, sans-serif;
}



/* Base Box Styling */
.law-down-ft-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    aspect-ratio: 1 / 1; /* Square boxes */
    overflow: hidden;
}

/* 1st Box (YouTube) - Double Height */
.law-down-ft-video-box {
    grid-row: span 2; /* Height of two boxes */
    aspect-ratio: auto; /* Remove square constraint */
    padding: 0;
    background: #000;
}

.law-down-ft-video-wrapper, 
.law-down-ft-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Colors */
.law-down-ft-white-box { background-color: #ededed; color: #333; }
.law-down-ft-gold-box { background-color: #b08d44; color: #fff; }

/* Text Styling */
.law-down-ft-small-text { font-size: 12px; margin-bottom: 5px; opacity: 0.8; }
.law-down-ft-title { font-size: 1.2rem; font-weight: bold; margin: 0; }
.law-down-ft-green-text { color: #2e5a31; font-weight: bold; font-size: 14px; margin-top: 10px; }

/* Social Icons Grid */
.law-down-ft-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
}
.law-down-ft-social-grid img { width: 35px; height: 35px; }

/* QR Code */
.law-down-ft-qr { width: 80px; height: 80px; margin-top: 10px; filter: brightness(0) invert(1); }

/* Name Tag */
.law-down-ft-name-tag {
    background: white;
    padding: 10px 25px;
    font-weight: bold;
    letter-spacing: 2px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

/* Container styling */
.law-down-ft-container {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    font-family: 'Arial', sans-serif;
}

.law-down-ft-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-gap: 0px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Box Styling */
.law-down-ft-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    /* Square feel maintain karne ke liye */
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    position: relative;
}

/* 1st Box: Video (Double Height aur Narrow Width) */
.law-down-ft-video-box {
    grid-row: span 2; 
    aspect-ratio: auto; /* Height 2 boxes ke barabar stretch hogi */
    padding: 0;
    background: #000;
}

.law-down-ft-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video box me puri tarah fill ho jayegi */
}

/* Colors & Themes */
.law-down-ft-white-box { background-color: #f2f2f2; color: #333; }
.law-down-ft-gold-box { background-color: #b08d44; color: #fff; }

/* Text Styling */
.law-down-ft-small-text { font-size: 11px; letter-spacing: 1px; margin-bottom: 5px; text-transform: uppercase; }
.law-down-ft-title { font-size: 1.1rem; font-weight: 800; margin: 5px 0; line-height: 1.2; }
.law-down-ft-green-text { color: #1a4d2e; font-weight: bold; font-size: 13px; margin-top: 10px; }

/* Social Icons */
.law-down-ft-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 12px;
}
.law-down-ft-social-grid img { width: 30px; height: 30px; transition: 0.3s; cursor: pointer; }
.law-down-ft-social-grid img:hover { transform: scale(1.1); }

/* QR Code */
.law-down-ft-qr { width: 90px; height: 90px; margin-top: 10px; }

/* Name Tag Overlay */
.law-down-ft-name-tag {
    background: #fff;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    border-left: 4px solid #b08d44;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}


/* --- Responsive Design --- */

/* For Tablets (2 columns) */
@media (max-width: 992px) {
    .law-down-ft-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .law-down-ft-video-box {
        grid-column: span 2; /* Video becomes full width */
        grid-row: auto;
        aspect-ratio: 16 / 9;
    }
}

/* For Mobile (1 column) */
@media (max-width: 600px) {
    .law-down-ft-wrapper {
        grid-template-columns: 1fr;
    }
    .law-down-ft-video-box {
        grid-column: span 1;
    }
    .law-down-ft-box {
        aspect-ratio: auto;
        min-height: 250px;
    }
}
.law-fn-bg-icon {
    position: absolute;
    right: 25%; /* Thoda side mein shift karne ke liye */
    bottom: 20%;
    width: 200px; /* Bada size watermark ke liye */
    height: 200px;
    color: rgba(0, 0, 0, 0.04); /* Bahut halka black (watermark effect) */
    z-index: 1; /* Content ke niche */
    pointer-events: none; /* Mouse interactions ko block na kare */
    transition: 0.5s ease;
}
.law-fn-block:hover .law-fn-bg-icon {
    transform: scale(1.1) rotate(-10deg);
    color: rgba(37, 211, 102, 0.08); /* Hover par halka green tint */
}
.law-fn-qr-placeholder img {
  width: 160px;
  padding: 0px;
  background: rgba(217, 206, 206, 0);

}
.qr-img-law {
    filter: invert(1);
}

.law-fn-qr-placeholder img {
  transition: 0.5s ease;
}

.law-fn-block:hover .law-fn-qr-placeholder img {
  transform: translateY(-10px);

}
.law-fn-name {
    position: relative;
    font-size: 12px; /* Professional size */
    font-weight: 700;
    color: #121d21; /* Dark professional color */
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 15px 30px;
    background: #ffffff;
    
    /* Premium Border and Shadow */
    border-left: 4px solid #b59449; /* Gold accent on the left like a label */
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);
    
    display: inline-block;
    cursor: default;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover effect for minimalist premium feel */
.law-fn-name:hover {
    transform: translateX(10px); /* Label movement */
    background: #121d21;
    color: #b59449;
    border-left: 8px solid #b59449; /* Thickens on hover */
    letter-spacing: 5px; /* Spreads out slightly */
}
