/* ========================================
   Handyora - Main Stylesheet
   ======================================== */

:root {
    --primary: #4e73df;
    --success: #1cc88a;
    --danger: #e74a3b;
    --warning: #f6c23e;
    --dark: #1a1a2e;
    --light-bg: #f8f9fc;
    --card-shadow: 0 2px 15px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --border-radius: 12px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2d3748;
    background: #fafbff;
}

/* ========== NAVBAR ========== */
#mainNav {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.navbar-brand {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white !important;
    letter-spacing: 1px;
}

.brand-text { color: #4e73df; }

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 15px !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
}

.global-currency-select {
    width: 158px;
    margin-top: 2px;
    border: 1px solid rgba(255,255,255,0.25);
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.global-currency-select option { color: #2d3748; }

.currency-nav-item { margin-left: 8px; }

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 8px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-item:hover { background: #f0f4ff; }

/* ========== HERO ========== */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234e73df' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(78, 115, 223, 0.2);
    border: 1px solid rgba(78, 115, 223, 0.4);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.text-accent { color: #60a5fa; }

.hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-top: 10px;
}

.search-box {
    position: relative;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 5;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    transform: translateY(-200%);
    border: 2px solid #0b5fff;
    border-radius: 4px;
    background: #fff;
    color: #172033;
    font-weight: 600;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #0b5fff;
    outline-offset: 2px;
}

.search-input {
    padding: 14px 20px 14px 45px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}

.search-input::placeholder { color: rgba(255,255,255,0.4); }
.search-input:focus {
    background: rgba(255,255,255,0.12);
    border-color: #4e73df;
    color: white;
    box-shadow: 0 0 0 3px rgba(78,115,223,0.2);
}

.hero-stats { gap: 30px; }

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #60a5fa;
    line-height: 1;
}

.stat-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating hero cards */
.hero-illustration {
    position: relative;
    height: 300px;
}

.floating-cards {
    position: relative;
    height: 100%;
}

.float-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.float-card i { margin-right: 8px; }

.card-1 { top: 10%; left: 0; animation-delay: 0s; background: linear-gradient(135deg, rgba(78,115,223,0.3), rgba(118,75,162,0.3)); }
.card-2 { top: 30%; right: 0; animation-delay: 0.5s; background: linear-gradient(135deg, rgba(28,200,138,0.3), rgba(56,239,125,0.3)); }
.card-3 { top: 55%; left: 15%; animation-delay: 1s; background: linear-gradient(135deg, rgba(246,194,62,0.3), rgba(252,182,159,0.3)); }
.card-4 { top: 20%; left: 40%; animation-delay: 1.5s; background: linear-gradient(135deg, rgba(67,233,123,0.3), rgba(56,249,215,0.3)); }
.card-5 { bottom: 5%; right: 10%; animation-delay: 2s; background: linear-gradient(135deg, rgba(240,147,251,0.3), rgba(245,87,108,0.3)); }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ========== SECTION STYLES ========== */
.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1rem;
}

/* ========== TOOL CARDS ========== */
.tool-card-link {
    text-decoration: none;
    display: block;
}

.tool-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: #e0e7ff;
}

.tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.tool-info h5 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
}

.tool-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.3;
}

.tool-arrow {
    margin-left: auto;
    color: #d1d5db;
    transition: all 0.2s;
}

.tool-card:hover .tool-arrow { color: var(--primary); transform: translateX(4px); }

/* Small tool cards for index page */
.tool-card-sm {
    padding: 15px;
}

.tool-icon-sm {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ========== CATEGORY CARDS ========== */
.category-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.category-card-link:hover .category-card {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: #e0e7ff;
}

/* ========== SEARCH SUGGESTIONS ========== */
.search-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow-hover);
    overflow: hidden;
    z-index: 20;
    max-height: 320px;
    overflow-y: auto;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f4ff;
}

.search-suggestion-item:last-child { border-bottom: none; }

.search-suggestion-item:hover { background: #f0f4ff; color: var(--primary); }

.search-suggestion-item i {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f0f4ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.search-suggestion-item span { flex: 1; }

.search-suggestion-item small { color: #9ca3af; font-size: 0.75rem; }

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--primary);
}

.category-header i { font-size: 1.4rem; }
.category-header h4 { margin: 0; font-size: 1.1rem; font-weight: 600; color: #1a1a2e; }

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li { margin-bottom: 6px; }

.category-list a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.category-list a:hover {
    color: var(--primary);
    background: #f0f4ff;
    padding-left: 12px;
}

.category-list a i { font-size: 0.7rem; color: var(--primary); }

/* ========== WHY SECTION ========== */
.why-section { background: white; }

.why-card {
    padding: 25px 20px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    transition: all 0.3s;
}

.why-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow); }

.why-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

/* ========== TOOL PAGE STYLES ========== */
.tool-wrapper {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f4ff;
}

.tool-header-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tool-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
}

.tool-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 4px 0 0;
}

