/* ============================================================
   PT. KHAKRIS SEJAHTERA MANDIRI - COMPANY WEBSITE
   Main Stylesheet
   ============================================================ */

/* ---- IMPORTS ---- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@600;700;800&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
    --primary: #1a3c6e;
    --primary-dark: #0f2847;
    --primary-light: #2a5298;
    --secondary: #c8913a;
    --secondary-light: #daa54e;
    --accent: #e8b04a;
    --dark: #1a1a2e;
    --gray-900: #212529;
    --gray-700: #495057;
    --gray-500: #6c757d;
    --gray-300: #dee2e6;
    --gray-100: #f8f9fa;
    --light-bg: #f4f6f9;
    --white: #ffffff;
    --success: #28a745;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

a:hover { color: var(--secondary); }

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

/* ---- UTILITY CLASSES ---- */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 50px 0; }
.bg-light { background-color: var(--light-bg) !important; }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: 40px; }

.section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    background: rgba(200, 145, 58, 0.1);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- PRELOADER ---- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.fixed-top {
    background: transparent;
}

.navbar.scrolled {
    background: var(--white) !important;
    box-shadow: var(--shadow-md);
    padding: 8px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.navbar-brand .brand-logo {
    height: 44px;
    width: auto;
    flex-shrink: 0;
    transition: var(--transition);
}

.navbar.scrolled .brand-logo {
    height: 38px;
}

.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.navbar-brand .brand-text strong {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.navbar.scrolled .brand-text strong {
    color: var(--primary);
}

.navbar-brand .brand-text small {
    font-size: 11px;
    color: var(--secondary);
    letter-spacing: 0.5px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.85;
}

.navbar .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85) !important;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--gray-700) !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--secondary) !important;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    min-width: 220px;
}

.navbar .dropdown-item {
    font-size: 14px;
    padding: 8px 20px;
    color: var(--gray-700);
    transition: var(--transition);
}

.navbar .dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary);
    padding-left: 25px;
}

.navbar-toggler {
    border: none;
    padding: 5px;
    color: var(--white);
    font-size: 1.4rem;
}

.navbar.scrolled .navbar-toggler {
    color: var(--primary);
}

/* ============================================================
   PAGE HEADER / HERO
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&h=900&fit=crop') center/cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

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

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    max-width: 560px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Header (Inner Pages) */
.page-header {
    position: relative;
    padding: 140px 0 70px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&h=400&fit=crop') center/cover;
    opacity: 0.1;
}

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

.page-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.page-header .breadcrumb-item.active {
    color: var(--accent);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(26, 60, 110, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    border: none;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(200, 145, 58, 0.3);
}

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

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

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 15px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--secondary) 0%, var(--accent) 100%);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 145, 58, 0.15);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(26,60,110,0.08) 0%, rgba(200,145,58,0.08) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card .service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card .service-link:hover {
    color: var(--secondary);
    gap: 10px;
}

.service-icon-lg {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
}

.service-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-detail-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 60, 110, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.portfolio-meta {
    color: var(--gray-500);
    font-size: 13px;
    margin: 0;
}

