*,
*::before,
*::after {
    box-sizing: border-box;
}
:root {
    /* Dark Theme (Default) */
    --bg-dark: #020b18;
    --glass-bg: rgba(2, 11, 24, 0.7);
    --text-primary: #ffffff;
    --text-gold: #d4af37;
    --nav-idle: #ffffff;
    --nav-active: #d4af37;
    --accent-gold: #d4af37;
    --accent-gold-soft: rgba(212, 175, 55, 0.25);
    --hex-border: #d4af37;
    --hex-text: #d4af37;
    --hex-inner-bg: rgba(2, 11, 24, 0.85);
    --footer-bg: linear-gradient(180deg, #040b14, #02060c);
    --footer-text: #cfd6e0;
    --footer-border: rgba(255, 200, 80, 0.25);
    --footer-highlight: rgba(212, 175, 55, 0.05);
    --text-card: #ffffff;
}

[data-theme="light"] {
    /* Light Theme */
    --bg-dark: #f0f4f8;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --text-primary: #002d5b; /* Logo Blue */
    --text-gold: #b8860b;
    --nav-idle: #002d5b; /* Blue in light mode */
    --nav-active: #b8860b; /* Golden when clicked */
    --accent-gold: #002d5b;
    --accent-gold-soft: #f0f4f8;
    --hex-border:#002d5b;
    --hex-text: #002d5b;
    --hex-inner-bg: #f0f4f8;
    --footer-bg: linear-gradient(180deg, #f7f9fc, #e9eef5);
    --footer-text: #002d5b;
    --footer-border: rgba(0, 45, 91, 0.2);
    --footer-highlight: rgba(0, 45, 91, 0.06);
    --text-card: #020b18;
}

/* ===============================
   Sustainability Page
================================ */

.sustainability-section {
    padding: 120px 8% 80px;
    background: var(--bg-dark);
}

.sustainability-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto 60px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

.gold {
    color: var(--text-gold);
}

/* ===============================
   IMAGE GRID
================================ */

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 90px;
}

.image-card {
    background: var(--glass-bg);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.25);
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-8px);
}

.image-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.image-card p {
    padding: 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* ===============================
   CERTIFICATES
================================ */

.certificates-section h2 {
    color: var(--text-primary);
    margin-bottom: 12px;
}

.certificates-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    color: var(--text-primary);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.certificate-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(212,175,55,0.25);
    text-align: left;
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-8px);
}

.certificate-card h3 {
    color: var(--text-gold);
    margin-bottom: 12px;
}

.certificate-card p {
    color: var(--text-card);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ===============================
   BUTTON
================================ */

.btn-download {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 30px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 10px 25px rgba(212,175,55,0.35);
}
/* ===============================
   GLOBAL OFFICES SECTION
================================ */

.info-divider {
    height: 1px;
    background: var(--footer-border);
    margin: 80px 0;
}

.global-offices-section {
    margin-top: 60px;
}

.section-heading {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
}

.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.office-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--footer-border);
    text-align: left;
    transition: transform 0.3s ease, border 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.office-card h3 {
    color: var(--text-gold);
    font-size: 1.25rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--footer-border);
    padding-bottom: 10px;
}

.office-card p {
    color: var(--footer-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-links p {
    margin: 8px 0;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ===============================
   READ MORE BUTTON (PREMIUM STYLE)
================================ */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;

    padding: 10px 18px;
    border-radius: 30px;

    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;

    border: 1px solid rgba(212,175,55,0.5);
    background: rgba(212,175,55,0.05);

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
}

/* Hover effect */
.read-more:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 10px 25px rgba(212,175,55,0.35);
    transform: translateY(-2px);
}

/* Arrow animation */
.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Shine effect */
.read-more::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition: 0.5s;
}

.read-more:hover::before {
    left: 100%;
}
/* ===============================
   INVESTOR & PRIVACY SECTION
================================ */

.footer-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 80px;
    padding-bottom: 60px;
}

.detail-box {
    background: var(--footer-highlight);
    border-left: 4px solid var(--accent-gold);
    padding: 30px;
    border-radius: 0 20px 20px 0;
    text-align: left;
}

.detail-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.detail-box p {
    color: var(--footer-text);
    line-height: 1.7;
    margin-bottom: 15px;
}

.detail-box strong {
    color: var(--text-gold);
}

/* ===============================
   IMAGE CARD ENHANCEMENTS
================================ */

.card-detail {
    display: block;
    padding: 0 16px 16px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    text-align: left;
}

/* Light Mode Overrides for card details */
[data-theme="light"] .card-detail {
    color: rgba(0, 45, 91, 0.7);
}

[data-theme="light"] .section-subtitle,
[data-theme="light"] .certificates-subtitle {
    color: var(--text-primary);
}

/* ===============================
   RESPONSIVENESS
================================ */

@media (max-width: 768px) {
    .footer-details-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}