/* ================================
   GENERAL STYLES & VARIABLES
   ================================ */

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

:root {
    --primary-color: #2bbbad;
    --secondary-color: #0ea7b5;
    --accent-color: #1eb0a9;
    --navbar-bg: #0f7d89;
    --nav-text: #f5fbff;
    --nav-border: rgba(255, 255, 255, 0.18);
    --light-bg: #eef7fb;
    --surface: #ffffff;
    --surface-alt: #f1fbfc;
    --surface-muted: #e8f2f5;
    --text-dark: #102a31;
    --text-muted: #5f7b86;
    --border: rgba(15, 119, 133, 0.18);
    --hero-bg: linear-gradient(135deg, #0f7d89 0%, #0a5c67 100%);
    --hero-text: #f7fcfe;
    --button-hover-bg: rgba(255, 255, 255, 0.95);
    --button-hover-color: #102a31;
    --whatsapp-bg: #d6b693;
    --whatsapp-text: #2e3530;
    --whatsapp-hover: #d6b693;
    --overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 60%);
    --shadow-sm: 0 4px 22px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.16);
    --shadow-beige: 0 18px 40px rgba(214, 182, 147, 0.24);
    --shadow-beige-soft: 0 12px 28px rgba(214, 182, 147, 0.18);
    --hover-beige: rgba(214, 182, 147, 0.18);
    --hover-beige-strong: rgba(214, 182, 147, 0.26);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.dark-mode {
    --navbar-bg: #05232d;
    --nav-text: #d7f3fb;
    --nav-border: rgba(255, 255, 255, 0.10);
    --light-bg: #07121b;
    --surface: #0b1f2b;
    --surface-alt: #0f2834;
    --surface-muted: #07161f;
    --text-dark: #e6f7ff;
    --text-muted: #93b8c7;
    --border: rgba(81, 153, 170, 0.24);
    --hero-bg: linear-gradient(135deg, #05232d 0%, #0c3243 100%);
    --hero-text: #e7f9ff;
    --button-hover-bg: rgba(255, 255, 255, 0.08);
    --button-hover-color: #e7f9ff;
    --overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 60%);
    --shadow-sm: 0 4px 22px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.38);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
    --shadow-beige: 0 18px 40px rgba(214, 182, 147, 0.24);
    --shadow-beige-soft: 0 12px 28px rgba(214, 182, 147, 0.18);
    --hover-beige: rgba(214, 182, 147, 0.16);
    --hover-beige-strong: rgba(214, 182, 147, 0.24);
}

body.dark-mode .developer-card {
    background: #1a3a47;
    border-color: rgba(214, 182, 147, 0.25);
}

body.dark-mode .developer-card-text h4 {
    color: #d6b693;
}

body.dark-mode .developer-card-text p {
    color: #93b8c7;
}

body.dark-mode .developer-section {
    background: #0b1f2b;
}

body.dark-mode .developer-info-item {
    background: #1a3a47 !important;
    border-color: rgba(214, 182, 147, 0.25);
}

body.dark-mode .developer-info-item h4 {
    color: #d6b693 !important;
}

body.dark-mode .developer-info-item p {
    color: #93b8c7 !important;
}

body.dark-mode .feedback-card {
    background: #0f2834;
    border-color: rgba(81, 153, 170, 0.24);
}

body.dark-mode .feedback-card h2 {
    color: #e6f7ff;
}

body.dark-mode .service-card {
    background: #0f2834;
    border-color: rgba(81, 153, 170, 0.24);
}

body.dark-mode .service-card h3 {
    color: #e6f7ff;
}

body.dark-mode .faq-item {
    background: #0f2834;
}

body.dark-mode .faq-item .accordion-button {
    color: #e6f7ff;
    background: #0f2834;
}

body.dark-mode .contact-info-item {
    background: #0f2834;
}

body.dark-mode .contact-method {
    background: #0f2834;
}

body.dark-mode .contact-method h3 {
    color: #e6f7ff;
}

