/* ===== VARIABLES ===== */
:root {
    --navy: #1d2b38;
    --blue: #2b2e81;
    --green: #467854;
    --green-light: #5a9a6c;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray-100: #f0f2f5;
    --gray-200: #e2e6eb;
    --gray-400: #9aa3b0;
    --gray-600: #5a6575;
    --gray-800: #2d3748;
    --text: #1a1a2e;
    --text-light: #555b6e;
    --shadow-sm: 0 2px 8px rgba(29,43,56,0.06);
    --shadow-md: 0 8px 30px rgba(29,43,56,0.1);
    --shadow-lg: 0 20px 60px rgba(29,43,56,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Rubik', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    direction: rtl;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: var(--green); transition: var(--transition); }
a:hover { color: var(--green-light); }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION COMMON ===== */
.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    background: rgba(70,120,84,0.08);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 16px;
}
.section-title .highlight {
    color: var(--blue);
}
.section-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.btn-primary:hover {
    background: var(--green-light);
    border-color: var(--green-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(70,120,84,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: var(--white);
}
.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 16px 0;
}
.header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
/* Inline SVG logo */
.logo-svg {
    width: 220px;
    height: auto;
    transition: var(--transition);
}
.logo-navy { fill: #1d2b38; }
.logo-green { fill: #467854; }
.logo-blue { fill: #2b2e81; }

/* Header logo: white on dark hero, original colors when scrolled */
.header .logo-navy,
.header .logo-blue { fill: #ffffff; }
.header .logo-green { fill: #5a9a6c; }
.header.scrolled .logo-navy { fill: #1d2b38; }
.header.scrolled .logo-green { fill: #467854; }
.header.scrolled .logo-blue { fill: #2b2e81; }
.header.scrolled .logo-svg {
    width: 200px;
}
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}
.header.scrolled .nav-link {
    color: var(--gray-600);
}
.header.scrolled .nav-link:hover {
    color: var(--navy);
    background: var(--gray-100);
}
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    direction: ltr;
}
.header-cta:hover {
    background: var(--green-light);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.dropdown-toggle svg {
    transition: var(--transition);
}
.nav-dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--gray-200);
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--navy);
    padding-right: 24px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.header.scrolled .hamburger span {
    background: var(--navy);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(29,43,56,0.85) 0%, rgba(43,46,129,0.78) 100%);
}
/* Fallback if no video */
.hero-video-wrap:has(video[src=""]),
.hero-video-wrap:not(:has(source[src])) {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}
.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}
.hero-title span {
    color: var(--green-light);
}
.hero-subtitle {
    font-size: clamp(17px, 2.5vw, 21px);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 300;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 400;
}
.trust-item svg {
    opacity: 0.6;
    flex-shrink: 0;
}
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    animation: bounce 2s infinite;
    z-index: 2;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Cg opacity='0.035' fill='none' stroke='%231d2b38' stroke-width='1'%3E%3Crect x='50' y='200' width='120' height='180' rx='2'/%3E%3Crect x='60' y='240' width='30' height='30' rx='1'/%3E%3Crect x='100' y='240' width='30' height='30' rx='1'/%3E%3Crect x='60' y='290' width='30' height='30' rx='1'/%3E%3Crect x='100' y='290' width='30' height='30' rx='1'/%3E%3Crect x='80' y='340' width='40' height='40' rx='1'/%3E%3Crect x='200' y='150' width='100' height='230' rx='2'/%3E%3Crect x='210' y='180' width='25' height='25' rx='1'/%3E%3Crect x='245' y='180' width='25' height='25' rx='1'/%3E%3Crect x='210' y='220' width='25' height='25' rx='1'/%3E%3Crect x='245' y='220' width='25' height='25' rx='1'/%3E%3Crect x='210' y='260' width='25' height='25' rx='1'/%3E%3Crect x='245' y='260' width='25' height='25' rx='1'/%3E%3Crect x='210' y='300' width='25' height='25' rx='1'/%3E%3Crect x='245' y='300' width='25' height='25' rx='1'/%3E%3Cpath d='M340 380 L340 120 L400 80 L460 120 L460 380'/%3E%3Crect x='360' y='160' width='25' height='25' rx='1'/%3E%3Crect x='400' y='160' width='25' height='25' rx='1'/%3E%3Crect x='360' y='210' width='25' height='25' rx='1'/%3E%3Crect x='400' y='210' width='25' height='25' rx='1'/%3E%3Crect x='375' y='310' width='35' height='70' rx='1'/%3E%3Crect x='520' y='180' width='140' height='200' rx='2'/%3E%3Crect x='535' y='210' width='28' height='28' rx='1'/%3E%3Crect x='575' y='210' width='28' height='28' rx='1'/%3E%3Crect x='615' y='210' width='28' height='28' rx='1'/%3E%3Crect x='535' y='260' width='28' height='28' rx='1'/%3E%3Crect x='575' y='260' width='28' height='28' rx='1'/%3E%3Crect x='615' y='260' width='28' height='28' rx='1'/%3E%3Crect x='535' y='310' width='28' height='28' rx='1'/%3E%3Crect x='575' y='310' width='28' height='28' rx='1'/%3E%3Cline x1='50' y1='380' x2='660' y2='380'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 50%;
    pointer-events: none;
    z-index: 0;
}
.about::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 52%;
    transform: translateX(-50%);
    width: 550px;
    height: 550px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 1400'%3E%3Cg opacity='0.03'%3E%3Cpolygon fill='%23467854' points='1195.32 340.81 1195.32 409.99 1303.77 409.99 812.58 907.6 632.87 719.33 104.4 1262.54 153.99 1310.78 632.4 819.03 811.75 1006.93 1360.17 451.34 1360.17 566.74 1429.36 566.74 1429.36 340.81 1195.32 340.81'/%3E%3Cpath fill='%231d2b38' d='M894.94,764.37l61.52-62.33v-161.43c0-116.06-45.96-234.27-126.09-324.37-11.13-12.53-22.74-24.31-34.8-35.35-20.88-5.16-42.29-7.89-63.93-7.89h-1.26c-14.92.09-29.92,1.49-44.9,4.2,120.84,70.31,209.45,212.08,209.45,363.41v223.76Z'/%3E%3Cpath fill='%231d2b38' d='M731.64,131c195.32,0,373.19,195.23,373.19,409.62v11.12l58.88-59.65c-1.45-13.4-3.5-26.78-6.12-40.09-1.28-6.57-2.72-13.11-4.29-19.63-18.93-78.78-57.89-154.12-113.05-216.12-40.2-45.19-86.55-80.92-137.77-106.18-54.59-26.93-112.06-40.58-170.85-40.58-35.58,0-70.68,5-104.95,14.92-22.35,6.47-44.34,15.02-65.9,25.66-12.84,6.33-25.38,13.32-37.58,20.95-36.49,22.82-70.07,51.37-100.19,85.23-80.14,90.1-126.1,208.32-126.1,324.37v463.8l61.52-63.24v-400.56c0-174.97,118.49-337.19,268.25-390.91,33.27-11.95,68.08-18.52,103.48-18.69.49-.01.98-.01,1.47-.01Z'/%3E%3Cpath fill='%231d2b38' d='M296.92,1266.99h-148.37v-726.38c0-182.77,129.27-351.61,288.42-397.43,20.24-17.83,41.62-33.8,63.97-47.79,13.37-8.35,27.25-16.1,41.29-23.02,1.42-.7,2.85-1.4,4.29-2.09-8.23-.54-16.48-.82-24.77-.82-58.78,0-116.25,13.65-170.85,40.58-51.22,25.26-97.57,60.99-137.77,106.18-80.14,90.1-126.1,208.32-126.1,324.37v787.9h271.42v-167.65l-61.52,63.23v42.89Z'/%3E%3Cpolygon fill='%231d2b38' points='1104.83 769.81 1104.83 1266.99 956.46 1266.99 956.46 920.12 894.94 982.45 894.94 1266.99 894.94 1328.51 956.46 1328.51 1104.83 1328.51 1166.36 1328.51 1166.36 1266.99 1166.36 707.48 1104.83 769.81'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}
.about > .container { position: relative; z-index: 1; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    margin-top: 90px;
}
.about-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--gray-100);
}
.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--green);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.badge-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.badge-text {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}
.about-content .section-tag { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 24px; }
.about-lead {
    font-size: 18px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-content p {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.8;
}
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}
.stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    transition: var(--transition);
}
.stat:hover {
    box-shadow: var(--shadow-sm);
    background: var(--white);
}
.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(70,120,84,0.1);
    border-radius: 10px;
    color: var(--green);
    flex-shrink: 0;
}
.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    display: block;
}
.stat-label {
    font-size: 13px;
    color: var(--gray-600);
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}
.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: -5%;
    width: 60%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400' viewBox='0 0 600 400'%3E%3Cg opacity='0.03' fill='none' stroke='%232b2e81' stroke-width='1.2'%3E%3Cpolyline points='50,350 120,280 200,300 280,200 360,220 440,140 520,100 580,60'/%3E%3Ccircle cx='120' cy='280' r='4'/%3E%3Ccircle cx='280' cy='200' r='4'/%3E%3Ccircle cx='440' cy='140' r='4'/%3E%3Ccircle cx='580' cy='60' r='4'/%3E%3Cline x1='50' y1='350' x2='580' y2='350' stroke-dasharray='4,8'/%3E%3Cline x1='50' y1='275' x2='580' y2='275' stroke-dasharray='4,8'/%3E%3Cline x1='50' y1='200' x2='580' y2='200' stroke-dasharray='4,8'/%3E%3Cline x1='50' y1='125' x2='580' y2='125' stroke-dasharray='4,8'/%3E%3Cpath d='M80 380 L80 300 L120 270 L160 300 L160 380' stroke='%23467854'/%3E%3Crect x='98' y='320' width='24' height='60' rx='1' stroke='%23467854'/%3E%3Cpath d='M250 380 L250 310 L300 275 L350 310 L350 380' stroke='%23467854'/%3E%3Crect x='275' y='330' width='20' height='20' rx='1' stroke='%23467854'/%3E%3Crect x='305' y='330' width='20' height='20' rx='1' stroke='%23467854'/%3E%3Cpath d='M450 380 L450 290 L490 260 L530 290 L530 380' stroke='%23467854'/%3E%3Crect x='460' y='310' width='15' height='15' rx='1' stroke='%23467854'/%3E%3Crect x='490' y='310' width='15' height='15' rx='1' stroke='%23467854'/%3E%3Crect x='470' y='345' width='30' height='35' rx='1' stroke='%23467854'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}
