/*
Theme Name: Globonomics Bespoke Theme
Theme URI: https://globonomics.in/
Description: A highly customized, premium theme for Globonomics built for high-conversion financial advisory branding.
Version: 5.1
Author: Globonomics Dev
Text Domain: globonomics
*/

/* Reset & Core Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #2d3748;
    background-color: #fcfdfd;
    margin: 0;
    padding: 0;
}

/* --- Bespoke Navigation Structure --- */
.gn-nav-container {
    max-width: 1140px;
    margin: 20px auto;
    padding: 12px 24px;
    background: #ffffff;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f4f8;
    position: relative;
}

.gn-logo a {
    font-size: 20px;
    font-weight: 700;
    color: #1a365d;
    text-decoration: none;
    white-space: nowrap;
}

.gn-nav-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 40px;
}

.gn-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gn-menu a {
    color: #2c5282;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
}

.gn-menu a:hover {
    color: #319795;
}

/* Dynamic Action Button Styling */
.gn-talk-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: #4299e1;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.gn-talk-btn::before {
    content: "💓";
    display: inline-block;
    max-width: 0;
    opacity: 0;
    margin-right: 0;
    transition: all 0.35s ease-in-out;
}

.gn-talk-btn:hover {
    background-color: #2b6cb0;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.gn-talk-btn:hover::before {
    max-width: 25px; 
    opacity: 1;
    margin-right: 6px;
    animation: gnHeartbeat 0.6s infinite alternate ease-in-out;
}

/* Mobile Toggle Hamburger Button Styles */
.gn-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.gn-bar {
    width: 100%;
    height: 3px;
    background-color: #1a365d;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes gnHeartbeat {
    0% { transform: scale(1); }
    100% { transform: scale(1.25); }
}

/* ==========================================================================
   🔒 COMPLIANCE & TRANSPARENCY FOOTER TRUST LOCK STYLES (Desktop Layout Base)
   ========================================================================== */
.gn-trust-lock-section {
    background-color: #f7fafc; 
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 60px 20px;
    clear: both;
}

.gn-trust-lock-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.gn-trust-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gn-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e0;
}

.gn-trust-icon {
    font-size: 28px;
    margin-bottom: 15px;
}

.gn-trust-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a365d; 
    margin: 0 0 12px 0;
}

.gn-trust-text {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568; 
    margin: 0;
}

.gn-main-footer {
    background-color: #ffffff;
    padding: 30px 20px;
    text-align: center;
}

.gn-footer-bottom {
    max-width: 1140px;
    margin: 0 auto;
    font-size: 14px;
    color: #718096;
}

.gn-footer-bottom p {
    margin: 5px 0;
}

.gn-regulatory-disclaimer {
    font-size: 12px;
    color: #a0aec0;
    margin-top: 15px !important;
    line-height: 1.5;
}

/* Slide Down Subtle Animation Profile */
@keyframes gnMenuSlideIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   📱 MOBILE & TABLET RESPONSIVE VIEWPORT BREAKPOINT
   ========================================================================== */
@media (max-width: 768px) {
    .gn-nav-container {
        margin: 15px;
        padding: 14px 20px;
        border-radius: 30px;
    }

    .gn-menu-toggle {
        display: flex;
    }

    .gn-nav-menu-wrapper {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        background: #ffffff;
        border-radius: 24px;
        box-shadow: 0 12px 30px rgba(26, 54, 93, 0.08);
        border: 1px solid #e2e8f0;
        padding: 24px;
        flex-direction: column;
        gap: 24px;
        margin-left: 0;
        box-sizing: border-box;
        z-index: 999;
    }

    .gn-nav-menu-wrapper.gn-is-active {
        display: flex;
        animation: gnMenuSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .gn-menu {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 18px;
    }

    .gn-menu a {
        font-size: 16px;
        padding: 6px 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    .gn-nav-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .gn-talk-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
    }

    .gn-menu-toggle.gn-is-active .gn-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .gn-menu-toggle.gn-is-active .gn-bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .gn-menu-toggle.gn-is-active .gn-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .gn-trust-lock-section {
        padding: 40px 15px;
    }
    
    .gn-trust-lock-container {
        grid-template-columns: 1fr; 
        gap: 24px;
    }
    
    .gn-trust-card {
        padding: 24px;
    }
}