:root {
    --primary: #c5a059;         /* Kurumsal Bronz Altın */
    --primary-hover: #b08b47;
    --primary-light: rgba(197, 160, 89, 0.12);
    --dark: #12171c;            /* Premium Koyu Antrasit */
    --dark-card: #1b222a;
    --dark-light: #222a33;
    --light: #f8f9fa;           /* Ferah Arka Plan */
    --light-card: #ffffff;
    --text: #3c434a;            /* Okunabilir Net Metin */
    --text-light: #ffffff;
    --text-muted: #828c96;
    --border-color: #e9ecef;
    --white: #ffffff;
    --danger: #e63946;
    --success: #2a9d8f;
    --warning: #f4a261;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 12px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(197, 160, 89, 0.12);
    --font-title: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* --- Scroll Reveal Framework --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Section Global Styling --- */
section {
    padding: 100px 10%;
    position: relative;
}

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

.section-tag {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 12px;
}

.section-tag.gold {
    color: var(--primary);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.3rem;
    color: var(--dark);
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    padding: 0;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.cta-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 22px;
    border-radius: var(--border-radius-sm);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.cta-btn:hover {
    background-color: var(--white);
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 24px 4%;
    transition: var(--transition-smooth);
    background-color: transparent;
}

.header.scrolled {
    padding: 15px 4%;
    background-color: rgba(18, 23, 28, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* --- Mobile Drawer Menu --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--dark);
    z-index: 1001;
    box-shadow: -5px 0 35px rgba(0,0,0,0.5);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: var(--transition-smooth);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.drawer-link:hover {
    color: var(--primary);
    padding-left: 8px;
}

.mobile-cta-btn {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.drawer-overlay.active {
    display: block;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(18, 23, 28, 0.7), rgba(18, 23, 28, 0.85)), url('../images/hero_bg.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(18, 23, 28, 0.4) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 45px auto;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .mouse {
    width: 22px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite;
}

@keyframes scrollMouse {
    0% { opacity: 1; top: 6px; }
    50% { opacity: 0.5; top: 16px; }
    100% { opacity: 0; top: 22px; }
}

/* --- Trust Bar --- */
.trust-bar {
    background-color: var(--dark);
    padding: 30px 10%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-premium);
}

.trust-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.trust-text h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.trust-text p {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Neden Brener / About Section --- */
.about-section {
    background-color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-img {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: visible;
}

.about-img img {
    width: 100%;
    display: block;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--dark);
    border: 2px solid var(--primary);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.experience-badge .number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.experience-badge .badge-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: var(--dark);
}

.about-desc {
    font-size: 15px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--light);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    border-left: 3px solid transparent;
}

.feature-card:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-premium);
    border-left: 3px solid var(--primary);
}

.card-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-card p {
    font-size: 13px;
    line-height: 1.5;
}

/* --- Portal Section --- */
.portal-section {
    background-color: var(--dark);
    color: var(--white);
    overflow: hidden;
}

.portal-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 20px 20px;
}

.portal-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.portal-text {
    flex: 1.2;
}

.portal-text h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 400;
}

.portal-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    font-size: 16px;
}

.portal-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.p-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

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

.portal-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.mockup-frame {
    width: 100%;
    max-width: 380px;
    background-color: var(--dark-card);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.mockup-header {
    background-color: rgba(0,0,0,0.2);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mockup-header .dot.red { background-color: var(--danger); }
.mockup-header .dot.yellow { background-color: var(--warning); }
.mockup-header .dot.green { background-color: var(--success); }

.mockup-url {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 3px 20px;
    border-radius: 4px;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    margin-left: 20px;
    width: 60%;
    text-align: center;
    letter-spacing: 0.5px;
}

.mockup-content {
    padding: 40px 30px;
}

.mock-login {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mock-logo-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.mock-login h5 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 10px;
}

.mock-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 15px;
}

.mock-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: 2px;
}

.mock-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.mock-info {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 20px;
}