.services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-image: url('images/bg-buildings.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}
.services > .container { position: relative; z-index: 1; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--green);
    transition: var(--transition);
    border-radius: 0 0 0 4px;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service-card:hover::before {
    height: 100%;
}
.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(43,46,129,0.08) 0%, rgba(70,120,84,0.08) 100%);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--blue);
    transition: var(--transition);
}
.service-icon svg {
    width: 32px;
    height: 32px;
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: var(--white);
}
.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.service-card h3 a {
    color: inherit;
    text-decoration: none;
}
.service-card h3 a:hover {
    color: var(--blue);
}
.service-icon a {
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.service-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
}
.service-link:hover {
    color: var(--green-light);
}
/* Make entire service card clickable */
.service-card {
    cursor: pointer;
}
.service-card h3 a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.service-card p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== WHY ME ===== */
.why-me {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.why-me::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg opacity='0.025' fill='none' stroke='%231d2b38' stroke-width='1'%3E%3Cpath d='M200 40 L200 20 L260 50 L200 80 Z'/%3E%3Cpath d='M200 40 L200 20 L140 50 L200 80 Z'/%3E%3Ccircle cx='200' cy='130' r='50'/%3E%3Cpath d='M175 125 L195 145 L230 110' stroke-width='2'/%3E%3Ccircle cx='80' cy='280' r='35'/%3E%3Cline x1='80' y1='258' x2='80' y2='302' stroke-width='1.5'/%3E%3Cline x1='58' y1='280' x2='102' y2='280' stroke-width='1.5'/%3E%3Ccircle cx='320' cy='280' r='35'/%3E%3Cpath d='M308 275 L318 285 L338 265' stroke-width='1.5'/%3E%3Cline x1='60' y1='360' x2='340' y2='360' stroke-dasharray='8,6'/%3E%3Ccircle cx='100' cy='360' r='3' fill='%231d2b38'/%3E%3Ccircle cx='200' cy='360' r='3' fill='%231d2b38'/%3E%3Ccircle cx='300' cy='360' r='3' fill='%231d2b38'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 400px;
    pointer-events: none;
    z-index: 0;
}
.why-me::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 70%;
    background-image: url('images/bg-finance.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60%;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}
.why-me > .container { position: relative; z-index: 1; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--off-white);
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
}
.why-card:hover {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.why-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 12px;
    transition: var(--transition);
}
.why-card:hover .why-number {
    color: rgba(70,120,84,0.15);
}
.why-icon {
    width: 48px;
    height: 48px;
    color: var(--blue);
    margin-bottom: 16px;
}
.why-icon svg {
    width: 100%;
    height: 100%;
}
.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.why-card p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== FAQ ===== */
.faq {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}
.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500' viewBox='0 0 500 500'%3E%3Cg opacity='0.025' fill='none' stroke='%232b2e81' stroke-width='1'%3E%3Crect x='30' y='40' width='160' height='200' rx='8'/%3E%3Cline x1='55' y1='80' x2='165' y2='80'/%3E%3Cline x1='55' y1='110' x2='145' y2='110'/%3E%3Cline x1='55' y1='140' x2='155' y2='140'/%3E%3Cline x1='55' y1='170' x2='120' y2='170'/%3E%3Ccircle cx='110' cy='220' r='3' fill='%232b2e81'/%3E%3Crect x='300' y='100' width='160' height='200' rx='8'/%3E%3Cline x1='325' y1='140' x2='435' y2='140'/%3E%3Cline x1='325' y1='170' x2='415' y2='170'/%3E%3Cline x1='325' y1='200' x2='425' y2='200'/%3E%3Cline x1='325' y1='230' x2='390' y2='230'/%3E%3Ccircle cx='380' cy='280' r='3' fill='%232b2e81'/%3E%3Ctext x='420' y='420' font-size='120' font-family='sans-serif' fill='%232b2e81' opacity='0.4'>?</text%3E%3Ctext x='60' y='380' font-size='80' font-family='sans-serif' fill='%232b2e81' opacity='0.3'>?</text%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 500px;
    pointer-events: none;
    z-index: 0;
}
.faq > .container { position: relative; z-index: 1; }
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.active {
    border-color: var(--green);
    box-shadow: 0 4px 20px rgba(70,120,84,0.1);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    text-align: right;
    gap: 16px;
    transition: var(--transition);
}
.faq-question:hover {
    color: var(--blue);
}
.faq-arrow {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--gray-400);
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--green);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
}
.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.cta-bg {
    position: absolute;
    inset: 0;
}
.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29,43,56,0.92) 0%, rgba(43,46,129,0.88) 100%);
}
/* Fallback when no image */
.cta-bg:not(:has(img[src])) {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}
.cta-content h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}
.highlight-light {
    color: var(--green-light);
}
.cta-content > p {
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 36px;
    opacity: 0.9;
    line-height: 1.8;
    font-weight: 300;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.cta-note {
    font-size: 14px;
    opacity: 0.6;
    font-weight: 400;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 36px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.form-row {
    display: flex;
    gap: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.contact-form input[type="tel"] {
    direction: rtl;
    text-align: right;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.5);
}
.page-content .contact-form input::placeholder,
.page-content .contact-form textarea::placeholder {
    color: var(--gray-600);
}
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    color: rgba(255,255,255,0.5);
}
.contact-form select option {
    background: var(--navy);
    color: var(--white);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(255,255,255,0.15);
}
.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}
.contact-form button {
    align-self: center;
    margin-top: 8px;
}
@media (max-width: 480px) {
    .form-row { flex-direction: column; }
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    transition: var(--transition);
    color: var(--text);
}
.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-card-icon.green { background: var(--green); }
.contact-card-icon.whatsapp { background: #25D366; }
.contact-card-icon.blue { background: var(--blue); }
.contact-card-icon.navy { background: var(--navy); }
.contact-card-label {
    color: var(--navy);
    display: block;
    font-weight: 700;
}
.contact-card-value {
    color: var(--text-light);
}
.contact-social {
    margin-top: 24px;
    text-align: center;
}
.contact-social h3 {
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}
.social-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.social-icon {
    width: 44px;
    height: 44px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: var(--transition);
}
.social-icon:hover {
    background: var(--gray-200);
}
.form-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    border: 1px solid var(--gray-200);
}
.form-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
}
.form-card .contact-form {
    max-width: 100%;
    margin: 0;
}
.form-card .contact-form input,
.form-card .contact-form select,
.form-card .contact-form textarea {
    border-color: var(--gray-200);
    background: var(--white);
    color: var(--text);
}
.form-card .contact-form select {
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231d2b38' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat left 14px center;
    color: var(--text);
}
.form-card .contact-form button {
    align-self: stretch;
    justify-content: center;
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SHARED INNER PAGE STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.centered-narrow { max-width: 800px; margin: 0 auto; }
.centered-narrow.text-center { text-align: center; }
.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}
.inner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.inner-grid.gap-lg { gap: 24px; }
.inner-card {
    background: var(--off-white);
    border-radius: 10px;
    padding: 20px;
}
.step-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.step-circle {
    width: 44px;
    height: 44px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}