body.dark-mode .about-text h2,
body.dark-mode .why-us-card h3,
body.dark-mode .portfolio-category h2,
body.dark-mode .section-title {
    color: #2bbbad;
}

body.dark-mode .why-us {
    background: #07121b;
}

body.dark-mode .portfolio-card.placeholder {
    background: #0f2834;
    border-color: rgba(214, 182, 147, 0.25);
}

body.dark-mode .portfolio-placeholder h3 {
    color: #e6f7ff;
}

body.dark-mode .step-card h3 {
    color: #e6f7ff;
}

body.dark-mode .breadcrumb {
    background: #0b1f2b;
}

body.dark-mode .service-detail-card {
    background: #0f2834;
}

body.dark-mode .service-detail-card-body h3 {
    color: #e6f7ff;
}

body.dark-mode .service-details-content {
    background: #0b1f2b;
}

body.dark-mode .details-section h2 {
    color: #2bbbad;
}

body.dark-mode footer {
    background: #05232d;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 400;
    direction: rtl;
    text-align: right;
    transition: background 0.35s ease, color 0.35s ease;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--overlay);
    pointer-events: none;
}

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

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


/* ================================
   NAVBAR & NAVIGATION
   ================================ */

.navbar {
    background: var(--navbar-bg);
    color: var(--nav-text);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nav-border);
    animation: slideInDown 0.8s ease both;
    will-change: transform, opacity;
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.navbar-brand {
    font-weight: 800;
    font-size: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    display: block;
    border-radius: 50% !important;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.navbar-brand-text {
    font-size: 20px;
    font-weight: 800;
}

.nav-link {
    color: var(--nav-text) !important;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--whatsapp-bg) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background: var(--whatsapp-bg);
    transition: width 0.3s ease;
}

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

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 24px;
    color: var(--nav-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(30, 176, 169, 0.18);
}

.btn-main {
    background: var(--accent-color);
    color: #ffffff;
    border-radius: 14px;
    padding: 12px 28px;
    font-weight: 700;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-block;
    box-shadow: 0 12px 28px rgba(30, 176, 169, 0.16);
}

.btn-main:hover {
    background: #29c7b8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(30, 176, 169, 0.18);
    border-color: transparent;
}

.btn-whatsapp {
    background: var(--whatsapp-bg);
    color: var(--whatsapp-text);
    border: 1px solid rgba(46, 53, 48, 0.12);
    box-shadow: 0 12px 24px rgba(46, 53, 48, 0.08);
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    border-radius: 999px;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.nav-actions .btn-whatsapp {
    min-width: 170px;
    padding: 10px 26px;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    color: var(--whatsapp-text);
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(46, 53, 48, 0.16);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c7a8a, #3e4d63);
    color: #fff;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    display: inline-block;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(43, 187, 173, 0.3);
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    color: var(--nav-text);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 8px 11px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.btn-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.nav-link.active {
    color: #ffffff !important;
}

.nav-link.active::after {
    width: 100%;
    background: #ffffff;
}

.navbar-collapse {
    transition: var(--transition);
    width: 100%;
}

.nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }
    .navbar-collapse {
        background: var(--navbar-bg);
        padding: 1.5rem 1.25rem;
        border-radius: 18px;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .navbar-nav {
        gap: 0.75rem;
    }
    .nav-item {
        width: 100%;
    }
    .nav-link {
        width: 100%;
        padding: 0.85rem 1rem;
        border-radius: 14px;
        color: var(--nav-text) !important;
    }
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff !important;
    }
    .nav-actions {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
    .btn-main {
        width: 100%;
        text-align: center;
    }
    .btn-theme-toggle {
        min-width: 44px;
    }
}

.hero-buttons {
    gap: 15px;
}


/* ================================
   HERO SECTION
   ================================ */

.hero {
    background: var(--hero-bg);
    color: var(--hero-text);
    padding: 100px 0;
    position: relative;
}

.hero-content {
    max-width: 620px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 0.9s ease both;
    animation-delay: 0.15s;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.92;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease both;
    animation-delay: 0.3s;
}

.hero-buttons {
    gap: 15px;
    animation: fadeInUp 1.2s ease both;
    animation-delay: 0.5s;
}

.hero-image img {
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    max-height: 520px;
    object-fit: cover;
    animation: fadeInRight 1s ease both;
    animation-delay: 0.35s;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    .hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
        min-height: 44px;
    }
    .btn-main,
    .btn-secondary {
        min-height: 44px;
    }
}

