/* ==========================================================================
   AAM INVESTOR - PURE CORE CSS (LIGHTWEIGHT, RESPONSIVE, 0 DEPENDENCIES)
   ========================================================================== */

:root {
    --primary-navy: #1f2e4a;
    --primary-orange: #f59e0b;
    --primary-orange-dark: #d97706;
    --primary-green: #28a745;
    --primary-green-dark: #1e7e34;
    --text-main: #374151;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --container-max: 1200px;
    --shadow-card: 0 4px 15px rgba(31, 46, 74, 0.08);
    --shadow-hover: 0 10px 25px rgba(31, 46, 74, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.top-header {
    background-color: var(--primary-orange);
    color: #140101;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #140101;
}

.top-contact a:hover {
    color: #ffffff;
}

.top-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #140101;
    color: #ffffff;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
    color: #140101;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}

.btn-whatsapp {
    background-color: #104a05;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: #0c3804;
    color: #ffffff;
}

.btn-login {
    background-color: #1a2b49;
    color: #ffffff;
}

.btn-login:hover {
    background-color: #101c31;
    color: #ffffff;
}

/* MAIN NAVBAR */
.main-navbar {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.navbar-brand .brand-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    color: #140101;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
}

.nav-link:hover, .nav-item.active > .nav-link {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #104a05;
    min-width: 240px;
    list-style: none;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    padding: 8px 0;
    z-index: 100;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: #ffffff;
    color: #104a05;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle .bar {
    width: 26px;
    height: 3px;
    background-color: #140101;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   HOMEPAGE & HERO SECTION
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #f8faff 0%, #edf2f7 100%);
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background-color: #e6f4ea;
    color: var(--primary-green-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: #140101;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-orange-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-navy);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
}

.btn-secondary:hover {
    background-color: #131e33;
    transform: translateY(-2px);
}

.hero-image-wrap img {
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    width: 100%;
}

/* ==========================================================================
   SIP CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
    padding: 70px 0;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.calc-card-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}

.calc-input-group {
    margin-bottom: 28px;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1.05rem;
}

.calc-val-box {
    background-color: #f0fdf4;
    color: var(--primary-green-dark);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 1px solid #bbf7d0;
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
    border: 2px solid #ffffff;
}

.calc-results-box {
    background: linear-gradient(145deg, #1f2e4a 0%, #162238 100%);
    border-radius: 16px;
    padding: 35px 30px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-item {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.result-label {
    font-size: 0.95rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.result-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.result-amount.highlight {
    color: #4ade80;
}

.result-amount.total {
    color: var(--primary-orange);
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-orange);
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.35rem;
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 700;
    color: var(--primary-orange-dark);
    font-size: 0.95rem;
}

.learn-more:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}

.client-info h4 {
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-weight: 700;
}

.client-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PAGE BANNER & GENERAL CONTENT
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, #1f2e4a 0%, #111d33 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
}

.content-section {
    padding: 70px 0;
    background-color: var(--bg-white);
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-block h2 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin: 35px 0 15px 0;
    font-weight: 700;
}

.content-block h3 {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin: 25px 0 12px 0;
    font-weight: 600;
}

.content-block ul {
    margin: 15px 0 25px 25px;
}

.content-block li {
    margin-bottom: 10px;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-navy);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.map-section {
    line-height: 0;
}

.main-footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 15px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.copyright-text {
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-title {
    font-size: 1.25rem;
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 4px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-item a:hover {
    color: var(--primary-green);
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.social-circle.yt { background-color: #ff0000; }
.social-circle.tw { background-color: #000000; }
.social-circle.fb { background-color: #1877f2; }
.social-circle.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-circle.th { background-color: #000000; }

.social-circle:hover {
    transform: translateY(-3px);
}

.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   BLOG, LINKS & VIDEOS GRID
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.links-grid,
.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid, .calc-card-container, .contact-grid {
        grid-template-columns: 1fr;
    }
    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .top-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-menu.show {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f1f5f9;
        display: none;
        padding: 5px 0;
    }
    .dropdown.open .dropdown-menu {
        display: block;
    }
    .dropdown-menu li a {
        color: var(--primary-navy);
        padding: 8px 25px;
    }
    .services-grid,
    .blog-grid,
    .links-grid,
    .videos-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}