.step-circle.sm {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.benefit-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.accent-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border-right: 4px solid var(--green);
}
.gradient-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 16px;
    padding: 36px;
    color: white;
}
.gradient-box h3 {
    color: white;
    margin-bottom: 16px;
}
.gradient-box p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
}
.gradient-box .highlight-num {
    color: var(--green-light);
    font-size: 24px;
}
.gradient-box .text-dim {
    color: rgba(255,255,255,0.7);
}

/* ===== INNER PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='200' viewBox='0 0 600 200'%3E%3Cg opacity='0.04' fill='none' stroke='white' stroke-width='1'%3E%3Cpath d='M0 150 Q150 50 300 150 T600 150'/%3E%3Cpath d='M0 180 Q150 80 300 180 T600 180'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: 600px;
    pointer-events: none;
}
.page-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}
.breadcrumb a {
    color: rgba(255,255,255,0.6);
}
.breadcrumb a:hover {
    color: var(--green-light);
}

/* ===== INNER PAGE CONTENT ===== */
.page-content {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.page-content > .container {
    position: relative;
    z-index: 1;
}
.page-content h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}
.page-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}
.page-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.page-content strong {
    color: var(--navy);
}

/* Certificates */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.cert-item {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.cert-item .cert-lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
}
.cert-item .cert-lightbox:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green);
}
.cert-item img {
    width: 100%;
    height: auto;
    display: block;
}
.cert-name {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

/* Certificates slider */
.cert-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    visibility: hidden;
}
.cert-slider.cert-slider--ready { visibility: visible; }
.cert-slider__viewport {
    flex: 1 1 auto;
    overflow: hidden;
    min-width: 0;
}
.cert-slider__track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    touch-action: pan-y;
}
.cert-slider__slide {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 10px;
    box-sizing: border-box;
}
.cert-slider__nav {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
    box-shadow: var(--shadow-sm);
    padding: 0;
}
.cert-slider__nav:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}
.cert-slider__nav:active { transform: scale(0.92); }

