* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

/* --- Fixed Sticky Header Component --- */
nav {
    display: flex;
    flex-direction: column;
    background: #f7f3f2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.nav-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    width: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

nav img {
    height: 92px;
    width: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12), 
                0 4px 6px rgba(0, 0, 0, 0.06);
    transform: perspective(500px) translateZ(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav img:hover {
    transform: perspective(500px) translateZ(15px) scale(1.03);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.18), 
                0 6px 10px rgba(0, 0, 0, 0.10);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

/* --- Sections Dynamic Offset Layouts --- */
header#home, 
section#why-unika,
section#mutual-funds,
section#services, 
section#contact {
    scroll-margin-top: 170px;
    padding-top: 0; /* Removed top white space */
    padding-bottom: 60px;
    position: relative;
    clear: both;
}

/* Keep text content cleanly spaced and readable when sections are targeted */
.section-container, 
#services h2, 
.contact-wrap {
    padding-top: 10px;
}

/* Specific fix to completely clear out white gaps around the slider */
#home.slider-wrapper {
    scroll-margin-top: 170px; /* Keeps navigation anchor mapping operational */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* --- Disclosures Ticker Track --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.disclosure-bar {
    background: #fdf5e6;
    border-top: 1px solid #e8d5a8;
    border-bottom: 1px solid #e8d5a8;
    padding: 13px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    clear: both;
}
.disclosure-track {
    display: inline-flex;
    white-space: nowrap;
    animation: disclosure-scroll 32s linear infinite;
    will-change: transform;
}
.disclosure-bar:hover .disclosure-track {
    animation-play-state: paused;
}
.disclosure-content {
    display: inline-block;
    padding-right: 80px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #3a3320;
    white-space: nowrap;
}
/* Fixed hidden block padding inside disclosure components */
.disclosure-bar p,
.disclosure-track span {
    margin: 0 !important;
    padding: 0 !important;
}

@keyframes disclosure-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- New Section: Why Unika --- */
#why-unika {
    padding-top: 0px;
    background: #ffffff;
    text-align: center;
}
#why-unika h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
}
#why-unika p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

/* --- Home Header Block --- */
header {
    background: #f7f3f2;
    min-height: 600px;
}
.header-split-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 40px 4%;
    gap: 40px;
    flex: 1;
}
.header-left {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.goals-header-inline {
    text-align: left;
    margin-bottom: 25px;
}
.header-left h2 {
    color: #0a2540;
    font-size: 2.2rem;
    margin: 0 0 10px 0;
}
.goals-intro {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 1.05rem;
    color: #555;
    margin: 0;
}
.goals-cards-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.goal-card {
    padding: 20px 25px;
    background: #ffffff;
    border-left: 5px solid #0a2540;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.goal-icon {
    font-size: 1.5rem;
    color: #0a2540;
    margin-bottom: 8px;
}
.goal-card h3 {
    color: #0a2540;
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}
.goal-objective,
.goal-card p {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
}
.goal-objective {
    font-size: 0.95rem;
    color: #222;
    margin: 0 0 8px 0;
}
.goal-card p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}
.header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    background: #ffffff;
    padding: 0px 0px 30px 0px; 
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}
.header-content {
    max-width: 100%;
    padding: 0 20px; 
    margin-top: 0px; 
}
.header-content h1 {
    font-size: 32px;
    line-height: 1.2; 
    margin: 0 0 8px 0; 
    color: #333;
}
.header-content span {
    color: #0a2540;
}
.brand-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.3;
    margin: 0 0 2px 0; 
}
.reg-info {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 13px;
    color: #666;
    line-height: 1.2;
    margin: 0;
}
.phone-showcase {
    margin-bottom: 15px; 
    width: 100%;
}
.phone-showcase img {
    width: 100%; 
    height: auto;
    max-height: 520px; 
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* --- Mutual Funds Section Layout --- */
#mutual-funds {
    background: #ffffff;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}
#mutual-funds h2 {
    color: #0a2540;
    font-size: 2.2rem;
    margin: 0 0 15px 0;
    text-align: left;
}
.mf-paragraph {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 1.02rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 35px;
    text-align: left;
}

/* Data Table Layout Structuring */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
}
.mf-data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    text-align: left;
    min-width: 950px;
}
.mf-data-table th, 
.mf-data-table td {
    border: 1px solid #b0b0b0;
    padding: 10px 14px;
}
.mf-data-table th {
    background-color: #f8f9fa;
    color: #13294B;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
}
.mf-data-table td {
    font-weight: bold;
    color: #333;
}
.mf-data-table tr:nth-child(even) {
    background-color: #fbfcfd;
}
.mf-data-table td.fund-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #000000;
    width: 320px;
}
.text-green {
    color: #27ae60 !important;
}
.text-right {
    text-align: right !important;
}
.mf-data-table th.text-right {
    text-align: right;
}
.table-disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-top: 15px;
    background: #fdf6f0;
    padding: 15px;
    border-left: 4px solid #d97b3f;
    border-radius: 4px;
}