/* --- Timeline Section --- */
.process-section {
    background-color: var(--light);
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(to bottom, var(--primary) 0%, rgba(197,160,89,0.3) 100%);
    top: 0;
    bottom: 0;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    width: 50%;
    padding: 20px 40px;
    position: relative;
}

.timeline-item.right {
    align-self: flex-end;
    left: 50%;
    justify-content: flex-start;
}

.timeline-badge {
    position: absolute;
    top: 28px;
    right: -18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--primary);
    color: var(--dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.timeline-item.right .timeline-badge {
    left: -18px;
    right: auto;
}

.timeline-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    width: 100%;
}

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

.card-icon-small {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}

.timeline-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 700;
}

.timeline-card p {
    font-size: 13px;
    line-height: 1.6;
}

/* --- Interactive Calculator Section --- */
.calculator-section {
    background-color: var(--white);
}

.calculator-container {
    max-width: 850px;
    margin: 0 auto;
}

.calc-steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.step-indicator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.step-indicator-item.active {
    opacity: 1;
}

.step-indicator-item.active .step-num {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
}

.step-divider {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 20px;
    margin-top: -20px;
}

.calculator-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    padding: 40px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.calc-step {
    display: none;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
    animation: fadeIn 0.4s ease;
}

.calc-step.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.calc-step h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.step-intro {
    font-size: 14px;
    margin-bottom: 30px;
}

.calc-group {
    margin-bottom: 30px;
}

.calc-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.calc-options {
    display: grid;
    gap: 15px;
}

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

.calc-option-btn {
    cursor: pointer;
    position: relative;
}

.calc-option-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background-color: var(--light);
    height: 100%;
    transition: var(--transition-smooth);
}

.option-content i {
    font-size: 22px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.option-content strong {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 4px;
    display: block;
}

.option-content span {
    font-size: 11px;
    color: var(--text-muted);
}

.calc-option-btn input[type="radio"]:checked + .option-content {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.calc-option-btn input[type="radio"]:checked + .option-content i {
    color: var(--primary);
}

.gap-20 { gap: 20px; }

/* Forms input custom style */
.form-group {
    margin-bottom: 22px;
}

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

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 13px 15px 13px 45px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    color: var(--dark);
    background-color: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-control.text-center {
    padding-left: 15px;
    text-align: center;
}

.calc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.calc-footer.justify-center {
    justify-content: center;
}

.submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* Results layout */
.calc-results-layout {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    background-color: var(--light);
    border-radius: var(--border-radius-md);
    padding: 25px;
    align-items: center;
}

.results-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.results-content {
    flex: 1.2;
}

.score-gauge-wrapper {
    position: relative;
    width: 140px;
}

.score-gauge {
    width: 100%;
}

.gauge-bg {
    stroke: #e9ecef;
}

.gauge-fill {
    stroke-dasharray: 126; /* Circumference of semicircle */
    stroke-dashoffset: 126;
    transition: stroke-dashoffset 1s ease-out;
}

.gauge-value-box {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gauge-percent {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.gauge-label {
    font-size: 10px;
    color: var(--text-muted);
}

.result-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 8px;
}

.result-badge.high-risk {
    background-color: rgba(230, 57, 70, 0.12);
    color: var(--danger);
}

.result-badge.medium-risk {
    background-color: rgba(244, 162, 97, 0.12);
    color: var(--warning);
}

.result-badge.low-risk {
    background-color: rgba(42, 157, 143, 0.12);
    color: var(--success);
}

.results-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.results-content p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.pot-bar-wrapper {
    margin-top: 10px;
}

.pot-bar-label {
    font-size: 12px;
    margin-bottom: 5px;
}

.pot-bar-track {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.pot-bar-fill {
    height: 100%;
    background-color: var(--success);
    border-radius: 3px;
}

.calc-lead-form {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.calc-lead-form h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.calc-lead-form p {
    font-size: 13px;
    margin-bottom: 20px;
}

/* --- Footer --- */
.footer {
    background-color: #0b0f14;
    color: var(--text-muted);
    border-top: 4px solid var(--primary);
    padding: 80px 10% 30px 10%;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 50px auto;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.6);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

.footer-socials a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 25px;
    font-weight: 600;
}

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

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

.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

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

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.6);
}

.footer-contact li i {
    color: var(--primary);
    font-size: 14px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
}

.footer-subtext {
    font-size: 11px;
    margin-top: 5px;
    color: var(--primary) !important;
    font-weight: 500;
    letter-spacing: 1px;
}

/* --- Portal Modal --- */
.portal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(11, 15, 20, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.portal-modal.active {
    display: flex;
}

.portal-modal-content {
    background-color: var(--dark-card);
    width: 100%;
    max-width: 900px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.portal-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.portal-modal-close:hover {
    background-color: var(--primary);
}

.portal-screen {
    display: none;
    padding: 40px;
}

.portal-screen.active {
    display: block;
}

/* Login Screen Styles */
#portalLoginScreen {
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 40px;
}

.portal-login-header {
    text-align: center;
    margin-bottom: 35px;
}

.modal-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.modal-logo span {
    color: var(--primary);
}

.portal-login-header h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 10px;
}

.portal-login-header p {
    font-size: 12px;
    color: var(--text-muted);
}

.login-error-msg {
    color: var(--danger);
    font-size: 12px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
}

.portal-login-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.portal-login-btn:hover {
    background-color: var(--primary-hover);
}

/* Dashboard Screen Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.dash-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-header h3 {
    color: var(--white);
    font-size: 22px;
    margin-top: 4px;
}

.dash-project-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.btn-logout {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--danger);
    border: 1px solid rgba(230, 57, 70, 0.2);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-logout:hover {
    background-color: var(--danger);
    color: var(--white);
}

.dashboard-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
}

.dash-tab-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-tab-btn:hover {
    color: var(--white);
}

.dash-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.dashboard-panels {
    min-height: 350px;
}

.dash-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.dash-panel.active {
    display: block;
}

.panel-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Camera Layout */
.camera-layout {
    display: flex;
    gap: 25px;
}

.video-container {
    flex: 1.4;
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.video-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.live-indicator {
    background-color: rgba(230, 57, 70, 0.85);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--white);
    border-radius: 50%;
    animation: redPulse 1.2s infinite;
}

@keyframes redPulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 1; }
}

