/* --- VARIABLES & RESET --- */
:root {
    --primary-blue: #0A58CA;
    --dark-blue: #052c65;
    --gold: #FFD700;
    --light-blue: #E9F2FF;
    --dark-text: #1a1a1a;
    --white: #ffffff;
    --gray: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.8);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-2 {
    margin-top: 1rem;
}

.section-bg {
    background-color: var(--light-blue);
}

section {
    padding: 80px 0;
}

h2 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.subtitle {
    margin-bottom: 40px;
    color: #555;
}

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* --- HEXAGON SHAPE MAGIC --- */
.hexagon {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
}

.hexagon-small {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: var(--transition);
}

.hexagon:hover,
.hexagon-small:hover {
    transform: scale(1.05) rotate(2deg);
    filter: brightness(1.1);
}

/* Honeycomb Grid Layout */
.honeycomb-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
}

.honeycomb-wrapper {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
    transition: var(--transition);
    margin: 10px;
}

.honeycomb-wrapper:hover {
    filter: drop-shadow(0 25px 40px rgba(10, 88, 202, 0.3));
    transform: translateY(-15px);
}

.honeycomb-card {
    position: relative;
    width: 300px;
    height: 340px;
    background: var(--white);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.honeycomb-wrapper:hover .honeycomb-card {
    background: linear-gradient(145deg, var(--white), #f0f7ff);
}

.honeycomb-card h3 {
    margin: 15px 0 10px 0;
    font-size: 1.4rem;
    color: var(--dark-text);
    transition: var(--transition);
}

.honeycomb-wrapper:hover .honeycomb-card h3 {
    color: var(--primary-blue);
}

.honeycomb-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.honeycomb-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin-bottom: 5px;
    border: none;
    transition: var(--transition);
}

.honeycomb-wrapper:hover .honeycomb-card img {
    transform: scale(1.1);
}

/* Honeycomb Background Decorative */
.bg-honeycomb {
    background-image: radial-gradient(circle at 2px 2px, rgba(10, 88, 202, 0.15) 1px, transparent 0);
    background-size: 30px 30px;
    position: relative;
}

.bg-honeycomb::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M50 0 L93.3 25 L93.3 75 L50 100 L6.7 75 L6.7 25 Z" fill="none" stroke="rgba(10, 88, 202, 0.1)" stroke-width="2"/></svg>');
    background-size: 150px;
    z-index: -1;
}

/* --- NAVBAR --- */
header {
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-footer {
    margin-bottom: 20px;
}

.logo-footer img {
    max-height: 60px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary-blue);
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 120px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/fuji.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-main-img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    transform: perspective(1000px) rotateY(-10deg);
}

.hero-image {
    flex: 1;
    text-align: center;
}

/* --- GRID LAYOUTS --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.align-center {
    align-items: center;
}

/* --- CARDS & BOXES --- */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--primary-blue);
}

.card h3 {
    margin: 15px 0;
    color: var(--primary-blue);
}

.legality-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-blue);
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* --- PROCESS STEPS --- */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    background: var(--light-blue);
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #cce0ff;
}

.step span {
    background: var(--primary-blue);
    color: var(--white);
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

/* --- GALLERY --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-grid .caption {
    margin-top: 10px;
    font-weight: bold;
    color: var(--primary-blue);
}

/* True Honeycomb Image Gallery */
/* --- PREMIUM CATEGORY GALLERY & LIGHTBOX --- */
.gallery-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 30px 0;
}

.gallery-category-card {
    position: relative;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
    background-color: var(--white);
}

.gallery-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 88, 202, 0.2);
}

.category-card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.gallery-category-card:hover .category-card-bg {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(5, 44, 101, 0.95) 20%, rgba(5, 44, 101, 0.5) 60%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    z-index: 2;
    color: var(--white);
    text-align: left;
}

.category-info h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 700;
}

.category-info p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.4;
}