@media (max-width: 1200px) {
    .cert-slider__slide { flex: 0 0 33.3333%; max-width: 33.3333%; }
}
@media (max-width: 900px) {
    .cert-slider__slide { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 600px) {
    .cert-slider__slide { flex: 0 0 100%; max-width: 100%; padding: 0 6px; }
    .cert-slider { gap: 6px; }
    .cert-slider__nav { flex: 0 0 38px; width: 38px; height: 38px; }
}
.cert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cert-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}
.cert-overlay-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    user-select: none;
}
.cert-overlay-prev,
.cert-overlay-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    background: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    cursor: pointer;
    user-select: none;
    line-height: 1;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.15s, background 0.2s;
}
.cert-overlay-prev:hover,
.cert-overlay-next:hover {
    background: #f0f0f0;
}
.cert-overlay-prev:active,
.cert-overlay-next:active {
    transform: translateY(-50%) scale(0.92);
}
.cert-overlay-prev {
    right: 20px;
}
.cert-overlay-next {
    left: 20px;
}
@media (max-width: 600px) {
    .cert-overlay-prev,
    .cert-overlay-next {
        width: 44px;
        height: 44px;
        font-size: 36px;
    }
    .cert-overlay-prev { right: 12px; }
    .cert-overlay-next { left: 12px; }
}