.page-hero {
    padding: 60px 0;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 0;
}

.services-hero {
    padding: 80px 0;
}

.services-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #fff;
}

.services-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}


/* ================================
   SERVICES SECTION
   ================================ */

.services-section {
    padding: 100px 0;
    background: var(--surface);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.service-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.col-lg-4:nth-child(odd) .service-card::before {
    background: linear-gradient(90deg, #d4b46a, #e8c97a);
}

.col-lg-4:nth-child(even) .service-card::before {
    background: linear-gradient(90deg, #2bbbad, #1ea99c);
}

.col-lg-4:nth-child(odd) .service-card:hover {
    border-color: #d4b46a;
}

.col-lg-4:nth-child(even) .service-card:hover {
    border-color: #2bbbad;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-card-icon {
    width: 100px;
    height: 100px;
    border-radius: 30px;
    margin: 0 auto 30px;
    display: grid;
    place-items: center;
    background: rgba(30, 176, 169, 0.12);
    color: var(--primary-color);
    font-size: 36px;
    box-shadow: inset 0 0 0 1px rgba(30, 176, 169, 0.12);
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    transform: translateY(-3px);
    background: rgba(30, 176, 169, 0.18);
}

.service-card-icon i {
    font-size: 36px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-link {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-card-link:hover {
    gap: 12px;
}


/* ================================
   SPECIAL SECTION
   ================================ */

.special-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 80px 0;
    margin: 80px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.special-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

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

.special-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.special-section p {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.95;
}


/* ================================
   HOW IT WORKS SECTION
   ================================ */

.how-it-works {
    padding: 100px 0;
    background: var(--surface);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.step-card:hover .step-number {
    transform: scale(1.15) rotate(360deg);
}

.step-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-muted);
    font-size: 15px;
}

@media (min-width: 768px) {
    .step-card::after {
        content: '←';
        position: absolute;
        top: 30px;
        right: -45px;
        font-size: 36px;
        color: var(--primary-color);
        opacity: 0.3;
    }
    .step-card:last-child::after {
        display: none;
    }
}


/* ================================
   TESTIMONIALS SECTION
   ================================ */

.testimonials-section {
    padding: 100px 0;
    background: var(--surface);
}

.testimonial-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    transition: var(--transition);
    border-right: 5px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: var(--accent-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-author-title {
    color: var(--primary-color);
    font-size: 14px;
}

.feedback-section {
    padding: 80px 0;
    background: var(--surface);
}

.feedback-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 30px;
    border-radius: 24px;
    border: 1px solid rgba(15, 119, 133, 0.12);
    background: var(--surface-alt);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.feedback-card .btn {
    margin: 6px;
}

@media (max-width: 576px) {
    .feedback-card {
        padding: 24px 16px;
    }
    .feedback-card .btn {
        display: block;
        width: 100%;
        margin: 8px 0;
    }
}

.feedback-card:hover,
.feedback-card:focus-within {
    box-shadow: var(--shadow-sm);
}

.feedback-card h2 {
    font-size: 32px;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.feedback-card p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.feedback-card .btn-whatsapp {
    padding: 14px 36px;
    font-size: 16px;
}


/* ================================
   TRUST SECTION (WHY CHOOSE US)
   ================================ */

.trust-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.trust-section .section-title {
    color: white;
    margin-bottom: 50px;
}

.trust-card {
    text-align: center;
    padding: 35px 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.trust-card:hover,
.trust-card:focus-within {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.trust-card-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    font-size: 32px;
    color: #fff;
}

.trust-card-icon i {
    font-size: 28px;
}

.trust-card h4 {
    font-weight: bold;
    margin-bottom: 10px;
}

.trust-card p {
    color: rgba(255, 255, 255, 0.9);
}


/* ================================
   CTA SECTION
   ================================ */

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -15%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

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

.cta-section h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* ================================
   FAQ SECTION
   ================================ */

.faq-section {
    padding: 100px 0;
    background: var(--surface);
}

.faq-content {
    margin-top: 60px;
}

.faq-item {
    background: var(--surface-alt);
    border: none;
    margin-bottom: 15px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.faq-item .accordion-button {
    background: transparent;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 16px;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    transition: var(--transition);
}

.faq-item .accordion-button.collapsed {
    color: var(--text-dark);
}

.faq-item .accordion-button:not(.collapsed) {
    background: rgba(14, 167, 181, 0.08);
    color: var(--primary-color);
}

.faq-item .accordion-button::after {
    filter: invert(0.7);
}

.faq-item .accordion-body {
    color: var(--text-muted);
    padding: 1rem 1.25rem 1.5rem;
}


/* ================================
   FOOTER
   ================================ */

footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #d6b693;
    padding-right: 8px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.developer-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d6b693;
    color: #102a31;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 999px;
    transition: var(--transition);
}

.developer-footer-btn:hover {
    background: #c9a87e;
    color: #102a31;
    transform: translateY(-2px);
}

.developer-section {
    padding: 50px 0;
    background: var(--surface-alt);
}

.developer-card {
    background: #f5ede0;
    border: 1px solid rgba(214, 182, 147, 0.4);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(214, 182, 147, 0.2);
}

.developer-card-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: #d6b693;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: #102a31;
}

.developer-card-text {
    flex: 1;
    text-align: right;
}

.developer-card-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #102a31;
    margin-bottom: 6px;
}

.developer-card-text p {
    font-size: 14px;
    color: #0f4c5c;
    margin: 0;
}

.developer-btn {
    background: #0ea7b5;
    color: #ffffff !important;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: var(--transition);
    border: 2px solid #0ea7b5;
}

.developer-btn:hover {
    background: transparent;
    color: #0ea7b5 !important;
    transform: translateY(-2px);
}

.developer-info-item {
    background: #f5ede0 !important;
    border: 1px solid rgba(214, 182, 147, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.developer-info-item h4 {
    color: #102a31 !important;
}

.developer-info-item p {
    color: #0f4c5c !important;
}

.developer-info-item a {
    color: #0f4c5c !important;
    font-weight: 700;
}

.developer-info-item a:hover {
    color: #d6b693 !important;
}

@media (max-width: 576px) {
    .developer-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .developer-card-text {
        text-align: center;
    }
    .developer-btn {
        width: 100%;
        text-align: center;
    }
}


/* ================================
   FLOATING WHATSAPP BUTTON
   ================================ */

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    z-index: 99;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: slideInLeft 0.5s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}


/* ================================
   PAGE: SERVICES
   ================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-detail-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.service-detail-card:hover,
.service-detail-card:focus-within {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-detail-card-header {
    background: rgba(14, 167, 181, 0.08);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-card-header i {
    font-size: 44px;
    color: var(--primary-color);
    width: 108px;
    height: 108px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background: rgba(30, 176, 169, 0.14);
    box-shadow: 0 20px 40px rgba(16, 42, 65, 0.08);
}

.service-detail-card-body {
    padding: 30px;
}

.service-detail-card-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-detail-card-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-detail-card-footer {
    padding: 0 30px 30px;
}

.service-detail-card-footer a {
    color: var(--primary-color);
    font-weight: 700;
}


/* ================================
   PAGE: SERVICE DETAILS
   ================================ */

.service-details-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 60px 0;
    margin-bottom: 60px;
}

.service-details-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.service-details-content {
    background: var(--surface);
    padding: 60px 0;
}

.details-section {
    margin-bottom: 60px;
}

.details-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.details-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 15px 0;
    padding-right: 30px;
    color: var(--text-muted);
    font-size: 16px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: 800;
    font-size: 20px;
}

.service-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 50px;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ================================
   PAGE: PORTFOLIO
   ================================ */

.portfolio-section {
    padding: 80px 0;
}

.portfolio-category {
    margin-bottom: 80px;
}

.portfolio-category h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-height: 320px;
    position: relative;
    cursor: default;
    background: rgba(214, 182, 147, 0.12);
    border: 1px dashed rgba(214, 182, 147, 0.45);
}

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

.portfolio-card.placeholder {
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed rgba(214, 182, 147, 0.55);
}

.portfolio-card.placeholder:hover {
    background: var(--surface-alt);
}

.portfolio-placeholder {
    height: 100%;
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
}

.portfolio-placeholder i {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(214, 182, 147, 0.18);
    color: var(--primary-color);
    font-size: 34px;
}

.portfolio-placeholder h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.portfolio-placeholder p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 260px;
}

.portfolio-card-image {
    width: 100%;
    height: 100%;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 42, 65, 0.82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
    text-align: center;
}

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

.portfolio-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    font-size: 14px;
    opacity: 0.9;
}


/* ================================
   PAGE: ABOUT
   ================================ */

.about-section {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.about-text p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.why-us {
    background: var(--light-bg);
    padding: 80px 0;
    margin-top: 80px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.why-us-card {
    text-align: center;
}

.why-us-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-us-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.why-us-card p {
    color: var(--text-muted);
    font-size: 15px;
}


/* ================================
   PAGE: CONTACT
   ================================ */

.contact-section {
    padding: 100px 0;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.8;
}

.contact-method {
    background: var(--surface);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
}

.contact-method h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-method p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-info-item {
    background: var(--surface-alt);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.contact-info-item:hover,
.contact-info-item:focus-within {
    box-shadow: var(--shadow-sm);
}

.contact-info-item-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-info-item h4 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 14px;
}

.contact-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--text-dark);
    font-weight: 700;
    border: 1px solid rgba(15, 119, 133, 0.12);
    transition: var(--transition);
}

.contact-social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact-social-link.whatsapp {
    background: rgba(214, 182, 147, 0.14);
    border-color: rgba(214, 182, 147, 0.4);
}

.contact-social-link i {
    font-size: 18px;
}


/* ================================
   BREADCRUMB
   ================================ */

.breadcrumb {
    background: var(--surface-alt);
    padding: 20px 0;
}

.breadcrumb-item {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 700;
}


/* ================================
   ANIMATIONS
   ================================ */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll-left {
    transform: translateX(-24px);
}

.animate-on-scroll-right {
    transform: translateX(24px);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        padding: 30px;
    }
    .hero {
        padding: 60px 0;
    }
    .cta-section {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 28px;
    }
    .cta-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 24px;
    }
    .section-title {
        font-size: 26px;
    }
    .steps-container {
        gap: 20px;
    }
    .step-card::after {
        display: none;
    }
    .service-card {
        padding: 25px;
    }
    .service-card-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 24px;
    }
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    section {
        padding-left: 0;
        padding-right: 0;
    }
    .trust-section,
    .how-it-works,
    .services-section,
    .feedback-section,
    .testimonials-section {
        padding: 50px 0;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 20px;
    }
    .hero p {
        font-size: 14px;
    }
    .service-card {
        padding: 20px;
    }
    .btn-main,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
    section {
        padding: 40px 0;
    }
    .hero {
        padding: 40px 15px;
    }
}