/* --- Services Block --- */
#services {
    text-align: center;
    background-color: #ffffff;
}
.service-intro {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.service-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.card {
    padding: 30px 25px;
    background: #f4f7f9;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    width: 350px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.card h3 {
    color: #0a2540;
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 15px;
}
.card p {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    color: #555;
}

/* --- Contact Block --- */
#contact {
    background-color: #ffffff;
    border-top: 1px solid #fff;
}
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.contact-info {
    padding: 0 5% 60px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.contact-info h2 {
    color: #0a2540;
    font-size: 2rem;
    margin: 0 0 15px 0;
}
.contact-intro {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    color: #555;
    font-size: 1rem;
    margin: 0 0 30px 0;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 0.98rem;
    color: #333;
}
.contact-item i {
    color: #d97b3f;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.contact-item a {
    color: #0a2540;
    text-decoration: none;
    font-weight: 600;
}
.contact-form {
    background: #f4f7f9;
    padding: 40px 6%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    border-radius: 12px;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.form-group label {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #0a2540;
}
.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 12px 14px;
    border: 1px solid #d7dde3;
    border-radius: 8px;
    background: #fff;
    color: #333;
    resize: vertical;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0a2540;
}
.form-group input:invalid:focus {
    border-color: #c0392b;
    outline: none;
}
.form-submit {
    background: #0a2540;
    color: #ffffff;
    border: none;
    padding: 16px 20px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.form-submit:hover {
    background: #133963;
}
.form-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    margin: 0;
    min-height: 1.2em;
}
.form-status.success {
    color: #1e7e34;
    font-weight: 600;
}
.form-status.error {
    color: #c0392b;
}

.contact-map {
    max-width: 1200px;
    margin: 40px auto 40px auto;
    padding: 0 5%;
}
.contact-map iframe {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* --- Floating Utilities --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #128c7e;
}

/* --- Slider Component Update --- */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 !important;   
    padding: 0 !important;
    display: block;
}
.slider {
    display: flex;
    width: 600%;
    margin: 0;
    padding: 0;
    /* Keeps the overall loop smooth */
    animation: slide-animation 24s infinite linear; 
}
.slide { 
    width: 16.666%;
    margin: 0;
    padding: 0;
} 
.slide img { 
    width: 100%; 
    height: auto; 
    display: block;         
    margin: 0;
}

@keyframes slide-animation {
    /* Banner 1 */
    0%, 13.33% { transform: translateX(0); }
    
    /* Banner 2 */
    16.66%, 30% { transform: translateX(-16.666%); }
    
    /* Banner 3 */
    33.33%, 46.66% { transform: translateX(-33.333%); }
    
    /* Banner 4 */
    50%, 63.33% { transform: translateX(-50%); }
    
    /* Banner 5 */
    66.66%, 80% { transform: translateX(-66.666%); }
    
    /* Banner 1 (Duplicate) */
    83.33%, 99.99% { transform: translateX(-83.333%); }
    
    /* Instantly snap back to start without an animation transition delay */
    100% { transform: translateX(0); }
}
/* --- Branding Color Updates --- */
:root {
    --primary-color: #13294B;
}
.company-name, .header-left h2, .goal-card h3, .card h3, .contact-info h2, .form-submit, .goal-icon {
    color: var(--primary-color) !important;
}
.goal-card { border-left-color: var(--primary-color); }
.form-submit { background: var(--primary-color); }

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}
.company-name {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    display: block;
}
.company-tagline {
    font-size: 16px !important;
    font-weight: 600;
    color: #555 !important;
    display: block;
    margin-top: 4px;
}

.contact-form .form-submit {
    color: #ffffff !important;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    .header-split-container {
        flex-direction: column;
        padding: 30px 5%;
    }
    .header-left, .header-right {
        width: 100%;
    }
    .header-right {
        margin-top: 20px;
    }
}
@media (max-width: 900px) {
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    .contact-info {
        padding: 40px 6% 20px 6%;
    }
    .contact-form {
        padding: 30px 6% 50px 6%;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}
@media (max-width: 600px) {
    .nav-main-row {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 5%;
    }
    nav img {
        height: 56px;
    }
    .company-name {
        font-size: 0.95rem;
    }
    .company-tagline {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }
    nav ul {
        gap: 18px;
        width: 100%;
        justify-content: center;
    }
    header#home, 
    section#why-unika,
    section#mutual-funds,
    section#services, 
    section#contact {
        scroll-margin-top: 215px;
    }
}
/* Append this segment to the very bottom of your existing style.css file */

/* --- Integrated Financial Calculator Framework Reset Additions --- */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* Ensure global box-sizing configurations apply evenly to custom tailwind inputs */
#mutual-funds input[type="range"] {
    appearance: none;
    -webkit-appearance: none;
}