/* Process steps */
/* Process grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.process-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}
.process-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.process-card-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--green), var(--blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin: 0 auto 14px;
}
.process-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.process-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonial cards */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.testimonial-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    font-weight: 600;
    color: var(--navy);
}
.testimonial-role {
    font-size: 13px;
    color: var(--gray-400);
}
.stars {
    color: #f5a623;
    margin-bottom: 12px;
    font-size: 18px;
    letter-spacing: 2px;
}

/* Calculator page */
.calc-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.calc-wrapper iframe {
    width: 100%;
    min-height: 500px;
    border: none;
}

/* Tax calc */
.tax-calc {
    max-width: 500px;
    margin: 0 auto;
}
.tax-calc label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.tax-calc input[type="text"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
    direction: ltr;
    text-align: right;
    color: var(--navy);
    background: var(--white);
    transition: var(--transition);
}
.tax-calc input[type="text"]::placeholder {
    font-weight: 400;
    font-size: 16px;
    color: #aab2bd;
}
.tax-calc input[type="text"]:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(70, 120, 84, 0.12);
}
.radio-group {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}
.radio-group input[type="radio"] {
    accent-color: var(--green);
    width: 18px;
    height: 18px;
}
.tax-result {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-top: 24px;
    display: none;
}
.tax-result.show { display: block; }
.tax-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--green);
    direction: ltr;
}
.tax-label {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 4px;
}
.tax-note {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 12px;
}