/* =================================
   NEW UPDATES - YAD SERVICES
================================= */


/* BACK TO TOP BUTTON */

.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

.back-to-top-btn:hover {
    transform: translateY(-4px);
}


/* MOBILE SERVICES 2 COLUMNS */

@media (max-width: 768px) {
    .services-section .row {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }
    .services-section .col-lg-4,
    .services-section .col-md-6 {
        width: 50%;
        flex: 0 0 auto;
    }
    .service-card {
        padding: 18px;
        border-radius: 18px;
    }
    .service-card h3 {
        font-size: 16px;
        line-height: 1.5;
    }
    .service-card p {
        font-size: 12px;
        line-height: 1.7;
    }
    .service-card-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 18px;
    }
    .service-card-icon i {
        font-size: 24px;
    }
}


/* SERVICES PAGE MOBILE */

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .service-detail-card-body {
        padding: 18px;
    }
    .service-detail-card-body h3 {
        font-size: 16px;
    }
    .service-detail-card-body p {
        font-size: 12px;
        line-height: 1.7;
    }
}


/* HIDE SERVICE PORTFOLIO */

.service-portfolio {
    display: none !important;
}


/* SERVICE DETAILS IMPROVEMENTS */

.details-section {
    background: var(--surface);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border);
}


/* WHATSAPP CTA BOX */