.cam-timestamp {
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 4px;
}

.video-mockup {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
}

/* Animated Shanti Visualizer (CSS Construction Cam Mockup) */
.shanti-visualizer {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1b263b 0%, #0d1b2a 100%);
    position: relative;
}

.building-silhouette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 70%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(197, 160, 89, 0.3);
    border-bottom: none;
}

.building-silhouette::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 60%;
    background-color: rgba(197, 160, 89, 0.05);
    border: 2px solid rgba(197, 160, 89, 0.2);
}

.crane-arm {
    position: absolute;
    top: 25%;
    left: 20%;
    width: 50%;
    height: 4px;
    background-color: var(--primary);
    transform-origin: 0 50%;
    animation: craneSwing 8s infinite ease-in-out;
}

.crane-arm::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 40px;
    background-color: #495057;
    left: 10px;
    top: -38px;
}

.crane-arm::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.4);
    right: 20px;
    top: 0;
}

@keyframes craneSwing {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(-8deg); }
    100% { transform: rotate(0deg); }
}

.dust-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    bottom: 20px;
    left: 45%;
    animation: riseUp 3s infinite linear;
}

.dust-particle.dp2 { left: 55%; animation-delay: 1s; animation-duration: 4s; }
.dust-particle.dp3 { left: 50%; animation-delay: 1.8s; animation-duration: 2.5s; }

@keyframes riseUp {
    0% { transform: translateY(0) scale(0.8); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: translateY(-80px) scale(1.5); opacity: 0; }
}

.cam-loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
    font-size: 32px;
    display: none;
}

.camera-controls {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.camera-controls h5 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 8px;
}