/* Mortgage max calculator */
.mortgage-calc { max-width: 760px; margin: 0 auto; }
.mortgage-calc__step-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}
.purpose-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.purpose-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
}
.purpose-card:hover { border-color: var(--green-light); color: var(--navy); }
.purpose-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.purpose-card__icon {
    color: var(--gray-400);
    margin-bottom: 12px;
    transition: var(--transition);
}
.purpose-card__title {
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.3;
}
.purpose-card__hint {
    margin-top: 6px;
    font-size: 13px;
    color: var(--gray-400);
}
.purpose-card.is-selected {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(70, 120, 84, 0.10);
}
.purpose-card.is-selected .purpose-card__icon { color: var(--green); }
.purpose-card.is-selected .purpose-card__hint { color: var(--green); font-weight: 600; }

.mortgage-calc__inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 16px;
}
.num-field__label {
    display: block;
    text-align: center;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    font-size: 16px;
}
.num-field__wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.num-field__suffix {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-weight: 700;
    font-size: 20px;
    pointer-events: none;
}
.num-field__wrap input[type="text"] {
    width: 100%;
    padding: 16px 20px 16px 48px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--green);
    background: var(--white);
    transition: var(--transition);
}
.num-field__wrap input[type="text"]:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(70, 120, 84, 0.12);
}
.num-field__wrap input[type="text"]::placeholder {
    color: var(--gray-400);
    font-weight: 600;
}

.mortgage-calc__helper {
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
    margin: 16px 0 28px;
}