.service-whatsapp-box {
    background: linear-gradient( 135deg, var(--primary-color), var(--secondary-color));
    padding: 35px;
    border-radius: 24px;
    text-align: center;
    color: white;
}

.service-whatsapp-box h3 {
    margin-bottom: 15px;
    font-size: 30px;
}

.service-whatsapp-box p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 20px;
}


/* CONTACT MOBILE */

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}


/* HERO MOBILE */

@media (max-width: 576px) {
    .hero {
        padding: 60px 15px;
    }
    .hero h1 {
        font-size: 26px;
        line-height: 1.6;
    }
    .hero p {
        font-size: 14px;
        line-height: 1.9;
    }
}


/* DARK MODE IMPROVEMENT */

body.dark-mode .back-to-top-btn {
    background: #1eb0a9;
}


/* =================================
   NEW FINAL UPDATES
================================= */


/* BACK TO TOP IMPROVEMENTS */

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

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

.back-to-top-btn:hover {
    transform: translateY(-5px) scale(1.05);
}


/* SERVICE DETAILS IMPROVEMENTS */

.details-section {
    background: var(--surface);
    border-radius: 24px;
    padding: 35px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.details-section p {
    line-height: 2;
    color: var(--text-muted);
}

.feature-list li {
    background: rgba(43, 187, 173, 0.06);
    margin-bottom: 14px;
    border-radius: 14px;
    padding: 16px 18px;
    padding-right: 48px;
    transition: var(--transition);
}

.feature-list li:hover {
    transform: translateX(-4px);
    background: rgba(43, 187, 173, 0.12);
}


/* SERVICES CARDS */

.service-detail-card {
    border-radius: 24px;
    overflow: hidden;
}

.service-detail-card-body p {
    line-height: 1.9;
}

.service-detail-card-footer {
    padding-top: 0;
}

.service-detail-card-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.service-detail-card-footer a:hover {
    gap: 12px;
}


/* WHATSAPP BOX */

.service-whatsapp-box {
    background: linear-gradient( 135deg, var(--primary-color), var(--secondary-color));
    padding: 40px 25px;
    border-radius: 24px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-md);
}

.service-whatsapp-box h3 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 800;
}

.service-whatsapp-box p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 24px;
}


/* REMOVE SERVICE PORTFOLIO */

.service-portfolio {
    display: none !important;
}


/* MOBILE IMPROVEMENTS */

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .service-detail-card-body {
        padding: 22px;
    }
    .service-detail-card-body h3 {
        font-size: 18px;
    }
    .service-detail-card-body p {
        font-size: 14px;
        line-height: 1.9;
    }
    .details-section {
        padding: 22px;
    }
    .service-whatsapp-box {
        padding: 30px 18px;
    }
    .service-whatsapp-box h3 {
        font-size: 24px;
    }
    .back-to-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 15px;
    }
}


/* DARK MODE FIXES */

body.dark-mode .feature-list li {
    background: rgba(255, 255, 255, 0.04);
}

body.dark-mode .feature-list li:hover {
    background: rgba(255, 255, 255, 0.08);
}