.portfolio-category {
    display: inline-block;
    background: rgba(200,145,58,0.1);
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 30px;
    margin-bottom: 10px;
}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.portfolio-filter .filter-btn {
    padding: 8px 22px;
    border: 2px solid var(--gray-300);
    border-radius: 30px;
    background: transparent;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-filter .filter-btn:hover,
.portfolio-filter .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* Portfolio Detail */
.portfolio-detail-header {
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.portfolio-spec {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-300);
}

.portfolio-spec:last-child { border-bottom: none; }

.portfolio-spec i {
    width: 35px;
    height: 35px;
    background: rgba(26,60,110,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}

.portfolio-spec .spec-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-spec .spec-value {
    font-weight: 600;
    color: var(--dark);
}

/* Before After */
.before-after-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.before-after-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.before-after-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.before-after-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.before-after-item:first-child .before-after-label {
    background: var(--gray-700);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    height: 200px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: var(--white);
    font-size: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ============================================================
   ABOUT / COMPANY
   ============================================================ */
.about-image-wrapper {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-experience-badge .exp-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge .exp-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
}

.about-feature i {
    color: var(--secondary);
    font-size: 14px;
}

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vision-card, .mission-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 20px;
}

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

.mission-list li {
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.mission-list li i {
    margin-top: 4px;
    flex-shrink: 0;
}

/* ============================================================
   LEGALITY CARDS
   ============================================================ */
.legality-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--gray-300);
}

.legality-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.legality-card i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.legality-card h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.legality-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.team-photo {
    height: 280px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-info {
    padding: 20px;
}

.team-name {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.team-position {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 13px;
    color: var(--gray-500);
    margin: 10px 0;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: var(--transition);
    font-size: 14px;
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--gray-300);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-size: 48px;
    color: rgba(200,145,58,0.2);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 14px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 15px;
}

.testimonial-position {
    font-size: 12px;
    color: var(--gray-500);
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
}

.stat-card {
    padding: 20px;
}

.stat-icon-sm {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

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

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 50px 60px;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(200,145,58,0.1);
    border-radius: 50%;
}

.cta-title {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-text {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin: 0;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
    height: 100%;
}

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

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-card h5 {
    font-size: 1rem;
    font-family: var(--font-body);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form .form-control {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,60,110,0.1);
}

.contact-form label {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 6px;
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 350px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    font-family: var(--font-body);
}

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

.sidebar-links li {
    border-bottom: 1px solid var(--gray-300);
}

.sidebar-links li:last-child { border-bottom: none; }

.sidebar-links li a {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    font-size: 14px;
    color: var(--gray-700);
    transition: var(--transition);
}

.sidebar-links li a:hover,
.sidebar-links li.active a {
    color: var(--primary);
    padding-left: 15px;
    font-weight: 600;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.sidebar-cta h5 {
    color: var(--white);
}

.sidebar-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* ============================================================
   FEATURE ITEM
   ============================================================ */
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

/* Service features list, edited via WYSIWYG (raw HTML from admin) */
.features-html ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    columns: 2;
    column-gap: 20px;
}

.features-html ul li {
    position: relative;
    padding: 10px 15px 10px 34px;
    margin-bottom: 8px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
    break-inside: avoid;
}

.features-html ul li::before {
    content: "\2713";
    position: absolute;
    left: 12px;
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 767px) {
    .features-html ul {
        columns: 1;
    }
}

/* ============================================================
   PORTFOLIO STATUS
   ============================================================ */
.portfolio-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.portfolio-status-badge.status-completed {
    background: #28a745;
    color: #fff;
}

.portfolio-status-badge.status-ongoing {
    background: #ffc107;
    color: #333;
}

.portfolio-status-badge.status-planning {
    background: #17a2b8;
    color: #fff;
}

.portfolio-status-inline {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 15px;
}

.portfolio-status-inline.status-completed {
    background: rgba(40,167,69,0.12);
    color: #28a745;
}

.portfolio-status-inline.status-ongoing {
    background: rgba(255,193,7,0.15);
    color: #d39e00;
}

.portfolio-status-inline.status-planning {
    background: rgba(23,162,184,0.12);
    color: #17a2b8;
}

/* Status Filter Buttons */
.status-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.status-btn {
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.status-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.status-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================================
   BLOG CARD
   ============================================================ */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-card-img {
    display: block;
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.blog-meta i {
    color: var(--secondary);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--secondary);
    gap: 2px;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(4px);
}

/* Blog Card Small (Related) */
.blog-card-sm .blog-card-img {
    height: 160px;
}

.blog-card-sm .blog-card-body {
    padding: 15px;
}

.blog-card-sm .blog-card-title {
    font-size: 14px;
}

/* ============================================================
   BLOG DETAIL
   ============================================================ */
.blog-detail-header {
    margin-bottom: 25px;
}

.blog-detail-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.blog-detail-category:hover {
    background: var(--secondary);
    color: var(--white);
}

.blog-detail-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 15px;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--gray-500);
}

.blog-detail-meta i {
    color: var(--secondary);
}

.blog-detail-thumbnail {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-detail-thumbnail img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.blog-detail-excerpt {
    background: var(--gray-100);
    border-left: 4px solid var(--secondary);
    padding: 15px 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 25px;
    font-style: italic;
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
}

.blog-detail-content {
    font-size: 16px;
    line-height: 1.9;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.blog-detail-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 28px 0 12px;
}

.blog-detail-content p {
    margin-bottom: 16px;
}

.blog-detail-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 15px 0;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

.blog-detail-content li {
    margin-bottom: 6px;
}

/* Tags */
.blog-detail-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid var(--gray-200);
}

.blog-detail-tags i {
    color: var(--secondary);
}

.blog-tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.blog-tag:hover {
    background: var(--primary);
    color: var(--white);
}

/* Share Buttons */
.blog-detail-share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.share-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.share-btn:hover { transform: translateY(-2px); color: var(--white); }
.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-linkedin { background: #0a66c2; }

/* Author Box */
.blog-author-box {
    display: flex;
    gap: 15px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 30px;
}

.author-avatar-lg {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.author-details h5 {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--dark);
}

.author-details p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.6;
}

/* Post Navigation */
.blog-nav {
    margin-bottom: 40px;
}

/* Related */
.blog-related {
    margin-top: 10px;
}

.blog-related-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* Page Header Smaller Variant */
.page-header-sm {
    padding: 120px 0 40px;
    min-height: auto;
}

/* ============================================================
   BLOG SIDEBAR
   ============================================================ */
.blog-sidebar .sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.blog-sidebar .widget-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.blog-search-form .form-control {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    border-right: none;
}

.blog-search-form .btn {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Sidebar Categories */
.sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categories li {
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.sidebar-categories li a:hover,
.sidebar-categories li.active a {
    color: var(--primary);
    font-weight: 600;
    padding-left: 10px;
}

.sidebar-categories li a i {
    font-size: 10px;
    opacity: 0;
    transition: var(--transition);
}

.sidebar-categories li a:hover i,
.sidebar-categories li.active a i {
    opacity: 1;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-post-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.popular-post-item:hover,
.popular-post-item.active {
    background: var(--gray-100);
}

.popular-post-img {
    width: 70px;
    height: 50px;
    min-width: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.popular-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 14px;
}

.popular-post-info h6 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-meta {
    font-size: 11px;
    color: var(--gray-500);
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white);
}

.sidebar-cta .cta-content i {
    color: var(--secondary);
}

.sidebar-cta .cta-content h5 {
    color: var(--white);
    font-family: var(--font-heading);
}

.sidebar-cta .cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* ============================================================
   TEAM CARD MINI (Homepage)
   ============================================================ */
.team-card-mini {
    padding: 15px 10px;
    transition: var(--transition);
}

.team-card-mini:hover {
    transform: translateY(-5px);
}

.team-photo-mini {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--white);
    transition: var(--transition);
}

.team-card-mini:hover .team-photo-mini {
    border-color: var(--secondary);
    box-shadow: 0 4px 20px rgba(200,145,58,0.25);
}

.team-photo-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar-mini {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.team-name-mini {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.team-position-mini {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   TEAM CARD FEATURED (Team Page Directors)
   ============================================================ */
.team-card-featured {
    border: 2px solid transparent;
    position: relative;
    overflow: visible;
}

.team-card-featured::after {
    content: '\f521';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -12px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 3px 10px rgba(200,145,58,0.3);
}

.team-card-featured:hover {
    border-color: var(--secondary);
}

.team-card-featured .team-photo {
    height: 320px;
}

.team-card-featured .team-bio {
    font-size: 14px;
    color: var(--gray-500);
    margin: 10px 0;
    line-height: 1.6;
}

/* Team Intro Image */
.team-intro-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.team-intro-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: linear-gradient(175deg, #0f1b33 0%, var(--dark) 40%, #111128 100%);
    color: rgba(255,255,255,0.65);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--secondary), var(--primary));
}

.footer-main {
    padding: 70px 0 40px;
}

/* Footer Brand */
.footer-brand {
    margin-bottom: 22px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 280px;
    opacity: 0.92;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
    color: rgba(255,255,255,0.55);
}

/* Footer Headings */
.footer-heading {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.3px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 7px 0;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a i {
    font-size: 8px;
    color: var(--secondary);
    opacity: 0;
    margin-right: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
    transform: translateX(-6px);
}

.footer-links a span {
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a span::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

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

.footer-links a:hover i {
    opacity: 1;
    margin-right: 8px;
    transform: translateX(0);
}

.footer-links a:hover span::after {
    width: 100%;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-contact li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(200,145,58,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-contact li:hover .footer-contact-icon {
    background: var(--secondary);
    color: var(--white);
    transform: scale(1.05);
}

.footer-contact-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
    padding-top: 2px;
}

.footer-contact-text a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-contact-text a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.footer-contact-text a:hover {
    color: var(--white);
}

.footer-contact-text a:hover::after {
    width: 100%;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer-social a:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.footer-social a:nth-child(1):hover { background: #1877f2; border-color: #1877f2; }
.footer-social a:nth-child(2):hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #dc2743; }
.footer-social a:nth-child(3):hover { background: #0a66c2; border-color: #0a66c2; }
.footer-social a:nth-child(4):hover { background: #ff0000; border-color: #ff0000; }

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 20px 0;
    background: rgba(0,0,0,0.15);
}

.footer-copyright,
.footer-tagline {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-tagline {
    letter-spacing: 0.3px;
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 33px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    cursor: pointer;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ============================================================
   ALERT MESSAGES
   ============================================================ */
.alert-floating {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.5rem; }
    .hero-stats { gap: 25px; }
    .hero-stat-number { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .page-title { font-size: 2rem; }
    .page-header { padding: 120px 0 50px; }
    .section-padding { padding: 60px 0; }
    .cta-wrapper { padding: 35px 30px; }
    .about-experience-badge { bottom: -10px; right: 10px; padding: 18px; }
    .navbar-collapse {
        background: var(--white);
        padding: 15px;
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-lg);
        margin-top: 10px;
    }
    .navbar-collapse .nav-link {
        color: var(--gray-700) !important;
    }
    .before-after-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .hero-section { min-height: 90vh; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .section-title { font-size: 1.5rem; }
    .stat-number { font-size: 2.2rem; }
    .navbar-brand .brand-logo { height: 36px; }
    .navbar-brand .brand-text strong { font-size: 1.1rem; letter-spacing: 1px; }
    .navbar-brand .brand-text small { font-size: 9px; }
    .footer { padding-top: 0; }
    .footer-main { padding: 50px 0 30px; }
    .footer-heading { margin-bottom: 16px; }
    .footer-logo-img { height: 50px; }
    .footer-bottom { text-align: center; }
    .footer-bottom .text-md-end { text-align: center !important; }
    .footer-copyright { margin-bottom: 5px; }
    .footer-social a { width: 38px; height: 38px; }
    .whatsapp-float { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
    .back-to-top { bottom: 80px; right: 23px; width: 40px; height: 40px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .about-img-main img { height: 300px; }
    .team-photo { height: 220px; }
    .portfolio-img { height: 200px; }
    .team-photo-mini { width: 85px; height: 85px; }
    .team-name-mini { font-size: 13px; }
    .team-card-featured .team-photo { height: 260px; }
    .team-intro-img img { height: 280px; }
    .blog-detail-title { font-size: 1.5rem; }
    .blog-detail-meta { gap: 12px; font-size: 13px; }
    .blog-card-img { height: 180px; }
    .blog-author-box { flex-direction: column; text-align: center; }
    .blog-detail-share { flex-wrap: wrap; }
    .blog-sidebar { margin-top: 20px; }
    .status-filter { gap: 5px; }
    .status-btn { font-size: 12px; padding: 5px 12px; }
    .portfolio-status-badge { font-size: 10px; padding: 3px 9px; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 1.75rem; }
    .hero-stats { gap: 15px; }
    .hero-stat-number { font-size: 1.6rem; }
    .section-padding { padding: 45px 0; }
    .contact-form { padding: 25px; }
    .gallery-grid { grid-template-columns: 1fr; }
}