.mortgage-result {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}
.mortgage-result__col { text-align: center; }
.mortgage-result__divider {
    width: 1px;
    align-self: stretch;
    background: var(--gray-200);
}
.mortgage-result__label {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 8px;
}
.mortgage-result__value {
    font-size: 32px;
    font-weight: 800;
    color: var(--green);
    direction: ltr;
}
.mortgage-result__sub {
    margin-top: 6px;
    font-size: 13px;
    color: var(--gray-400);
}
.mortgage-result__notice {
    margin-top: 16px;
    background: #fff8e6;
    border: 1px solid #f5d490;
    color: #7a5a10;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 700px) {
    .purpose-cards { grid-template-columns: 1fr; }
    .mortgage-calc__inputs { grid-template-columns: 1fr; gap: 16px; }
    .mortgage-result { grid-template-columns: 1fr; }
    .mortgage-result__divider { width: auto; height: 1px; align-self: auto; }
    .mortgage-result__value { font-size: 26px; }
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-card-body {
    padding: 24px;
}
.blog-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}
.blog-card h3 a {
    color: var(--navy);
}
.blog-card h3 a:hover {
    color: var(--blue);
}
.blog-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}
.blog-date {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

/* Article */
.article-content {
    max-width: 780px;
    margin: 0 auto;
}
.article-content h2 {
    margin-top: 40px;
}
.article-content ul, .article-content ol {
    padding-right: 24px;
    margin-bottom: 16px;
}
.article-content li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 8px;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-grid .process-card:last-child { grid-column: auto; }
    .calc-wrapper { padding: 20px; }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
    width: 220px;
    height: auto;
    margin-bottom: 16px;
}
.footer .logo-navy,
.footer .logo-blue,
.footer .logo-green { fill: rgba(255,255,255,0.8); }
.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.7;
}
.footer h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--green-light);
    padding-right: 6px;
}
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 12px;
    direction: ltr;
    justify-content: flex-end;
}
.footer-contact a:hover { color: var(--green-light); }
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.5;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
    color: var(--white) !important;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===== ADDITION CSS ===== */