.photo-count {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Gallery Modal Lightbox */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(4, 29, 66, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 80px 24px 60px 24px;
}

.gallery-modal.show {
    display: block !important;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-modal-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-modal.show .gallery-modal-content {
    transform: translateY(0);
}

.gallery-modal-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(5, 44, 101, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2200;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gallery-modal-close-btn:hover {
    background: var(--gold);
    color: var(--dark-blue);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.gallery-modal-close-btn:active {
    transform: translateY(0);
}

.gallery-modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-modal-desc {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-modal-item {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    background: #041d42;
    aspect-ratio: 4 / 3;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s;
}

.gallery-modal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-modal-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.gallery-modal-item:hover img {
    transform: scale(1.08);
}

/* Image Fullscreen Zoom Viewer */
.image-zoom-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-zoom-overlay.show {
    display: flex !important;
    animation: fadeIn 0.2s forwards;
}

.image-zoom-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.image-zoom-overlay.show .image-zoom-img {
    transform: scale(1);
}

.image-zoom-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 3.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.image-zoom-close:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.testimonial-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- FAQ ACCORDION --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    background: var(--white);
    color: var(--primary-blue);
    padding: 18px;
    text-align: left;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq-btn::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-btn.active::after {
    content: '-';
}

.faq-content {
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content p {
    padding: 0 18px 18px 18px;
    color: #555;
}

/* --- FOOTER --- */
footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0 20px 0;
}

footer h3 {
    margin-bottom: 20px;
    color: var(--light-blue);
}

footer a {
    color: var(--white);
}

.maps-placeholder {
    width: 100%;
    height: 150px;
    background: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 0.9rem;
}

/* --- THEMATIC BACKGROUNDS & PATTERNS --- */
.bg-office {
    background: linear-gradient(rgba(233, 242, 255, 0.9), rgba(233, 242, 255, 0.9)), url('assets/office.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-agriculture {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('assets/agriculture.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-pattern-lines {
    position: relative;
}
.bg-pattern-lines::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(45deg, rgba(10, 88, 202, 0.08) 0px, rgba(10, 88, 202, 0.08) 2px, transparent 2px, transparent 15px);
    z-index: 0; /* Behind content but inside section */
    pointer-events: none;
}
.bg-pattern-lines > .container {
    position: relative;
    z-index: 1;
}

.bg-pattern-circles {
    position: relative;
    overflow: hidden;
}
.bg-pattern-circles::before, .bg-pattern-circles::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 88, 202, 0.2) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
.bg-pattern-circles::before {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
}
.bg-pattern-circles::after {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
}
.bg-pattern-circles > .container {
    position: relative;
    z-index: 1;
}

.bg-pattern-dark {
    position: relative;
}
.bg-pattern-dark::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cpath d='M0 40c0-11 9-20 20-20s20 9 20 20M40 40c0-11 9-20 20-20s20 9 20 20M20 20C20 9 29 0 40 0s20 9 20 20' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 40px 20px;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}
.bg-pattern-dark > * {
    position: relative;
    z-index: 1;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- PROFILE SECTION --- */
.profile-section {
    background: var(--gray);
    position: relative;
    overflow: hidden;
}

.profile-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: flex-start;
}

.profile-text-box {
    background: var(--dark-blue);
    color: var(--white);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 1;
}

.profile-text-box h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.profile-text-box p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
}

.director-image-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.director-image-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.director-image {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 15px solid var(--white);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.director-info h3 {
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.director-info p {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.customer-message {
    grid-column: 1 / -1;
    margin-top: 40px;
    background: #041d42;
    color: var(--white);
    padding: 50px;
    border-radius: 20px;
    border-left: 10px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.customer-message h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bg-dot-pattern {
    position: absolute;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(var(--primary-blue) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- VISION & MISSION CUSTOM STYLES --- */
.vision-mission-card {
    border: 3px solid var(--primary-blue);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    background: var(--glass);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.vm-header {
    background: var(--dark-blue);
    color: var(--white);
    padding: 12px 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 0 0 30px 0;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vm-header svg {
    margin-left: 15px;
    stroke: var(--white);
}

.vm-body {
    padding: 40px 30px;
    font-size: 1.1rem;
}

.vm-body p {
    margin-bottom: 0;
}

.vm-body ul {
    list-style: none;
    padding: 0;
}

.vm-body ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.vm-body ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 1.5rem;
    line-height: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .profile-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .director-image {
        width: 250px;
        height: 250px;
    }

    .profile-text-box, .customer-message {
        padding: 30px;
    }

    nav ul {
        display: none;
    }

    /* Gallery Modal Responsive Styles */
    .gallery-modal {
        padding: 90px 16px 40px 16px;
    }

    .gallery-modal-close-btn {
        top: 15px;
        right: 15px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .gallery-modal-title {
        font-size: 1.8rem;
    }

    .gallery-modal-desc {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
}

/* --- REPRESENTATIVE SECTION --- */
.rep-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.rep-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.rep-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.rep-title h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    color: var(--white);
    letter-spacing: -1px;
}

.jp-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

.rep-logo-side {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: right;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rep-logo-text {
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--white);
    text-transform: uppercase;
}

.rep-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.rep-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.rep-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 150px 40px 40px 150px;
    padding: 10px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    max-width: 1000px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rep-card:nth-child(even) {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.rep-card:hover {
    transform: translateX(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.rep-img-box {
    flex: 0 0 240px;
    height: 240px;
    overflow: hidden;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.rep-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rep-card:hover .rep-img-box img {
    transform: scale(1.1);
}

.rep-info {
    padding: 20px 50px;
    flex: 1;
}

.rep-info h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 2px;
}

.rep-role {
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.rep-desc {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* --- COMPANY INFORMATION --- */
.company-info-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.company-info-section h2 {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    padding-bottom: 10px;
}

.company-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ci-row {
    display: flex;
    padding: 12px 15px;
    background: #f9fbfd;
    border-radius: 8px;
    transition: var(--transition);
}

.ci-row:hover {
    background: #e9f2ff;
    transform: translateX(10px);
}

.ci-label {
    flex: 0 0 35%;
    font-weight: 700;
    color: var(--dark-text);
}

.ci-value {
    flex: 1;
    color: #444;
}

.legality-docs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.doc-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.doc-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.doc-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-blue);
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fff;
}

/* --- APPLICANT DATA SECTION --- */
.applicant-table-placeholder {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.applicant-table-placeholder h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: left;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.applicant-table-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- WORK HANDLED SECTION --- */
.work-handled-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.work-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    background: #fff;
    height: 180px; 
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, rgba(46, 56, 158, 0.8), rgba(135, 182, 85, 0.8));
    color: #d11f26; 
    text-shadow: 1px 1px 0px rgba(255,255,255,0.7);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 8px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .rep-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .rep-card {
        flex-direction: column;
        border-radius: 30px;
        text-align: center;
    }
    
    .rep-img-box {
        flex: 0 0 200px;
        width: 200px;
        height: 200px;
        margin-top: 20px;
    }
    
    .rep-title h1 {
        font-size: 1.8rem;
    }
    
    .jp-title {
        font-size: 2.2rem;
    }
}

/* --- STRUCTURE SECTION --- */
.structure-card {
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    max-width: 100%; /* Changed from 1000px to allow more space */
    width: fit-content; /* Allow card to fit content */
    margin: 40px auto; /* Centering */
    overflow: hidden;
}

.structure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.structure-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .structure-card {
        padding: 10px;
        margin: 20px auto;
    }
}

/* --- PARTNERS SECTION --- */
.partners-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

.partners-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