.cam-select-btn {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 15px;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.cam-select-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.cam-select-btn.active {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.cam-note {
    margin-top: auto;
    background-color: rgba(255,255,255,0.02);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.cam-note p {
    font-size: 10.5px;
    line-height: 1.4;
    color: var(--text-muted);
}

.cam-note i {
    color: var(--primary);
}

/* Status Panel */
.dash-status-progress {
    margin-bottom: 30px;
    background-color: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255,255,255,0.05);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    font-weight: 500;
}

.progress-pct {
    color: var(--primary);
    font-weight: 700;
}

.progress-bar-track {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary) 0%, #e2c07d 100%);
    border-radius: 4px;
}

.status-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-step-item {
    display: flex;
    gap: 15px;
    position: relative;
    padding-bottom: 15px;
}

.status-step-item::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 35px;
    bottom: -15px;
    width: 2px;
    background-color: var(--border-color);
}

.status-step-item:last-child::before {
    display: none;
}

.status-step-item .step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    z-index: 2;
}

.status-step-item.completed .step-icon {
    background-color: rgba(42, 157, 143, 0.15);
    color: var(--success);
    border: 2px solid var(--success);
}

.status-step-item.active .step-icon {
    background-color: rgba(197, 160, 89, 0.15);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.status-step-item.pending .step-icon {
    background-color: var(--light);
    color: var(--text-muted);
    border: 2px solid var(--border-color);
}

.status-step-item.completed::before {
    background-color: var(--success);
}

.status-step-item h6 {
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 600;
}

.status-step-item p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Documents Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.doc-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.doc-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
}

.doc-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.doc-icon {
    font-size: 32px;
    color: var(--primary);
}

.doc-meta h6 {
    color: rgba(255,255,255,0.9);
    font-size: 13.5px;
    margin-bottom: 3px;
}