/* Toggle Buttons */
.toggle-group {
    display: flex;
    background: #f8f9fc;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.toggle-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Result Box */
.result-box {
    background: linear-gradient(135deg, #f8f9ff, #f0f4ff);
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 25px;
}

.result-title {
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.result-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.result-item.highlight {
    background: linear-gradient(135deg, #4e73df, #6c8ff7);
    color: white;
}

.result-item.highlight .result-label { color: rgba(255,255,255,0.8); }
.result-item.highlight .result-value { color: white; }

.result-label {
    display: block;
    font-size: 0.78rem;
    color: #6c757d;
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
}

.emi-value { font-size: 1.8rem !important; }

/* Chart Legend */
.chart-legend { padding: 10px; }

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========== RELATED TOOLS ========== */
.related-tools {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
}

.related-title {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-tool-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-bottom: 4px;
    font-weight: 500;
}

.related-tool-link:hover {
    background: #f0f4ff;
    color: var(--primary);
    transform: translateX(4px);
}

/* ========== CONTENT SECTION ========== */
.content-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.content-section h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 25px;
}

.content-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 20px;
}

.formula-box {
    background: #f8f9fc;
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    font-family: 'Courier New', monospace;
    margin: 15px 0;
}

/* ========== ADSENSE / AD SLOTS ========== */
.ad-container {
    margin-bottom: 1rem;
}

.ad-label {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.ad-slot {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.ad-slot:hover {
    border-color: #cbd5e1;
}

.ad-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    width: 100%;
    min-height: inherit;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(148, 163, 184, 0.06) 8px,
        rgba(148, 163, 184, 0.06) 16px
    );
}

.ad-placeholder-icon {
    font-size: 1.4rem;
    color: #cbd5e1;
}

.ad-placeholder-text {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.ad-banner .ad-slot { min-height: 90px; }
.ad-sidebar .ad-slot { min-height: 250px; }
.ad-inline .ad-slot { min-height: 90px; }

/* Legacy class support */
.ad-placeholder,
.ad-unit {
    margin-bottom: 1rem;
}

.ad-placeholder {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 500;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-unit.banner {
    min-height: 90px;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-sticky {
    position: sticky;
    top: 80px;
}

/* ========== TOOLS INDEX PAGE ========== */
.tool-page {
    padding: 40px 0 60px;
}

.tool-page .tool-header {
    border-bottom: none;
    margin-bottom: 10px;
    padding-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.tool-page .tool-header h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.tool-page .tool-header p {
    color: #6c757d;
    margin: 0;
}

.search-wrap {
    position: relative;
}

.search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 2;
}

.search-wrap input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-wrap input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.15);
}

.category-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f4ff;
}

.category-label i {
    color: var(--primary);
    font-size: 1.1rem;
}

.all-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.mini-tool-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: #1a1a2e;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.mini-tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    border-color: #e0e7ff;
    color: var(--primary);
}

.mini-tool-card i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ========== PATTERN B TOOL COMPONENTS ========== */
.input-prefix {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-prefix:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(78, 115, 223, 0.12);
}

.input-prefix span {
    padding: 10px 14px;
    background: #f8f9fc;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
    border-right: 1px solid #dee2e6;
    white-space: nowrap;
}

.input-prefix input {
    flex: 1;
    border: none;
    padding: 10px 14px;
    font-size: 0.95rem;
    outline: none;
    min-width: 0;
}

.input-prefix span:last-child {
    border-right: none;
    border-left: 1px solid #dee2e6;
}

.result-grid {
    display: grid;
    gap: 12px;
}

.result-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.result-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.result-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.calculator-body .result-grid .result-box {
    background: white;
    border: 1px solid #e8ecf4;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.calculator-body .result-grid .result-box.highlight {
    background: linear-gradient(135deg, #4e73df, #6c8ff7);
    border-color: transparent;
    color: white;
}

.calculator-body .result-grid .result-box.highlight .result-label {
    color: rgba(255, 255, 255, 0.85);
}

.calculator-body .result-grid .result-box.highlight .result-value {
    color: white;
}

.calculator-body .result-grid .result-box.success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: #a7f3d0;
}

.calculator-body .result-grid .result-box.success .result-value {
    color: #059669;
}

.calculator-body .result-grid .result-box.danger {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-color: #fecaca;
}

.calculator-body .result-grid .result-box.danger .result-value {
    color: #dc2626;
}

.calculator-body .result-grid .result-value.big {
    font-size: 1.6rem;
}

.calculator-body .result-grid .result-value.sm {
    font-size: 1rem;
}

.related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.related-link:hover {
    background: #f0f4ff;
    color: var(--primary);
    transform: translateX(4px);
}

.related-link i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.toggle-wrap {
    display: flex;
    background: #f8f9fc;
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.toggle-wrap .toggle-btn {
    flex: 1;
    min-width: 80px;
}

.type-pill {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s;
}

.type-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.type-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #eff6ff, #f0f4ff);
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #1e40af;
    font-size: 0.95rem;
}

.info-box i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.btn-outline {
    border: 1px solid #dee2e6;
    background: white;
    color: #4a5568;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f4ff;
}

.btn-outline.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* QR tool */
.qr-type-btn {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.qr-type-btn.active,
.qr-type-btn:hover {
    border-color: var(--primary);
    background: #f0f4ff;
    color: var(--primary);
}

/* Age calculator */
.age-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.age-display .age-unit {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e8ecf4;
}

.age-display .age-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.age-display .age-lbl {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.footer-brand {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-heading {
    color: #a5b4fc;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-divider { border-color: rgba(255,255,255,0.1); }

.social-links a {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    transition: color 0.2s;
}

.social-links a:hover { color: #60a5fa; }

/* ========== CONTACT PAGE ========== */
.contact-info-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-item.active { font-size: 0.9rem; }

/* ========== CATEGORY HEADING ========== */
.category-heading {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f4ff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .tool-wrapper { padding: 20px; }
    .tool-header { align-items: flex-start; flex-wrap: wrap; }
    .currency-nav-item { margin: 8px 15px 0; }
    .global-currency-select { width: 100%; }
    .toggle-btn { padding: 8px 10px; font-size: 0.8rem; }
    .result-value { font-size: 1rem; }
    .emi-value { font-size: 1.4rem !important; }
    .result-grid.cols-2,
    .result-grid.cols-3,
    .result-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .all-tools-grid { grid-template-columns: 1fr; }
    .age-display { grid-template-columns: repeat(2, 1fr); }
    .sidebar-sticky { position: static; }
}