.about-stats:first-child {
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}
.wpcf7 {
    direction: rtl;
}
.wpcf7 .wpcf7-form-control-wrap {
    width: 100%;
}
.wpcf7 .wpcf7-textarea {
    height: 84px;
}
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input.wpcf7-email {
    direction: rtl;
    text-align: right;
}
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder {
    text-align: right;
}
.rp-content-small{
    max-width: 800px;
    margin: auto;
}
.single-content .wb_icon{
    vertical-align: middle;
    color: var(--green);

}
.single-content .wb_icon:first-child{
    margin-left: 8px;
}
.single-content ul{
    list-style: none;
    color: var(--text-light);
}
.single-content ul li {
    padding: 8px 0;
    position: relative;
    display: flex;
    gap: 6px;
}
.single-content .couple-people {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.single-content .couple-people>div{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.single-content .couple-people>div::before{
    content: '';
    width: 22px;
    height: 22px;
    background: url('images/people.svg') no-repeat center;
    background-size: contain;
}
.single-content ul li::before{
    content: '';
    background: url('images/tick.svg') no-repeat center;
    width: 18px;
    height: 18px;
    background-size: contain;
    margin-top: 4px;
}
.single-content .list-tick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    
}
.single-content .list-tick>div{
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.single-content .list-tick>div::before{
    content: '';
    background: url('images/tick.svg') no-repeat center;
    width: 22px;
    height: 22px;
    background-size: 100%;
    margin-top: 4px;
}
.items-number{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.items-number .item{
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.items-number .number {
    width: 44px;
    height: 44px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}
.items-number .item h3{
    margin-bottom: 8px;
}
.items-number2{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.items-number2 .item{
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.items-number2 .item .number {
    width: 44px;
    height: 44px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}
.items-number2 .item  h3{
    margin-bottom: 8px;
}
.items-icon{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.items-icon .item{
    display: flex;
    align-items: flex-start;
    gap: 12px;

}
.items-icon .item span{
    color: var(--text-light);
}
.items-icon .item svg{
    width: 22px;
    height: 22px;
    color: var(--blue);
    flex: 0 0 22px;
    stroke: var(--blue);
    
}
.items-icon2{
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.items-icon2 .item{
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.items-icon2 .item svg{
    color: var(--green);
    margin-bottom: 12px;
    width: 32px;
    height: auto;
}
.items-nonestyle {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.items-nonestyle .item{
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border-right: 4px solid var(--green);
}
.items-nonestyle .item h3{
    margin-bottom: 12px;
}
.single-content .quotewrap {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 16px;
    padding: 36px;
    color: white;
}
.single-content .quotewrap * {
    color: inherit;
}
.single-content .quotewrap p{
    
}
.single-content .quotewrap svg{
    stroke: var(--green-light);
}
.single-content .quotewrap strong {
    font-size: 24px;
    color: var(--green-light);
}
.single-content blockquote {
    background: var(--white);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border-right: 4px solid var(--green);
    margin-top: 20px;
}
.single-content blockquote p{
    font-size: 18px;
    line-height: 1.9;
}
.single-content .group-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}
.single-content .group-items>div{
    background: var(--off-white);
  border-radius: 10px;
  padding: 20px;
}
.single-content .group-items>div strong{
    display: block;
    margin-bottom: 6px;
}
.single-content .quote-danger {
    background: var(--off-white);
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
    border-right: 4px solid #e74c3c;
}
.single-content .quote-danger h3{
    color: #e74c3c;
    margin-bottom: 12px;

}
.single-content .quote-danger h3 .wb_icon {
    color: inherit;
}
.footer-links .nav-link {
    padding: 0;
}
.footer-links .nav-link:hover{
    background-color: transparent;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 1920px) {
    .hero-video {
        width: auto;
        height: 100%;
        min-width: 100%;
        object-position: center center;
        aspect-ratio: 20 / 9;
    }
}

@media (max-width: 1024px) {
    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services-grid, .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid .process-card:last-child {
        grid-column: auto;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        margin-top: 0;
    }
    .about-image-wrap {
        max-width: 500px;
        margin: 0 auto;
        aspect-ratio: 3/2;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .logo-svg { width: 150px; }
    .header.scrolled .logo-svg { width: 140px; }
    .footer-logo { width: 160px; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    .nav.open {
        right: 0;
    }
    .nav-link {
        color: rgba(255,255,255,0.8) !important;
        font-size: 17px;
        width: 100%;
        padding: 12px 16px;
    }
    .nav-link:hover {
        background: rgba(255,255,255,0.08) !important;
        color: var(--white) !important;
    }
    .hamburger {
        display: flex;
    }
    .header-cta {
        display: none;
    }
    .nav-dropdown {
        width: 100%;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
        padding: 4px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-dropdown.open .dropdown-menu {
        max-height: 500px;
    }
    .dropdown-menu a {
        color: rgba(255,255,255,0.65) !important;
        font-size: 15px;
        padding: 8px 32px;
    }
    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.08);
        color: var(--white) !important;
        padding-right: 36px;
    }
    .hero {
        min-height: 100svh;
    }
    .hero-video {
        width: auto;
        height: 100%;
        min-width: 100%;
        object-position: center center;
    }
    .hero-content {
        padding: 100px 16px 60px;
    }
    .hero-trust {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .about-stats {
        gap: 12px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .about, .services, .why-me, .faq, .cta-section {
        padding: 70px 0;
    }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-lg { padding: 16px 32px; font-size: 16px; }
    .faq-question { font-size: 15px; padding: 16px 20px; }
    .faq-answer p { padding: 0 20px 16px; font-size: 14px; }
    .page-content [style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .service-card { padding: 28px 22px; }
    .why-card { padding: 28px 22px; }
    .container { padding: 0 16px; }
    .about::before, .about::after,
    .services::before, .services::after,
    .why-me::before, .why-me::after,
    .faq::before { opacity: 0.02; }
}