.doc-meta p {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-doc-download {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    padding: 8px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-doc-download:hover {
    background-color: var(--primary);
}

/* Updates Timeline */
.updates-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.update-item {
    background-color: rgba(255,255,255,0.03);
    border-radius: var(--border-radius-md);
    padding: 20px;
    border-left: 3px solid var(--primary);
}

.update-date {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.update-item h6 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 6px;
}

.update-item p {
    font-size: 12px;
    line-height: 1.6;
}

/* --- Mobile Responsiveness (Media Queries) --- */
@media screen and (max-width: 1024px) {
    section { padding: 80px 8%; }
    .header { padding: 20px 8%; }
    .header.scrolled { padding: 15px 8%; }
    
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-img {
        width: 100%;
        max-width: 600px;
    }
    
    .portal-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .portal-visual {
        width: 100%;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    section { padding: 70px 5%; }
    .header { padding: 15px 5%; }
    .header.scrolled { padding: 12px 5%; }
    
    .nav-menu, .header-actions .cta-btn {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .trust-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experience-badge {
        padding: 12px 18px;
        bottom: -10px;
        right: -10px;
    }
    
    .experience-badge .number {
        font-size: 1.8rem;
    }
    
    .about-content h3 {
        font-size: 1.6rem;
    }
    
    /* Timeline Mobile Collapse */
    .timeline-line {
        left: 20px;
        transform: none;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-badge {
        left: 2px !important;
        right: auto !important;
        top: 25px;
    }
    
    .calculator-card {
        padding: 25px 20px;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .calc-results-layout {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .pot-bar-wrapper {
        text-align: left;
    }
    
    .camera-layout {
        flex-direction: column;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .portal-screen {
        padding: 25px 15px;
    }
    
    .dashboard-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-logout {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Corporate Expansion - Dropdowns, Accordions & Subpage Styles
   ========================================================================== */

/* Dropdown Menu Desktop Navigation */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu-list {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--dark-card);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 250px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    text-align: left;
}

.dropdown-menu-list a:last-child {
    border-bottom: none;
}

.dropdown-menu-list a i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.dropdown-menu-list a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 26px;
}

/* Page Sub Banner */
.page-banner {
    height: 320px;
    background: linear-gradient(rgba(18, 23, 28, 0.85), rgba(18, 23, 28, 0.95)), url('../images/hero_bg.png') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

.page-banner h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 400;
}

.page-banner p {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Kat Karşılığı Flowchart Steps */
.flowchart-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.flowchart-step {
    background-color: var(--light);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.flowchart-step:hover {
    transform: translateY(-5px);
    background-color: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.flowchart-num {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    margin: 0 auto 15px auto;
}

.flowchart-step h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--dark);
}

.flowchart-step p {
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--text-muted);
}

.flowchart-step:not(:last-child)::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 20px;
    z-index: 2;
}

/* Project Filter Tags */
.filter-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--light);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: var(--text);
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(197,160,89,0.25);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}

.project-img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: var(--dark);
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    color: var(--white);
}

.project-status.ongoing { background-color: var(--primary); }
.project-status.completed { background-color: var(--success); }
.project-status.upcoming { background-color: var(--warning); }

.project-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.project-card-content p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.project-details {
    list-style: none;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.project-details li {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.project-details li i {
    color: var(--primary);
    margin-right: 6px;
}

.project-card-actions {
    margin-top: 20px;
}

.project-card-actions .btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 13px;
}

/* SSS Accordion */
.accordion-list {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--light);
    border-radius: var(--border-radius-md);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.accordion-item.active {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: var(--shadow-premium);
}

.accordion-header {
    width: 100%;
    padding: 20px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-family: var(--font-body);
}

.accordion-icon {
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content-inner {
    padding: 0 30px 25px 30px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Calculators Expanded Tabs */
.calc-tab-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.calc-tab-btn {
    background-color: var(--light);
    border: 1.5px solid var(--border-color);
    padding: 15px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text);
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.calc-tab-btn i { font-size: 20px; color: var(--text-muted); }

.calc-tab-btn:hover {
    background-color: var(--white);
    border-color: var(--primary);
}

.calc-tab-btn.active {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.calc-tab-btn.active i { color: var(--primary); }

.calc-wrapper-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    padding: 40px;
    max-width: 850px;
    margin: 0 auto;
    min-height: 420px;
}

.calc-hub-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.calc-hub-panel.active {
    display: block;
}

.calc-output-box {
    background-color: var(--primary-light);
    border: 1px dashed var(--primary);
    border-radius: var(--border-radius-md);
    padding: 25px;
    margin-top: 30px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.calc-output-box h4 {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.calc-output-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.calc-output-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* Neighborhood guides card layouts */
.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.neighborhood-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.neighborhood-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: var(--primary);
}

.neighborhood-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.neighborhood-card-header h3 {
    font-size: 18px;
    color: var(--dark);
}

.zone-rating {
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}

.zone-rating.low {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--danger);
}

.neighborhood-specs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin-bottom: 20px;
}

.neighborhood-specs li {
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
}

.neighborhood-specs li span:first-child {
    color: var(--text-muted);
    font-weight: 500;
}

.neighborhood-specs li span:last-child {
    color: var(--dark);
    font-weight: 600;
}

/* Adjustments for dropdown submenus on tablet/mobile views */
@media (max-width: 992px) {
    .dropdown-menu-list {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        background-color: transparent;
        border: none;
        padding-left: 20px;
        display: none; /* In mobile drawer, it is flattened, so we will show all links directly in drawer navigation instead of dropdowns */
    }
}

/* ==========================================================================
   Kat Maliki Portal & Admin panel Styles
   ========================================================================== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.admin-table th, .admin-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1.5px solid var(--border-color);
}

.admin-table th {
    background-color: var(--light);
    color: var(--dark);
    font-weight: 700;
}

.admin-table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.log-line {
    font-family: 'Courier New', Courier, monospace;
    color: #a9ffb2;
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
}

/* Dashboard adjustments for full width subpage */
#portalOwnerDashboard, #portalAdminDashboard {
    animation: fadeIn var(--transition-smooth) forwards;
}

#portalLoginScreen {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    animation: fadeIn var(--transition-smooth) forwards;
}

@media (max-width: 992px) {
    #portalLoginScreen {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Admin CMS Tabs Style */
.admin-tab-btn {
    border-bottom: 2px solid transparent !important;
}
.admin-tab-btn.active {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--primary) !important;
}


